From d6e70f7fcefded671735d2c9a2af6e2dc5e157c9 Mon Sep 17 00:00:00 2001 From: vlapa Date: Thu, 9 Jul 2026 16:05:56 +0300 Subject: полностью переработано для esp32c3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformio.ini | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 platformio.ini (limited to 'platformio.ini') 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 -- cgit v1.2.3