Resolve "OTA"

This commit is contained in:
Patrick Balsiger
2018-08-03 11:01:42 +00:00
parent 18ccf6a892
commit dbb4ce9de7
18 changed files with 895 additions and 17 deletions

View File

@@ -8,8 +8,8 @@
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
;[platformio]
;env_default = mesh
[platformio]
env_default = mesh
[common]
framework = arduino
@@ -21,19 +21,16 @@ lib_deps =
Hash
ESPAsyncTCP
TaskScheduler
SPIFFS
;[env:build]
;src_filter = +<*> -<examples/>
;#platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
;#platform = https://github.com/platformio/platform-espressif8266.git
;#platform = espressif8266@~1.6.0
;platform = ${common.platform}
;board = ${common.board}
;upload_speed = ${common.upload_speed}
;monitor_baud = ${common.monitor_baud}
;framework = ${common.framework}
;lib_deps = ${common.lib_deps}
;build_flags = -DLED_PIN=2 -g
;upload_port = /dev/ttyUSB0
;upload_port = 192.168.1.168
@@ -66,4 +63,16 @@ monitor_baud = ${common.monitor_baud}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
painlessMesh
PubSubClient
PubSubClient
[env:ota]
src_filter = +<*> +<*/plugins/*> -<examples/> +<examples/ota/>
platform = espressif8266
board = esp12e
upload_speed = ${common.upload_speed}
upload_flags = --auth=f4ncy
monitor_baud = ${common.monitor_baud}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
https://gitlab.com/wirelos/painlessMesh.git#feature/ota
ArduinoOTA