2020-12-12 20:50:20 +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
|
|
|
|
|
2024-08-29 16:43:42 +00:00
|
|
|
[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
|
|
|
|
|
2020-12-12 20:50:20 +00:00
|
|
|
[env:d1_mini]
|
|
|
|
platform = espressif8266
|
|
|
|
board = d1_mini
|
|
|
|
framework = arduino
|
|
|
|
|
|
|
|
monitor_speed = 115200
|
2024-08-07 21:01:54 +00:00
|
|
|
upload_speed = 921600
|
2020-12-12 20:50:20 +00:00
|
|
|
|
2024-08-29 16:43:42 +00:00
|
|
|
build_flags =
|
|
|
|
-D PIXELPIN=D4
|
|
|
|
-D PIN_LDR=A0
|
|
|
|
-D NUMPIXELS=600
|
2024-08-29 16:03:46 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-12-12 20:50:20 +00:00
|
|
|
lib_deps =
|
2024-08-07 21:01:54 +00:00
|
|
|
adafruit/Adafruit NeoPixel @ ^1.7.0
|
|
|
|
|
|
|
|
upload_flags =
|
|
|
|
--auth=ROLLERCOASTER
|
2024-08-29 16:43:42 +00:00
|
|
|
-D PIXELPIN=D4
|
|
|
|
-D PIN_LDR=A0
|
|
|
|
-D NUMPIXELS=600
|