Skip to content

Commit ab60f8a

Browse files
committed
C0+F0
1 parent 488944d commit ab60f8a

13 files changed

+227
-94
lines changed

devices/patches/c0.yaml

Lines changed: 0 additions & 45 deletions
This file was deleted.

devices/stm32c011.yaml

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
_svd: ../svd/stm32c011.svd
22

3+
_clear_fields: "*"
4+
35
_modify:
46
name: STM32C011
57

@@ -9,11 +11,33 @@ ADC:
911
- fields/adc/c0_g0_wl.yaml
1012
- collect/adc/c0_g0_wl.yaml
1113

14+
CRC:
15+
_strip: CRC_
16+
17+
DBG:
18+
_strip: DBG_
19+
20+
DMA:
21+
_strip: DMA_
22+
1223
DMAMUX:
24+
_strip: DMAMUX_
1325
_include:
1426
- collect/dma/dmamux.yaml
1527

28+
EXTI:
29+
_strip: EXTI_
30+
_modify:
31+
_interrupts:
32+
EXTI4_5:
33+
name: EXTI4_15
34+
description: EXTI line 4 to 15 interrupt
35+
36+
FLASH:
37+
_strip: FLASH_
38+
1639
GPIO?:
40+
_strip: GPIO?_
1741
_include:
1842
- fields/gpio/gpio_l5_u5.yaml
1943
- collect/gpio/v2r.yaml
@@ -23,25 +47,34 @@ GPIO[A]:
2347
GPIO[BCDF]:
2448
_include: collect/gpio/v2r_derive.yaml
2549

26-
I2C?:
50+
I2C1:
2751
_strip: I2C_
2852

2953
IWDG:
54+
_strip: IWDG_
3055
_include: patches/16bit_with_mask.yaml
3156

57+
PWR:
58+
_strip: PWR_
59+
60+
RCC:
61+
_strip: RCC_
62+
3263
RTC:
64+
_strip: RTC_
3365
_include:
3466
- patches/rtc/alarm.yaml
3567
#- fields/rtc/v3.yaml
3668
#- collect/rtc/alarm.yaml
3769

3870
SPI1:
71+
_strip: SPI?_
3972
_include:
4073
- patches/16bit.yaml
4174
- patches/spi/dr8.yaml
4275

43-
SPI?:
44-
_strip: SPI?_
76+
SYSCFG:
77+
_strip: SYSCFG_
4578

4679
TIM1:
4780
_strip: TIM1_
@@ -91,8 +124,8 @@ USART1:
91124
- fields/usart/v4/B.yaml
92125

93126
WWDG:
127+
_strip: WWDG_
94128
_include: patches/16bit_with_mask.yaml
95129

96130
_include:
97-
- patches/c0.yaml
98131
- patches/nvic/2_prio_bits.yaml

devices/stm32c031.yaml

Lines changed: 43 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
_svd: ../svd/stm32c031.svd
22

3+
_clear_fields: "*"
4+
35
_modify:
46
name: STM32C031
57
SPI:
@@ -13,11 +15,33 @@ ADC:
1315
- fields/adc/c0_g0_wl.yaml
1416
- collect/adc/c0_g0_wl.yaml
1517

18+
CRC:
19+
_strip: CRC_
20+
21+
DBG:
22+
_strip: DBG_
23+
24+
DMA:
25+
_strip: DMA_
26+
1627
DMAMUX:
28+
_strip: DMAMUX_
1729
_include:
1830
- collect/dma/dmamux.yaml
1931

32+
EXTI:
33+
_strip: EXTI_
34+
_modify:
35+
_interrupts:
36+
EXTI4_5:
37+
name: EXTI4_15
38+
description: EXTI line 4 to 15 interrupt
39+
40+
FLASH:
41+
_strip: FLASH_
42+
2043
GPIO?:
44+
_strip: GPIO?_
2145
_include:
2246
- fields/gpio/gpio_l5_u5.yaml
2347
- collect/gpio/v2r.yaml
@@ -27,18 +51,35 @@ GPIO[A]:
2751
GPIO[BCDF]:
2852
_include: collect/gpio/v2r_derive.yaml
2953

30-
I2C?:
54+
I2C1:
3155
_strip: I2C_
3256

3357
IWDG:
58+
_strip: IWDG_
3459
_include: patches/16bit_with_mask.yaml
3560

61+
PWR:
62+
_strip: PWR_
63+
64+
RCC:
65+
_strip: RCC_
66+
3667
RTC:
68+
_strip: RTC_
3769
_include:
3870
- patches/rtc/alarm.yaml
3971
#- fields/rtc/v3.yaml
4072
#- collect/rtc/alarm.yaml
4173

74+
SPI1:
75+
_strip: SPI_
76+
_include:
77+
- patches/16bit.yaml
78+
- patches/spi/dr8.yaml
79+
80+
SYSCFG:
81+
_strip: SYSCFG_
82+
4283
TIM1:
4384
_strip: TIM1_
4485
_include:
@@ -80,21 +121,15 @@ TIM1[67]:
80121
- fields/tim/v2/tim16.yaml
81122
- collect/tim/ccr.yaml
82123

83-
SPI1:
84-
_include:
85-
- patches/16bit.yaml
86-
- patches/spi/dr8.yaml
87-
_strip: SPI_
88-
89124
USART1:
90125
_strip: USART_
91126
_include:
92127
- patches/usart/rename_CR1_ISR_enabled_disabled.yaml
93128
- fields/usart/v4/B.yaml
94129

95130
WWDG:
131+
_strip: WWDG_
96132
_include: patches/16bit_with_mask.yaml
97133

98134
_include:
99-
- patches/c0.yaml
100135
- patches/nvic/2_prio_bits.yaml

devices/stm32c071.yaml

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
_svd: ../svd/stm32c071.svd
22

3+
_clear_fields: "*"
4+
35
_modify:
46
name: STM32C071
57
TIM*:
@@ -19,14 +21,36 @@ ADC:
1921
name: CHSELR1
2022
alternateRegister: CHSELR0
2123

24+
CRC:
25+
_strip: CRC_
26+
2227
CRS:
2328
_strip: CRS_
2429

30+
DBG:
31+
_strip: DBG_
32+
33+
DMA:
34+
_strip: DMA_
35+
2536
DMAMUX:
37+
_strip: DMAMUX_
2638
_include:
2739
- collect/dma/dmamux.yaml
2840

41+
EXTI:
42+
_strip: EXTI_
43+
_modify:
44+
_interrupts:
45+
EXTI4_5:
46+
name: EXTI4_15
47+
description: EXTI line 4 to 15 interrupt
48+
49+
FLASH:
50+
_strip: FLASH_
51+
2952
GPIO?:
53+
_strip: GPIO?_
3054
_include:
3155
- fields/gpio/gpio_l5_u5.yaml
3256
- collect/gpio/v2r.yaml
@@ -36,22 +60,34 @@ GPIO[A]:
3660
GPIO[BCDF]:
3761
_include: collect/gpio/v2r_derive.yaml
3862

39-
I2C?:
63+
I2C1:
4064
_strip: I2C_
4165

66+
IWDG:
67+
_strip: IWDG_
68+
_include: patches/16bit_with_mask.yaml
69+
70+
PWR:
71+
_strip: PWR_
72+
73+
RCC:
74+
_strip: RCC_
75+
4276
RTC:
77+
_strip: RTC_
4378
_include:
4479
- patches/rtc/alarm.yaml
4580
#- fields/rtc/v3.yaml
4681
#- collect/rtc/alarm.yaml
4782

4883
SPI1:
84+
_strip: SPI?_
4985
_include:
5086
- patches/16bit.yaml
5187
- patches/spi/dr8.yaml
5288

53-
SPI?:
54-
_strip: SPI?_
89+
SYSCFG:
90+
_strip: SYSCFG_
5591

5692
TIM[123]:
5793
_strip: TIM?_
@@ -131,6 +167,9 @@ USB:
131167
_include:
132168
- collect/usb/chepr.yaml
133169

170+
WWDG:
171+
_strip: WWDG_
172+
_include: patches/16bit_with_mask.yaml
173+
134174
_include:
135-
- patches/c0.yaml
136175
- patches/nvic/2_prio_bits.yaml

devices/stm32f0x0.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ CRC:
2222
- fields/crc/crc_advanced.yaml
2323
- fields/crc/crc_idr_8bit.yaml
2424

25-
DMA?:
25+
DBGMCU: {}
26+
27+
DMA1:
2628
_include:
2729
- fields/dma/v1.yaml
2830
- collect/dma/v1.yaml
@@ -49,7 +51,7 @@ GPIO[A]:
4951
GPIO[F]:
5052
_include: collect/gpio/v2_derive.yaml
5153

52-
I2C?:
54+
I2C1:
5355
_include:
5456
- patches/i2c/merge_CR2_SADDx_fields.yaml
5557
- patches/i2c/merge_OAR1_OA1x_fields.yaml

devices/stm32f0x1.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ CEC:
2424
- patches/cec/cfgr.yaml
2525
- fields/hdmi_cec.yaml
2626

27+
COMP: {}
28+
2729
CRC:
2830
_include:
2931
- patches/crc/f0_init_addr_fix.yaml
@@ -32,13 +34,17 @@ CRC:
3234
- fields/crc/crc_idr_8bit.yaml
3335
- fields/crc/crc_pol.yaml
3436

37+
CRS: {}
38+
3539
DAC:
3640
_include:
3741
- fields/dac/dac_common_2ch.yaml
3842
- fields/dac/dac_wavegen.yaml
3943
- fields/dac/dac_dmaudr.yaml
4044

41-
DMA?:
45+
DBGMCU: {}
46+
47+
DMA1:
4248
_include:
4349
- fields/dma/v1.yaml
4450
- collect/dma/v1.yaml
@@ -66,7 +72,7 @@ GPIO[A]:
6672
GPIO[F]:
6773
_include: collect/gpio/v2_derive.yaml
6874

69-
I2C?:
75+
I2C1:
7076
_include:
7177
- patches/i2c/merge_CR2_SADDx_fields.yaml
7278
- patches/i2c/merge_OAR1_OA1x_fields.yaml
@@ -103,7 +109,7 @@ RTC:
103109
#- collect/rtc/alarm.yaml
104110
- collect/rtc/bkpr.yaml
105111

106-
SPI?:
112+
SPI1:
107113
_include:
108114
- patches/16bit.yaml
109115
- patches/spi/dr8.yaml

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy