-
-
Notifications
You must be signed in to change notification settings - Fork 398
arduino-cli USB CDC enable function requirement #1869
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @yoyojacky. Custom board options such as "USB CDC On Boot" are set via the FQBN you pass to The format of the FQBN is like this:
You can learn all the available menu IDs and option IDs for a given board by running the following command:
(where For example if you are using the "ESP32C3 Dev Module" board (FQBN:
Here we can see that the ID for the "USB CDC On Boot" menu is So the full FQBN is:
If you have any additional questions about using Arduino CLI, feel free to post on the dedicated Arduino Forum section here: https://forum.arduino.cc/c/software/arduino-cli/89 More information about custom board options here: https://arduino.github.io/arduino-cli/latest/platform-specification/#custom-board-options And about setting them via the FQBN here: https://arduino.github.io/arduino-cli/latest/FAQ/#how-to-set-multiple-board-options We are tracking the need to better document the FQBN format here: |
Thank you very much!!! It works!!! you are my god.... thank you again. |
Describe the request
I want to enable or disable ESP32-C3 module which is from DFRobot, and it works well under arduino-cli, but once i use
arduino-cli monitor -p /dev/ttyACM0
there is no output, after searching and discussing with my friends , he said we need to enable USB CDC during flashing the chip, but i can not find the way to add parameter's about enabling USB CDC.Describe the current behavior
It is works well under arduino-cli, but once i use
arduino-cli monitor -p /dev/ttyACM0
there is no output, after searching and discussing with my friends , he said we need to enable USB CDC during flashing the chip, but i can not find the way to add parameter's about enabling USB CDC.Arduino CLI version
0.26.0-> 0.27.1
Operating system
Linux
Operating system version
Debian 11 Bullseye 64bit on Raspberry Pi 4B
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: