optional build_scripts

This commit is contained in:
livello
2018-10-18 00:44:16 +03:00
parent 655ef79b5d
commit ab1ab64f77
10 changed files with 68 additions and 12 deletions

View File

@@ -10,14 +10,14 @@
[platformio]
src_dir = lighthub
env_default =
megaatmega2560
; megaatmega2560
; megaatmega2560-net
; due
; esp8266
; esp32
; megaatmega2560-5500
; due-5500
; controllino
controllino
; stm32
;build_dir = !sh pioenvs.sh ${platformio.env_default}
@@ -30,7 +30,7 @@ platform = espressif32
framework = arduino
board = pico32
lib_ldf_mode = chain+
build_flags = !sh build_flags_esp32.sh
build_flags = !bash check_custom_build_flags_esp32.sh
lib_deps =
https://github.com/anklimov/Arduino-Temperature-Control-Library.git
https://github.com/anklimov/DS2482_OneWire
@@ -55,7 +55,7 @@ upload_protocol = stlink
debug_tool = stlink
extra_scripts = pre:!pre_stm32.sh
;lib_ldf_mode = chain+
build_flags = !sh build_flags_stm32.sh
build_flags = !bash check_custom_build_flags_stm32.sh
lib_deps =
DallasTemperature
https://github.com/anklimov/aJson
@@ -78,7 +78,7 @@ platform = atmelsam
framework = arduino
board = due
lib_ldf_mode = chain+
build_flags = !sh build_flags_due.sh
build_flags = !bash check_custom_build_flags_due.sh
lib_deps =
https://github.com/sebnil/DueFlashStorage
https://github.com/anklimov/Arduino-Temperature-Control-Library.git
@@ -97,6 +97,7 @@ lib_deps =
Adafruit Unified Sensor
DHT sensor library
https://github.com/arcao/Syslog.git
Streaming
[env:megaatmega2560]
@@ -105,8 +106,10 @@ board = megaatmega2560
;upload_port = net:192.168.88.31:23
framework = arduino
;lib_ldf_mode = chain+
build_flags = !sh build_flags_mega2560.sh
build_flags = !bash check_custom_build_flags_mega2560.sh
lib_deps =
https://github.com/anklimov/Arduino-Temperature-Control-Library.git
https://github.com/anklimov/DS2482_OneWire
https://github.com/anklimov/DmxSimple
https://github.com/anklimov/httpClient
https://github.com/anklimov/aJson
@@ -129,7 +132,7 @@ platform = espressif8266
framework = arduino
board = nodemcuv2
lib_ldf_mode = chain+
build_flags = !sh build_flags_esp8266.sh
build_flags = !bash check_custom_build_flags_esp8266.sh
lib_deps =
https://github.com/anklimov/Arduino-Temperature-Control-Library.git
https://github.com/anklimov/DS2482_OneWire
@@ -153,7 +156,7 @@ platform = atmelavr
board = megaatmega2560
framework = arduino
upload_port = net:192.168.88.2:23000
build_flags = !sh build_flags_mega2560-net.sh
build_flags = !bash check_custom_build_flags_mega2560-net.sh
;lib_ldf_mode = chain+
lib_deps =
https://github.com/anklimov/Arduino-Temperature-Control-Library.git
@@ -180,8 +183,7 @@ platform = atmelsam
framework = arduino
board = due
;lib_ldf_mode = chain+
build_flags = -D Wiz5500 -D ARTNET_ENABLE
build_flags = !sh build_flags_due-5500.sh
build_flags = !bash check_custom_build_flags_due-5500.sh
lib_deps =
https://github.com/sebnil/DueFlashStorage
https://github.com/anklimov/Arduino-Temperature-Control-Library.git
@@ -207,8 +209,7 @@ platform = atmelavr
board = megaatmega2560
framework = arduino
;lib_ldf_mode = chain+
build_flags = !echo -n "-DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
build_flags = -D CONTROLLINO -D CUSTOM_FIRMWARE_MAC=de:ad:be:ef:fe:07
build_flags = !bash check_custom_build_flags_controllino.sh
lib_deps =
https://github.com/anklimov/Arduino-Temperature-Control-Library.git
https://github.com/anklimov/DS2482_OneWire