ws2812-achterbahn/platformio.ini

66 lines
1.2 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:esp32]
platform = platformio/espressif32@^6.7
board = esp32-s3-devkitm-1
;Devboard is ESP32-S3-DevKitC-1 (N16R8). board=esp32-s3-devkitm-1 works fine
framework = arduino
monitor_speed = 115200
upload_speed = 921600
lib_deps =
adafruit/Adafruit NeoPixel@^1.12.3
build_flags =
-D PIXELPIN=4
-D NUMPIXELS=600
[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino
monitor_speed = 115200
upload_speed = 921600
build_flags =
-D PIXELPIN=D4
-D PIN_LDR=A0
-D NUMPIXELS=600
lib_deps =
adafruit/Adafruit NeoPixel @ ^1.7.0
[env:d1_mini-ota]
platform = espressif8266
board = d1_mini
framework = arduino
monitor_speed = 115200
upload_speed = 921600
upload_protocol = espota
lib_deps =
adafruit/Adafruit NeoPixel @ ^1.7.0
upload_flags =
--auth=ROLLERCOASTER
-D PIXELPIN=D4
-D PIN_LDR=A0
-D NUMPIXELS=600