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
|
|
|
|
|
2023-12-20 09:47:26 +00:00
|
|
|
[env]
|
2023-12-23 10:09:15 +00:00
|
|
|
src_filter = +<*>, -<.git/>, -<.svn/>, -<platform/>
|
|
|
|
lib_ldf_mode = chain+
|
2023-12-20 09:47:26 +00:00
|
|
|
extra_scripts = pre:verify-configs.py, pre:build-hal.py
|
2023-12-23 10:09:15 +00:00
|
|
|
check_flags =
|
|
|
|
cppcheck: --inline-suppr --suppress=*:*/.pio/*
|
|
|
|
board_build.filesystem = littlefs
|
|
|
|
upload_speed = 115200
|
|
|
|
monitor_speed = 115200
|
|
|
|
build_type = debug
|
2023-12-20 11:58:29 +00:00
|
|
|
build_flags =
|
|
|
|
-DFASTLED_ALL_PINS_HARDWARE_SPI
|
2022-06-11 09:02:27 +00:00
|
|
|
src_build_flags =
|
2023-12-23 10:09:15 +00:00
|
|
|
-DFASTLED_ALL_PINS_HARDWARE_SPI
|
2022-06-11 09:02:27 +00:00
|
|
|
-DRENDERBUG_VERSION=3
|
|
|
|
-DRENDERBUG_LED_PIN=14
|
|
|
|
-DRENDERBUG_LED_PACKING=RGB
|
|
|
|
-DDEFAULT_PATTERN_INDEX=0
|
2023-12-20 09:47:26 +00:00
|
|
|
-fstack-protector
|
2023-03-03 17:21:19 +00:00
|
|
|
-Wall
|
2023-12-23 10:09:15 +00:00
|
|
|
lib_deps =
|
2023-12-20 11:58:39 +00:00
|
|
|
fastled/FastLED@^3.6.0
|
2023-03-03 17:04:04 +00:00
|
|
|
thijse/ArduinoLog@^1.1.0
|
2023-12-20 11:58:39 +00:00
|
|
|
bblanchon/ArduinoJson@^6.21.4
|
2023-12-20 09:47:26 +00:00
|
|
|
JsonStreamingParser
|
2023-02-18 14:34:28 +00:00
|
|
|
LittleFS
|
2023-12-23 10:09:15 +00:00
|
|
|
knolleary/PubSubClient@^2.8.0
|
|
|
|
bblanchon/StreamUtils@^1.8.0
|
2022-06-11 09:02:27 +00:00
|
|
|
|
2021-04-10 18:10:25 +00:00
|
|
|
[env:esp32]
|
2021-03-29 08:10:55 +00:00
|
|
|
platform = espressif32
|
|
|
|
board = featheresp32
|
|
|
|
framework = arduino
|
2023-12-23 10:09:15 +00:00
|
|
|
board_build.partitions = default-partitions.csv
|
2022-06-11 09:02:27 +00:00
|
|
|
src_build_flags =
|
2023-12-23 10:09:15 +00:00
|
|
|
${env.src_build_flags}
|
2023-02-19 17:47:48 +00:00
|
|
|
-DCONFIG_THREADED_INPUTS
|
2023-02-18 14:34:28 +00:00
|
|
|
monitor_filters = esp32_exception_decoder
|
2021-03-31 18:50:00 +00:00
|
|
|
|
2022-06-11 09:02:27 +00:00
|
|
|
[env:esp8266-12f]
|
|
|
|
extends = env:esp8266
|
|
|
|
board = esp12e
|
2021-04-10 18:10:25 +00:00
|
|
|
|
2023-03-04 12:16:17 +00:00
|
|
|
[env:arduino-uno]
|
|
|
|
platform = atmelavr
|
|
|
|
board = uno
|
|
|
|
framework = arduino
|
|
|
|
|
2021-04-10 18:10:25 +00:00
|
|
|
[env:esp8266]
|
2021-03-31 18:50:00 +00:00
|
|
|
platform = espressif8266
|
|
|
|
board = huzzah
|
|
|
|
framework = arduino
|
2023-12-20 09:47:26 +00:00
|
|
|
monitor_filters = esp8266_exception_decoder
|
2022-06-11 09:02:27 +00:00
|
|
|
lib_deps =
|
2023-12-23 10:09:15 +00:00
|
|
|
${env.lib_deps}
|
2021-03-31 18:50:00 +00:00
|
|
|
arduino-libraries/NTPClient@^3.1.0
|
2023-12-20 09:47:26 +00:00
|
|
|
ESP8266WiFi
|
|
|
|
ESP8266mDNS
|
|
|
|
ArduinoOTA
|
2022-06-11 09:02:27 +00:00
|
|
|
|
2023-02-19 17:47:48 +00:00
|
|
|
[env:esp32_display]
|
2023-12-23 10:09:15 +00:00
|
|
|
extends = env:esp32
|
2023-02-19 17:47:48 +00:00
|
|
|
lib_deps =
|
|
|
|
${env:esp32.lib_deps}
|
2023-12-23 10:09:15 +00:00
|
|
|
olikraus/U8g2@^2.34.15
|
2023-02-19 17:47:48 +00:00
|
|
|
src_build_flags =
|
|
|
|
${env:esp32.src_build_flags}
|
2023-12-23 10:09:15 +00:00
|
|
|
-DCONFIG_U8DISPLAY
|