mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
memory optimizations
This commit is contained in:
@@ -26,8 +26,7 @@ custom_flags =
|
||||
# -DVTABLES_IN_FLASH
|
||||
# -DNO_GLOBAL_EEPROM
|
||||
# -DBEARSSL_SSL_BASIC
|
||||
general_flags = -std=c++11 -DNO_GLOBAL_EEPROM -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH -DVTABLES_IN_FLASH
|
||||
;general_flags =
|
||||
general_flags = -std=c++11 -DNO_GLOBAL_EEPROM -DVTABLES_IN_FLASH
|
||||
|
||||
# From https://github.com/esp8266/Arduino/blob/master/tools/sdk/ld
|
||||
# eagle.flash.4m1m.ld = 1019 KB sketch, 1000 KB SPIFFS. 4KB EEPROM, 4KB RFCAL, 12KB WIFI stack, 2052 KB OTA & buffer
|
||||
@@ -39,6 +38,8 @@ build_flags = ${common.general_flags} ${common.build_flags_4m1m}
|
||||
[env]
|
||||
framework = arduino
|
||||
platform = espressif8266
|
||||
;platform = https://github.com/platformio/platform-espressif8266#develop
|
||||
;platform = https://github.com/platformio/platform-espressif8266#feature/stage
|
||||
lib_deps =
|
||||
https://github.com/rlogiacco/CircularBuffer
|
||||
https://github.com/PaulStoffregen/OneWire
|
||||
|
||||
Reference in New Issue
Block a user