58 lines
1.4 KiB
INI
58 lines
1.4 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
|
|
|
|
[common_env_data]
|
|
src_filter = "+<*> -<.git/> -<.svn/> -<platform/>"
|
|
|
|
[env:esp32]
|
|
platform = espressif32
|
|
board = featheresp32
|
|
framework = arduino
|
|
build_flags =
|
|
-DPLATFORM_ARDUINO
|
|
-DBOARD_ESP32
|
|
-DCONFIG_NO_COLORDATA
|
|
; -DCORE_DEBUG_LEVEL=5
|
|
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/>"
|
|
board_build.partitions = no_ota.csv
|
|
;build_type = debug
|
|
|
|
[env:cyberplague]
|
|
extends = env:esp32
|
|
board_build.partitions = no_ota.csv
|
|
|
|
[env:esp8266]
|
|
platform = espressif8266
|
|
board = huzzah
|
|
framework = arduino
|
|
build_flags =
|
|
-DPLATFORM_ARDUINO
|
|
-DBOARD_ESP8266
|
|
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/>"
|
|
|
|
;[env:photon]
|
|
;platform = particlephoton
|
|
;board = photon
|
|
;framework = arduino
|