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