Skip to content

Commit ac5e7b6

Browse files
committed
fix(stm32wrapper): header regex
Fixes #2809. Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 2095f53 commit ac5e7b6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CI/update/stm32wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
# re
6363
peripheral_c_regex = re.compile(r"stm32\w+_[h]?[al][l]_(.*).c$")
64-
peripheral_h_regex = re.compile(r"stm32\w+_(\w+).h$")
64+
peripheral_h_regex = re.compile(r"stm32\w+_[h]?[al][l]_(.*).h$")
6565

6666

6767
def checkConfig(arg_core, arg_cmsis):
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef _STM32YYXX_LL_TIMER_H_
2-
#define _STM32YYXX_LL_TIMER_H_
1+
#ifndef _STM32YYXX_LL_RADIO_TIMER_H_
2+
#define _STM32YYXX_LL_RADIO_TIMER_H_
33
/* LL raised several warnings, ignore them */
44
#pragma GCC diagnostic push
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
@@ -9,7 +9,7 @@
99
#endif
1010

1111
#ifdef STM32WB0x
12-
#include "stm32wb0x_ll_timer.h"
12+
#include "stm32wb0x_ll_radio_timer.h"
1313
#endif
1414
#pragma GCC diagnostic pop
15-
#endif /* _STM32YYXX_LL_TIMER_H_ */
15+
#endif /* _STM32YYXX_LL_RADIO_TIMER_H_ */

0 commit comments

Comments
 (0)