arduino / arduino/ArduinoCore-avr
-DCDC_DISABLED not working
- Dominant language
- C
- Stars
- 1.5k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hello. I am trying to create a usb device and I need to disable the CDC so that only the hid device works.
To install the code, I use usbasp. After enabling the -DC DC_DISABLED parameter or adding define, the CRC still works and I get a hid device plus a non-working device.
Does anyone know the solution to this problem?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by checking how the Arduino AVR core handles the CDC_DISABLED define and how the usbasp build receives the -D option. Reproduce the USB configuration with CDC disabled and HID enabled; done means the device exposes HID without an additional CDC device.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100