Skip to content

Commit

Permalink
Update arduino.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Oct 28, 2024
1 parent 8e92f01 commit a9fb7fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builder/frameworks/arduino.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
extra_flags = (''.join([element for element in board.get("build.extra_flags", "")])).replace("-D", " ")
build_flags = ''.join([element.replace("-D", " ") for element in env.GetProjectOption("build_flags")])
framework_reinstall = False
flag_any_custom_sdkconfig = False

if ("CORE32SOLO1" in extra_flags or "FRAMEWORK_ARDUINO_SOLO1" in build_flags) and ("arduino" in env.subst("$PIOFRAMEWORK")) and not flag_custom_sdkconfig:
FRAMEWORK_DIR = platform.get_package_dir("framework-arduino-solo1")
Expand Down

0 comments on commit a9fb7fd

Please sign in to comment.