Unverified Commit e5394cce authored by Rodrigo Garcia's avatar Rodrigo Garcia Committed by GitHub

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.
parent ef5c6b94
...@@ -320,7 +320,7 @@ target_compile_options(${COMPONENT_TARGET} PUBLIC ...@@ -320,7 +320,7 @@ target_compile_options(${COMPONENT_TARGET} PUBLIC
-DARDUINO_ARCH_ESP32 -DARDUINO_ARCH_ESP32
-DARDUINO_BOARD="${idf_target_caps}_DEV" -DARDUINO_BOARD="${idf_target_caps}_DEV"
-DARDUINO_VARIANT="${CONFIG_ARDUINO_VARIANT}" -DARDUINO_VARIANT="${CONFIG_ARDUINO_VARIANT}"
-DESP32) -DESP32=ESP32)
if(CONFIG_AUTOSTART_ARDUINO) if(CONFIG_AUTOSTART_ARDUINO)
# in autostart mode, arduino-esp32 contains app_main() function and needs to # in autostart mode, arduino-esp32 contains app_main() function and needs to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment