updates to build settings

This commit is contained in:
Paul
2019-08-02 10:36:06 +02:00
parent fc52f05453
commit 5e32232065
2 changed files with 19 additions and 4 deletions

View File

@@ -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

View File

@@ -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