Skip to content

Commit

Permalink
remove not needed link file for solo1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 committed Nov 8, 2024
1 parent 79c8b41 commit 3004aa2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions builder/frameworks/arduino.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,7 @@
flag_any_custom_sdkconfig = os.path.exists(join(platform.get_package_dir("framework-arduinoespressif32"),"tools","esp32-arduino-libs","sdkconfig"))

# Esp32-solo1 libs needs adopted settings
# TODO: Check if '-Tesp32.rom.newlib-funcs.ld' is working and needed at all
if flag_custom_sdkconfig and "CORE32SOLO1" in extra_flags and "CONFIG_FREERTOS_UNICORE=y" in env.GetProjectOption("custom_sdkconfig"):
if len(str(env.GetProjectOption("build_flags"))) > 2:
build_flags = " ".join(env['BUILD_FLAGS'])
build_flags = build_flags + " -Tesp32.rom.newlib-funcs.ld"
new_build_flags = build_flags.split()
env.Replace(
BUILD_FLAGS=new_build_flags
)
if len(str(env.GetProjectOption("build_unflags"))) > 2:
build_unflags = " ".join(env['BUILD_UNFLAGS'])
build_unflags = build_unflags + " -mdisable-hardware-atomics -ustart_app_other_cores"
Expand Down

0 comments on commit 3004aa2

Please sign in to comment.