|
22 | 22 | #ifndef INITIAL_SP
|
23 | 23 | #define INITIAL_SP (0x10008000UL)
|
24 | 24 | #endif
|
25 |
| -#ifndef OS_MAINSTKSIZE |
26 |
| -#define OS_MAINSTKSIZE 256 |
27 |
| -#endif |
28 |
| -#ifndef OS_CLOCK |
29 |
| -#define OS_CLOCK 96000000 |
30 |
| -#endif |
31 | 25 |
|
32 | 26 | #elif defined(TARGET_TEENSY3_1)
|
33 | 27 |
|
34 | 28 | #ifndef INITIAL_SP
|
35 | 29 | #define INITIAL_SP (0x20008000UL)
|
36 | 30 | #endif
|
37 |
| -#ifndef OS_MAINSTKSIZE |
38 |
| -#define OS_MAINSTKSIZE 256 |
39 |
| -#endif |
40 |
| -#ifndef OS_CLOCK |
41 |
| -#define OS_CLOCK 96000000 |
42 |
| -#endif |
43 | 31 |
|
44 | 32 | #elif defined(TARGET_MCU_K22F)
|
45 | 33 |
|
46 | 34 | #ifndef INITIAL_SP
|
47 | 35 | #define INITIAL_SP (0x20010000UL)
|
48 | 36 | #endif
|
49 |
| -#ifndef OS_MAINSTKSIZE |
50 |
| -#define OS_MAINSTKSIZE 256 |
51 |
| -#endif |
52 |
| -#ifndef OS_CLOCK |
53 |
| -#define OS_CLOCK 80000000 |
54 |
| -#endif |
55 | 37 |
|
56 | 38 | #elif defined(TARGET_K66F)
|
57 | 39 |
|
58 | 40 | #ifndef INITIAL_SP
|
59 | 41 | #define INITIAL_SP (0x20030000UL)
|
60 | 42 | #endif
|
61 |
| -#ifndef OS_MAINSTKSIZE |
62 |
| -#define OS_MAINSTKSIZE 256 |
63 |
| -#endif |
64 |
| -#ifndef OS_CLOCK |
65 |
| -#define OS_CLOCK 120000000 |
66 |
| -#endif |
67 | 43 |
|
68 | 44 | #elif defined(TARGET_KL27Z)
|
69 | 45 |
|
70 | 46 | #ifndef INITIAL_SP
|
71 | 47 | #define INITIAL_SP (0x20003000UL)
|
72 | 48 | #endif
|
73 |
| -#ifndef OS_MAINSTKSIZE |
74 |
| -#define OS_MAINSTKSIZE 128 |
75 |
| -#endif |
76 |
| -#ifndef OS_CLOCK |
77 |
| -#define OS_CLOCK 48000000 |
78 |
| -#endif |
79 | 49 |
|
80 | 50 | #elif defined(TARGET_KL43Z)
|
81 | 51 |
|
82 | 52 | #ifndef INITIAL_SP
|
83 | 53 | #define INITIAL_SP (0x20006000UL)
|
84 | 54 | #endif
|
85 |
| -#ifndef OS_MAINSTKSIZE |
86 |
| -#define OS_MAINSTKSIZE 256 |
87 |
| -#endif |
88 |
| -#ifndef OS_CLOCK |
89 |
| -#define OS_CLOCK 48000000 |
90 |
| -#endif |
91 | 55 |
|
92 | 56 | #elif defined(TARGET_KL05Z)
|
93 | 57 |
|
94 | 58 | #ifndef INITIAL_SP
|
95 | 59 | #define INITIAL_SP (0x20000C00UL)
|
96 | 60 | #endif
|
97 |
| -#ifndef OS_MAINSTKSIZE |
98 |
| -#define OS_MAINSTKSIZE 128 |
99 |
| -#endif |
100 |
| -#ifndef OS_CLOCK |
101 |
| -#define OS_CLOCK 48000000 |
102 |
| -#endif |
103 | 61 |
|
104 | 62 | #elif defined(TARGET_KL25Z)
|
105 | 63 |
|
106 | 64 | #ifndef INITIAL_SP
|
107 | 65 | #define INITIAL_SP (0x20003000UL)
|
108 | 66 | #endif
|
109 |
| -#ifndef OS_MAINSTKSIZE |
110 |
| -#define OS_MAINSTKSIZE 128 |
111 |
| -#endif |
112 |
| -#ifndef OS_CLOCK |
113 |
| -#define OS_CLOCK 48000000 |
114 |
| -#endif |
115 | 67 |
|
116 | 68 | #elif defined(TARGET_KL26Z)
|
117 | 69 |
|
118 | 70 | #ifndef INITIAL_SP
|
119 | 71 | #define INITIAL_SP (0x20003000UL)
|
120 | 72 | #endif
|
121 |
| -#ifndef OS_MAINSTKSIZE |
122 |
| -#define OS_MAINSTKSIZE 128 |
123 |
| -#endif |
124 |
| -#ifndef OS_CLOCK |
125 |
| -#define OS_CLOCK 48000000 |
126 |
| -#endif |
127 | 73 |
|
128 | 74 | #elif defined(TARGET_KL46Z)
|
129 | 75 |
|
130 | 76 | #ifndef INITIAL_SP
|
131 | 77 | #define INITIAL_SP (0x20006000UL)
|
132 | 78 | #endif
|
133 |
| -#ifndef OS_MAINSTKSIZE |
134 |
| -#define OS_MAINSTKSIZE 256 |
135 |
| -#endif |
136 |
| -#ifndef OS_CLOCK |
137 |
| -#define OS_CLOCK 48000000 |
138 |
| -#endif |
139 | 79 |
|
140 | 80 | #elif defined(TARGET_KL82Z)
|
141 | 81 |
|
142 | 82 | #ifndef INITIAL_SP
|
143 | 83 | #define INITIAL_SP (0x20012000UL)
|
144 | 84 | #endif
|
145 |
| -#ifndef OS_MAINSTKSIZE |
146 |
| -#define OS_MAINSTKSIZE 256 |
147 |
| -#endif |
148 |
| -#ifndef OS_CLOCK |
149 |
| -#define OS_CLOCK 72000000 |
150 |
| -#endif |
151 | 85 |
|
152 | 86 | #elif defined(TARGET_K64F)
|
153 | 87 |
|
154 | 88 | #ifndef INITIAL_SP
|
155 | 89 | #define INITIAL_SP (0x20030000UL)
|
156 | 90 | #endif
|
157 | 91 |
|
158 |
| -#if defined(__CC_ARM) || defined(__GNUC__) |
159 |
| -#define ISR_STACK_SIZE (0x1000) |
160 |
| -#endif |
161 |
| - |
162 |
| -#ifndef OS_MAINSTKSIZE |
163 |
| -#define OS_MAINSTKSIZE 256 |
164 |
| -#endif |
165 |
| -#ifndef OS_CLOCK |
166 |
| -#define OS_CLOCK 120000000 |
167 |
| -#endif |
168 |
| - |
169 | 92 | #elif defined(TARGET_KW24D)
|
170 | 93 |
|
171 | 94 | #ifndef INITIAL_SP
|
172 | 95 | #define INITIAL_SP (0x20008000UL)
|
173 | 96 | #endif
|
174 |
| -#ifndef OS_MAINSTKSIZE |
175 |
| -#define OS_MAINSTKSIZE 256 |
176 |
| -#endif |
177 |
| -#ifndef OS_CLOCK |
178 |
| -#define OS_CLOCK 48000000 |
179 |
| -#endif |
180 | 97 |
|
181 | 98 | #elif defined(TARGET_KW41Z)
|
182 | 99 |
|
183 | 100 | #ifndef INITIAL_SP
|
184 | 101 | #define INITIAL_SP (0x20018000UL)
|
185 | 102 | #endif
|
186 |
| -#ifndef OS_TASKCNT |
187 |
| -#define OS_TASKCNT 14 |
188 |
| -#endif |
189 |
| -#ifndef OS_MAINSTKSIZE |
190 |
| -#define OS_MAINSTKSIZE 256 |
191 |
| -#endif |
192 |
| -#ifndef OS_CLOCK |
193 |
| -#define OS_CLOCK 40000000 |
194 |
| -#endif |
195 | 103 |
|
196 | 104 | #elif defined(TARGET_K82F)
|
197 | 105 |
|
198 | 106 | #ifndef INITIAL_SP
|
199 | 107 | #define INITIAL_SP (0x20030000UL)
|
200 | 108 | #endif
|
201 |
| -#ifndef OS_MAINSTKSIZE |
202 |
| -#define OS_MAINSTKSIZE 256 |
203 |
| -#endif |
204 |
| -#ifndef OS_CLOCK |
205 |
| -#define OS_CLOCK 120000000 |
206 |
| -#endif |
207 | 109 |
|
208 | 110 | #elif defined(TARGET_RO359B)
|
209 | 111 |
|
210 | 112 | #ifndef INITIAL_SP
|
211 | 113 | #define INITIAL_SP (0x20030000UL)
|
212 | 114 | #endif
|
213 | 115 |
|
214 |
| -#if defined(__CC_ARM) || defined(__GNUC__) |
215 |
| -#define ISR_STACK_SIZE (0x1000) |
216 |
| -#endif |
217 |
| - |
218 |
| -#ifndef OS_TASKCNT |
219 |
| -#define OS_TASKCNT 14 |
220 |
| -#endif |
221 |
| -#ifndef OS_MAINSTKSIZE |
222 |
| -#define OS_MAINSTKSIZE 256 |
223 |
| -#endif |
224 |
| -#ifndef OS_CLOCK |
225 |
| -#define OS_CLOCK 96000000 |
226 |
| -#endif |
227 |
| - |
228 | 116 | #endif
|
229 | 117 |
|
230 | 118 | #endif // MBED_MBED_RTX_H
|
0 commit comments