Skip to content

Avoid using ARDUINO_USB_MODE=1 in pio environments #255

@DvidPiDev

Description

@DvidPiDev

What happened?

ARDUINO_USB_MODE is set to 1 on the S2, S3 and C3 environments. This causes the device to wait for debug and never actually boot WLED without a USB data connection. Setting this to 0 allows the device to boot without having to be connected over USB.

To Reproduce Bug

Clone the latest WLED-MM, run a build on any C3, S2 or S3 environment, upload the bin file, unplug the device from your computer and connect it to a regular power supply, see bug.

Expected Behavior

ARDUINO_USB_MODE should equal to 0, thus allowing normal boot without the need of a debugger.

Install Method

Self-Compiled or other

What version/release of MM WLED?

WLEDMM 14.5.1-dev (build 2501170)

Which microcontroller/board are you seeing the problem on?

ESP32-S3

Relevant log/trace output

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions