updated with v4 pio

This commit is contained in:
Paul
2019-07-15 21:34:17 +02:00
parent 7b6dc38c3d
commit 03106d27c5

View File

@@ -1,6 +1,5 @@
; ;
; PlatformIO Project Configuration File for EMS-ESP ; PlatformIO Project Configuration File for EMS-ESP
; Uses PlatformIO 4.0
; ;
[platformio] [platformio]
@@ -8,28 +7,15 @@
default_envs = debug default_envs = debug
[common] [common]
; -DMYESP_TIMESTAMP -DTESTS -DCRASH -DNO_SERIAL ; -DMYESP_TIMESTAMP -DTESTS -DCRASH -DNO_SERIAL -DNO_GLOBAL_EEPROM
; -DDEFAULT_NO_SERIAL if you want a fresh install to use the Serial port extra_flags = -DNO_GLOBAL_EEPROM
debug_flags = -Wall -DCRASH
release_flags = -w -DDEFAULT_NO_SERIAL
general_flags = -g -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_dev = https://github.com/platformio/platform-espressif8266.git
arduino_core_latest = espressif8266
[env] [env]
board = d1_mini board = d1_mini
; board = nodemcuv2 ; board = nodemcuv2
; board = d1_mini_pro ; board = d1_mini_pro
framework = arduino framework = arduino
platform = ${common.arduino_core_latest} platform = espressif8266
lib_deps = lib_deps =
CRC32 CRC32
CircularBuffer CircularBuffer
@@ -45,16 +31,17 @@ monitor_speed = 115200
;upload_port = ems-esp.local ;upload_port = ems-esp.local
[env:debug] [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 extra_scripts = pre:scripts/rename_fw.py
[env:clean] [env:clean]
extra_scripts = pre:scripts/clean_fw.py extra_scripts = pre:scripts/clean_fw.py
[env:release] [env:release]
build_flags = ${common.general_flags} ${common.release_flags} build_flags = ${common.extra_flags}
extra_scripts = pre:scripts/rename_fw.py extra_scripts = pre:scripts/rename_fw.py
[env:checkcode] [env:checkcode]
build_flags = ${common.general_flags} ${common.debug_flags} build_flags = ${common.extra_flags}
extra_scripts = scripts/checkcode.py extra_scripts = scripts/checkcode.py