Skip to content

Commit d2ea2b4

Browse files
bors[bot]newAM
andauthored
Merge #590
590: stm32wle5: normalize EXTI.IMRx to match dual-core variants r=adamgreig a=newAM The dual-core STM32WL5x variant use the `CxIMRy` naming convention on the EXTI IMR registers whereas the single-core STM32WLE5 variant uses `IMRy`. This PR adds the `Cx` prefix to the single-core variant to reduce the occurrences of `#[cfg(feature = "stm32wle5")]`. This matches what has already been done for other peripherals (HSEM). cc `@jorgeig-space` Co-authored-by: Alex Martens <alexmgit@protonmail.com>
2 parents 883179c + f8deae3 commit d2ea2b4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

devices/stm32wle5.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,14 @@ DAC:
3535
- "TSEL1*"
3636

3737
EXTI:
38-
IMR2:
38+
_modify:
39+
IMR1:
40+
name:
41+
C1IMR1
42+
IMR2:
43+
name:
44+
C1IMR2
45+
C1IMR2:
3946
_modify:
4047
IM42:
4148
bitWidth: 1

0 commit comments

Comments
 (0)