From ac5e7b61b9373150fbe0cc7c85913285cf5e69eb Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Mon, 1 Sep 2025 14:22:39 +0200 Subject: [PATCH] fix(stm32wrapper): header regex Fixes #2809. Signed-off-by: Frederic Pillon --- CI/update/stm32wrapper.py | 2 +- .../{stm32yyxx_ll_timer.h => stm32yyxx_ll_radio_timer.h} | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename libraries/SrcWrapper/inc/LL/{stm32yyxx_ll_timer.h => stm32yyxx_ll_radio_timer.h} (65%) diff --git a/CI/update/stm32wrapper.py b/CI/update/stm32wrapper.py index 1abdba4c1c..7c85db0cb1 100644 --- a/CI/update/stm32wrapper.py +++ b/CI/update/stm32wrapper.py @@ -61,7 +61,7 @@ # re peripheral_c_regex = re.compile(r"stm32\w+_[h]?[al][l]_(.*).c$") -peripheral_h_regex = re.compile(r"stm32\w+_(\w+).h$") +peripheral_h_regex = re.compile(r"stm32\w+_[h]?[al][l]_(.*).h$") def checkConfig(arg_core, arg_cmsis): diff --git a/libraries/SrcWrapper/inc/LL/stm32yyxx_ll_timer.h b/libraries/SrcWrapper/inc/LL/stm32yyxx_ll_radio_timer.h similarity index 65% rename from libraries/SrcWrapper/inc/LL/stm32yyxx_ll_timer.h rename to libraries/SrcWrapper/inc/LL/stm32yyxx_ll_radio_timer.h index 9fbb78f288..b8875b6d2a 100644 --- a/libraries/SrcWrapper/inc/LL/stm32yyxx_ll_timer.h +++ b/libraries/SrcWrapper/inc/LL/stm32yyxx_ll_radio_timer.h @@ -1,5 +1,5 @@ -#ifndef _STM32YYXX_LL_TIMER_H_ -#define _STM32YYXX_LL_TIMER_H_ +#ifndef _STM32YYXX_LL_RADIO_TIMER_H_ +#define _STM32YYXX_LL_RADIO_TIMER_H_ /* LL raised several warnings, ignore them */ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" @@ -9,7 +9,7 @@ #endif #ifdef STM32WB0x - #include "stm32wb0x_ll_timer.h" + #include "stm32wb0x_ll_radio_timer.h" #endif #pragma GCC diagnostic pop -#endif /* _STM32YYXX_LL_TIMER_H_ */ +#endif /* _STM32YYXX_LL_RADIO_TIMER_H_ */