Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 744cbc2

Browse filesBrowse files
supcikSuGlider
andauthored
fix CMake file (#7500)
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
1 parent 99f66d3 commit 744cbc2
Copy full SHA for 744cbc2

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎CMakeLists.txt

Copy file name to clipboardExpand all lines: CMakeLists.txt
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,10 @@ if(NOT CONFIG_FREERTOS_HZ EQUAL 1000 AND NOT "$ENV{ARDUINO_SKIP_TICK_CHECK}")
217217
endif()
218218

219219
string(TOUPPER ${CONFIG_ARDUINO_VARIANT} idf_target_caps)
220+
string(REPLACE "-" "_" idf_target_for_macro "${idf_target_caps}")
220221
target_compile_options(${COMPONENT_TARGET} PUBLIC
221222
-DARDUINO=10812
222-
-DARDUINO_${idf_target_caps}_DEV
223+
-DARDUINO_${idf_target_for_macro}_DEV
223224
-DARDUINO_ARCH_ESP32
224225
-DARDUINO_BOARD="${idf_target_caps}_DEV"
225226
-DARDUINO_VARIANT="${CONFIG_ARDUINO_VARIANT}"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.