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
|
# -DVTABLES_IN_FLASH
|
||||||
# -DNO_GLOBAL_EEPROM
|
# -DNO_GLOBAL_EEPROM
|
||||||
# -DBEARSSL_SSL_BASIC
|
# -DBEARSSL_SSL_BASIC
|
||||||
general_flags = -std=c++11 -DNO_GLOBAL_EEPROM -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH -DVTABLES_IN_FLASH
|
general_flags = -std=c++11 -DNO_GLOBAL_EEPROM -DVTABLES_IN_FLASH
|
||||||
;general_flags =
|
|
||||||
|
|
||||||
# From https://github.com/esp8266/Arduino/blob/master/tools/sdk/ld
|
# 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
|
# 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]
|
[env]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
platform = espressif8266
|
platform = espressif8266
|
||||||
|
;platform = https://github.com/platformio/platform-espressif8266#develop
|
||||||
|
;platform = https://github.com/platformio/platform-espressif8266#feature/stage
|
||||||
lib_deps =
|
lib_deps =
|
||||||
https://github.com/rlogiacco/CircularBuffer
|
https://github.com/rlogiacco/CircularBuffer
|
||||||
https://github.com/PaulStoffregen/OneWire
|
https://github.com/PaulStoffregen/OneWire
|
||||||
@@ -109,4 +110,4 @@ build_type = release
|
|||||||
build_flags = ${common.build_flags} ${common.custom_flags}
|
build_flags = ${common.build_flags} ${common.custom_flags}
|
||||||
extra_scripts =
|
extra_scripts =
|
||||||
pre:scripts/pre_script.py
|
pre:scripts/pre_script.py
|
||||||
scripts/main_script.py
|
scripts/main_script.py
|
||||||
|
|||||||
Reference in New Issue
Block a user