File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
libraries/SrcWrapper/src/stm32 Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ typedef struct {
5353
5454/* Private Variables */
5555static gpio_irq_conf_str gpio_irq_conf[NB_EXTI] = {
56- #if defined (STM32C0xx) || defined (STM32F0xx) || defined (STM32G0xx) || defined (STM32L0xx)
56+ #if defined (STM32C0xx) || defined (STM32F0xx) || defined (STM32G0xx) ||\
57+ defined (STM32L0xx) || defined (STM32U0xx)
5758 {.irqnb = EXTI0_1_IRQn, .callback = NULL }, // GPIO_PIN_0
5859 {.irqnb = EXTI0_1_IRQn, .callback = NULL }, // GPIO_PIN_1
5960 {.irqnb = EXTI2_3_IRQn, .callback = NULL }, // GPIO_PIN_2
@@ -252,8 +253,8 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
252253}
253254
254255#if defined(STM32C0xx) || defined(STM32G0xx) || defined(STM32H5xx) || \
255- defined (STM32MP1xx) || defined(STM32L5xx) || defined(STM32U5xx) || \
256- defined(STM32WBAxx)
256+ defined (STM32MP1xx) || defined(STM32L5xx) || defined(STM32U0xx) || \
257+ defined(STM32U5xx) || defined( STM32WBAxx)
257258/* *
258259 * @brief EXTI line detection callback.
259260 * @param GPIO_Pin Specifies the port pin connected to corresponding EXTI line.
@@ -275,7 +276,8 @@ void HAL_GPIO_EXTI_Falling_Callback(uint16_t GPIO_Pin)
275276}
276277#endif
277278
278- #if defined (STM32C0xx) || (STM32F0xx) || defined (STM32G0xx) || defined (STM32L0xx)
279+ #if defined(STM32C0xx) || defined(STM32F0xx) || defined(STM32G0xx) || \
280+ defined (STM32L0xx) || defined(STM32U0xx)
279281#ifdef __cplusplus
280282extern " C" {
281283#endif
You can’t perform that action at this time.
0 commit comments