Skip to content

Commit 2bac261

Browse files
committed
Use updated xtensa toolchain for Arduino framework
1 parent 5d9c58b commit 2bac261

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

platform.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"packages": {
4242
"toolchain-xtensa": {
4343
"type": "toolchain",
44-
"version": "~1.40802.0"
44+
"version": "<3"
4545
},
4646
"framework-arduinoespressif8266": {
4747
"type": "framework",

platform.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ class Espressif8266Platform(PlatformBase):
1919

2020
def configure_default_packages(self, variables, targets):
2121
framework = variables.get("pioframework")
22+
if "arduino" not in framework:
23+
self.packages['tool-mkspiffs']['optional'] = "~1.40802.0"
2224
if "buildfs" in targets:
2325
self.packages['tool-mkspiffs']['optional'] = False
2426
return PlatformBase.configure_default_packages(

0 commit comments

Comments
 (0)