mirror of
https://github.com/espressif/arduino-esp32
synced 2024-09-21 02:18:29 +00:00
fix(arduino): changes definitions in cmakelists.txt file (#10259)
Fixes an issue related to ESP_MATTER component that defines a path using ESP32 as folder. Because Arduino defines ESP32 to 1, it causes an expansion error for folder using ESP32 folder name.
This commit is contained in:
parent
ef5c6b94b3
commit
e5394ccef7
@ -320,7 +320,7 @@ target_compile_options(${COMPONENT_TARGET} PUBLIC
|
||||
-DARDUINO_ARCH_ESP32
|
||||
-DARDUINO_BOARD="${idf_target_caps}_DEV"
|
||||
-DARDUINO_VARIANT="${CONFIG_ARDUINO_VARIANT}"
|
||||
-DESP32)
|
||||
-DESP32=ESP32)
|
||||
|
||||
if(CONFIG_AUTOSTART_ARDUINO)
|
||||
# in autostart mode, arduino-esp32 contains app_main() function and needs to
|
||||
|
Loading…
Reference in New Issue
Block a user