Skip to content

[Bug]: lib_deps workaround in platformio.ini that doesn't workย #147

@XiaoMaxer

Description

@XiaoMaxer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions