jsanchez-2g opened a new pull request, #19926: URL: https://github.com/apache/nuttx/pull/19926
## Summary Add USB device-controller support for STM32G0 devices that provide the USB peripheral. This change: - Adds the STM32G0 USB interrupt and peripheral memory mapping. - Adds USB pin definitions and RCC clock selection. - Enables HSI48 clock support for the USB peripheral. - Adds STM32G0 USB power-control handling. - Extends the shared STM32 M0 USB device driver for the STM32G0 packet-memory and register layout. - Preserves support for the existing STM32F0 and STM32L0 users of the shared driver. Board-level support and configurations for the Nucleo-G0B1RE will be submitted separately after this prerequisite is merged. ## Testing Tested with the Nucleo-G0B1RE using both `usb-clocks` and `usb-cdc` configurations: - GNU builds passed. - Apache NuttX CI container Clang builds passed. - Generated `savedefconfig` output matched both checked-in configurations. - `checkpatch.sh`, codespell, encoding, and whitespace checks passed. - The `usb-cdc` image loaded and executed successfully on hardware. - NSH operated correctly over the ST-Link UART. - The CDC/ACM USB device enumerated automatically on a Windows host at boot. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
