Skip to content

Commit

Permalink
Update platform.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Sep 23, 2024
1 parent 5efdc76 commit 1ac4613
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ def configure_default_packages(self, variables, targets):
core_variant_build = (''.join(variables.get("build_flags", []))).replace("-D", " ")
frameworks = variables.get("pioframework", [])

if variables.get("custom_sdkconfig") is not None:
frameworks.append("espidf")

if "arduino" in frameworks:
if "CORE32SOLO1" in core_variant_board or "FRAMEWORK_ARDUINO_SOLO1" in core_variant_build:
self.packages["framework-arduino-solo1"]["optional"] = False
Expand Down

0 comments on commit 1ac4613

Please sign in to comment.