-
-
Notifications
You must be signed in to change notification settings - Fork 443
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
There was an error in the compilation process
Steps to reproduce
There was an error in the compilation process
What hardware are you using?
diy by esp32s3
Anything else?
Change all the code in the platformio.ini to the following, and it will solve the problem, which has been tested๏ผ
[env:esp32-s2-kaluga-1]
platform = espressif32
board = esp32-s2-kaluga-1
framework = arduino
lib_deps =
spacehuhn/SimpleCLI@^1.1.4
me-no-dev/AsyncTCP@^1.1.1
ESP32Async/ESPAsyncWebServer
build_flags =
-D USB_CUSTOM_DESCRIPTORS
-I custom_usb_descriptors
-D USB_PID=0x0002
-D USB_VID=0x303a
-D USB_MANUFACTURER='"Espressif Systems"'
lib_extra_dirs = custom_usb_descriptors
[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200
#upload_port = /dev/tty.usbmodem11101
lib_deps =
spacehuhn/SimpleCLI@^1.1.4
me-no-dev/AsyncTCP@^1.1.1
ESP32Async/ESPAsyncWebServer
-D USB_CUSTOM_DESCRIPTORS
-I custom_usb_descriptors
-D USB_PID=0x0002
-D USB_VID=0x303a
-D USB_MANUFACTURER='"Espressif Systems"'
lib_extra_dirs = custom_usb_descriptors