8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99f66d3 commit 744cbc2Copy full SHA for 744cbc2
CMakeLists.txt
@@ -217,9 +217,10 @@ if(NOT CONFIG_FREERTOS_HZ EQUAL 1000 AND NOT "$ENV{ARDUINO_SKIP_TICK_CHECK}")
217
endif()
218
219
string(TOUPPER ${CONFIG_ARDUINO_VARIANT} idf_target_caps)
220
+string(REPLACE "-" "_" idf_target_for_macro "${idf_target_caps}")
221
target_compile_options(${COMPONENT_TARGET} PUBLIC
222
-DARDUINO=10812
- -DARDUINO_${idf_target_caps}_DEV
223
+ -DARDUINO_${idf_target_for_macro}_DEV
224
-DARDUINO_ARCH_ESP32
225
-DARDUINO_BOARD="${idf_target_caps}_DEV"
226
-DARDUINO_VARIANT="${CONFIG_ARDUINO_VARIANT}"
0 commit comments