Skip to content

Commit 685a771

Browse files
authored
Add ESP32-C6 and ESP32-C3 support
1 parent 69ef3e9 commit 685a771

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

platformio.ini

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,38 @@ board_upload.maximum_size = 16777216
3838
board_upload.maximum_ram_size = 327680
3939
board_upload.flash_size = 16MB
4040
monitor_speed = 115200
41-
monitor_filters = esp32_exception_decoder
41+
42+
[env:esp32-c3-N4]
43+
platform = espressif32
44+
framework = arduino
45+
build_flags =
46+
-DTARGET_ESP32
47+
-DARDUINO_USB_MODE=1
48+
-DARDUINO_USB_CDC_ON_BOOT=1
49+
-DCONFIG_FREERTOS_WATCHDOG_TIMEOUT_S=120
50+
board_build.filesystem = littlefs
51+
board = esp32-c3-devkitm-1
52+
monitor_speed = 115200
53+
54+
[env:esp32-c6-N4]
55+
platform = espressif32
56+
framework = arduino
57+
build_flags =
58+
-DTARGET_ESP32
59+
-DARDUINO_USB_MODE=1
60+
-DARDUINO_USB_CDC_ON_BOOT=1
61+
-DCONFIG_FREERTOS_WATCHDOG_TIMEOUT_S=120
62+
board_build.filesystem = littlefs
63+
board = esp32-c6-devkitm-1
64+
monitor_speed = 115200
65+
66+
#[env:esp32-N4]
67+
#platform = espressif32
68+
#framework = arduino
69+
#build_flags =
70+
# -DTARGET_ESP32
71+
# -DCONFIG_FREERTOS_WATCHDOG_TIMEOUT_S=120
72+
#board_build.filesystem = littlefs
73+
#board = esp32dev
74+
#board_build.partitions = huge_app.csv
75+
#monitor_speed = 115200

0 commit comments

Comments
 (0)