We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6fa9d57 + d79a969 commit a07bce0Copy full SHA for a07bce0
1 file changed
utils/cmake/mikroeUtilsCommon.cmake
@@ -533,3 +533,20 @@ function(lvgl_dependency_resolve library)
533
set(${library} "lvgl" PARENT_SCOPE)
534
endif()
535
endfunction()
536
+
537
+#############################################################################
538
+## Macro to define if NECTO Studio is connected to a remote board
539
540
+macro(is_pd_setup var_name)
541
+ if(NOT DEFINED ${var_name})
542
+ set(${var_name} 0)
543
+ else()
544
+ if(${${var_name}})
545
+ set(${var_name} 1)
546
547
548
+ endif()
549
550
+endmacro()
551
552
+is_pd_setup(IS_PD_SETUP)
0 commit comments