2019-05-27 19:17:05 +00:00
|
|
|
;PlatformIO Project Configuration File
|
|
|
|
;
|
|
|
|
; Build options: build flags, source filter
|
|
|
|
; Upload options: custom upload port, speed and extra flags
|
|
|
|
; Library options: dependencies, extra library storages
|
|
|
|
; Advanced options: extra scripting
|
|
|
|
;
|
|
|
|
; Please visit documentation for the other options and examples
|
|
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
|
2019-05-28 19:19:35 +00:00
|
|
|
[platformio]
|
|
|
|
lib_dir = lib
|
2019-05-29 22:49:54 +00:00
|
|
|
env_default = ota
|
2019-06-04 04:00:14 +00:00
|
|
|
|
|
|
|
[extra]
|
|
|
|
lib_deps =
|
|
|
|
PubSubClient
|
2019-06-06 04:39:00 +00:00
|
|
|
https://github.com/fabianonline/FastLED.git
|
|
|
|
https://github.com/fabianonline/simplelist.git
|
|
|
|
https://github.com/fabianonline/NTPClient.git
|
2019-06-13 04:01:44 +00:00
|
|
|
ESP8266WebServer
|
2019-06-18 16:15:59 +00:00
|
|
|
ErriezCRC32
|
2019-06-04 04:00:14 +00:00
|
|
|
|
2019-05-29 22:49:54 +00:00
|
|
|
[env:ota]
|
2019-06-04 04:00:14 +00:00
|
|
|
upload_port = 10.10.2.78
|
|
|
|
upload_protocol = espota
|
2019-05-27 19:17:05 +00:00
|
|
|
platform = espressif8266
|
|
|
|
board = esp07
|
|
|
|
framework = arduino
|
2019-06-04 04:00:14 +00:00
|
|
|
lib_deps = ${extra.lib_deps}
|
2019-06-14 03:36:04 +00:00
|
|
|
lib_ldf_mode = chain+
|
2019-06-18 16:16:31 +00:00
|
|
|
build_flags = -Wl,-Teagle.flash.2m512.ld
|
2019-05-29 22:49:54 +00:00
|
|
|
|
|
|
|
[env:local]
|
2019-06-04 04:00:14 +00:00
|
|
|
upload_port = /dev/cu.wchusbserial1420
|
2019-05-29 22:49:54 +00:00
|
|
|
platform = espressif8266
|
|
|
|
board = esp07
|
|
|
|
framework = arduino
|
2019-06-04 04:00:14 +00:00
|
|
|
lib_deps = ${extra.lib_deps}
|
2019-06-14 03:36:04 +00:00
|
|
|
lib_ldf_mode = chain+
|
2019-06-18 16:16:31 +00:00
|
|
|
build_flags = -Wl,-Teagle.flash.2m512.ld
|
2019-06-06 10:08:57 +00:00
|
|
|
|
|
|
|
[env:esp32]
|
|
|
|
platform = espressif32
|
|
|
|
board = esp32dev
|
|
|
|
framework = arduino
|
2019-06-13 04:01:44 +00:00
|
|
|
lib_deps =
|
|
|
|
${extra.lib_deps}
|
|
|
|
ESP32WebServer
|
2019-06-14 03:36:04 +00:00
|
|
|
FS
|
|
|
|
lib_ldf_mode = chain+
|