2021-03-29 08:10:55 +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
|
|
|
|
|
2021-03-31 18:50:00 +00:00
|
|
|
[common_env_data]
|
|
|
|
src_filter = "+<*> -<.git/> -<.svn/> -<platform/>"
|
|
|
|
|
2021-04-10 18:10:25 +00:00
|
|
|
[env:esp32]
|
2021-03-29 08:10:55 +00:00
|
|
|
platform = espressif32
|
|
|
|
board = featheresp32
|
|
|
|
framework = arduino
|
2021-03-31 18:50:00 +00:00
|
|
|
build_flags =
|
2021-04-10 18:10:25 +00:00
|
|
|
-DPLATFORM_ARDUINO
|
|
|
|
-DBOARD_ESP32
|
|
|
|
-DCONFIG_NO_COLORDATA
|
|
|
|
; -DCORE_DEBUG_LEVEL=5
|
2021-03-31 18:50:00 +00:00
|
|
|
lib_deps =
|
|
|
|
fastled/FastLED@^3.4.0
|
|
|
|
thijse/ArduinoLog@^1.0.3
|
|
|
|
knolleary/PubSubClient@^2.8.0
|
|
|
|
bblanchon/ArduinoJson@^6.17.3
|
|
|
|
sstaub/NTP@^1.4.0
|
|
|
|
arduino-libraries/NTPClient@^3.1.0
|
|
|
|
src_filter = "${common_env_data.src_filter} +<platform/arduino/>"
|
2021-04-10 18:10:25 +00:00
|
|
|
board_build.partitions = no_ota.csv
|
|
|
|
;build_type = debug
|
2021-03-31 18:50:00 +00:00
|
|
|
|
2021-04-10 18:10:25 +00:00
|
|
|
[env:cyberplague]
|
|
|
|
extends = env:esp32
|
|
|
|
board_build.partitions = no_ota.csv
|
|
|
|
|
|
|
|
[env:esp8266]
|
2021-03-31 18:50:00 +00:00
|
|
|
platform = espressif8266
|
|
|
|
board = huzzah
|
|
|
|
framework = arduino
|
|
|
|
build_flags =
|
2021-04-10 18:10:25 +00:00
|
|
|
-DPLATFORM_ARDUINO
|
|
|
|
-DBOARD_ESP8266
|
2021-03-29 08:10:55 +00:00
|
|
|
lib_deps =
|
|
|
|
fastled/FastLED@^3.4.0
|
|
|
|
thijse/ArduinoLog@^1.0.3
|
|
|
|
knolleary/PubSubClient@^2.8.0
|
|
|
|
bblanchon/ArduinoJson@^6.17.3
|
|
|
|
sstaub/NTP@^1.4.0
|
2021-03-31 18:50:00 +00:00
|
|
|
arduino-libraries/NTPClient@^3.1.0
|
|
|
|
src_filter = "${common_env_data.src_filter} +<platform/arduino/>"
|
2021-04-10 18:10:25 +00:00
|
|
|
|
|
|
|
;[env:photon]
|
|
|
|
;platform = particlephoton
|
|
|
|
;board = photon
|
|
|
|
;framework = arduino
|