Skip to content

Commit 494e173

Browse files
superna9999galak
authored andcommitted
ARM: stm32f0: fix syscfg mapping to fix EXTI config
The exticrX registers were shifted by a word, so configuring an EXTI line on a port different of PA misconfigured the EXTI line source and could flood with unwanted events. Signed-off-by: Neil Armstrong <[email protected]>
1 parent a6bc913 commit 494e173

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/soc/st_stm32/stm32f0/gpio_registers.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ union syscfg__exticr {
6666

6767
struct stm32f0x_syscfg {
6868
union syscfg_cfgr1 cfgr1;
69+
u32_t rsvd;
6970
union syscfg__exticr exticr1;
7071
union syscfg__exticr exticr2;
7172
union syscfg__exticr exticr3;

0 commit comments

Comments
 (0)