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 | ||
| dummy | ||
| hc/m9s12 | ||
| mips | ||
| misoc/lm32/misoc | ||
| or1k/mor1kx/or1k | ||
| renesas | ||
| risc-v | ||
| sim/sim/sim | ||
| sparc | ||
| tricore | ||
| x86/qemu/qemu-i486 | ||
| x86_64/qemu/qemu-intel64 | ||
| xtensa | ||
| z16/z16f/z16f2800100zcog | ||
| z80 | ||
| .gitignore | ||
| Board.mk | ||
| boardctl.c | ||
| CMakeLists.txt | ||
| dummy.c | ||
| Kconfig | ||
| Makefile | ||