You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using cmake code like the following in example/CMakeLists.txt, you can show user a dropdown list of (when using cmake-gui) or cycle through (when using ccmake) possible boards instead of typing its name into ARDUINO_DEFAULT_BOARD. I find this more convenient than copy-pasting from printed list.
foreach(PLATFORM ${ARDUINO_PLATFORMS})
set(ARDUINO_BOARD_LIST ${ARDUINO_BOARD_LIST} ${${PLATFORM}_BOARDS})
endforeach()
set(ARDUINO_DEFAULT_BOARD uno CACHE STRING "Default Board") # Default Board ID, when not specified
set_property(CACHE ARDUINO_DEFAULT_BOARD PROPERTY STRINGS ${ARDUINO_BOARD_LIST})
The text was updated successfully, but these errors were encountered:
Using cmake code like the following in example/CMakeLists.txt, you can show user a dropdown list of (when using cmake-gui) or cycle through (when using ccmake) possible boards instead of typing its name into ARDUINO_DEFAULT_BOARD. I find this more convenient than copy-pasting from printed list.
foreach(PLATFORM ${ARDUINO_PLATFORMS})
set(ARDUINO_BOARD_LIST ${ARDUINO_BOARD_LIST} ${${PLATFORM}_BOARDS})
endforeach()
set(ARDUINO_DEFAULT_BOARD uno CACHE STRING "Default Board") # Default Board ID, when not specified
set_property(CACHE ARDUINO_DEFAULT_BOARD PROPERTY STRINGS ${ARDUINO_BOARD_LIST})
The text was updated successfully, but these errors were encountered: