now shipping with platformio.ini as standard

This commit is contained in:
Paul
2019-10-01 22:40:15 +02:00
parent 0a55604ffc
commit 54408d31b3
2 changed files with 10 additions and 9 deletions

2
.gitignore vendored
View File

@@ -9,9 +9,7 @@
.pio
.clang_complete
.gcc-flags.json
platformio.ini
lib/readme.txt
.travis.yml
# web stuff compiled
src/websrc/css/required.css

View File

@@ -5,16 +5,21 @@
[platformio]
;default_envs = release
default_envs = debug
;default_envs = crash
;default_envs = tests
[common]
; -DMYESP_TIMESTAMP -DTESTS -DCRASH -DFORCE_SERIAL -DNO_GLOBAL_EEPROM -DLOGICANALYZER
; -DMYESP_TIMESTAMP -DTESTS -DCRASH -DFORCE_SERIAL -DLOGICANALYZER
;general_flags = -DFORCE_SERIAL
general_flags =
[env]
;board = esp12e
board = d1_mini
framework = arduino
platform = espressif8266
lib_deps =
ESPAsyncTCP
CRC32
CircularBuffer
OneWire
@@ -23,7 +28,6 @@ lib_deps =
ArduinoJson
EEPROM_Rotate
ESP Async WebServer
ESPAsyncTCP
ESPAsyncUDP
upload_speed = 921600
monitor_speed = 115200
@@ -39,7 +43,7 @@ monitor_speed = 115200
[env:buildweb]
extra_scripts = pre:scripts/buildweb.py
[env:test]
[env:tests]
build_type = debug
build_flags = ${common.general_flags} -DTESTS
extra_scripts =
@@ -64,12 +68,11 @@ extra_scripts =
extra_scripts = pre:scripts/clean_fw.py
[env:release]
build_flags = ${common.general_flags}
extra_scripts =
pre:scripts/rename_fw.py
pre:scripts/buildweb.py
build_flags = ${common.general_flags} -DNO_GLOBAL_EEPROM
extra_scripts = pre:scripts/rename_fw.py
[env:checkcode]
build_type = debug
build_flags = ${common.general_flags} -Wall
extra_scripts = scripts/checkcode.py