stm32: Update L4 code to build with latest stm32lib and L4 HAL 1.17.0.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2021-12-14 00:00:35 +11:00
parent a0f5b3148a
commit 88ac5a3116
6 changed files with 27 additions and 9 deletions

View File

@@ -395,7 +395,9 @@ void OTG_FS_WKUP_IRQHandler(void) {
OTG_CMD_WKUP_Handler(&pcd_fs_handle);
#if !defined(STM32H7)
#if defined(STM32L4)
EXTI->PR1 = USB_OTG_FS_WAKEUP_EXTI_LINE;
#elif !defined(STM32H7)
/* Clear EXTI pending Bit*/
__HAL_USB_FS_EXTI_CLEAR_FLAG();
#endif