-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.debug.ini
45 lines (35 loc) · 1.14 KB
/
platformio.debug.ini
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
37
38
39
40
41
42
43
44
; 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:esp32c3_debug]
platform = espressif32@^6.3.2
board = seeed_xiao_esp32c3
framework = arduino
; change microcontroller
board_build.mcu = esp32c3
;upload_speed = 115200
;upload_protocol = olimex-arm-usb-tiny-h
;upload_protocol = blackmagic
;upload_protocol = blackmagic
;upload_protocol = blackmagic
; AVAILABLE: cmsis-dap, esp-bridge, esp-builtin
; esp-prog, espota, esptool, iot-bus-jtag,
; jlink, minimodule, olimex-arm-usb-ocd,
; olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
; change MCU frequency
; board_build.f_cpu = 160000000L
; change WiFi firmware
board_build.variant = esp32c3
monitor_speed = 115200
board_build.f_cpu = 80000000L
build_flags =
-D CONFIG_PM_ENABLE
-D CONFIG_PM_USE_RTC
-D CONFIG_PM_LIGHTSLEEP_RTC_OSC_CAL_INTERVAL=8
-D DEBUG