arduino / arduino/ArduinoCore-avr
Using #define CDC_DISABLED to remove CDC class
Open
- Dominant language
- C
- Stars
- 1.5k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
This is a great addition, but I'm wondering if there is a way to define this from within a sketch? For debugging it's really helpful to be able to turn CDC on temporarily.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing where the CDC_DISABLED definition and CDC class are handled in the AVR core, then inspect how a sketch's compilation settings reach those definitions. Done means determining and documenting whether CDC can be enabled or disabled from within a sketch without changing core configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100