Skip to content

Commit 3537d18

Browse files
authored
Update esp8266 platform to 2024.06.10 (#21668)
* Update esp8266 platform (2024.06.00) * Update strip-floats.py * Rename strip-floats.py to strip-flags.py * rename to `strip_flags.py` * esp8266 v2.7.7
1 parent fe280fe commit 3537d18

File tree

3 files changed

+6
-19
lines changed

3 files changed

+6
-19
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- [ ] The pull request is done against the latest development branch
77
- [ ] Only relevant files were touched
88
- [ ] Only one feature/fix was added per PR and the code change compiles without warnings
9-
- [ ] The code change is tested and works with Tasmota core ESP8266 V.2.7.6
9+
- [ ] The code change is tested and works with Tasmota core ESP8266 V.2.7.7
1010
- [ ] The code change is tested and works with Tasmota core ESP32 V.3.0.1
1111
- [ ] I accept the [CLA](https://github.com/arendst/Tasmota/blob/development/CONTRIBUTING.md#contributor-license-agreement-cla).
1212

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@
33
link_flags = " ".join(env['LINKFLAGS'])
44
build_flags = " ".join(env['BUILD_FLAGS'])
55

6-
#
7-
# Dump build environment (for debug)
8-
#print(env.Dump())
9-
#
10-
11-
link_flags = link_flags.replace("-u _printf_float", "")
12-
link_flags = link_flags.replace("-u _scanf_float", "")
136
if "FIRMWARE_SAFEBOOT" in build_flags:
147
# Crash Recorder is not included in safeboot firmware -> remove Linker wrap
158
link_flags = link_flags.replace("-Wl,--wrap=panicHandler", "")
@@ -19,4 +12,4 @@
1912

2013
env.Replace(
2114
LINKFLAGS=new_link_flags
22-
)
15+
)

platformio.ini

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ build_flags =
7373
extra_scripts = pre:pio-tools/pre_source_dir.py
7474
pre:pio-tools/set_partition_table.py
7575
pre:pio-tools/override_copy.py
76-
post:pio-tools/strip-floats.py
76+
post:pio-tools/strip-flags.py
7777

7878
[esp_defaults]
7979
extra_scripts = post:pio-tools/name-firmware.py
@@ -121,27 +121,21 @@ build_flags = ${esp_defaults.build_flags}
121121
; uncomment the following to enable TLS with 4096 RSA certificates
122122
;-DUSE_4K_RSA
123123
lib_ignore =
124-
Servo(esp8266)
125-
ESP8266AVRISP
126124
ESP8266LLMNR
127125
ESP8266NetBIOS
128126
ESP8266SSDP
129-
SP8266WiFiMesh
130-
Ethernet(esp8266)
127+
ESP8266WiFiMesh
131128
GDBStub
132-
TFT_Touch_Shield_V2
133129
ESP8266HTTPUpdateServer
134-
ESP8266WiFiMesh
135-
EspSoftwareSerial
136130
SPISlave
137131
Hash
138132
; Disable next if you want to use ArduinoOTA in Tasmota (default disabled)
139133
ArduinoOTA
140134

141135
[core]
142136
; *** Esp8266 Tasmota modified Arduino core based on core 2.7.4. Added Backport for PWM selection
143-
platform = https://github.com/tasmota/platform-espressif8266/releases/download/2024.01.01/platform-espressif8266.zip
144-
platform_packages = tool-esptoolpy @ https://github.com/tasmota/esptool/releases/download/v4.7.2/esptool.zip
137+
platform = https://github.com/tasmota/platform-espressif8266/releases/download/2024.06.00/platform-espressif8266.zip
138+
platform_packages =
145139
build_unflags = ${esp_defaults.build_unflags}
146140
build_flags = ${esp82xx_defaults.build_flags}
147141
; *** Use ONE of the two PWM variants. Tasmota default is Locked PWM

0 commit comments

Comments
 (0)