summaryrefslogtreecommitdiff
path: root/platformio.ini
blob: 8c31f0ca3c126bbf2eccd75200058b07bfdf6e97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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