summaryrefslogtreecommitdiff
path: root/platformio.ini
diff options
context:
space:
mode:
Diffstat (limited to 'platformio.ini')
-rw-r--r--platformio.ini30
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