optimize build

This commit is contained in:
2018-11-09 19:12:29 +01:00
parent f3df87ed96
commit 48ab6fca1a

View File

@@ -19,17 +19,11 @@ upload_speed = 921600
monitor_baud = 115200
lib_deps =
Hash
ESPAsyncTCP
TaskScheduler
SPIFFS
painlessMesh
ESP8266mDNS
ArduinoOTA
ArduinoJson
ESP Async WebServer
ESPAsyncTCP
Adafruit NeoPixel
PubSubClient
ESPAsyncTCP
[env:build]
src_filter = +<*> -<wifiMesh/> +<wifi/>
@@ -41,6 +35,9 @@ framework = ${common.framework}
build_flags = -Wl,-Teagle.flash.4m1m.ld
-DSPROCKET_PRINT=1
lib_deps = ${common.lib_deps}
ArduinoOTA
ESP8266mDNS
ESP Async WebServer
https://gitlab.com/wirelos/sprocket-lib.git#develop
@@ -54,6 +51,7 @@ framework = ${common.framework}
build_flags = -Wl,-Teagle.flash.4m1m.ld
-DSPROCKET_PRINT=1
lib_deps = ${common.lib_deps}
painlessMesh
https://gitlab.com/wirelos/sprocket-lib.git#develop
[env:release]
@@ -69,14 +67,15 @@ lib_deps = ${common.lib_deps}
https://gitlab.com/wirelos/sprocket-lib.git#develop
[env:nodemcu]
src_filter = +<*> -<wifiMesh/> +<wifi/>
platform = ${common.platform}
board = nodemcu
upload_speed = ${common.upload_speed}
monitor_baud = ${common.monitor_baud}
framework = ${common.framework}
build_flags = -Wl,-Teagle.flash.4m1m.ld
-DSPROCKET_PRINT=1
lib_deps = ${common.lib_deps}
https://gitlab.com/wirelos/sprocket-lib.git#develop
;[env:mqttcat]
;src_filter = +<*> -<wifiMesh/> +<wifi/>
;platform = ${common.platform}
;board = ${common.board}
;upload_speed = ${common.upload_speed}
;monitor_baud = ${common.monitor_baud}
;framework = ${common.framework}
;build_flags = -Wl,-Teagle.flash.4m1m.ld
; -DSPROCKET_PRINT=1
;lib_deps = ${common.lib_deps}
; https://gitlab.com/wirelos/sprocket-lib.git#develop
; PubSubClient