Skip to content

Commit 7b0b218

Browse files
committed
Use 1.x toolchain for SDK and Simba
1 parent 48c8b05 commit 7b0b218

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
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: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@
1818
class Espressif8266Platform(PlatformBase):
1919

2020
def configure_default_packages(self, variables, targets):
21-
if not variables.get("pioframework"):
21+
framework = variables.get("pioframework")
22+
if not framework:
2223
self.packages['sdk-esp8266']['optional'] = False
2324
if "buildfs" in targets:
2425
self.packages['tool-mkspiffs']['optional'] = False
26+
if not framework or framework == "simba":
27+
self.packages['toolchain-xtensa']['version'] = "<2"
2528
return PlatformBase.configure_default_packages(
2629
self, variables, targets)

0 commit comments

Comments
 (0)