Skip to content

Commit e5394cc

Browse files
authored
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.
1 parent ef5c6b9 commit e5394cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ target_compile_options(${COMPONENT_TARGET} PUBLIC
320320
-DARDUINO_ARCH_ESP32
321321
-DARDUINO_BOARD="${idf_target_caps}_DEV"
322322
-DARDUINO_VARIANT="${CONFIG_ARDUINO_VARIANT}"
323-
-DESP32)
323+
-DESP32=ESP32)
324324

325325
if(CONFIG_AUTOSTART_ARDUINO)
326326
# in autostart mode, arduino-esp32 contains app_main() function and needs to

0 commit comments

Comments
 (0)