mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
trying to optimize memory
This commit is contained in:
@@ -16,7 +16,6 @@ default_envs = release
|
|||||||
;custom_flags = -DFORCE_SERIAL -DMYESP_DEBUG
|
;custom_flags = -DFORCE_SERIAL -DMYESP_DEBUG
|
||||||
custom_flags =
|
custom_flags =
|
||||||
|
|
||||||
#
|
|
||||||
# Available lwIP variants (macros):
|
# Available lwIP variants (macros):
|
||||||
# -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH = v1.4 Higher Bandwidth (default)
|
# -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH = v1.4 Higher Bandwidth (default)
|
||||||
# -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY = v2 Lower Memory
|
# -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY = v2 Lower Memory
|
||||||
@@ -27,7 +26,8 @@ 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 -DBEARSSL_SSL_BASIC -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
|
general_flags = -std=c++11 -DNO_GLOBAL_EEPROM -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH -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
|
||||||
@@ -66,6 +66,7 @@ upload_port = ems-esp.local
|
|||||||
#
|
#
|
||||||
# These following targets are used by TravisCI to build the firmware versions on Release
|
# These following targets are used by TravisCI to build the firmware versions on Release
|
||||||
# Do not modify
|
# Do not modify
|
||||||
|
#
|
||||||
[env:travis]
|
[env:travis]
|
||||||
board = esp12e
|
board = esp12e
|
||||||
build_flags = ${common.build_flags}
|
build_flags = ${common.build_flags}
|
||||||
@@ -92,7 +93,7 @@ build_flags = ${common.build_flags}
|
|||||||
extra_scripts = scripts/main_script.py
|
extra_scripts = scripts/main_script.py
|
||||||
|
|
||||||
#
|
#
|
||||||
# These two targets (release and debug) can be modified below
|
# These two targets below (release and debug) can be modified
|
||||||
#
|
#
|
||||||
[env:debug]
|
[env:debug]
|
||||||
board = d1_mini
|
board = d1_mini
|
||||||
|
|||||||
Reference in New Issue
Block a user