1 |
582 |
jeremybenn |
// Copyright (c) 2009 Rowley Associates Limited.
|
2 |
|
|
//
|
3 |
|
|
// This file may be distributed under the terms of the License Agreement
|
4 |
|
|
// provided with this software.
|
5 |
|
|
//
|
6 |
|
|
// THIS FILE IS PROVIDED AS IS WITH NO WARRANTY OF ANY KIND, INCLUDING THE
|
7 |
|
|
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
8 |
|
|
|
9 |
|
|
#ifndef __STM32F10x_H__
|
10 |
|
|
#define __STM32F10x_H__
|
11 |
|
|
|
12 |
|
|
#define STM32F101C4 0x10114
|
13 |
|
|
#define STM32F101C6 0x10116
|
14 |
|
|
#define STM32F101C8 0x10118
|
15 |
|
|
#define STM32F101CB 0x1011B
|
16 |
|
|
|
17 |
|
|
#define STM32F101R4 0x10124
|
18 |
|
|
#define STM32F101R6 0x10126
|
19 |
|
|
#define STM32F101R8 0x10128
|
20 |
|
|
#define STM32F101RB 0x1012B
|
21 |
|
|
#define STM32F101RC 0x1012C
|
22 |
|
|
#define STM32F101RD 0x1012D
|
23 |
|
|
#define STM32F101RE 0x1012E
|
24 |
|
|
|
25 |
|
|
#define STM32F101T4 0x10134
|
26 |
|
|
#define STM32F101T6 0x10136
|
27 |
|
|
#define STM32F101T8 0x10138
|
28 |
|
|
|
29 |
|
|
#define STM32F101V8 0x10148
|
30 |
|
|
#define STM32F101VB 0x1014B
|
31 |
|
|
#define STM32F101VC 0x1014C
|
32 |
|
|
#define STM32F101VD 0x1014D
|
33 |
|
|
#define STM32F101VE 0x1014E
|
34 |
|
|
|
35 |
|
|
#define STM32F101ZC 0x1015C
|
36 |
|
|
#define STM32F101ZD 0x1015D
|
37 |
|
|
#define STM32F101ZE 0x1015E
|
38 |
|
|
|
39 |
|
|
#define STM32F102C4 0x10214
|
40 |
|
|
#define STM32F102C6 0x10216
|
41 |
|
|
#define STM32F102C8 0x10218
|
42 |
|
|
#define STM32F102CB 0x1021B
|
43 |
|
|
|
44 |
|
|
#define STM32F102R4 0x10228
|
45 |
|
|
#define STM32F102R6 0x1022B
|
46 |
|
|
#define STM32F102R8 0x10228
|
47 |
|
|
#define STM32F102RB 0x1022B
|
48 |
|
|
|
49 |
|
|
#define STM32F103C4 0x10314
|
50 |
|
|
#define STM32F103C6 0x10316
|
51 |
|
|
#define STM32F103C8 0x10318
|
52 |
|
|
#define STM32F103CB 0x1031B
|
53 |
|
|
|
54 |
|
|
#define STM32F103R4 0x10324
|
55 |
|
|
#define STM32F103R6 0x10326
|
56 |
|
|
#define STM32F103R8 0x10328
|
57 |
|
|
#define STM32F103RB 0x1032B
|
58 |
|
|
#define STM32F103RC 0x1032C
|
59 |
|
|
#define STM32F103RD 0x1032D
|
60 |
|
|
#define STM32F103RE 0x1032E
|
61 |
|
|
|
62 |
|
|
#define STM32F103T4 0x10334
|
63 |
|
|
#define STM32F103T6 0x10336
|
64 |
|
|
#define STM32F103T8 0x10338
|
65 |
|
|
#define STM32F103TB 0x1033B
|
66 |
|
|
|
67 |
|
|
#define STM32F103V8 0x10348
|
68 |
|
|
#define STM32F103VB 0x1034B
|
69 |
|
|
#define STM32F103VC 0x1034C
|
70 |
|
|
#define STM32F103VD 0x1034D
|
71 |
|
|
#define STM32F103VE 0x1034E
|
72 |
|
|
|
73 |
|
|
#define STM32F103ZC 0x1035C
|
74 |
|
|
#define STM32F103ZD 0x1035D
|
75 |
|
|
#define STM32F103ZE 0x1035E
|
76 |
|
|
|
77 |
|
|
#define STM32F105R8 0x10528
|
78 |
|
|
#define STM32F105RB 0x1052B
|
79 |
|
|
#define STM32F105RC 0x1052C
|
80 |
|
|
|
81 |
|
|
#define STM32F105V8 0x10548
|
82 |
|
|
#define STM32F105VB 0x1054B
|
83 |
|
|
#define STM32F105VC 0x1054C
|
84 |
|
|
|
85 |
|
|
#define STM32F107RB 0x1072B
|
86 |
|
|
#define STM32F107RC 0x1072C
|
87 |
|
|
|
88 |
|
|
#define STM32F107VB 0x1074B
|
89 |
|
|
#define STM32F107VC 0x1074C
|
90 |
|
|
|
91 |
|
|
#if (__TARGET_PROCESSOR == STM32F101C4)
|
92 |
|
|
#include <targets/STM32F101C4.h>
|
93 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101C6)
|
94 |
|
|
#include <targets/STM32F101C6.h>
|
95 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101C8)
|
96 |
|
|
#include <targets/STM32F101C6.h>
|
97 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101CB)
|
98 |
|
|
#include <targets/STM32F101C8.h>
|
99 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101R4)
|
100 |
|
|
#include <targets/STM32F101R4.h>
|
101 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101R6)
|
102 |
|
|
#include <targets/STM32F101R6.h>
|
103 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101R8)
|
104 |
|
|
#include <targets/STM32F101R8.h>
|
105 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101RB)
|
106 |
|
|
#include <targets/STM32F101RB.h>
|
107 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101RC)
|
108 |
|
|
#include <targets/STM32F101RC.h>
|
109 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101RD)
|
110 |
|
|
#include <targets/STM32F101RD.h>
|
111 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101RE)
|
112 |
|
|
#include <targets/STM32F101RE.h>
|
113 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101T4)
|
114 |
|
|
#include <targets/STM32F101T4.h>
|
115 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101T6)
|
116 |
|
|
#include <targets/STM32F101T6.h>
|
117 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101T8)
|
118 |
|
|
#include <targets/STM32F101T8.h>
|
119 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101V8)
|
120 |
|
|
#include <targets/STM32F101V8.h>
|
121 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101VB)
|
122 |
|
|
#include <targets/STM32F101VB.h>
|
123 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101VC)
|
124 |
|
|
#include <targets/STM32F101VC.h>
|
125 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101VD)
|
126 |
|
|
#include <targets/STM32F101VD.h>
|
127 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101VE)
|
128 |
|
|
#include <targets/STM32F101VE.h>
|
129 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101ZC)
|
130 |
|
|
#include <targets/STM32F101ZC.h>
|
131 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101ZD)
|
132 |
|
|
#include <targets/STM32F101ZD.h>
|
133 |
|
|
#elif (__TARGET_PROCESSOR == STM32F101ZE)
|
134 |
|
|
#include <targets/STM32F101ZE.h>
|
135 |
|
|
#elif (__TARGET_PROCESSOR == STM32F102C4)
|
136 |
|
|
#include <targets/STM32F102C4.h>
|
137 |
|
|
#elif (__TARGET_PROCESSOR == STM32F102C6)
|
138 |
|
|
#include <targets/STM32F102C6.h>
|
139 |
|
|
#elif (__TARGET_PROCESSOR == STM32F102C8)
|
140 |
|
|
#include <targets/STM32F102C8.h>
|
141 |
|
|
#elif (__TARGET_PROCESSOR == STM32F102CB)
|
142 |
|
|
#include <targets/STM32F102CB.h>
|
143 |
|
|
#elif (__TARGET_PROCESSOR == STM32F102R4)
|
144 |
|
|
#include <targets/STM32F102R4.h>
|
145 |
|
|
#elif (__TARGET_PROCESSOR == STM32F102R6)
|
146 |
|
|
#include <targets/STM32F102R6.h>
|
147 |
|
|
#elif (__TARGET_PROCESSOR == STM32F102R8)
|
148 |
|
|
#include <targets/STM32F102R8.h>
|
149 |
|
|
#elif (__TARGET_PROCESSOR == STM32F102RB)
|
150 |
|
|
#include <targets/STM32F102RB.h>
|
151 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103C4)
|
152 |
|
|
#include <targets/STM32F103C4.h>
|
153 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103C6)
|
154 |
|
|
#include <targets/STM32F103C6.h>
|
155 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103C8)
|
156 |
|
|
#include <targets/STM32F103C8.h>
|
157 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103CB)
|
158 |
|
|
#include <targets/STM32F103CB.h>
|
159 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103R4)
|
160 |
|
|
#include <targets/STM32F103R4.h>
|
161 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103R6)
|
162 |
|
|
#include <targets/STM32F103R6.h>
|
163 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103R8)
|
164 |
|
|
#include <targets/STM32F101C6.h>
|
165 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103RB)
|
166 |
|
|
#include <targets/STM32F103RB.h>
|
167 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103RC)
|
168 |
|
|
#include <targets/STM32F103RC.h>
|
169 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103RD)
|
170 |
|
|
#include <targets/STM32F103RD.h>
|
171 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103RE)
|
172 |
|
|
#include <targets/STM32F103RE.h>
|
173 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103T4)
|
174 |
|
|
#include <targets/STM32F103T4.h>
|
175 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103T6)
|
176 |
|
|
#include <targets/STM32F103T6.h>
|
177 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103T8)
|
178 |
|
|
#include <targets/STM32F103T8.h>
|
179 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103TB)
|
180 |
|
|
#include <targets/STM32F103TB.h>
|
181 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103V8)
|
182 |
|
|
#include <targets/STM32F103V8.h>
|
183 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103VB)
|
184 |
|
|
#include <targets/STM32F103VB.h>
|
185 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103VC)
|
186 |
|
|
#include <targets/STM32F103VC.h>
|
187 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103VD)
|
188 |
|
|
#include <targets/STM32F103VD.h>
|
189 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103VE)
|
190 |
|
|
#include <targets/STM32F103VE.h>
|
191 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103ZC)
|
192 |
|
|
#include <targets/STM32F103ZC.h>
|
193 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103ZD)
|
194 |
|
|
#include <targets/STM32F103ZD.h>
|
195 |
|
|
#elif (__TARGET_PROCESSOR == STM32F103ZE)
|
196 |
|
|
#include <targets/STM32F103ZE.h>
|
197 |
|
|
#elif (__TARGET_PROCESSOR == STM32F105R8)
|
198 |
|
|
#include <targets/STM32F105R8.h>
|
199 |
|
|
#elif (__TARGET_PROCESSOR == STM32F105RB)
|
200 |
|
|
#include <targets/STM32F105RB.h>
|
201 |
|
|
#elif (__TARGET_PROCESSOR == STM32F105RC)
|
202 |
|
|
#include <targets/STM32F105RC.h>
|
203 |
|
|
#elif (__TARGET_PROCESSOR == STM32F105V8)
|
204 |
|
|
#include <targets/STM32F105V8.h>
|
205 |
|
|
#elif (__TARGET_PROCESSOR == STM32F105VB)
|
206 |
|
|
#include <targets/STM32F105VB.h>
|
207 |
|
|
#elif (__TARGET_PROCESSOR == STM32F105VC)
|
208 |
|
|
#include <targets/STM32F105VC.h>
|
209 |
|
|
#elif (__TARGET_PROCESSOR == STM32F107RB)
|
210 |
|
|
#include <targets/STM32F107RB.h>
|
211 |
|
|
#elif (__TARGET_PROCESSOR == STM32F107RC)
|
212 |
|
|
#include <targets/STM32F107RC.h>
|
213 |
|
|
#elif (__TARGET_PROCESSOR == STM32F107VB)
|
214 |
|
|
#include <targets/STM32F107VB.h>
|
215 |
|
|
#elif (__TARGET_PROCESSOR == STM32F107VC)
|
216 |
|
|
#include <targets/STM32F107VC.h>
|
217 |
|
|
#else
|
218 |
|
|
#error bad __TARGET_PROCESSOR
|
219 |
|
|
#endif
|
220 |
|
|
|
221 |
|
|
#endif
|