stm32: Add support for USB on G0 MCUs.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -296,7 +296,15 @@ void DebugMon_Handler(void) {
|
||||
/* file (startup_stm32f4xx.s). */
|
||||
/******************************************************************************/
|
||||
|
||||
#if defined(STM32L0) || defined(STM32L432xx)
|
||||
#if defined(STM32G0)
|
||||
|
||||
#if MICROPY_HW_USB_FS
|
||||
void USB_UCPD1_2_IRQHandler(void) {
|
||||
HAL_PCD_IRQHandler(&pcd_fs_handle);
|
||||
}
|
||||
#endif
|
||||
|
||||
#elif defined(STM32L0) || defined(STM32L432xx)
|
||||
|
||||
#if MICROPY_HW_USB_FS
|
||||
void USB_IRQHandler(void) {
|
||||
|
||||
Reference in New Issue
Block a user