mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
updates to build settings
This commit is contained in:
@@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- SPIFFS event log may wear out ROM ?
|
||||
- Timezone not working 100%
|
||||
- Building with EEPROM and -DCRASH causes web to fail
|
||||
|
||||
## [1.8.1] 2019-07-27
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
;
|
||||
|
||||
[platformio]
|
||||
default_envs = release
|
||||
;default_envs = debug
|
||||
;default_envs = release
|
||||
default_envs = debug
|
||||
|
||||
[common]
|
||||
; -DMYESP_TIMESTAMP -DTESTS -DCRASH -DFORCE_SERIAL -DNO_GLOBAL_EEPROM -DLOGICANALYZER
|
||||
general_flags = -DNO_GLOBAL_EEPROM
|
||||
general_flags =
|
||||
|
||||
[env]
|
||||
board = d1_mini
|
||||
@@ -40,9 +40,23 @@ upload_port = ems-esp.local
|
||||
[env:buildweb]
|
||||
extra_scripts = pre:scripts/buildweb.py
|
||||
|
||||
[env:test]
|
||||
build_type = debug
|
||||
build_flags = ${common.general_flags} -DTESTS
|
||||
extra_scripts =
|
||||
pre:scripts/rename_fw.py
|
||||
pre:scripts/buildweb.py
|
||||
|
||||
[env:crash]
|
||||
build_type = debug
|
||||
build_flags = ${common.general_flags} -DNO_GLOBAL_EEPROM -DCRASH
|
||||
extra_scripts =
|
||||
pre:scripts/rename_fw.py
|
||||
pre:scripts/buildweb.py
|
||||
|
||||
[env:debug]
|
||||
build_type = debug
|
||||
build_flags = ${common.general_flags} -DCRASH -DTESTS
|
||||
build_flags = ${common.general_flags}
|
||||
extra_scripts =
|
||||
pre:scripts/rename_fw.py
|
||||
pre:scripts/buildweb.py
|
||||
|
||||
Reference in New Issue
Block a user