-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
36 lines (31 loc) · 1.04 KB
/
platformio.ini
File metadata and controls
36 lines (31 loc) · 1.04 KB
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
31
32
33
34
35
36
; 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:SmartLamp]
monitor_speed = 115200
platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.20/platform-espressif32.zip
board = esp32-c6-devkitm-1
framework = arduino
build_unflags = -std=gnu++11
build_flags =
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
-O3 ; max optimization
-DCORE_DEBUG_LEVEL=0 ; off debug logs
-std=gnu++17
board_build.f_cpu = 160000000L
board_build.flash_size = 4MB
board_build.partitions = partitions.csv
board_build.filesystem = littlefs
lib_deps =
fastled/FastLED@^3.10.3
gyverlibs/GyverButton@^3.8
esp32async/ESPAsyncWebServer@^3.9.4
adafruit/Adafruit INA219@^1.2.3
bblanchon/ArduinoJson@7.4.3