mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-10 09:49:54 +03:00
mem debugging
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
;
|
||||
|
||||
[platformio]
|
||||
default_envs = release
|
||||
;default_envs = release
|
||||
default_envs = debug
|
||||
|
||||
[common]
|
||||
; custom build options are:
|
||||
@@ -15,7 +16,8 @@ default_envs = release
|
||||
custom_flags =
|
||||
|
||||
;general_flags = -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH -DVTABLES_IN_FLASH
|
||||
general_flags = -fno-exceptions -lstdc++ -DNO_GLOBAL_EEPROM -O2 -DBEARSSL_SSL_BASIC
|
||||
;general_flags = -fno-exceptions -lstdc++ -DNO_GLOBAL_EEPROM -O2 -DBEARSSL_SSL_BASIC
|
||||
general_flags =
|
||||
|
||||
[env]
|
||||
framework = arduino
|
||||
@@ -42,6 +44,9 @@ monitor_speed = 115200
|
||||
upload_protocol = espota
|
||||
upload_port = ems-esp.local
|
||||
|
||||
# These following targets are used by TravisCI to build the firmware versions on Release
|
||||
# Do not modify
|
||||
|
||||
[env:travis]
|
||||
board = esp12e
|
||||
build_flags = ${common.general_flags}
|
||||
@@ -67,6 +72,8 @@ board = nodemcu
|
||||
build_flags = ${common.general_flags}
|
||||
extra_scripts = scripts/main_script.py
|
||||
|
||||
# These two targets (release and debug) can be modified
|
||||
|
||||
[env:debug]
|
||||
board = d1_mini
|
||||
build_type = debug
|
||||
|
||||
Reference in New Issue
Block a user