Skip to content

Commit 040d2a5

Browse files
Update platformio.ini: Add USB mode flag and sync test version
Changes: - Added -DARDUINO_USB_MODE=1 for Feather ESP32-S3 TFT environment - Updated test environment version from 2.0.0 to 3.0.0 - Added -DARDUINO_USB_MODE=1 for test environment - Fixed formatting in build_flags sections The ARDUINO_USB_MODE=1 flag enables proper USB CDC support for ESP32-S3, ensuring serial communication works correctly.
1 parent 78bfc2e commit 040d2a5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

platformio.ini

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ monitor_speed = 115200
3333
upload_port = /dev/ttyACM*
3434
monitor_port = /dev/ttyACM*
3535
build_flags =
36+
-DARDUINO_USB_MODE=1
3637
-DVERSION="3.0.0"
3738
-DUSE_NEOPIXEL=1
3839
lib_deps =
@@ -69,12 +70,14 @@ lib_deps =
6970
adafruit/Adafruit NeoPixel@^1.12.0
7071
ESP Async UDP@^1.2.3
7172
build_flags =
72-
-D UNITY_INCLUDE_CONFIG_H
73-
-D UNIT_TEST
74-
-D USE_NEOPIXEL=1
75-
-D VERSION='"2.0.0"'
73+
-DARDUINO_USB_MODE=1
74+
-DUNITY_INCLUDE_CONFIG_H
75+
-DUNIT_TEST
76+
-DUSE_NEOPIXEL=1
77+
-DVERSION='"3.0.0"'
7678
monitor_speed = 115200
7779
upload_port = /dev/ttyACM*
7880
monitor_port = /dev/ttyACM*
81+
7982
test_ignore =
8083
test_desktop_*

0 commit comments

Comments
 (0)