renderbug/platformio.ini

79 lines
1.8 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
[env]
src_filter = +<*>, -<.git/>, -<.svn/>, -<platform/>
lib_ldf_mode = chain+
extra_scripts = pre:verify-configs.py, pre:build-hal.py
check_flags =
cppcheck: --inline-suppr --suppress=*:*/.pio/*
board_build.filesystem = littlefs
upload_speed = 115200
monitor_speed = 115200
build_type = debug
build_flags =
-DFASTLED_ALL_PINS_HARDWARE_SPI
src_build_flags =
-DFASTLED_ALL_PINS_HARDWARE_SPI
-DRENDERBUG_VERSION=3
-DRENDERBUG_LED_PIN=14
-DRENDERBUG_LED_PACKING=RGB
-DDEFAULT_PATTERN_INDEX=0
-fstack-protector
-Wall
lib_deps =
fastled/FastLED@^3.6.0
thijse/ArduinoLog@^1.1.0
bblanchon/ArduinoJson@^6.21.4
JsonStreamingParser
LittleFS
knolleary/PubSubClient@^2.8.0
bblanchon/StreamUtils@^1.8.0
[env:esp32]
platform = espressif32
board = featheresp32
framework = arduino
board_build.partitions = default-partitions.csv
src_build_flags =
${env.src_build_flags}
-DCONFIG_THREADED_INPUTS
monitor_filters = esp32_exception_decoder
[env:esp8266-12f]
extends = env:esp8266
board = esp12e
[env:arduino-uno]
platform = atmelavr
board = uno
framework = arduino
[env:esp8266]
platform = espressif8266
board = huzzah
framework = arduino
monitor_filters = esp8266_exception_decoder
lib_deps =
${env.lib_deps}
arduino-libraries/NTPClient@^3.1.0
ESP8266WiFi
ESP8266mDNS
ArduinoOTA
[env:esp32_display]
extends = env:esp32
lib_deps =
${env:esp32.lib_deps}
olikraus/U8g2@^2.34.15
src_build_flags =
${env:esp32.src_build_flags}
-DCONFIG_U8DISPLAY