stm32: Add support for USB on L0 MCUs.
This commit is contained in:
@@ -298,6 +298,16 @@ void DebugMon_Handler(void) {
|
||||
/* file (startup_stm32f4xx.s). */
|
||||
/******************************************************************************/
|
||||
|
||||
#if defined(STM32L0)
|
||||
|
||||
#if MICROPY_HW_USB_FS
|
||||
void USB_IRQHandler(void) {
|
||||
HAL_PCD_IRQHandler(&pcd_fs_handle);
|
||||
}
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
/**
|
||||
* @brief This function handles USB-On-The-Go FS global interrupt request.
|
||||
* @param None
|
||||
@@ -405,6 +415,8 @@ void OTG_HS_WKUP_IRQHandler(void) {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // !defined(STM32L0)
|
||||
|
||||
/**
|
||||
* @brief This function handles PPP interrupt request.
|
||||
* @param None
|
||||
|
||||
Reference in New Issue
Block a user