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
This commit is contained in:
Jason2866 2024-06-20 23:23:53 +02:00 committed by GitHub
parent fe280fe6aa
commit 3537d18483
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 20 deletions

View File

@ -6,7 +6,7 @@
- [ ] The pull request is done against the latest development branch - [ ] The pull request is done against the latest development branch
- [ ] Only relevant files were touched - [ ] Only relevant files were touched
- [ ] Only one feature/fix was added per PR and the code change compiles without warnings - [ ] Only one feature/fix was added per PR and the code change compiles without warnings
- [ ] The code change is tested and works with Tasmota core ESP8266 V.2.7.6 - [ ] The code change is tested and works with Tasmota core ESP8266 V.2.7.7
- [ ] The code change is tested and works with Tasmota core ESP32 V.3.0.1 - [ ] The code change is tested and works with Tasmota core ESP32 V.3.0.1
- [ ] I accept the [CLA](https://github.com/arendst/Tasmota/blob/development/CONTRIBUTING.md#contributor-license-agreement-cla). - [ ] I accept the [CLA](https://github.com/arendst/Tasmota/blob/development/CONTRIBUTING.md#contributor-license-agreement-cla).

View File

@ -3,13 +3,6 @@ Import('env')
link_flags = " ".join(env['LINKFLAGS']) link_flags = " ".join(env['LINKFLAGS'])
build_flags = " ".join(env['BUILD_FLAGS']) build_flags = " ".join(env['BUILD_FLAGS'])
#
# Dump build environment (for debug)
#print(env.Dump())
#
link_flags = link_flags.replace("-u _printf_float", "")
link_flags = link_flags.replace("-u _scanf_float", "")
if "FIRMWARE_SAFEBOOT" in build_flags: if "FIRMWARE_SAFEBOOT" in build_flags:
# Crash Recorder is not included in safeboot firmware -> remove Linker wrap # Crash Recorder is not included in safeboot firmware -> remove Linker wrap
link_flags = link_flags.replace("-Wl,--wrap=panicHandler", "") link_flags = link_flags.replace("-Wl,--wrap=panicHandler", "")

View File

@ -73,7 +73,7 @@ build_flags =
extra_scripts = pre:pio-tools/pre_source_dir.py extra_scripts = pre:pio-tools/pre_source_dir.py
pre:pio-tools/set_partition_table.py pre:pio-tools/set_partition_table.py
pre:pio-tools/override_copy.py pre:pio-tools/override_copy.py
post:pio-tools/strip-floats.py post:pio-tools/strip-flags.py
[esp_defaults] [esp_defaults]
extra_scripts = post:pio-tools/name-firmware.py extra_scripts = post:pio-tools/name-firmware.py
@ -121,18 +121,12 @@ build_flags = ${esp_defaults.build_flags}
; uncomment the following to enable TLS with 4096 RSA certificates ; uncomment the following to enable TLS with 4096 RSA certificates
;-DUSE_4K_RSA ;-DUSE_4K_RSA
lib_ignore = lib_ignore =
Servo(esp8266)
ESP8266AVRISP
ESP8266LLMNR ESP8266LLMNR
ESP8266NetBIOS ESP8266NetBIOS
ESP8266SSDP ESP8266SSDP
SP8266WiFiMesh
Ethernet(esp8266)
GDBStub
TFT_Touch_Shield_V2
ESP8266HTTPUpdateServer
ESP8266WiFiMesh ESP8266WiFiMesh
EspSoftwareSerial GDBStub
ESP8266HTTPUpdateServer
SPISlave SPISlave
Hash Hash
; Disable next if you want to use ArduinoOTA in Tasmota (default disabled) ; Disable next if you want to use ArduinoOTA in Tasmota (default disabled)
@ -140,8 +134,8 @@ lib_ignore =
[core] [core]
; *** Esp8266 Tasmota modified Arduino core based on core 2.7.4. Added Backport for PWM selection ; *** Esp8266 Tasmota modified Arduino core based on core 2.7.4. Added Backport for PWM selection
platform = https://github.com/tasmota/platform-espressif8266/releases/download/2024.01.01/platform-espressif8266.zip platform = https://github.com/tasmota/platform-espressif8266/releases/download/2024.06.00/platform-espressif8266.zip
platform_packages = tool-esptoolpy @ https://github.com/tasmota/esptool/releases/download/v4.7.2/esptool.zip platform_packages =
build_unflags = ${esp_defaults.build_unflags} build_unflags = ${esp_defaults.build_unflags}
build_flags = ${esp82xx_defaults.build_flags} build_flags = ${esp82xx_defaults.build_flags}
; *** Use ONE of the two PWM variants. Tasmota default is Locked PWM ; *** Use ONE of the two PWM variants. Tasmota default is Locked PWM