-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
35 lines (32 loc) · 1.11 KB
/
platformio.ini
File metadata and controls
35 lines (32 loc) · 1.11 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
; 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:seeed_xiao_esp32c6]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip
board = esp32-c6-devkitc-1
framework = arduino
board_build.mcu = esp32c6
board_build.partitions = partitions.csv
; Enable USB CDC on boot so Serial goes to USB (like Arduino IDE menu setting)
build_flags =
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MODE=1
; DRV2605L (DRV2605LDGST) I2C pins for Seeed XIAO ESP32C6:
; Wiring requested: SDA=D4 (GPIO22), SCL=D5 (GPIO23)
-DDRV2605_I2C_SDA=22
-DDRV2605_I2C_SCL=23
; Serial monitor settings (adjust port if needed)
monitor_speed = 115200
monitor_rts = 0
monitor_dtr = 0
monitor_filters = direct
; monitor_port = COM3
upload_port = COM3
lib_deps =
links2004/WebSockets @ ^2.6.1