cleanup pio ini

This commit is contained in:
2018-07-19 17:34:57 +02:00
parent d7a67560ea
commit 64958720f8

View File

@@ -8,8 +8,8 @@
; Please visit documentation for the other options and examples ; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html ; http://docs.platformio.org/page/projectconf.html
[platformio] ;[platformio]
env_default = mesh ;env_default = mesh
[common] [common]
framework = arduino framework = arduino
@@ -21,21 +21,20 @@ lib_deps =
Hash Hash
ESPAsyncTCP ESPAsyncTCP
TaskScheduler TaskScheduler
painlessMesh
[env:build] ;[env:build]
src_filter = +<*> -<examples/> ;src_filter = +<*> -<examples/>
#platform = https://github.com/platformio/platform-espressif8266.git#feature/stage ;#platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
#platform = https://github.com/platformio/platform-espressif8266.git ;#platform = https://github.com/platformio/platform-espressif8266.git
#platform = espressif8266@~1.6.0 ;#platform = espressif8266@~1.6.0
platform = ${common.platform} ;platform = ${common.platform}
board = ${common.board} ;board = ${common.board}
upload_speed = ${common.upload_speed} ;upload_speed = ${common.upload_speed}
monitor_baud = ${common.monitor_baud} ;monitor_baud = ${common.monitor_baud}
framework = ${common.framework} ;framework = ${common.framework}
lib_deps = ${common.lib_deps} ;lib_deps = ${common.lib_deps}
#build_flags = -DLED_PIN=2 -g ;build_flags = -DLED_PIN=2 -g
;upload_port = /dev/ttyUSB0 ;upload_port = /dev/ttyUSB0
;upload_port = 192.168.1.168 ;upload_port = 192.168.1.168
@@ -56,13 +55,15 @@ upload_speed = ${common.upload_speed}
monitor_baud = ${common.monitor_baud} monitor_baud = ${common.monitor_baud}
framework = ${common.framework} framework = ${common.framework}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
painlessMesh
[env:meshMqttBridge] [env:meshMqttBridge]
src_filter = +<*> -<examples/> +<examples/mqttBridge/> src_filter = +<*> -<examples/> +<examples/meshMqttBridge/>
platform = espressif8266 platform = espressif8266
board = esp12e board = esp12e
upload_speed = ${common.upload_speed} upload_speed = ${common.upload_speed}
monitor_baud = ${common.monitor_baud} monitor_baud = ${common.monitor_baud}
framework = ${common.framework} framework = ${common.framework}
lib_deps = ${common.lib_deps} lib_deps = ${common.lib_deps}
painlessMesh
PubSubClient PubSubClient