diff options
| author | vlapa <vlapa@ya.ru> | 2026-07-09 16:05:56 +0300 |
|---|---|---|
| committer | vlapa <vlapa@ya.ru> | 2026-07-09 16:05:56 +0300 |
| commit | d6e70f7fcefded671735d2c9a2af6e2dc5e157c9 (patch) | |
| tree | 4ca52357b93dd679a9609a52f44042ab13896ab8 /platformio.ini | |
полностью переработано для esp32c3
Diffstat (limited to 'platformio.ini')
| -rw-r--r-- | platformio.ini | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/platformio.ini b/platformio.ini new file mode 100644 index 0000000..8c31f0c --- /dev/null +++ b/platformio.ini @@ -0,0 +1,30 @@ +; 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-c3-devkitm-1] +platform = espressif32 +board = esp32-c3-devkitm-1 +framework = arduino +board_build.flash_mode = dio +board_build.f_cpu = 160000000L + +upload_speed = 921600 +monitor_speed = 115200 + +lib_deps = + makuna/NeoPixelBus + arduino-libraries/NTPClient + bblanchon/ArduinoJson@^6.21.0 ; Для более удобной работы с данными + +build_flags = + ; -DARDUINO_USB_CDC_ON_BOOT=1 + -DARDUINO_USB_MANUFACTURER="ESP32" + -DARDUINO_USB_PRODUCT="ESP32-C3" + -DARDUINO_USB_SERIAL_BAUD=115200
\ No newline at end of file |
