Skip to content

Commit 9caf017

Browse files
committed
Add stm32f4 series profiles
1 parent 113ead0 commit 9caf017

File tree

17 files changed

+7126
-0
lines changed

17 files changed

+7126
-0
lines changed
Lines changed: 294 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,294 @@
1+
[FLASH]
2+
type = memory
3+
size = 0x80000
4+
base = 0x8000000
5+
6+
[FLASH OTP]
7+
type = memory
8+
size = 0x400
9+
base = 0x1fff7800
10+
11+
[SRAM]
12+
type = memory
13+
size = 0x20000
14+
base = 0x20000000
15+
16+
[SYSTEM]
17+
type = memory
18+
size = 0x7800
19+
base = 0x1FFF0000
20+
21+
[SRAM BB]
22+
type = bitband
23+
size = 0x100000
24+
base = 0x20000000
25+
alias = 0x22000000
26+
27+
[PERIP]
28+
type = mmio
29+
size = 0x100000
30+
base = 0x40000000
31+
32+
[PERIP BB]
33+
type = bitband
34+
size = 0x100000
35+
base = 0x40000000
36+
alias = 0x42000000
37+
38+
[PPB]
39+
type = mmio
40+
size = 0x10000
41+
base = 0xE0000000
42+
43+
[SYSTICK]
44+
type = core periperal
45+
base = 0xE000E010
46+
class = CortexM4SysTick
47+
48+
[NVIC]
49+
type = core periperal
50+
base = 0xE000E100
51+
class = CortexM4Nvic
52+
53+
[SCB]
54+
type = core periperal
55+
base = 0xE000ED00
56+
class = CortexM4Scb
57+
58+
[TIM2]
59+
type = periperal
60+
base = 0x40000000
61+
class = STM32F4xxTim
62+
intn = 28
63+
64+
[TIM3]
65+
type = periperal
66+
base = 0x40000400
67+
class = STM32F4xxTim
68+
intn = 29
69+
70+
[TIM4]
71+
type = periperal
72+
base = 0x40000800
73+
class = STM32F4xxTim
74+
intn = 30
75+
76+
[TIM5]
77+
type = periperal
78+
base = 0x40000c00
79+
class = STM32F4xxTim
80+
intn = 50
81+
82+
[RTC]
83+
type = periperal
84+
base = 0x40002800
85+
class = STM32F4xxRtc
86+
wkup_intn = 3
87+
alarm_intn = 41
88+
89+
[WWDG]
90+
type = periperal
91+
base = 0x40002c00
92+
class = STM32F4xxWwdg
93+
intn = 0
94+
95+
[IWDG]
96+
type = periperal
97+
base = 0x40003000
98+
class = STM32F4xxIwdg
99+
100+
[I2S2ext]
101+
type = periperal
102+
base = 0x40003400
103+
class = STM32F4xxSpi
104+
105+
[SPI2]
106+
type = periperal
107+
base = 0x40003800
108+
class = STM32F4xxSpi
109+
intn = 36
110+
111+
[SPI3]
112+
type = periperal
113+
base = 0x40003c00
114+
class = STM32F4xxSpi
115+
intn = 51
116+
117+
[I2S3ext]
118+
type = periperal
119+
base = 0x40004000
120+
class = STM32F4xxSpi
121+
122+
[USART2]
123+
type = periperal
124+
base = 0x40004400
125+
class = STM32F4xxUsart
126+
intn = 38
127+
128+
[I2C1]
129+
type = periperal
130+
base = 0x40005400
131+
class = STM32F4xxI2c
132+
ev_intn = 31
133+
er_intn = 32
134+
135+
[I2C2]
136+
type = periperal
137+
base = 0x40005800
138+
class = STM32F4xxI2c
139+
ev_intn = 33
140+
er_intn = 34
141+
142+
[I2C3]
143+
type = periperal
144+
base = 0x40005c00
145+
class = STM32F4xxI2c
146+
ev_intn = 72
147+
er_intn = 73
148+
149+
[PWR]
150+
type = periperal
151+
base = 0x40007000
152+
class = STM32F4xxPwr
153+
154+
[TIM1]
155+
type = periperal
156+
base = 0x40010000
157+
class = STM32F4xxTim
158+
brk_tim9_intn = 24
159+
up_tim10_intn = 25
160+
trg_com_tim11_intn = 26
161+
cc_intn = 27
162+
163+
[USART1]
164+
type = periperal
165+
base = 0x40011000
166+
class = STM32F4xxUsart
167+
intn = 37
168+
169+
[USART6]
170+
type = periperal
171+
base = 0x40011400
172+
class = STM32F4xxUsart
173+
intn = 71
174+
175+
[ADC1]
176+
type = periperal
177+
base = 0x40012000
178+
class = STM32F4xxAdc
179+
180+
[SDIO]
181+
type = periperal
182+
base = 0x40012c00
183+
class = STM32F4xxSdio
184+
intn = 49
185+
186+
[SPI1]
187+
type = periperal
188+
base = 0x40013000
189+
class = STM32F4xxSpi
190+
intn = 35
191+
192+
[SPI4]
193+
type = periperal
194+
base = 0x40013400
195+
class = STM32F4xxSpi
196+
intn = 84
197+
198+
[SYSCFG]
199+
type = periperal
200+
base = 0x40013800
201+
class = STM32F4xxSyscfg
202+
203+
[EXTI]
204+
type = periperal
205+
base = 0x40013c00
206+
class = STM32F4xxExti
207+
208+
[TIM9]
209+
type = periperal
210+
base = 0x40014000
211+
class = STM32F4xxTim
212+
213+
[TIM10]
214+
type = periperal
215+
base = 0x40014400
216+
class = STM32F4xxTim
217+
218+
[TIM11]
219+
type = periperal
220+
base = 0x40014800
221+
class = STM32F4xxTim
222+
223+
[GPIOA]
224+
type = periperal
225+
base = 0x40020000
226+
class = STM32F4xxGpio
227+
228+
[GPIOB]
229+
type = periperal
230+
base = 0x40020400
231+
class = STM32F4xxGpio
232+
233+
[GPIOC]
234+
type = periperal
235+
base = 0x40020800
236+
class = STM32F4xxGpio
237+
238+
[GPIOD]
239+
type = periperal
240+
base = 0x40020c00
241+
class = STM32F4xxGpio
242+
243+
[GPIOE]
244+
type = periperal
245+
base = 0x40021000
246+
class = STM32F4xxGpio
247+
248+
[GPIOH]
249+
type = periperal
250+
base = 0x40021c00
251+
class = STM32F4xxGpio
252+
253+
[CRC]
254+
type = periperal
255+
base = 0x40023000
256+
class = STM32F4xxCrc
257+
258+
[RCC]
259+
type = periperal
260+
base = 0x40023800
261+
class = STM32F4xxRcc
262+
intn = 5
263+
264+
[DMA1]
265+
type = periperal
266+
base = 0x40026000
267+
class = STM32F4xxDma
268+
stream0_intn = 11
269+
stream1_intn = 12
270+
stream2_intn = 13
271+
stream3_intn = 14
272+
stream4_intn = 15
273+
stream5_intn = 16
274+
stream6_intn = 17
275+
stream7_intn = 47
276+
277+
[DMA2]
278+
type = periperal
279+
base = 0x40026400
280+
class = STM32F4xxDma
281+
stream0_intn = 56
282+
stream1_intn = 57
283+
stream2_intn = 58
284+
stream3_intn = 59
285+
stream4_intn = 60
286+
stream5_intn = 68
287+
stream6_intn = 69
288+
stream7_intn = 70
289+
290+
[DBGMCU]
291+
type = periperal
292+
base = 0xe0042000
293+
class = STM32F4xxDbgmcu
294+

0 commit comments

Comments
 (0)