merged with dev 1.8.1

This commit is contained in:
Paul Derbyshire
2019-07-29 13:31:59 +02:00
20 changed files with 2280 additions and 785 deletions

View File

@@ -1,6 +1,5 @@
;
; PlatformIO Project Configuration File for EMS-ESP
; Uses PlatformIO 4.0
;
[platformio]
@@ -8,24 +7,15 @@ default_envs = release
;default_envs = debug
[common]
debug_flags = -Wall -Wextra -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-variable -DTESTS
general_flags = -g -w -DNO_GLOBAL_EEPROM
arduino_core_2_3_0 = espressif8266@1.5.0
arduino_core_2_4_0 = espressif8266@1.6.0
arduino_core_2_4_1 = espressif8266@1.7.3
arduino_core_2_4_2 = espressif8266@1.8.0
arduino_core_2_5_0 = espressif8266@2.0.4
arduino_core_2_5_1 = espressif8266@2.1.1
arduino_core_2_5_2 = espressif8266@2.2.1
arduino_core_latest = espressif8266
; -DMYESP_TIMESTAMP -DTESTS -DCRASH -DFORCE_SERIAL -DNO_GLOBAL_EEPROM -DLOGICANALYZER
extra_flags = -DNO_GLOBAL_EEPROM
[env]
board = d1_mini
; board = nodemcuv2
; board = d1_mini_pro
framework = arduino
platform = ${common.arduino_core_latest}
platform = espressif8266
lib_deps =
CRC32
CircularBuffer
@@ -41,16 +31,17 @@ monitor_speed = 115200
;upload_port = ems-esp.local
[env:debug]
build_flags = ${common.general_flags} ${common.debug_flags}
build_type = debug
build_flags = ${common.extra_flags} -DCRASH
extra_scripts = pre:scripts/rename_fw.py
[env:clean]
extra_scripts = pre:scripts/clean_fw.py
[env:release]
build_flags = ${common.general_flags}
build_flags = ${common.extra_flags}
extra_scripts = pre:scripts/rename_fw.py
[env:checkcode]
build_flags = ${common.general_flags}
build_flags = ${common.extra_flags}
extra_scripts = scripts/checkcode.py