Skip to content

Commit

Permalink
Downgrade GCC toolchain to v7 for Arduino-mbed boards
Browse files Browse the repository at this point in the history
The toolchain version now corresponds to GCC used by the
original Arduino core to avoid compatibility issues

Resolves #185
  • Loading branch information
valeros committed Nov 24, 2023
1 parent 0ce942b commit 9d461cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"owner": "platformio",
"version": ">=1.60301.0,<1.80000.0",
"optionalVersions": [
"~1.70201.0",
"~1.80201.0",
"~1.90201.0"
]
Expand Down
2 changes: 1 addition & 1 deletion platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def configure_default_packages(self, variables, targets):
self.packages["tool-gperf"]["optional"] = False

if board in ("nano33ble", "nicla_sense_me"):
self.packages["toolchain-gccarmnoneeabi"]["version"] = "~1.80201.0"
self.packages["toolchain-gccarmnoneeabi"]["version"] = "~1.70201.0"
self.frameworks["arduino"]["package"] = "framework-arduino-mbed"
self.frameworks["arduino"][
"script"
Expand Down

0 comments on commit 9d461cf

Please sign in to comment.