52 lines
1.1 KiB
INI
52 lines
1.1 KiB
INI
;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
|
|
|
|
[platformio]
|
|
lib_dir = lib
|
|
env_default = ota
|
|
|
|
[extra]
|
|
lib_deps =
|
|
PubSubClient
|
|
https://github.com/fabianonline/FastLED.git
|
|
https://github.com/fabianonline/simplelist.git
|
|
https://github.com/fabianonline/NTPClient.git
|
|
ESP8266WebServer
|
|
ErriezCRC32
|
|
|
|
[env:ota]
|
|
upload_port = 10.10.2.78
|
|
upload_protocol = espota
|
|
platform = espressif8266
|
|
board = esp07
|
|
framework = arduino
|
|
lib_deps = ${extra.lib_deps}
|
|
lib_ldf_mode = chain+
|
|
build_flags = -Wl,-Teagle.flash.2m512.ld
|
|
|
|
[env:local]
|
|
upload_port = /dev/cu.wchusbserial1420
|
|
platform = espressif8266
|
|
board = esp07
|
|
framework = arduino
|
|
lib_deps = ${extra.lib_deps}
|
|
lib_ldf_mode = chain+
|
|
build_flags = -Wl,-Teagle.flash.2m512.ld
|
|
|
|
[env:esp32]
|
|
platform = espressif32
|
|
board = esp32dev
|
|
framework = arduino
|
|
lib_deps =
|
|
${extra.lib_deps}
|
|
ESP32WebServer
|
|
FS
|
|
lib_ldf_mode = chain+
|