Skip to content

Commit 120d7ed

Browse files
authored
Hybrid compile: fix solo1 if check
1 parent 9c41bd1 commit 120d7ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/frameworks/arduino.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
flag_any_custom_sdkconfig = os.path.exists(join(platform.get_package_dir("framework-arduinoespressif32-libs"),"sdkconfig"))
6161

6262
# Esp32-solo1 libs needs adopted settings
63-
if flag_custom_sdkconfig == True and "CORE32SOLO1" in extra_flags and ("CONFIG_FREERTOS_UNICORE=y" in entry_custom_sdkconfig or "CONFIG_FREERTOS_UNICORE=y" in board_sdkconfig):
63+
if flag_custom_sdkconfig == True and ("CORE32SOLO1" in extra_flags or "CONFIG_FREERTOS_UNICORE=y" in entry_custom_sdkconfig or "CONFIG_FREERTOS_UNICORE=y" in board_sdkconfig):
6464
if len(str(env.GetProjectOption("build_unflags"))) == 2: # No valid env, needs init
6565
env['BUILD_UNFLAGS'] = {}
6666
build_unflags = " ".join(env['BUILD_UNFLAGS'])

0 commit comments

Comments
 (0)