Skip to content

Commit 65c3dee

Browse files
committed
f7: fix syscfg registers
1 parent 955553c commit 65c3dee

15 files changed

+97
-12
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_include:
2+
- f730_f7x2_f7x3_syscfg.yaml
3+
- f730_f7x2_f7x3_tim.yaml
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
SYSCFG:
2+
PMC:
3+
_delete:
4+
- PB*
5+
- I2C*
6+
_add:
7+
MII_RMII_SEL:
8+
description: ADC3DC2
9+
bitOffset: 23
10+
bitWidth: 1
11+
ADC3DC2:
12+
description: ADC3DC2
13+
bitOffset: 18
14+
bitWidth: 1
15+
ADC2DC2:
16+
description: ADC2DC2
17+
bitOffset: 17
18+
bitWidth: 1
19+
_modify:
20+
ADCDC2:
21+
name: ADC1DC2
22+
bitWidth: 1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_include:
2+
- f745_f750_f765_f7x6_f7x7_f7x9_tim.yaml
3+
- f745_f750_f765_f7x6_f7x7_f7x9_syscfg.yaml
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
SYSCFG:
2+
_modify:
3+
MEMRM:
4+
name: MEMRMP
5+
MEMRMP:
6+
_modify:
7+
MEM_MODE:
8+
name: MEM_BOOT
9+
bitWidth: 1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_include:
2+
- f765_f7x6_f7x9_tim.yaml
3+
- f765_f7x6_f7x9_syscfg.yaml
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
SYSCFG:
2+
PMC:
3+
_add:
4+
PB9_FMP:
5+
description: PB9_FMP Fast Mode + Enable
6+
bitOffset: 7
7+
bitWidth: 1
8+
PB8_FMP:
9+
description: PB8_FMP Fast Mode + Enable
10+
bitOffset: 6
11+
bitWidth: 1
12+
PB7_FMP:
13+
description: PB7_FMP Fast Mode + Enable
14+
bitOffset: 5
15+
bitWidth: 1
16+
PB6_FMP:
17+
description: PB6_FMP Fast Mode + Enable
18+
bitOffset: 4
19+
bitWidth: 1
20+
I2C4_FMP:
21+
description: I2C4 Fast Mode + Enable
22+
bitOffset: 3
23+
bitWidth: 1
24+
I2C3_FMP:
25+
description: I2C3 Fast Mode + Enable
26+
bitOffset: 2
27+
bitWidth: 1
28+
I2C2_FMP:
29+
description: I2C2 Fast Mode + Enable
30+
bitOffset: 1
31+
bitWidth: 1
32+
I2C1_FMP:
33+
description: I2C1 Fast Mode + Enable
34+
bitOffset: 0
35+
bitWidth: 1

devices/stm32f730.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ _include:
5656
- ../peripherals/tim/tim_advanced.yaml
5757
- common_patches/tim/tim_ccr.yaml
5858
- common_patches/f7_tim.yaml
59-
- common_patches/f730_f7x2_f7x3_tim.yaml
59+
- common_patches/f730_f7x2_f7x3_common.yaml
6060
- ../peripherals/tim/v2/ccm.yaml
6161
- ../peripherals/iwdg/iwdg_with_WINR.yaml
6262
- ../peripherals/exti/exti.yaml

devices/stm32f745.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ CRYP:
8686
_merge:
8787
- "IV*"
8888

89+
SYSCFG:
90+
MEMRMP:
91+
_delete:
92+
- FB_MODE
93+
8994
_include:
9095
- common_patches/f7_interrupts.yaml
9196
- common_patches/f7_lptim_interrupt.yaml
@@ -157,7 +162,7 @@ _include:
157162
- common_patches/tim/tim_ccr.yaml
158163
- common_patches/f7_tim.yaml
159164
- common_patches/tim/v2/f7.yaml
160-
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_tim.yaml
165+
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_common.yaml
161166
- common_patches/f745_f750_f765_f7x6_f7x9_tim.yaml
162167
- ../peripherals/tim/v2/ccm.yaml
163168
- ../peripherals/iwdg/iwdg_with_WINR.yaml

devices/stm32f750.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ FLASH:
2424
OPTKEY:
2525
name: OPTKEYR
2626

27+
SYSCFG:
28+
MEMRMP:
29+
_delete:
30+
- FB_MODE
31+
2732
_include:
2833
- common_patches/merge_USART_CR1_DEATx_fields.yaml
2934
- common_patches/merge_USART_CR1_DEDTx_fields.yaml
@@ -83,7 +88,7 @@ _include:
8388
- common_patches/tim/tim_ccr.yaml
8489
- common_patches/f7_tim.yaml
8590
- common_patches/tim/v2/f7.yaml
86-
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_tim.yaml
91+
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_common.yaml
8792
- common_patches/f745_f750_f765_f7x6_f7x9_tim.yaml
8893
- ../peripherals/tim/v2/ccm.yaml
8994
- ../peripherals/iwdg/iwdg_with_WINR.yaml

devices/stm32f765.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ _include:
171171
- common_patches/tim/tim_ccr.yaml
172172
- common_patches/f7_tim.yaml
173173
- common_patches/tim/v2/f7.yaml
174-
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_tim.yaml
174+
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_common.yaml
175175
- common_patches/f745_f750_f765_f7x6_f7x9_tim.yaml
176-
- common_patches/f765_f7x6_f7x9_tim.yaml
176+
- common_patches/f765_f7x6_f7x9_common.yaml
177177
- ../peripherals/tim/v2/ccm.yaml
178178
- ../peripherals/iwdg/iwdg_with_WINR.yaml
179179
- ../peripherals/exti/exti.yaml

devices/stm32f7x2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ _include:
5757
- ../peripherals/tim/tim_advanced.yaml
5858
- common_patches/tim/tim_ccr.yaml
5959
- common_patches/f7_tim.yaml
60-
- common_patches/f730_f7x2_f7x3_tim.yaml
60+
- common_patches/f730_f7x2_f7x3_common.yaml
6161
- ../peripherals/tim/v2/ccm.yaml
6262
- ../peripherals/iwdg/iwdg_with_WINR.yaml
6363
- ../peripherals/exti/exti.yaml

devices/stm32f7x3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ _include:
6767
- ../peripherals/tim/tim_advanced.yaml
6868
- common_patches/tim/tim_ccr.yaml
6969
- common_patches/f7_tim.yaml
70-
- common_patches/f730_f7x2_f7x3_tim.yaml
70+
- common_patches/f730_f7x2_f7x3_common.yaml
7171
- ../peripherals/tim/v2/ccm.yaml
7272
- ../peripherals/iwdg/iwdg_with_WINR.yaml
7373
- ../peripherals/exti/exti.yaml

devices/stm32f7x6.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ _include:
145145
- common_patches/tim/tim_ccr.yaml
146146
- common_patches/f7_tim.yaml
147147
- common_patches/tim/v2/f7.yaml
148-
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_tim.yaml
148+
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_common.yaml
149149
- common_patches/f745_f750_f765_f7x6_f7x9_tim.yaml
150-
- common_patches/f765_f7x6_f7x9_tim.yaml
150+
- common_patches/f765_f7x6_f7x9_common.yaml
151151
- ../peripherals/tim/v2/ccm.yaml
152152
- ../peripherals/iwdg/iwdg_with_WINR.yaml
153153
- ../peripherals/exti/exti.yaml

devices/stm32f7x7.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ _include:
337337
- common_patches/tim/tim_ccr.yaml
338338
- common_patches/f7_tim.yaml
339339
- common_patches/tim/v2/f7.yaml
340-
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_tim.yaml
340+
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_common.yaml
341341
- ../peripherals/tim/v2/ccm.yaml
342342
- ../peripherals/iwdg/iwdg_with_WINR.yaml
343343
- ../peripherals/exti/exti.yaml

devices/stm32f7x9.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,9 @@ _include:
320320
- common_patches/tim/tim_ccr.yaml
321321
- common_patches/f7_tim.yaml
322322
- common_patches/tim/v2/f7.yaml
323-
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_tim.yaml
323+
- common_patches/f745_f750_f765_f7x6_f7x7_f7x9_common.yaml
324324
- common_patches/f745_f750_f765_f7x6_f7x9_tim.yaml
325-
- common_patches/f765_f7x6_f7x9_tim.yaml
325+
- common_patches/f765_f7x6_f7x9_common.yaml
326326
- ../peripherals/tim/v2/ccm.yaml
327327
- ../peripherals/iwdg/iwdg_with_WINR.yaml
328328
- ../peripherals/exti/exti.yaml

0 commit comments

Comments
 (0)