1 | /* cfg1_out.c */
|
---|
2 | #define TOPPERS_CFG1_OUT 1
|
---|
3 | #include "kernel/kernel_int.h"
|
---|
4 | #include "target_timer.h"
|
---|
5 | #include "syssvc/syslog.h"
|
---|
6 | #include "syssvc/banner.h"
|
---|
7 | #include "target_syssvc.h"
|
---|
8 | #include "target_serial.h"
|
---|
9 | #include "syssvc/serial.h"
|
---|
10 | #include "syssvc/logtask.h"
|
---|
11 | #include "sample1.h"
|
---|
12 |
|
---|
13 |
|
---|
14 | #ifdef INT64_MAX
|
---|
15 | typedef int64_t signed_t;
|
---|
16 | typedef uint64_t unsigned_t;
|
---|
17 | #else
|
---|
18 | typedef int32_t signed_t;
|
---|
19 | typedef uint32_t unsigned_t;
|
---|
20 | #endif
|
---|
21 |
|
---|
22 | #include <target_cfg1_out.h>
|
---|
23 |
|
---|
24 | const uint32_t TOPPERS_cfg_magic_number = 0x12345678;
|
---|
25 | const uint32_t TOPPERS_cfg_sizeof_signed_t = sizeof(signed_t);
|
---|
26 | const uint32_t TOPPERS_cfg_sizeof_pointer = sizeof(const volatile void*);
|
---|
27 | const unsigned_t TOPPERS_cfg_CHAR_BIT = CHAR_BIT;
|
---|
28 | const unsigned_t TOPPERS_cfg_CHAR_MAX = CHAR_MAX;
|
---|
29 | const unsigned_t TOPPERS_cfg_CHAR_MIN = CHAR_MIN;
|
---|
30 | const unsigned_t TOPPERS_cfg_SCHAR_MAX = SCHAR_MAX;
|
---|
31 | const unsigned_t TOPPERS_cfg_SHRT_MAX = SHRT_MAX;
|
---|
32 | const unsigned_t TOPPERS_cfg_INT_MAX = INT_MAX;
|
---|
33 | const unsigned_t TOPPERS_cfg_LONG_MAX = LONG_MAX;
|
---|
34 |
|
---|
35 | const unsigned_t TOPPERS_cfg_SIL_ENDIAN_BIG =
|
---|
36 | #if defined(SIL_ENDIAN_BIG)
|
---|
37 | (1);
|
---|
38 | #else
|
---|
39 | (0);
|
---|
40 | #endif
|
---|
41 | const unsigned_t TOPPERS_cfg_SIL_ENDIAN_LITTLE =
|
---|
42 | #if defined(SIL_ENDIAN_LITTLE)
|
---|
43 | (1);
|
---|
44 | #else
|
---|
45 | (0);
|
---|
46 | #endif
|
---|
47 | const unsigned_t TOPPERS_cfg_TA_NULL = ( unsigned_t )TA_NULL;
|
---|
48 | const unsigned_t TOPPERS_cfg_TA_ACT = ( unsigned_t )TA_ACT;
|
---|
49 | const unsigned_t TOPPERS_cfg_TA_TPRI = ( unsigned_t )TA_TPRI;
|
---|
50 | const unsigned_t TOPPERS_cfg_TA_MPRI = ( unsigned_t )TA_MPRI;
|
---|
51 | const unsigned_t TOPPERS_cfg_TA_WMUL = ( unsigned_t )TA_WMUL;
|
---|
52 | const unsigned_t TOPPERS_cfg_TA_CLR = ( unsigned_t )TA_CLR;
|
---|
53 | const unsigned_t TOPPERS_cfg_TA_STA = ( unsigned_t )TA_STA;
|
---|
54 | const unsigned_t TOPPERS_cfg_TA_NONKERNEL = ( unsigned_t )TA_NONKERNEL;
|
---|
55 | const unsigned_t TOPPERS_cfg_TA_ENAINT = ( unsigned_t )TA_ENAINT;
|
---|
56 | const unsigned_t TOPPERS_cfg_TA_EDGE = ( unsigned_t )TA_EDGE;
|
---|
57 | const signed_t TOPPERS_cfg_TMIN_TPRI = ( signed_t )TMIN_TPRI;
|
---|
58 | const signed_t TOPPERS_cfg_TMAX_TPRI = ( signed_t )TMAX_TPRI;
|
---|
59 | const signed_t TOPPERS_cfg_TMIN_DPRI = ( signed_t )TMIN_DPRI;
|
---|
60 | const signed_t TOPPERS_cfg_TMAX_DPRI = ( signed_t )TMAX_DPRI;
|
---|
61 | const signed_t TOPPERS_cfg_TMIN_MPRI = ( signed_t )TMIN_MPRI;
|
---|
62 | const signed_t TOPPERS_cfg_TMAX_MPRI = ( signed_t )TMAX_MPRI;
|
---|
63 | const signed_t TOPPERS_cfg_TMIN_ISRPRI = ( signed_t )TMIN_ISRPRI;
|
---|
64 | const signed_t TOPPERS_cfg_TMAX_ISRPRI = ( signed_t )TMAX_ISRPRI;
|
---|
65 | const unsigned_t TOPPERS_cfg_TMAX_MAXSEM = ( unsigned_t )TMAX_MAXSEM;
|
---|
66 | const unsigned_t TOPPERS_cfg_TMAX_RELTIM = ( unsigned_t )TMAX_RELTIM;
|
---|
67 | const signed_t TOPPERS_cfg_TMIN_INTPRI = ( signed_t )TMIN_INTPRI;
|
---|
68 | const unsigned_t TOPPERS_cfg_OMIT_INITIALIZE_INTERRUPT =
|
---|
69 | #if defined(OMIT_INITIALIZE_INTERRUPT)
|
---|
70 | (1);
|
---|
71 | #else
|
---|
72 | (0);
|
---|
73 | #endif
|
---|
74 | const unsigned_t TOPPERS_cfg_OMIT_INITIALIZE_EXCEPTION =
|
---|
75 | #if defined(OMIT_INITIALIZE_EXCEPTION)
|
---|
76 | (1);
|
---|
77 | #else
|
---|
78 | (0);
|
---|
79 | #endif
|
---|
80 | const unsigned_t TOPPERS_cfg_USE_TSKINICTXB =
|
---|
81 | #if defined(USE_TSKINICTXB)
|
---|
82 | (1);
|
---|
83 | #else
|
---|
84 | (0);
|
---|
85 | #endif
|
---|
86 | const unsigned_t TOPPERS_cfg_TARGET_TSKATR =
|
---|
87 | #if defined(TARGET_TSKATR)
|
---|
88 | (TARGET_TSKATR);
|
---|
89 | #else
|
---|
90 | (0);
|
---|
91 | #endif
|
---|
92 | const unsigned_t TOPPERS_cfg_TARGET_INTATR =
|
---|
93 | #if defined(TARGET_INTATR)
|
---|
94 | (TARGET_INTATR);
|
---|
95 | #else
|
---|
96 | (0);
|
---|
97 | #endif
|
---|
98 | const unsigned_t TOPPERS_cfg_TARGET_INHATR =
|
---|
99 | #if defined(TARGET_INHATR)
|
---|
100 | (TARGET_INHATR);
|
---|
101 | #else
|
---|
102 | (0);
|
---|
103 | #endif
|
---|
104 | const unsigned_t TOPPERS_cfg_TARGET_ISRATR =
|
---|
105 | #if defined(TARGET_ISRATR)
|
---|
106 | (TARGET_ISRATR);
|
---|
107 | #else
|
---|
108 | (0);
|
---|
109 | #endif
|
---|
110 | const unsigned_t TOPPERS_cfg_TARGET_EXCATR =
|
---|
111 | #if defined(TARGET_EXCATR)
|
---|
112 | (TARGET_EXCATR);
|
---|
113 | #else
|
---|
114 | (0);
|
---|
115 | #endif
|
---|
116 | const unsigned_t TOPPERS_cfg_TARGET_MIN_STKSZ =
|
---|
117 | #if defined(TARGET_MIN_STKSZ)
|
---|
118 | (TARGET_MIN_STKSZ);
|
---|
119 | #else
|
---|
120 | (0);
|
---|
121 | #endif
|
---|
122 | const unsigned_t TOPPERS_cfg_CHECK_STKSZ_ALIGN =
|
---|
123 | #if defined(CHECK_STKSZ_ALIGN)
|
---|
124 | (CHECK_STKSZ_ALIGN);
|
---|
125 | #else
|
---|
126 | (0);
|
---|
127 | #endif
|
---|
128 | const unsigned_t TOPPERS_cfg_CHECK_FUNC_ALIGN =
|
---|
129 | #if defined(CHECK_FUNC_ALIGN)
|
---|
130 | (CHECK_FUNC_ALIGN);
|
---|
131 | #else
|
---|
132 | (0);
|
---|
133 | #endif
|
---|
134 | const unsigned_t TOPPERS_cfg_CHECK_FUNC_NONNULL =
|
---|
135 | #if defined(CHECK_FUNC_NONNULL)
|
---|
136 | (1);
|
---|
137 | #else
|
---|
138 | (0);
|
---|
139 | #endif
|
---|
140 | const unsigned_t TOPPERS_cfg_CHECK_STACK_ALIGN =
|
---|
141 | #if defined(CHECK_STACK_ALIGN)
|
---|
142 | (CHECK_STACK_ALIGN);
|
---|
143 | #else
|
---|
144 | (0);
|
---|
145 | #endif
|
---|
146 | const unsigned_t TOPPERS_cfg_CHECK_STACK_NONNULL =
|
---|
147 | #if defined(CHECK_STACK_NONNULL)
|
---|
148 | (1);
|
---|
149 | #else
|
---|
150 | (0);
|
---|
151 | #endif
|
---|
152 | const unsigned_t TOPPERS_cfg_CHECK_MPF_ALIGN =
|
---|
153 | #if defined(CHECK_MPF_ALIGN)
|
---|
154 | (CHECK_MPF_ALIGN);
|
---|
155 | #else
|
---|
156 | (0);
|
---|
157 | #endif
|
---|
158 | const unsigned_t TOPPERS_cfg_CHECK_MPF_NONNULL =
|
---|
159 | #if defined(CHECK_MPF_NONNULL)
|
---|
160 | (1);
|
---|
161 | #else
|
---|
162 | (0);
|
---|
163 | #endif
|
---|
164 | const unsigned_t TOPPERS_cfg_sizeof_ID = ( unsigned_t )sizeof(ID);
|
---|
165 | const unsigned_t TOPPERS_cfg_sizeof_uint_t = ( unsigned_t )sizeof(uint_t);
|
---|
166 | const unsigned_t TOPPERS_cfg_sizeof_SIZE = ( unsigned_t )sizeof(SIZE);
|
---|
167 | const unsigned_t TOPPERS_cfg_sizeof_ATR = ( unsigned_t )sizeof(ATR);
|
---|
168 | const unsigned_t TOPPERS_cfg_sizeof_PRI = ( unsigned_t )sizeof(PRI);
|
---|
169 | const unsigned_t TOPPERS_cfg_sizeof_void_ptr = ( unsigned_t )sizeof(void*);
|
---|
170 | const unsigned_t TOPPERS_cfg_sizeof_VP = ( unsigned_t )sizeof(void*);
|
---|
171 | const unsigned_t TOPPERS_cfg_sizeof_intptr_t = ( unsigned_t )sizeof(intptr_t);
|
---|
172 | const unsigned_t TOPPERS_cfg_sizeof_FP = ( unsigned_t )sizeof(FP);
|
---|
173 | const unsigned_t TOPPERS_cfg_sizeof_INHNO = ( unsigned_t )sizeof(INHNO);
|
---|
174 | const unsigned_t TOPPERS_cfg_sizeof_INTNO = ( unsigned_t )sizeof(INTNO);
|
---|
175 | const unsigned_t TOPPERS_cfg_sizeof_EXCNO = ( unsigned_t )sizeof(EXCNO);
|
---|
176 | const unsigned_t TOPPERS_cfg_sizeof_TINIB = ( unsigned_t )sizeof(TINIB);
|
---|
177 | const unsigned_t TOPPERS_cfg_offsetof_TINIB_tskatr = ( unsigned_t )offsetof(TINIB,tskatr);
|
---|
178 | const unsigned_t TOPPERS_cfg_offsetof_TINIB_exinf = ( unsigned_t )offsetof(TINIB,exinf);
|
---|
179 | const unsigned_t TOPPERS_cfg_offsetof_TINIB_task = ( unsigned_t )offsetof(TINIB,task);
|
---|
180 | const unsigned_t TOPPERS_cfg_offsetof_TINIB_ipriority = ( unsigned_t )offsetof(TINIB,ipriority);
|
---|
181 | const unsigned_t TOPPERS_cfg_offsetof_TINIB_stksz =
|
---|
182 | #if !defined(USE_TSKINICTXB)
|
---|
183 | (offsetof(TINIB,stksz));
|
---|
184 | #else
|
---|
185 | (0);
|
---|
186 | #endif
|
---|
187 | const unsigned_t TOPPERS_cfg_offsetof_TINIB_stk =
|
---|
188 | #if !defined(USE_TSKINICTXB)
|
---|
189 | (offsetof(TINIB,stk));
|
---|
190 | #else
|
---|
191 | (0);
|
---|
192 | #endif
|
---|
193 | const unsigned_t TOPPERS_cfg_offsetof_TINIB_texatr = ( unsigned_t )offsetof(TINIB,texatr);
|
---|
194 | const unsigned_t TOPPERS_cfg_offsetof_TINIB_texrtn = ( unsigned_t )offsetof(TINIB,texrtn);
|
---|
195 | const unsigned_t TOPPERS_cfg_sizeof_SEMINIB = ( unsigned_t )sizeof(SEMINIB);
|
---|
196 | const unsigned_t TOPPERS_cfg_offsetof_SEMINIB_sematr = ( unsigned_t )offsetof(SEMINIB,sematr);
|
---|
197 | const unsigned_t TOPPERS_cfg_offsetof_SEMINIB_isemcnt = ( unsigned_t )offsetof(SEMINIB,isemcnt);
|
---|
198 | const unsigned_t TOPPERS_cfg_offsetof_SEMINIB_maxsem = ( unsigned_t )offsetof(SEMINIB,maxsem);
|
---|
199 | const unsigned_t TOPPERS_cfg_sizeof_FLGPTN = ( unsigned_t )sizeof(FLGPTN);
|
---|
200 | const unsigned_t TOPPERS_cfg_sizeof_FLGINIB = ( unsigned_t )sizeof(FLGINIB);
|
---|
201 | const unsigned_t TOPPERS_cfg_offsetof_FLGINIB_flgatr = ( unsigned_t )offsetof(FLGINIB,flgatr);
|
---|
202 | const unsigned_t TOPPERS_cfg_offsetof_FLGINIB_iflgptn = ( unsigned_t )offsetof(FLGINIB,iflgptn);
|
---|
203 | const unsigned_t TOPPERS_cfg_sizeof_DTQINIB = ( unsigned_t )sizeof(DTQINIB);
|
---|
204 | const unsigned_t TOPPERS_cfg_offsetof_DTQINIB_dtqatr = ( unsigned_t )offsetof(DTQINIB,dtqatr);
|
---|
205 | const unsigned_t TOPPERS_cfg_offsetof_DTQINIB_dtqcnt = ( unsigned_t )offsetof(DTQINIB,dtqcnt);
|
---|
206 | const unsigned_t TOPPERS_cfg_offsetof_DTQINIB_p_dtqmb = ( unsigned_t )offsetof(DTQINIB,p_dtqmb);
|
---|
207 | const unsigned_t TOPPERS_cfg_sizeof_PDQINIB = ( unsigned_t )sizeof(PDQINIB);
|
---|
208 | const unsigned_t TOPPERS_cfg_offsetof_PDQINIB_pdqatr = ( unsigned_t )offsetof(PDQINIB,pdqatr);
|
---|
209 | const unsigned_t TOPPERS_cfg_offsetof_PDQINIB_pdqcnt = ( unsigned_t )offsetof(PDQINIB,pdqcnt);
|
---|
210 | const unsigned_t TOPPERS_cfg_offsetof_PDQINIB_maxdpri = ( unsigned_t )offsetof(PDQINIB,maxdpri);
|
---|
211 | const unsigned_t TOPPERS_cfg_offsetof_PDQINIB_p_pdqmb = ( unsigned_t )offsetof(PDQINIB,p_pdqmb);
|
---|
212 | const unsigned_t TOPPERS_cfg_sizeof_MBXINIB = ( unsigned_t )sizeof(MBXINIB);
|
---|
213 | const unsigned_t TOPPERS_cfg_offsetof_MBXINIB_mbxatr = ( unsigned_t )offsetof(MBXINIB,mbxatr);
|
---|
214 | const unsigned_t TOPPERS_cfg_offsetof_MBXINIB_maxmpri = ( unsigned_t )offsetof(MBXINIB,maxmpri);
|
---|
215 | const unsigned_t TOPPERS_cfg_sizeof_MPFINIB = ( unsigned_t )sizeof(MPFINIB);
|
---|
216 | const unsigned_t TOPPERS_cfg_offsetof_MPFINIB_mpfatr = ( unsigned_t )offsetof(MPFINIB,mpfatr);
|
---|
217 | const unsigned_t TOPPERS_cfg_offsetof_MPFINIB_blkcnt = ( unsigned_t )offsetof(MPFINIB,blkcnt);
|
---|
218 | const unsigned_t TOPPERS_cfg_offsetof_MPFINIB_blksz = ( unsigned_t )offsetof(MPFINIB,blksz);
|
---|
219 | const unsigned_t TOPPERS_cfg_offsetof_MPFINIB_mpf = ( unsigned_t )offsetof(MPFINIB,mpf);
|
---|
220 | const unsigned_t TOPPERS_cfg_offsetof_MPFINIB_p_mpfmb = ( unsigned_t )offsetof(MPFINIB,p_mpfmb);
|
---|
221 | const unsigned_t TOPPERS_cfg_sizeof_CYCINIB = ( unsigned_t )sizeof(CYCINIB);
|
---|
222 | const unsigned_t TOPPERS_cfg_offsetof_CYCINIB_cycatr = ( unsigned_t )offsetof(CYCINIB,cycatr);
|
---|
223 | const unsigned_t TOPPERS_cfg_offsetof_CYCINIB_exinf = ( unsigned_t )offsetof(CYCINIB,exinf);
|
---|
224 | const unsigned_t TOPPERS_cfg_offsetof_CYCINIB_cychdr = ( unsigned_t )offsetof(CYCINIB,cychdr);
|
---|
225 | const unsigned_t TOPPERS_cfg_offsetof_CYCINIB_cyctim = ( unsigned_t )offsetof(CYCINIB,cyctim);
|
---|
226 | const unsigned_t TOPPERS_cfg_offsetof_CYCINIB_cycphs = ( unsigned_t )offsetof(CYCINIB,cycphs);
|
---|
227 | const unsigned_t TOPPERS_cfg_sizeof_ALMINIB = ( unsigned_t )sizeof(ALMINIB);
|
---|
228 | const unsigned_t TOPPERS_cfg_offsetof_ALMINIB_almatr = ( unsigned_t )offsetof(ALMINIB,almatr);
|
---|
229 | const unsigned_t TOPPERS_cfg_offsetof_ALMINIB_exinf = ( unsigned_t )offsetof(ALMINIB,exinf);
|
---|
230 | const unsigned_t TOPPERS_cfg_offsetof_ALMINIB_almhdr = ( unsigned_t )offsetof(ALMINIB,almhdr);
|
---|
231 | const unsigned_t TOPPERS_cfg_sizeof_INHINIB =
|
---|
232 | #if !defined(OMIT_INITIALIZE_INTERRUPT)
|
---|
233 | (sizeof(INHINIB));
|
---|
234 | #else
|
---|
235 | (0);
|
---|
236 | #endif
|
---|
237 | const unsigned_t TOPPERS_cfg_offset_INHINIB_inhno =
|
---|
238 | #if !defined(OMIT_INITIALIZE_INTERRUPT)
|
---|
239 | (offsetof(INHINIB,inhno));
|
---|
240 | #else
|
---|
241 | (0);
|
---|
242 | #endif
|
---|
243 | const unsigned_t TOPPERS_cfg_offset_INHINIB_inhatr =
|
---|
244 | #if !defined(OMIT_INITIALIZE_INTERRUPT)
|
---|
245 | (offsetof(INHINIB,inhatr));
|
---|
246 | #else
|
---|
247 | (0);
|
---|
248 | #endif
|
---|
249 | const unsigned_t TOPPERS_cfg_offset_INHINIB_int_entry =
|
---|
250 | #if !defined(OMIT_INITIALIZE_INTERRUPT)
|
---|
251 | (offsetof(INHINIB,int_entry));
|
---|
252 | #else
|
---|
253 | (0);
|
---|
254 | #endif
|
---|
255 | const unsigned_t TOPPERS_cfg_sizeof_INTINIB =
|
---|
256 | #if !defined(OMIT_INITIALIZE_INTERRUPT)
|
---|
257 | (sizeof(INTINIB));
|
---|
258 | #else
|
---|
259 | (0);
|
---|
260 | #endif
|
---|
261 | const unsigned_t TOPPERS_cfg_offset_INTINIB_intno =
|
---|
262 | #if !defined(OMIT_INITIALIZE_INTERRUPT)
|
---|
263 | (offsetof(INTINIB,intno));
|
---|
264 | #else
|
---|
265 | (0);
|
---|
266 | #endif
|
---|
267 | const unsigned_t TOPPERS_cfg_offset_INTINIB_intatr =
|
---|
268 | #if !defined(OMIT_INITIALIZE_INTERRUPT)
|
---|
269 | (offsetof(INTINIB,intatr));
|
---|
270 | #else
|
---|
271 | (0);
|
---|
272 | #endif
|
---|
273 | const unsigned_t TOPPERS_cfg_offset_INTINIB_intpri =
|
---|
274 | #if !defined(OMIT_INITIALIZE_INTERRUPT)
|
---|
275 | (offsetof(INTINIB,intpri));
|
---|
276 | #else
|
---|
277 | (0);
|
---|
278 | #endif
|
---|
279 | const unsigned_t TOPPERS_cfg_sizeof_EXCINIB =
|
---|
280 | #if !defined(OMIT_INITIALIZE_EXCEPTION)
|
---|
281 | (sizeof(EXCINIB));
|
---|
282 | #else
|
---|
283 | (0);
|
---|
284 | #endif
|
---|
285 | const unsigned_t TOPPERS_cfg_offset_EXCINIB_excno =
|
---|
286 | #if !defined(OMIT_INITIALIZE_EXCEPTION)
|
---|
287 | (offsetof(EXCINIB,excno));
|
---|
288 | #else
|
---|
289 | (0);
|
---|
290 | #endif
|
---|
291 | const unsigned_t TOPPERS_cfg_offset_EXCINIB_excatr =
|
---|
292 | #if !defined(OMIT_INITIALIZE_EXCEPTION)
|
---|
293 | (offsetof(EXCINIB,excatr));
|
---|
294 | #else
|
---|
295 | (0);
|
---|
296 | #endif
|
---|
297 | const unsigned_t TOPPERS_cfg_offset_EXCINIB_exc_entry =
|
---|
298 | #if !defined(OMIT_INITIALIZE_EXCEPTION)
|
---|
299 | (offsetof(EXCINIB,exc_entry));
|
---|
300 | #else
|
---|
301 | (0);
|
---|
302 | #endif
|
---|
303 | const unsigned_t TOPPERS_cfg_TMAX_INTNO = ( unsigned_t )TMAX_INTNO;
|
---|
304 | const unsigned_t TOPPERS_cfg_TIPM_LOCK = ( unsigned_t )TIPM_LOCK ;
|
---|
305 | const unsigned_t TOPPERS_cfg_TBITW_IPRI = ( unsigned_t )TBITW_IPRI;
|
---|
306 | const unsigned_t TOPPERS_cfg_sizeof_TCB = ( unsigned_t )sizeof(TCB);
|
---|
307 | const unsigned_t TOPPERS_cfg_offsetof_TCB_p_tinib = ( unsigned_t )offsetof(TCB,p_tinib);
|
---|
308 | const unsigned_t TOPPERS_cfg_offsetof_TCB_texptn = ( unsigned_t )offsetof(TCB,texptn);
|
---|
309 | const unsigned_t TOPPERS_cfg_offsetof_TCB_sp = ( unsigned_t )offsetof(TCB,tskctxb.sp);
|
---|
310 | const unsigned_t TOPPERS_cfg_offsetof_TCB_pc = ( unsigned_t )offsetof(TCB,tskctxb.pc);
|
---|
311 |
|
---|
312 |
|
---|
313 | /* #include "target_timer.h" */
|
---|
314 |
|
---|
315 | #line 4 "../../../arch/arm_m_iccarm/prc_timer.cfg"
|
---|
316 | const unsigned_t TOPPERS_cfg_static_api_0 = 0;
|
---|
317 | const unsigned_t TOPPERS_cfg_valueof_iniatr_0 = ( unsigned_t )( TA_NULL );
|
---|
318 | #line 5 "../../../arch/arm_m_iccarm/prc_timer.cfg"
|
---|
319 | const unsigned_t TOPPERS_cfg_static_api_1 = 1;
|
---|
320 | const unsigned_t TOPPERS_cfg_valueof_teratr_1 = ( unsigned_t )( TA_NULL );
|
---|
321 | #line 6 "../../../arch/arm_m_iccarm/prc_timer.cfg"
|
---|
322 | const unsigned_t TOPPERS_cfg_static_api_2 = 2;
|
---|
323 | const unsigned_t TOPPERS_cfg_valueof_inhno_2 = ( unsigned_t )( INHNO_TIMER ); const unsigned_t TOPPERS_cfg_valueof_inhatr_2 = ( unsigned_t )( TA_NULL );
|
---|
324 | #line 7 "../../../arch/arm_m_iccarm/prc_timer.cfg"
|
---|
325 | const unsigned_t TOPPERS_cfg_static_api_3 = 3;
|
---|
326 | const unsigned_t TOPPERS_cfg_valueof_intno_3 = ( unsigned_t )( INTNO_TIMER ); const unsigned_t TOPPERS_cfg_valueof_intatr_3 = ( unsigned_t )( TA_ENAINT|INTATR_TIMER ); const signed_t TOPPERS_cfg_valueof_intpri_3 = ( signed_t )( INTPRI_TIMER ); /* #include "syssvc/syslog.h" */
|
---|
327 |
|
---|
328 | #line 10 "../../../syssvc/syslog.cfg"
|
---|
329 | const unsigned_t TOPPERS_cfg_static_api_4 = 4;
|
---|
330 | const unsigned_t TOPPERS_cfg_valueof_iniatr_4 = ( unsigned_t )( TA_NULL ); /* #include "syssvc/banner.h" */
|
---|
331 |
|
---|
332 | #line 10 "../../../syssvc/banner.cfg"
|
---|
333 | const unsigned_t TOPPERS_cfg_static_api_5 = 5;
|
---|
334 | const unsigned_t TOPPERS_cfg_valueof_iniatr_5 = ( unsigned_t )( TA_NULL ); /* #include "target_syssvc.h" */
|
---|
335 | /* #include "target_serial.h" */
|
---|
336 |
|
---|
337 | #line 6 "../../../target/fs_k70f120m_EWARM2/target_serial.cfg"
|
---|
338 | const unsigned_t TOPPERS_cfg_static_api_6 = 6;
|
---|
339 | const unsigned_t TOPPERS_cfg_valueof_iniatr_6 = ( unsigned_t )( TA_NULL );
|
---|
340 | #line 7 "../../../target/fs_k70f120m_EWARM2/target_serial.cfg"
|
---|
341 | const unsigned_t TOPPERS_cfg_static_api_7 = 7;
|
---|
342 | const unsigned_t TOPPERS_cfg_valueof_isratr_7 = ( unsigned_t )( TA_NULL ); const unsigned_t TOPPERS_cfg_valueof_intno_7 = ( unsigned_t )( INTNO_SIO ); const signed_t TOPPERS_cfg_valueof_isrpri_7 = ( signed_t )( 1 );
|
---|
343 | #line 8 "../../../target/fs_k70f120m_EWARM2/target_serial.cfg"
|
---|
344 | const unsigned_t TOPPERS_cfg_static_api_8 = 8;
|
---|
345 | const unsigned_t TOPPERS_cfg_valueof_intno_8 = ( unsigned_t )( INTNO_SIO ); const unsigned_t TOPPERS_cfg_valueof_intatr_8 = ( unsigned_t )( TA_ENAINT|INTATR_SIO ); const signed_t TOPPERS_cfg_valueof_intpri_8 = ( signed_t )( INTPRI_SIO ); /* #include "syssvc/serial.h" */
|
---|
346 |
|
---|
347 | #line 13 "../../../syssvc/serial.cfg"
|
---|
348 | const unsigned_t TOPPERS_cfg_static_api_9 = 9;
|
---|
349 | const unsigned_t TOPPERS_cfg_valueof_iniatr_9 = ( unsigned_t )( TA_NULL );
|
---|
350 | #line 15 "../../../syssvc/serial.cfg"
|
---|
351 | const unsigned_t TOPPERS_cfg_static_api_10 = 10;
|
---|
352 | #define SERIAL_RCV_SEM1 (<>)
|
---|
353 |
|
---|
354 | #line 15 "../../../syssvc/serial.cfg"
|
---|
355 | const unsigned_t TOPPERS_cfg_valueof_sematr_10 = ( unsigned_t )( TA_TPRI ); const unsigned_t TOPPERS_cfg_valueof_isemcnt_10 = ( unsigned_t )( 0 ); const unsigned_t TOPPERS_cfg_valueof_maxsem_10 = ( unsigned_t )( 1 );
|
---|
356 | #line 16 "../../../syssvc/serial.cfg"
|
---|
357 | const unsigned_t TOPPERS_cfg_static_api_11 = 11;
|
---|
358 | #define SERIAL_SND_SEM1 (<>)
|
---|
359 |
|
---|
360 | #line 16 "../../../syssvc/serial.cfg"
|
---|
361 | const unsigned_t TOPPERS_cfg_valueof_sematr_11 = ( unsigned_t )( TA_TPRI ); const unsigned_t TOPPERS_cfg_valueof_isemcnt_11 = ( unsigned_t )( 1 ); const unsigned_t TOPPERS_cfg_valueof_maxsem_11 = ( unsigned_t )( 1 );
|
---|
362 | #if TNUM_PORT >= 2
|
---|
363 |
|
---|
364 | #line 18 "../../../syssvc/serial.cfg"
|
---|
365 | const unsigned_t TOPPERS_cfg_static_api_12 = 12;
|
---|
366 | #define SERIAL_RCV_SEM2 (<>)
|
---|
367 |
|
---|
368 | #line 18 "../../../syssvc/serial.cfg"
|
---|
369 | const unsigned_t TOPPERS_cfg_valueof_sematr_12 = ( unsigned_t )( TA_TPRI ); const unsigned_t TOPPERS_cfg_valueof_isemcnt_12 = ( unsigned_t )( 0 ); const unsigned_t TOPPERS_cfg_valueof_maxsem_12 = ( unsigned_t )( 1 );
|
---|
370 | #line 19 "../../../syssvc/serial.cfg"
|
---|
371 | const unsigned_t TOPPERS_cfg_static_api_13 = 13;
|
---|
372 | #define SERIAL_SND_SEM2 (<>)
|
---|
373 |
|
---|
374 | #line 19 "../../../syssvc/serial.cfg"
|
---|
375 | const unsigned_t TOPPERS_cfg_valueof_sematr_13 = ( unsigned_t )( TA_TPRI ); const unsigned_t TOPPERS_cfg_valueof_isemcnt_13 = ( unsigned_t )( 1 ); const unsigned_t TOPPERS_cfg_valueof_maxsem_13 = ( unsigned_t )( 1 );
|
---|
376 | #endif
|
---|
377 |
|
---|
378 | #if TNUM_PORT >= 3
|
---|
379 |
|
---|
380 | #line 22 "../../../syssvc/serial.cfg"
|
---|
381 | const unsigned_t TOPPERS_cfg_static_api_14 = 14;
|
---|
382 | #define SERIAL_RCV_SEM3 (<>)
|
---|
383 |
|
---|
384 | #line 22 "../../../syssvc/serial.cfg"
|
---|
385 | const unsigned_t TOPPERS_cfg_valueof_sematr_14 = ( unsigned_t )( TA_TPRI ); const unsigned_t TOPPERS_cfg_valueof_isemcnt_14 = ( unsigned_t )( 0 ); const unsigned_t TOPPERS_cfg_valueof_maxsem_14 = ( unsigned_t )( 1 );
|
---|
386 | #line 23 "../../../syssvc/serial.cfg"
|
---|
387 | const unsigned_t TOPPERS_cfg_static_api_15 = 15;
|
---|
388 | #define SERIAL_SND_SEM3 (<>)
|
---|
389 |
|
---|
390 | #line 23 "../../../syssvc/serial.cfg"
|
---|
391 | const unsigned_t TOPPERS_cfg_valueof_sematr_15 = ( unsigned_t )( TA_TPRI ); const unsigned_t TOPPERS_cfg_valueof_isemcnt_15 = ( unsigned_t )( 1 ); const unsigned_t TOPPERS_cfg_valueof_maxsem_15 = ( unsigned_t )( 1 );
|
---|
392 | #endif
|
---|
393 |
|
---|
394 | #if TNUM_PORT >= 4
|
---|
395 |
|
---|
396 | #line 26 "../../../syssvc/serial.cfg"
|
---|
397 | const unsigned_t TOPPERS_cfg_static_api_16 = 16;
|
---|
398 | #define SERIAL_RCV_SEM4 (<>)
|
---|
399 |
|
---|
400 | #line 26 "../../../syssvc/serial.cfg"
|
---|
401 | const unsigned_t TOPPERS_cfg_valueof_sematr_16 = ( unsigned_t )( TA_TPRI ); const unsigned_t TOPPERS_cfg_valueof_isemcnt_16 = ( unsigned_t )( 0 ); const unsigned_t TOPPERS_cfg_valueof_maxsem_16 = ( unsigned_t )( 1 );
|
---|
402 | #line 27 "../../../syssvc/serial.cfg"
|
---|
403 | const unsigned_t TOPPERS_cfg_static_api_17 = 17;
|
---|
404 | #define SERIAL_SND_SEM4 (<>)
|
---|
405 |
|
---|
406 | #line 27 "../../../syssvc/serial.cfg"
|
---|
407 | const unsigned_t TOPPERS_cfg_valueof_sematr_17 = ( unsigned_t )( TA_TPRI ); const unsigned_t TOPPERS_cfg_valueof_isemcnt_17 = ( unsigned_t )( 1 ); const unsigned_t TOPPERS_cfg_valueof_maxsem_17 = ( unsigned_t )( 1 );
|
---|
408 | #endif
|
---|
409 | /* #include "syssvc/logtask.h" */
|
---|
410 |
|
---|
411 | #line 10 "../../../syssvc/logtask.cfg"
|
---|
412 | const unsigned_t TOPPERS_cfg_static_api_18 = 18;
|
---|
413 | #define LOGTASK (<>)
|
---|
414 |
|
---|
415 | #line 10 "../../../syssvc/logtask.cfg"
|
---|
416 | const unsigned_t TOPPERS_cfg_valueof_tskatr_18 = ( unsigned_t )( TA_ACT ); const signed_t TOPPERS_cfg_valueof_itskpri_18 = ( signed_t )( LOGTASK_PRIORITY ); const unsigned_t TOPPERS_cfg_valueof_stksz_18 = ( unsigned_t )( LOGTASK_STACK_SIZE );
|
---|
417 | #line 12 "../../../syssvc/logtask.cfg"
|
---|
418 | const unsigned_t TOPPERS_cfg_static_api_19 = 19;
|
---|
419 | const unsigned_t TOPPERS_cfg_valueof_teratr_19 = ( unsigned_t )( TA_NULL ); /* #include "sample1.h" */
|
---|
420 |
|
---|
421 | #line 15 "src/sample1.cfg"
|
---|
422 | const unsigned_t TOPPERS_cfg_static_api_20 = 20;
|
---|
423 | #define TASK1 (<>)
|
---|
424 |
|
---|
425 | #line 15 "src/sample1.cfg"
|
---|
426 | const unsigned_t TOPPERS_cfg_valueof_tskatr_20 = ( unsigned_t )( TA_NULL ); const signed_t TOPPERS_cfg_valueof_itskpri_20 = ( signed_t )( MID_PRIORITY ); const unsigned_t TOPPERS_cfg_valueof_stksz_20 = ( unsigned_t )( STACK_SIZE );
|
---|
427 | #line 16 "src/sample1.cfg"
|
---|
428 | const unsigned_t TOPPERS_cfg_static_api_21 = 21;
|
---|
429 | #define TASK2 (<>)
|
---|
430 |
|
---|
431 | #line 16 "src/sample1.cfg"
|
---|
432 | const unsigned_t TOPPERS_cfg_valueof_tskatr_21 = ( unsigned_t )( TA_NULL ); const signed_t TOPPERS_cfg_valueof_itskpri_21 = ( signed_t )( MID_PRIORITY ); const unsigned_t TOPPERS_cfg_valueof_stksz_21 = ( unsigned_t )( STACK_SIZE );
|
---|
433 | #line 17 "src/sample1.cfg"
|
---|
434 | const unsigned_t TOPPERS_cfg_static_api_22 = 22;
|
---|
435 | #define TASK3 (<>)
|
---|
436 |
|
---|
437 | #line 17 "src/sample1.cfg"
|
---|
438 | const unsigned_t TOPPERS_cfg_valueof_tskatr_22 = ( unsigned_t )( TA_NULL ); const signed_t TOPPERS_cfg_valueof_itskpri_22 = ( signed_t )( MID_PRIORITY ); const unsigned_t TOPPERS_cfg_valueof_stksz_22 = ( unsigned_t )( STACK_SIZE );
|
---|
439 | #line 18 "src/sample1.cfg"
|
---|
440 | const unsigned_t TOPPERS_cfg_static_api_23 = 23;
|
---|
441 | #define MAIN_TASK (<>)
|
---|
442 |
|
---|
443 | #line 18 "src/sample1.cfg"
|
---|
444 | const unsigned_t TOPPERS_cfg_valueof_tskatr_23 = ( unsigned_t )( TA_ACT ); const signed_t TOPPERS_cfg_valueof_itskpri_23 = ( signed_t )( MAIN_PRIORITY ); const unsigned_t TOPPERS_cfg_valueof_stksz_23 = ( unsigned_t )( STACK_SIZE );
|
---|
445 | #line 19 "src/sample1.cfg"
|
---|
446 | const unsigned_t TOPPERS_cfg_static_api_24 = 24;
|
---|
447 | const unsigned_t TOPPERS_cfg_valueof_texatr_24 = ( unsigned_t )( TA_NULL );
|
---|
448 | #line 20 "src/sample1.cfg"
|
---|
449 | const unsigned_t TOPPERS_cfg_static_api_25 = 25;
|
---|
450 | const unsigned_t TOPPERS_cfg_valueof_texatr_25 = ( unsigned_t )( TA_NULL );
|
---|
451 | #line 21 "src/sample1.cfg"
|
---|
452 | const unsigned_t TOPPERS_cfg_static_api_26 = 26;
|
---|
453 | const unsigned_t TOPPERS_cfg_valueof_texatr_26 = ( unsigned_t )( TA_NULL );
|
---|
454 | #line 22 "src/sample1.cfg"
|
---|
455 | const unsigned_t TOPPERS_cfg_static_api_27 = 27;
|
---|
456 | #define CYCHDR1 (<>)
|
---|
457 |
|
---|
458 | #line 22 "src/sample1.cfg"
|
---|
459 | const unsigned_t TOPPERS_cfg_valueof_cycatr_27 = ( unsigned_t )( TA_NULL ); const unsigned_t TOPPERS_cfg_valueof_cyctim_27 = ( unsigned_t )( 2000 ); const unsigned_t TOPPERS_cfg_valueof_cycphs_27 = ( unsigned_t )( 0 );
|
---|
460 | #line 23 "src/sample1.cfg"
|
---|
461 | const unsigned_t TOPPERS_cfg_static_api_28 = 28;
|
---|
462 | #define ALMHDR1 (<>)
|
---|
463 |
|
---|
464 | #line 23 "src/sample1.cfg"
|
---|
465 | const unsigned_t TOPPERS_cfg_valueof_almatr_28 = ( unsigned_t )( TA_NULL );
|
---|
466 | #ifdef CPUEXC1
|
---|
467 |
|
---|
468 | #line 25 "src/sample1.cfg"
|
---|
469 | const unsigned_t TOPPERS_cfg_static_api_29 = 29;
|
---|
470 | const unsigned_t TOPPERS_cfg_valueof_excno_29 = ( unsigned_t )( CPUEXC1 ); const unsigned_t TOPPERS_cfg_valueof_excatr_29 = ( unsigned_t )( TA_NULL );
|
---|
471 | #endif
|
---|
472 |
|
---|