mirror of
https://github.com/apache/nuttx.git
synced 2026-08-22 14:08:30 +00:00
The STM32F072RB provides a full speed USB device controller, but the Nucleo-F072RB board support did not enable it and no configuration exercised it. Add the pieces required to run USB device mode on this board: - Select HSI48 as the 48MHz source and use the USB start of frame packet as the CRS synchronisation event, which is the intended crystal-less USB configuration for this part. - Add the USB device pin definitions to the STM32F07x pin map. - Provide board level pull-up control and register the CDC/ACM class at boot when it is selected. - Add a usb-cdc-uart configuration that presents an NSH console on USART2 and a CDC/ACM serial device on USB. - Enable the USB device pins in the nsh configuration so the two configurations stay consistent. Assisted-by: GitHub Copilot:claude-opus-5 Signed-off-by: jsanchez-2g <jsanchez@2g-eng.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| ceva | ||
| dummy | ||
| hc | ||
| mips | ||
| misoc | ||
| or1k | ||
| renesas | ||
| risc-v | ||
| sim | ||
| sparc | ||
| tricore | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| z16 | ||
| z80 | ||
| CMakeLists.txt | ||
| Kconfig | ||