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 {
53
53
54
54
/* Private Variables */
55
55
static 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)
57
58
{.irqnb = EXTI0_1_IRQn, .callback = NULL }, // GPIO_PIN_0
58
59
{.irqnb = EXTI0_1_IRQn, .callback = NULL }, // GPIO_PIN_1
59
60
{.irqnb = EXTI2_3_IRQn, .callback = NULL }, // GPIO_PIN_2
@@ -252,8 +253,8 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
252
253
}
253
254
254
255
#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)
257
258
/* *
258
259
* @brief EXTI line detection callback.
259
260
* @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)
275
276
}
276
277
#endif
277
278
278
- #if defined (STM32C0xx) || (STM32F0xx) || defined (STM32G0xx) || defined (STM32L0xx)
279
+ #if defined(STM32C0xx) || defined(STM32F0xx) || defined(STM32G0xx) || \
280
+ defined (STM32L0xx) || defined(STM32U0xx)
279
281
#ifdef __cplusplus
280
282
extern " C" {
281
283
#endif
You can’t perform that action at this time.
0 commit comments