mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-26 20:26:32 +00:00
add -DBEARSSL_SSL_BASIC
When using TLS, this flag avoids loading all the Elliptic Curves algorithm, and saves ~45KB of flash. Anyways, Elliptic Curves are far too slow for ESP8266 and the handshake would take more the 5 seconds. With this flag we limit to RSA algorithms which are faster. Thx for the tipp @s-hadinger
This commit is contained in:
parent
bc211e8c78
commit
3d08514060
@ -71,7 +71,8 @@ platform = espressif8266@~2.0.4
|
|||||||
build_flags = ${esp82xx_defaults.build_flags}
|
build_flags = ${esp82xx_defaults.build_flags}
|
||||||
-Wl,-Teagle.flash.1m.ld
|
-Wl,-Teagle.flash.1m.ld
|
||||||
; Code optimization see https://github.com/esp8266/Arduino/issues/5790#issuecomment-475672473
|
; Code optimization see https://github.com/esp8266/Arduino/issues/5790#issuecomment-475672473
|
||||||
-O2
|
-O2
|
||||||
|
-DBEARSSL_SSL_BASIC
|
||||||
; lwIP 1.4
|
; lwIP 1.4
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
||||||
; lwIP 2 - Low Memory
|
; lwIP 2 - Low Memory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user