Skip to content

Commit 6384876

Browse files
authored
Fix Lolin S2 USB CDC setup (#1251)
This commit fixes an issue with this board pointed out in ESP32 Arduino Github. espressif/arduino-esp32#8977 (comment)
1 parent fa33c2b commit 6384876

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

boards/lolin_s2_mini.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"extra_flags": [
88
"-DARDUINO_LOLIN_S2_MINI",
99
"-DBOARD_HAS_PSRAM",
10-
"-DARDUINO_USB_CDC_ON_BOOT=1"
10+
"-DARDUINO_USB_CDC_ON_BOOT=1",
11+
"-DARDUINO_USB_MODE=0"
1112
],
1213
"f_cpu": "240000000L",
1314
"f_flash": "80000000L",

0 commit comments

Comments
 (0)