Skip to content

Commit a0c0297

Browse files
committed
Merge branch 'release/v2.2.0'
2 parents 072704a + 75def36 commit a0c0297

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

builder/frameworks/esp8266-nonos-sdk.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@
8787
join(FRAMEWORK_DIR, "include", "nopoll"),
8888
join(FRAMEWORK_DIR, "include", "ssl"),
8989
join(FRAMEWORK_DIR, "include", "json"),
90-
join(FRAMEWORK_DIR, "include", "openssl"),
91-
join("$SDK_ESP8266_DIR", "include"), "$PROJECTSRC_DIR"
90+
join(FRAMEWORK_DIR, "include", "openssl")
9291
],
9392

9493
LIBPATH=[

builder/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def _update_max_upload_size(env):
136136
CC="xtensa-lx106-elf-gcc",
137137
CXX="xtensa-lx106-elf-g++",
138138
GDB="xtensa-lx106-elf-gdb",
139+
OBJCOPY="xtensa-lx106-elf-objcopy",
139140
RANLIB="xtensa-lx106-elf-ranlib",
140141
SIZETOOL="xtensa-lx106-elf-size",
141142

platform.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"type": "git",
1313
"url": "https://github.com/platformio/platform-espressif8266.git"
1414
},
15-
"version": "2.1.1",
15+
"version": "2.2.0",
1616
"packageRepositories": [
1717
"https://dl.bintray.com/platformio/dl-packages/manifest.json",
1818
"http://dl.platformio.org/packages/manifest.json",
@@ -41,12 +41,12 @@
4141
"packages": {
4242
"toolchain-xtensa": {
4343
"type": "toolchain",
44-
"version": "~1.40802.0"
44+
"version": "<3"
4545
},
4646
"framework-arduinoespressif8266": {
4747
"type": "framework",
4848
"optional": true,
49-
"version": "~2.20501.0"
49+
"version": "~2.20502.0"
5050
},
5151
"framework-esp8266-rtos-sdk": {
5252
"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['toolchain-xtensa']['version'] = "~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)