@@ -0,0 +1,13 | |||
|
1 | \relax | |
|
2 | \catcode`:\active | |
|
3 | \catcode`;\active | |
|
4 | \catcode`!\active | |
|
5 | \catcode`?\active | |
|
6 | \select@language{french} | |
|
7 | \@writefile{toc}{\select@language{french}} | |
|
8 | \@writefile{lof}{\select@language{french}} | |
|
9 | \@writefile{lot}{\select@language{french}} | |
|
10 | \@input{streamdevices.aux} | |
|
11 | \@input{uart.aux} | |
|
12 | \@input{spi.aux} | |
|
13 | \@input{addresseddevices.aux} |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
This diff has been collapsed as it changes many lines, (530 lines changed) Show them Hide them | |||
@@ -0,0 +1,530 | |||
|
1 | This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=pdflatex 2011.9.13) 25 OCT 2011 21:00 | |
|
2 | entering extended mode | |
|
3 | %&-line parsing enabled. | |
|
4 | **PortingGuide.tex | |
|
5 | (./PortingGuide.tex | |
|
6 | LaTeX2e <2005/12/01> | |
|
7 | Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh | |
|
8 | yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng | |
|
9 | erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish, | |
|
10 | french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc | |
|
11 | us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por | |
|
12 | tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish, | |
|
13 | turkish, ukenglish, ukrainian, loaded. | |
|
14 | \@input{../../latex/header.aux} | |
|
15 | ! I can't write on file `../../latex/header.aux'. | |
|
16 | \@include ...\immediate \openout \@partaux #1.aux | |
|
17 | \immediate \write \@partau... | |
|
18 | l.1 \include{../../latex/header} | |
|
19 | ||
|
20 | Please type another output file name: | |
|
21 | \openout2 = `header.tex'. | |
|
22 | ||
|
23 | (../../latex/header.tex (/usr/share/texmf/tex/latex/base/book.cls | |
|
24 | Document Class: book 2005/09/16 v1.4f Standard LaTeX document class | |
|
25 | (/usr/share/texmf/tex/latex/base/bk10.clo | |
|
26 | File: bk10.clo 2005/09/16 v1.4f Standard LaTeX file (size option) | |
|
27 | ) | |
|
28 | \c@part=\count79 | |
|
29 | \c@chapter=\count80 | |
|
30 | \c@section=\count81 | |
|
31 | \c@subsection=\count82 | |
|
32 | \c@subsubsection=\count83 | |
|
33 | \c@paragraph=\count84 | |
|
34 | \c@subparagraph=\count85 | |
|
35 | \c@figure=\count86 | |
|
36 | \c@table=\count87 | |
|
37 | \abovecaptionskip=\skip41 | |
|
38 | \belowcaptionskip=\skip42 | |
|
39 | \bibindent=\dimen102 | |
|
40 | ) | |
|
41 | (/usr/share/texmf/tex/latex/base/inputenc.sty | |
|
42 | Package: inputenc 2006/05/05 v1.1b Input encoding file | |
|
43 | \inpenc@prehook=\toks14 | |
|
44 | \inpenc@posthook=\toks15 | |
|
45 | ||
|
46 | (/usr/share/texmf/tex/latex/base/utf8.def | |
|
47 | File: utf8.def 2006/03/30 v1.1i UTF-8 support for inputenc | |
|
48 | Now handling font encoding OML ... | |
|
49 | ... no UTF-8 mapping file for font encoding OML | |
|
50 | Now handling font encoding T1 ... | |
|
51 | ... processing UTF-8 mapping file for font encodingT1 | |
|
52 | ||
|
53 | (/usr/share/texmf/tex/latex/base/t1enc.dfu | |
|
54 | File: t1enc.dfu 2006/03/30 v1.1i UTF-8 support for inputenc | |
|
55 | defining Unicode char U+00A1 (decimal 161) | |
|
56 | defining Unicode char U+00A3 (decimal 163) | |
|
57 | defining Unicode char U+00AB (decimal 171) | |
|
58 | defining Unicode char U+00BB (decimal 187) | |
|
59 | defining Unicode char U+00BF (decimal 191) | |
|
60 | defining Unicode char U+00C0 (decimal 192) | |
|
61 | defining Unicode char U+00C1 (decimal 193) | |
|
62 | defining Unicode char U+00C2 (decimal 194) | |
|
63 | defining Unicode char U+00C3 (decimal 195) | |
|
64 | defining Unicode char U+00C4 (decimal 196) | |
|
65 | defining Unicode char U+00C5 (decimal 197) | |
|
66 | defining Unicode char U+00C6 (decimal 198) | |
|
67 | defining Unicode char U+00C7 (decimal 199) | |
|
68 | defining Unicode char U+00C8 (decimal 200) | |
|
69 | defining Unicode char U+00C9 (decimal 201) | |
|
70 | defining Unicode char U+00CA (decimal 202) | |
|
71 | defining Unicode char U+00CB (decimal 203) | |
|
72 | defining Unicode char U+00CC (decimal 204) | |
|
73 | defining Unicode char U+00CD (decimal 205) | |
|
74 | defining Unicode char U+00CE (decimal 206) | |
|
75 | defining Unicode char U+00CF (decimal 207) | |
|
76 | defining Unicode char U+00D0 (decimal 208) | |
|
77 | defining Unicode char U+00D1 (decimal 209) | |
|
78 | defining Unicode char U+00D2 (decimal 210) | |
|
79 | defining Unicode char U+00D3 (decimal 211) | |
|
80 | defining Unicode char U+00D4 (decimal 212) | |
|
81 | defining Unicode char U+00D5 (decimal 213) | |
|
82 | defining Unicode char U+00D6 (decimal 214) | |
|
83 | defining Unicode char U+00D8 (decimal 216) | |
|
84 | defining Unicode char U+00D9 (decimal 217) | |
|
85 | defining Unicode char U+00DA (decimal 218) | |
|
86 | defining Unicode char U+00DB (decimal 219) | |
|
87 | defining Unicode char U+00DC (decimal 220) | |
|
88 | defining Unicode char U+00DD (decimal 221) | |
|
89 | defining Unicode char U+00DE (decimal 222) | |
|
90 | defining Unicode char U+00DF (decimal 223) | |
|
91 | defining Unicode char U+00E0 (decimal 224) | |
|
92 | defining Unicode char U+00E1 (decimal 225) | |
|
93 | defining Unicode char U+00E2 (decimal 226) | |
|
94 | defining Unicode char U+00E3 (decimal 227) | |
|
95 | defining Unicode char U+00E4 (decimal 228) | |
|
96 | defining Unicode char U+00E5 (decimal 229) | |
|
97 | defining Unicode char U+00E6 (decimal 230) | |
|
98 | defining Unicode char U+00E7 (decimal 231) | |
|
99 | defining Unicode char U+00E8 (decimal 232) | |
|
100 | defining Unicode char U+00E9 (decimal 233) | |
|
101 | defining Unicode char U+00EA (decimal 234) | |
|
102 | defining Unicode char U+00EB (decimal 235) | |
|
103 | defining Unicode char U+00EC (decimal 236) | |
|
104 | defining Unicode char U+00ED (decimal 237) | |
|
105 | defining Unicode char U+00EE (decimal 238) | |
|
106 | defining Unicode char U+00EF (decimal 239) | |
|
107 | defining Unicode char U+00F0 (decimal 240) | |
|
108 | defining Unicode char U+00F1 (decimal 241) | |
|
109 | defining Unicode char U+00F2 (decimal 242) | |
|
110 | defining Unicode char U+00F3 (decimal 243) | |
|
111 | defining Unicode char U+00F4 (decimal 244) | |
|
112 | defining Unicode char U+00F5 (decimal 245) | |
|
113 | defining Unicode char U+00F6 (decimal 246) | |
|
114 | defining Unicode char U+00F8 (decimal 248) | |
|
115 | defining Unicode char U+00F9 (decimal 249) | |
|
116 | defining Unicode char U+00FA (decimal 250) | |
|
117 | defining Unicode char U+00FB (decimal 251) | |
|
118 | defining Unicode char U+00FC (decimal 252) | |
|
119 | defining Unicode char U+00FD (decimal 253) | |
|
120 | defining Unicode char U+00FE (decimal 254) | |
|
121 | defining Unicode char U+00FF (decimal 255) | |
|
122 | defining Unicode char U+0102 (decimal 258) | |
|
123 | defining Unicode char U+0103 (decimal 259) | |
|
124 | defining Unicode char U+0104 (decimal 260) | |
|
125 | defining Unicode char U+0105 (decimal 261) | |
|
126 | defining Unicode char U+0106 (decimal 262) | |
|
127 | defining Unicode char U+0107 (decimal 263) | |
|
128 | defining Unicode char U+010C (decimal 268) | |
|
129 | defining Unicode char U+010D (decimal 269) | |
|
130 | defining Unicode char U+010E (decimal 270) | |
|
131 | defining Unicode char U+010F (decimal 271) | |
|
132 | defining Unicode char U+0110 (decimal 272) | |
|
133 | defining Unicode char U+0111 (decimal 273) | |
|
134 | defining Unicode char U+0118 (decimal 280) | |
|
135 | defining Unicode char U+0119 (decimal 281) | |
|
136 | defining Unicode char U+011A (decimal 282) | |
|
137 | defining Unicode char U+011B (decimal 283) | |
|
138 | defining Unicode char U+011E (decimal 286) | |
|
139 | defining Unicode char U+011F (decimal 287) | |
|
140 | defining Unicode char U+0130 (decimal 304) | |
|
141 | defining Unicode char U+0131 (decimal 305) | |
|
142 | defining Unicode char U+0132 (decimal 306) | |
|
143 | defining Unicode char U+0133 (decimal 307) | |
|
144 | defining Unicode char U+0139 (decimal 313) | |
|
145 | defining Unicode char U+013A (decimal 314) | |
|
146 | defining Unicode char U+013D (decimal 317) | |
|
147 | defining Unicode char U+013E (decimal 318) | |
|
148 | defining Unicode char U+0141 (decimal 321) | |
|
149 | defining Unicode char U+0142 (decimal 322) | |
|
150 | defining Unicode char U+0143 (decimal 323) | |
|
151 | defining Unicode char U+0144 (decimal 324) | |
|
152 | defining Unicode char U+0147 (decimal 327) | |
|
153 | defining Unicode char U+0148 (decimal 328) | |
|
154 | defining Unicode char U+014A (decimal 330) | |
|
155 | defining Unicode char U+014B (decimal 331) | |
|
156 | defining Unicode char U+0150 (decimal 336) | |
|
157 | defining Unicode char U+0151 (decimal 337) | |
|
158 | defining Unicode char U+0152 (decimal 338) | |
|
159 | defining Unicode char U+0153 (decimal 339) | |
|
160 | defining Unicode char U+0154 (decimal 340) | |
|
161 | defining Unicode char U+0155 (decimal 341) | |
|
162 | defining Unicode char U+0158 (decimal 344) | |
|
163 | defining Unicode char U+0159 (decimal 345) | |
|
164 | defining Unicode char U+015A (decimal 346) | |
|
165 | defining Unicode char U+015B (decimal 347) | |
|
166 | defining Unicode char U+015E (decimal 350) | |
|
167 | defining Unicode char U+015F (decimal 351) | |
|
168 | defining Unicode char U+0160 (decimal 352) | |
|
169 | defining Unicode char U+0161 (decimal 353) | |
|
170 | defining Unicode char U+0162 (decimal 354) | |
|
171 | defining Unicode char U+0163 (decimal 355) | |
|
172 | defining Unicode char U+0164 (decimal 356) | |
|
173 | defining Unicode char U+0165 (decimal 357) | |
|
174 | defining Unicode char U+016E (decimal 366) | |
|
175 | defining Unicode char U+016F (decimal 367) | |
|
176 | defining Unicode char U+0170 (decimal 368) | |
|
177 | defining Unicode char U+0171 (decimal 369) | |
|
178 | defining Unicode char U+0178 (decimal 376) | |
|
179 | defining Unicode char U+0179 (decimal 377) | |
|
180 | defining Unicode char U+017A (decimal 378) | |
|
181 | defining Unicode char U+017B (decimal 379) | |
|
182 | defining Unicode char U+017C (decimal 380) | |
|
183 | defining Unicode char U+017D (decimal 381) | |
|
184 | defining Unicode char U+017E (decimal 382) | |
|
185 | defining Unicode char U+200C (decimal 8204) | |
|
186 | defining Unicode char U+2013 (decimal 8211) | |
|
187 | defining Unicode char U+2014 (decimal 8212) | |
|
188 | defining Unicode char U+2018 (decimal 8216) | |
|
189 | defining Unicode char U+2019 (decimal 8217) | |
|
190 | defining Unicode char U+201A (decimal 8218) | |
|
191 | defining Unicode char U+201C (decimal 8220) | |
|
192 | defining Unicode char U+201D (decimal 8221) | |
|
193 | defining Unicode char U+201E (decimal 8222) | |
|
194 | defining Unicode char U+2030 (decimal 8240) | |
|
195 | defining Unicode char U+2031 (decimal 8241) | |
|
196 | defining Unicode char U+2039 (decimal 8249) | |
|
197 | defining Unicode char U+203A (decimal 8250) | |
|
198 | defining Unicode char U+2423 (decimal 9251) | |
|
199 | ) | |
|
200 | Now handling font encoding OT1 ... | |
|
201 | ... processing UTF-8 mapping file for font encodingOT1 | |
|
202 | ||
|
203 | (/usr/share/texmf/tex/latex/base/ot1enc.dfu | |
|
204 | File: ot1enc.dfu 2006/03/30 v1.1i UTF-8 support for inputenc | |
|
205 | defining Unicode char U+00A1 (decimal 161) | |
|
206 | defining Unicode char U+00A3 (decimal 163) | |
|
207 | defining Unicode char U+00B8 (decimal 184) | |
|
208 | defining Unicode char U+00BF (decimal 191) | |
|
209 | defining Unicode char U+00C5 (decimal 197) | |
|
210 | defining Unicode char U+00C6 (decimal 198) | |
|
211 | defining Unicode char U+00D8 (decimal 216) | |
|
212 | defining Unicode char U+00DF (decimal 223) | |
|
213 | defining Unicode char U+00E6 (decimal 230) | |
|
214 | defining Unicode char U+00EC (decimal 236) | |
|
215 | defining Unicode char U+00ED (decimal 237) | |
|
216 | defining Unicode char U+00EE (decimal 238) | |
|
217 | defining Unicode char U+00EF (decimal 239) | |
|
218 | defining Unicode char U+00F8 (decimal 248) | |
|
219 | defining Unicode char U+0131 (decimal 305) | |
|
220 | defining Unicode char U+0141 (decimal 321) | |
|
221 | defining Unicode char U+0142 (decimal 322) | |
|
222 | defining Unicode char U+0152 (decimal 338) | |
|
223 | defining Unicode char U+0153 (decimal 339) | |
|
224 | defining Unicode char U+2013 (decimal 8211) | |
|
225 | defining Unicode char U+2014 (decimal 8212) | |
|
226 | defining Unicode char U+2018 (decimal 8216) | |
|
227 | defining Unicode char U+2019 (decimal 8217) | |
|
228 | defining Unicode char U+201C (decimal 8220) | |
|
229 | defining Unicode char U+201D (decimal 8221) | |
|
230 | ) | |
|
231 | Now handling font encoding OMS ... | |
|
232 | ... processing UTF-8 mapping file for font encodingOMS | |
|
233 | ||
|
234 | (/usr/share/texmf/tex/latex/base/omsenc.dfu | |
|
235 | File: omsenc.dfu 2006/03/30 v1.1i UTF-8 support for inputenc | |
|
236 | defining Unicode char U+00A7 (decimal 167) | |
|
237 | defining Unicode char U+00B6 (decimal 182) | |
|
238 | defining Unicode char U+00B7 (decimal 183) | |
|
239 | defining Unicode char U+2020 (decimal 8224) | |
|
240 | defining Unicode char U+2021 (decimal 8225) | |
|
241 | defining Unicode char U+2022 (decimal 8226) | |
|
242 | ) | |
|
243 | Now handling font encoding OMX ... | |
|
244 | ... no UTF-8 mapping file for font encoding OMX | |
|
245 | Now handling font encoding U ... | |
|
246 | ... no UTF-8 mapping file for font encoding U | |
|
247 | defining Unicode char U+00A9 (decimal 169) | |
|
248 | defining Unicode char U+00AA (decimal 170) | |
|
249 | defining Unicode char U+00AE (decimal 174) | |
|
250 | defining Unicode char U+00BA (decimal 186) | |
|
251 | defining Unicode char U+02C6 (decimal 710) | |
|
252 | defining Unicode char U+02DC (decimal 732) | |
|
253 | defining Unicode char U+200C (decimal 8204) | |
|
254 | defining Unicode char U+2026 (decimal 8230) | |
|
255 | defining Unicode char U+2122 (decimal 8482) | |
|
256 | defining Unicode char U+2423 (decimal 9251) | |
|
257 | )) | |
|
258 | (/usr/share/texmf/tex/latex/base/fontenc.sty | |
|
259 | Package: fontenc 2005/09/27 v1.99g Standard LaTeX package | |
|
260 | ||
|
261 | (/usr/share/texmf/tex/latex/base/t1enc.def | |
|
262 | File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file | |
|
263 | LaTeX Font Info: Redeclaring font encoding T1 on input line 43. | |
|
264 | )) | |
|
265 | (/usr/share/texmf/tex/latex/lm/lmodern.sty | |
|
266 | Package: lmodern 2007/01/14 v1.3 Latin Modern Fonts | |
|
267 | LaTeX Font Info: Overwriting symbol font `operators' in version `normal' | |
|
268 | (Font) OT1/cmr/m/n --> OT1/lmr/m/n on input line 13. | |
|
269 | LaTeX Font Info: Overwriting symbol font `letters' in version `normal' | |
|
270 | (Font) OML/cmm/m/it --> OML/lmm/m/it on input line 14. | |
|
271 | LaTeX Font Info: Overwriting symbol font `symbols' in version `normal' | |
|
272 | (Font) OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 15. | |
|
273 | LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal' | |
|
274 | (Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 16. | |
|
275 | LaTeX Font Info: Overwriting symbol font `operators' in version `bold' | |
|
276 | (Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 17. | |
|
277 | LaTeX Font Info: Overwriting symbol font `letters' in version `bold' | |
|
278 | (Font) OML/cmm/b/it --> OML/lmm/b/it on input line 18. | |
|
279 | LaTeX Font Info: Overwriting symbol font `symbols' in version `bold' | |
|
280 | (Font) OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 19. | |
|
281 | LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold' | |
|
282 | (Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 20. | |
|
283 | LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal' | |
|
284 | (Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 22. | |
|
285 | LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal' | |
|
286 | (Font) OT1/cmss/m/n --> OT1/lmss/m/n on input line 23. | |
|
287 | LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal' | |
|
288 | (Font) OT1/cmr/m/it --> OT1/lmr/m/it on input line 24. | |
|
289 | LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal' | |
|
290 | (Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 25. | |
|
291 | LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold' | |
|
292 | (Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26. | |
|
293 | LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold' | |
|
294 | (Font) OT1/cmss/bx/n --> OT1/lmss/bx/n on input line 27. | |
|
295 | LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold' | |
|
296 | (Font) OT1/cmr/bx/it --> OT1/lmr/bx/it on input line 28. | |
|
297 | LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold' | |
|
298 | (Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 29. | |
|
299 | ) | |
|
300 | (/usr/share/texmf/tex/latex/geometry/geometry.sty | |
|
301 | Package: geometry 2002/07/08 v3.2 Page Geometry | |
|
302 | ||
|
303 | (/usr/share/texmf/tex/latex/graphics/keyval.sty | |
|
304 | Package: keyval 1999/03/16 v1.13 key=value parser (DPC) | |
|
305 | \KV@toks@=\toks16 | |
|
306 | ) | |
|
307 | \Gm@cnth=\count88 | |
|
308 | \Gm@cntv=\count89 | |
|
309 | \c@Gm@tempcnt=\count90 | |
|
310 | \Gm@bindingoffset=\dimen103 | |
|
311 | \Gm@wd@mp=\dimen104 | |
|
312 | \Gm@odd@mp=\dimen105 | |
|
313 | \Gm@even@mp=\dimen106 | |
|
314 | \Gm@dimlist=\toks17 | |
|
315 | ) | |
|
316 | (/usr/share/texmf/tex/generic/babel/babel.sty | |
|
317 | Package: babel 2005/11/23 v3.8h The Babel package | |
|
318 | ||
|
319 | (/usr/share/texmf/tex/generic/babel/frenchb.ldf | |
|
320 | Language: french 2005/02/06 v1.6g French support from the babel system | |
|
321 | ||
|
322 | (/usr/share/texmf/tex/generic/babel/babel.def | |
|
323 | File: babel.def 2005/11/23 v3.8h Babel common definitions | |
|
324 | \babel@savecnt=\count91 | |
|
325 | \U@D=\dimen107 | |
|
326 | ) | |
|
327 | Package babel Info: Making : an active character on input line 219. | |
|
328 | Package babel Info: Making ; an active character on input line 220. | |
|
329 | Package babel Info: Making ! an active character on input line 221. | |
|
330 | Package babel Info: Making ? an active character on input line 222. | |
|
331 | LaTeX Font Info: Redeclaring font encoding T1 on input line 299. | |
|
332 | \parindentFFN=\dimen108 | |
|
333 | \std@mcc=\count92 | |
|
334 | \dec@mcc=\count93 | |
|
335 | ||
|
336 | ************************************* | |
|
337 | * Local config file frenchb.cfg used | |
|
338 | * | |
|
339 | (/usr/share/texmf/tex/generic/babel/frenchb.cfg))) | |
|
340 | (/usr/share/texmf/tex/latex/listings/listings.sty | |
|
341 | \lst@mode=\count94 | |
|
342 | \lst@gtempboxa=\box26 | |
|
343 | \lst@token=\toks18 | |
|
344 | \lst@length=\count95 | |
|
345 | \lst@currlwidth=\dimen109 | |
|
346 | \lst@column=\count96 | |
|
347 | \lst@pos=\count97 | |
|
348 | \lst@lostspace=\dimen110 | |
|
349 | \lst@width=\dimen111 | |
|
350 | \lst@newlines=\count98 | |
|
351 | \lst@lineno=\count99 | |
|
352 | \c@lstlisting=\count100 | |
|
353 | \lst@maxwidth=\dimen112 | |
|
354 | ||
|
355 | (/usr/share/texmf/tex/latex/listings/lstpatch.sty | |
|
356 | File: lstpatch.sty 2004/10/17 1.3b (Carsten Heinz) | |
|
357 | ) | |
|
358 | (/usr/share/texmf/tex/latex/listings/lstmisc.sty | |
|
359 | File: lstmisc.sty 2004/09/07 1.3 (Carsten Heinz) | |
|
360 | \c@lstnumber=\count101 | |
|
361 | \lst@skipnumbers=\count102 | |
|
362 | \lst@framebox=\box27 | |
|
363 | ) | |
|
364 | (/usr/share/texmf/tex/latex/listings/listings.cfg | |
|
365 | File: listings.cfg 2004/09/05 1.3 listings configuration | |
|
366 | )) | |
|
367 | Package: listings 2004/10/17 1.3b (Carsten Heinz) | |
|
368 | ||
|
369 | (/usr/share/texmf/tex/latex/listings/lstlang1.sty | |
|
370 | File: lstlang1.sty 2004/09/05 1.3 listings language file | |
|
371 | ) | |
|
372 | (/usr/share/texmf/tex/latex/listings/lstmisc.sty | |
|
373 | File: lstmisc.sty 2004/09/07 1.3 (Carsten Heinz) | |
|
374 | )) (./PortingGuide.aux | |
|
375 | (./streamdevices.aux) (./uart.aux) (./spi.aux) (./addresseddevices.aux)) | |
|
376 | \openout1 = `PortingGuide.aux'. | |
|
377 | ||
|
378 | LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 2. | |
|
379 | LaTeX Font Info: ... okay on input line 2. | |
|
380 | LaTeX Font Info: Checking defaults for T1/lmr/m/n on input line 2. | |
|
381 | LaTeX Font Info: Try loading font information for T1+lmr on input line 2. | |
|
382 | ||
|
383 | (/usr/share/texmf/tex/latex/lm/t1lmr.fd | |
|
384 | File: t1lmr.fd 2007/01/14 v1.3 Font defs for Latin Modern | |
|
385 | ) | |
|
386 | LaTeX Font Info: ... okay on input line 2. | |
|
387 | LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 2. | |
|
388 | LaTeX Font Info: ... okay on input line 2. | |
|
389 | LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 2. | |
|
390 | LaTeX Font Info: ... okay on input line 2. | |
|
391 | LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 2. | |
|
392 | LaTeX Font Info: ... okay on input line 2. | |
|
393 | LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 2. | |
|
394 | LaTeX Font Info: ... okay on input line 2. | |
|
395 | -------------------- Geometry parameters | |
|
396 | paper: a4paper | |
|
397 | landscape: -- | |
|
398 | twocolumn: -- | |
|
399 | twoside: true | |
|
400 | asymmetric: -- | |
|
401 | h-parts: 71.70166pt, 0.7\paperwidth , 107.55254pt (default) | |
|
402 | v-parts: 101.40665pt, 0.7\paperheight , 152.11pt (default) | |
|
403 | hmarginratio: 2:3 | |
|
404 | vmarginratio: 2:3 | |
|
405 | lines: -- | |
|
406 | heightrounded: -- | |
|
407 | bindingoffset: 0.0pt | |
|
408 | truedimen: -- | |
|
409 | includehead: -- | |
|
410 | includefoot: -- | |
|
411 | includemp: -- | |
|
412 | driver: pdftex | |
|
413 | -------------------- Page layout dimensions and switches | |
|
414 | \paperwidth 597.50787pt | |
|
415 | \paperheight 845.04684pt | |
|
416 | \textwidth 418.25368pt | |
|
417 | \textheight 591.5302pt | |
|
418 | \oddsidemargin -0.56833pt | |
|
419 | \evensidemargin 35.28255pt | |
|
420 | \topmargin -0.93083pt | |
|
421 | \headheight 12.0pt | |
|
422 | \headsep 18.06749pt | |
|
423 | \footskip 25.29494pt | |
|
424 | \marginparwidth 125.0pt | |
|
425 | \marginparsep 7.0pt | |
|
426 | \columnsep 10.0pt | |
|
427 | \skip\footins 9.0pt plus 4.0pt minus 2.0pt | |
|
428 | \hoffset 0.0pt | |
|
429 | \voffset 0.0pt | |
|
430 | \mag 1000 | |
|
431 | \@twosidetrue \@mparswitchtrue | |
|
432 | (1in=72.27pt, 1cm=28.45pt) | |
|
433 | ----------------------- | |
|
434 | LaTeX Info: Redefining \dots on input line 2. | |
|
435 | [1 | |
|
436 | ||
|
437 | ||
|
438 | ||
|
439 | ||
|
440 | {/usr/share/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2 | |
|
441 | ||
|
442 | ] (./PortingGuide.toc | |
|
443 | LaTeX Font Info: Try loading font information for OT1+lmr on input line 4. | |
|
444 | ||
|
445 | (/usr/share/texmf/tex/latex/lm/ot1lmr.fd | |
|
446 | File: ot1lmr.fd 2007/01/14 v1.3 Font defs for Latin Modern | |
|
447 | ) | |
|
448 | LaTeX Font Info: Try loading font information for OML+lmm on input line 4. | |
|
449 | ||
|
450 | (/usr/share/texmf/tex/latex/lm/omllmm.fd | |
|
451 | File: omllmm.fd 2007/01/14 v1.3 Font defs for Latin Modern | |
|
452 | ) | |
|
453 | LaTeX Font Info: Try loading font information for OMS+lmsy on input line 4. | |
|
454 | ||
|
455 | (/usr/share/texmf/tex/latex/lm/omslmsy.fd | |
|
456 | File: omslmsy.fd 2007/01/14 v1.3 Font defs for Latin Modern | |
|
457 | ) | |
|
458 | LaTeX Font Info: Try loading font information for OMX+lmex on input line 4. | |
|
459 | ||
|
460 | (/usr/share/texmf/tex/latex/lm/omxlmex.fd | |
|
461 | File: omxlmex.fd 2007/01/14 v1.3 Font defs for Latin Modern | |
|
462 | ) | |
|
463 | LaTeX Font Info: External font `lmex10' loaded for size | |
|
464 | (Font) <10> on input line 4. | |
|
465 | LaTeX Font Info: External font `lmex10' loaded for size | |
|
466 | (Font) <7> on input line 4. | |
|
467 | LaTeX Font Info: External font `lmex10' loaded for size | |
|
468 | (Font) <5> on input line 4. | |
|
469 | ) | |
|
470 | \tf@toc=\write3 | |
|
471 | \openout3 = `PortingGuide.toc'. | |
|
472 | ||
|
473 | [3] | |
|
474 | \openout2 = `streamdevices.aux'. | |
|
475 | ||
|
476 | (./streamdevices.tex [4 | |
|
477 | ||
|
478 | ||
|
479 | ] | |
|
480 | Chapitre 1. | |
|
481 | LaTeX Font Info: Try loading font information for OMS+lmr on input line 11. | |
|
482 | (/usr/share/texmf/tex/latex/lm/omslmr.fd | |
|
483 | File: omslmr.fd 2007/01/14 v1.3 Font defs for Latin Modern | |
|
484 | ) | |
|
485 | LaTeX Font Info: Font shape `OMS/lmr/m/n' in size <10> not available | |
|
486 | (Font) Font shape `OMS/lmsy/m/n' tried instead on input line 11. | |
|
487 | ) [5] | |
|
488 | \openout2 = `uart.aux'. | |
|
489 | ||
|
490 | (./uart.tex) [6 | |
|
491 | ||
|
492 | ||
|
493 | ] | |
|
494 | \openout2 = `spi.aux'. | |
|
495 | ||
|
496 | (./spi.tex) | |
|
497 | \openout2 = `addresseddevices.aux'. | |
|
498 | ||
|
499 | ||
|
500 | (./addresseddevices.tex | |
|
501 | Chapitre 2. | |
|
502 | ) [7 | |
|
503 | ||
|
504 | ||
|
505 | ||
|
506 | ||
|
507 | ||
|
508 | ] (./PortingGuide.aux (./streamdevices.aux) (./uart.aux) (./spi.aux) | |
|
509 | (./addresseddevices.aux)) ) | |
|
510 | Here is how much of TeX's memory you used: | |
|
511 | 3462 strings out of 256216 | |
|
512 | 43395 string characters out of 1917072 | |
|
513 | 99152 words of memory out of 1500000 | |
|
514 | 6695 multiletter control sequences out of 10000+200000 | |
|
515 | 59126 words of font info for 39 fonts, out of 1200000 for 2000 | |
|
516 | 645 hyphenation exceptions out of 8191 | |
|
517 | 30i,4n,51p,264b,1291s stack positions out of 5000i,500n,6000p,200000b,15000s | |
|
518 | {/usr/share/texmf/fonts/enc/dvips/lm/lm-ec.enc}{/usr | |
|
519 | /share/texmf/fonts/enc/dvips/lm/lm-mathsy.enc}</usr/share/texmf/fonts/type1/pub | |
|
520 | lic/lm/lmbx10.pfb></usr/share/texmf/fonts/type1/public/lm/lmbx12.pfb></usr/shar | |
|
521 | e/texmf/fonts/type1/public/lm/lmcsc10.pfb></usr/share/texmf/fonts/type1/public/ | |
|
522 | lm/lmr10.pfb></usr/share/texmf/fonts/type1/public/lm/lmr7.pfb></usr/share/texmf | |
|
523 | /fonts/type1/public/lm/lmri10.pfb></usr/share/texmf/fonts/type1/public/lm/lmro1 | |
|
524 | 0.pfb></usr/share/texmf/fonts/type1/public/lm/lmsy10.pfb> | |
|
525 | Output written on PortingGuide.pdf (7 pages, 170208 bytes). | |
|
526 | PDF statistics: | |
|
527 | 60 PDF objects out of 1000 (max. 8388607) | |
|
528 | 0 named destinations out of 1000 (max. 131072) | |
|
529 | 1 words of extra memory for PDF output out of 10000 (max. 10000000) | |
|
530 |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
@@ -0,0 +1,22 | |||
|
1 | \include{../../latex/header} | |
|
2 | \begin{document} | |
|
3 | \begin{titlepage} | |
|
4 | \begin{center} | |
|
5 | \textbf{\Huge LibUc Porting Guide} | |
|
6 | \par | |
|
7 | \emph{Developpers guide} | |
|
8 | \par\vspace{\stretch{1}} | |
|
9 | \par\hrulefill\par | |
|
10 | Alexis \bsc{Jeandet} | |
|
11 | \par\hrulefill\par | |
|
12 | \vspace{\stretch{1}} | |
|
13 | \par October 2011 | |
|
14 | \end{center} | |
|
15 | \end{titlepage} | |
|
16 | \tableofcontents | |
|
17 | \include{streamdevices} | |
|
18 | \include{uart} | |
|
19 | \include{spi} | |
|
20 | \include{addresseddevices} | |
|
21 | ||
|
22 | \end{document} |
@@ -0,0 +1,21 | |||
|
1 | \include{../../latex/header} | |
|
2 | \begin{document} | |
|
3 | \begin{titlepage} | |
|
4 | \begin{center} | |
|
5 | \textbf{\Huge LibUc Porting Guide} | |
|
6 | \par | |
|
7 | \emph{Developpers guide} | |
|
8 | \par\vspace{\stretch{1}} | |
|
9 | \par\hrulefill\par | |
|
10 | Alexis \bsc{Jeandet} | |
|
11 | \par\hrulefill\par | |
|
12 | \vspace{\stretch{1}} | |
|
13 | \par October 2011 | |
|
14 | \end{center} | |
|
15 | \end{titlepage} | |
|
16 | \tableofcontents | |
|
17 | \include{streamdevices} | |
|
18 | \include{uart} | |
|
19 | \include{spi} | |
|
20 | ||
|
21 | \end{document} |
@@ -0,0 +1,16 | |||
|
1 | \select@language {french} | |
|
2 | \contentsline {chapter}{\numberline {1}Stream devices}{5} | |
|
3 | \contentsline {paragraph}{Introduction}{5} | |
|
4 | \contentsline {section}{\numberline {1.1}The stream device representation}{5} | |
|
5 | \contentsline {section}{\numberline {1.2}UART}{6} | |
|
6 | \contentsline {subsection}{\numberline {1.2.1}Generals:}{6} | |
|
7 | \contentsline {subsection}{\numberline {1.2.2}Details}{6} | |
|
8 | \contentsline {subsubsection}{\textbf {Openning uart}}{6} | |
|
9 | \contentsline {subsubsection}{\textbf {Closing uart}}{6} | |
|
10 | \contentsline {subsubsection}{\textbf {Configure uart}}{6} | |
|
11 | \contentsline {subsubsection}{\textbf {Sending a char through uart}}{6} | |
|
12 | \contentsline {subsubsection}{\textbf {Receiving a char from uart}}{6} | |
|
13 | \contentsline {subsubsection}{\textbf {Sending a string through uart}}{6} | |
|
14 | \contentsline {subsubsection}{\textbf {Receiving a string from uart}}{6} | |
|
15 | \contentsline {chapter}{\numberline {2}Addressed devices}{7} | |
|
16 | \contentsline {paragraph}{Introduction}{7} |
@@ -0,0 +1,26 | |||
|
1 | \relax | |
|
2 | \@writefile{toc}{\contentsline {chapter}{\numberline {2}Addressed devices}{7}} | |
|
3 | \@writefile{lof}{\addvspace {10\p@ }} | |
|
4 | \@writefile{lot}{\addvspace {10\p@ }} | |
|
5 | \@writefile{toc}{\contentsline {paragraph}{Introduction}{7}} | |
|
6 | \@setckpt{addresseddevices}{ | |
|
7 | \setcounter{page}{8} | |
|
8 | \setcounter{equation}{0} | |
|
9 | \setcounter{enumi}{0} | |
|
10 | \setcounter{enumii}{0} | |
|
11 | \setcounter{enumiii}{0} | |
|
12 | \setcounter{enumiv}{0} | |
|
13 | \setcounter{footnote}{0} | |
|
14 | \setcounter{mpfootnote}{0} | |
|
15 | \setcounter{part}{0} | |
|
16 | \setcounter{chapter}{2} | |
|
17 | \setcounter{section}{0} | |
|
18 | \setcounter{subsection}{2} | |
|
19 | \setcounter{subsubsection}{0} | |
|
20 | \setcounter{paragraph}{0} | |
|
21 | \setcounter{subparagraph}{0} | |
|
22 | \setcounter{figure}{0} | |
|
23 | \setcounter{table}{0} | |
|
24 | \setcounter{lstlisting}{0} | |
|
25 | \setcounter{lstnumber}{10} | |
|
26 | } |
@@ -0,0 +1,3 | |||
|
1 | \chapter{Addressed devices} | |
|
2 | \paragraph{Introduction} | |
|
3 | This familly is composed of all the devices that threat data as an addressed space. For example IIC and memories are both addressed devices. |
@@ -0,0 +1,22 | |||
|
1 | \relax | |
|
2 | \@setckpt{../../latex/header}{ | |
|
3 | \setcounter{page}{1} | |
|
4 | \setcounter{equation}{0} | |
|
5 | \setcounter{enumi}{0} | |
|
6 | \setcounter{enumii}{0} | |
|
7 | \setcounter{enumiii}{0} | |
|
8 | \setcounter{enumiv}{0} | |
|
9 | \setcounter{footnote}{0} | |
|
10 | \setcounter{mpfootnote}{0} | |
|
11 | \setcounter{part}{0} | |
|
12 | \setcounter{chapter}{0} | |
|
13 | \setcounter{section}{0} | |
|
14 | \setcounter{subsection}{0} | |
|
15 | \setcounter{subsubsection}{0} | |
|
16 | \setcounter{paragraph}{0} | |
|
17 | \setcounter{subparagraph}{0} | |
|
18 | \setcounter{figure}{0} | |
|
19 | \setcounter{table}{0} | |
|
20 | \setcounter{lstlisting}{0} | |
|
21 | \setcounter{lstnumber}{1} | |
|
22 | } |
|
1 | NO CONTENT: new file 100644 |
@@ -0,0 +1,3 | |||
|
1 | \chapter{Addressed devices} | |
|
2 | \paragraph{Introduction} | |
|
3 | This familly is composed of all the devices that threat data as an addressed space. For example IIC and memories are both addressed devices. |
@@ -0,0 +1,22 | |||
|
1 | \relax | |
|
2 | \@setckpt{spi}{ | |
|
3 | \setcounter{page}{7} | |
|
4 | \setcounter{equation}{0} | |
|
5 | \setcounter{enumi}{0} | |
|
6 | \setcounter{enumii}{0} | |
|
7 | \setcounter{enumiii}{0} | |
|
8 | \setcounter{enumiv}{0} | |
|
9 | \setcounter{footnote}{0} | |
|
10 | \setcounter{mpfootnote}{0} | |
|
11 | \setcounter{part}{0} | |
|
12 | \setcounter{chapter}{1} | |
|
13 | \setcounter{section}{2} | |
|
14 | \setcounter{subsection}{2} | |
|
15 | \setcounter{subsubsection}{0} | |
|
16 | \setcounter{paragraph}{0} | |
|
17 | \setcounter{subparagraph}{0} | |
|
18 | \setcounter{figure}{0} | |
|
19 | \setcounter{table}{0} | |
|
20 | \setcounter{lstlisting}{0} | |
|
21 | \setcounter{lstnumber}{10} | |
|
22 | } |
|
1 | NO CONTENT: new file 100644 |
@@ -0,0 +1,27 | |||
|
1 | \relax | |
|
2 | \@writefile{toc}{\contentsline {chapter}{\numberline {1}Stream devices}{5}} | |
|
3 | \@writefile{lof}{\addvspace {10\p@ }} | |
|
4 | \@writefile{lot}{\addvspace {10\p@ }} | |
|
5 | \@writefile{toc}{\contentsline {paragraph}{Introduction}{5}} | |
|
6 | \@writefile{toc}{\contentsline {section}{\numberline {1.1}The stream device representation}{5}} | |
|
7 | \@setckpt{streamdevices}{ | |
|
8 | \setcounter{page}{6} | |
|
9 | \setcounter{equation}{0} | |
|
10 | \setcounter{enumi}{0} | |
|
11 | \setcounter{enumii}{0} | |
|
12 | \setcounter{enumiii}{0} | |
|
13 | \setcounter{enumiv}{0} | |
|
14 | \setcounter{footnote}{0} | |
|
15 | \setcounter{mpfootnote}{0} | |
|
16 | \setcounter{part}{0} | |
|
17 | \setcounter{chapter}{1} | |
|
18 | \setcounter{section}{1} | |
|
19 | \setcounter{subsection}{0} | |
|
20 | \setcounter{subsubsection}{0} | |
|
21 | \setcounter{paragraph}{0} | |
|
22 | \setcounter{subparagraph}{0} | |
|
23 | \setcounter{figure}{0} | |
|
24 | \setcounter{table}{0} | |
|
25 | \setcounter{lstlisting}{0} | |
|
26 | \setcounter{lstnumber}{10} | |
|
27 | } |
@@ -0,0 +1,18 | |||
|
1 | \chapter{Stream devices} | |
|
2 | \paragraph{Introduction} | |
|
3 | This familly is composed of all the devices that threat data as an unaddressed stream. For example SPI and UART are both streams devices, a sofware or hardware FIFO is olso a stream device. | |
|
4 | ||
|
5 | \section{The stream device representation} | |
|
6 | The stream device is represented by a standard structure. | |
|
7 | ||
|
8 | \begin{lstlisting} | |
|
9 | struct streamDev | |
|
10 | { | |
|
11 | int writen(void* data,int n); | |
|
12 | int write(void* data); | |
|
13 | int readn(void* data,int n); | |
|
14 | int read(void* data); | |
|
15 | int streamPt; | |
|
16 | void* dev; | |
|
17 | } | |
|
18 | \end{lstlisting} |
@@ -0,0 +1,18 | |||
|
1 | \chapter{Stream devices} | |
|
2 | \paragraph{Introduction} | |
|
3 | This familly is composed of all the devices that threat data as an unaddressed stream. For example SPI and UART are both streams devices, a sofware or hardware FIFO is olso a stream device. | |
|
4 | ||
|
5 | \section{The stream device representation} | |
|
6 | The stream device is represented by a standard structure. | |
|
7 | ||
|
8 | \begin{lslisting} | |
|
9 | struct streamDev | |
|
10 | { | |
|
11 | int writen(void* data,int n); | |
|
12 | int write(void* data); | |
|
13 | int readn(void* data,int n); | |
|
14 | int read(void* data); | |
|
15 | int streamPt; | |
|
16 | void* dev; | |
|
17 | } | |
|
18 | \end{lslisting} |
@@ -0,0 +1,32 | |||
|
1 | \relax | |
|
2 | \@writefile{toc}{\contentsline {section}{\numberline {1.2}UART}{6}} | |
|
3 | \@writefile{toc}{\contentsline {subsection}{\numberline {1.2.1}Generals:}{6}} | |
|
4 | \@writefile{toc}{\contentsline {subsection}{\numberline {1.2.2}Details}{6}} | |
|
5 | \@writefile{toc}{\contentsline {subsubsection}{\textbf {Openning uart}}{6}} | |
|
6 | \@writefile{toc}{\contentsline {subsubsection}{\textbf {Closing uart}}{6}} | |
|
7 | \@writefile{toc}{\contentsline {subsubsection}{\textbf {Configure uart}}{6}} | |
|
8 | \@writefile{toc}{\contentsline {subsubsection}{\textbf {Sending a char through uart}}{6}} | |
|
9 | \@writefile{toc}{\contentsline {subsubsection}{\textbf {Receiving a char from uart}}{6}} | |
|
10 | \@writefile{toc}{\contentsline {subsubsection}{\textbf {Sending a string through uart}}{6}} | |
|
11 | \@writefile{toc}{\contentsline {subsubsection}{\textbf {Receiving a string from uart}}{6}} | |
|
12 | \@setckpt{uart}{ | |
|
13 | \setcounter{page}{7} | |
|
14 | \setcounter{equation}{0} | |
|
15 | \setcounter{enumi}{0} | |
|
16 | \setcounter{enumii}{0} | |
|
17 | \setcounter{enumiii}{0} | |
|
18 | \setcounter{enumiv}{0} | |
|
19 | \setcounter{footnote}{0} | |
|
20 | \setcounter{mpfootnote}{0} | |
|
21 | \setcounter{part}{0} | |
|
22 | \setcounter{chapter}{1} | |
|
23 | \setcounter{section}{2} | |
|
24 | \setcounter{subsection}{2} | |
|
25 | \setcounter{subsubsection}{0} | |
|
26 | \setcounter{paragraph}{0} | |
|
27 | \setcounter{subparagraph}{0} | |
|
28 | \setcounter{figure}{0} | |
|
29 | \setcounter{table}{0} | |
|
30 | \setcounter{lstlisting}{0} | |
|
31 | \setcounter{lstnumber}{10} | |
|
32 | } |
@@ -0,0 +1,33 | |||
|
1 | \section{UART} | |
|
2 | \subsection{Generals:} | |
|
3 | On many microcontrolers you can use \textbf{U}niversal \textbf{A}synchronous \textbf{R}eceiver \textbf{T}ransmitter, in order to provide a standart access to this device you have to | |
|
4 | implement th folowing functions: | |
|
5 | ||
|
6 | \begin{itemize} | |
|
7 | \item uart\_t \textbf{uartopen}(int); | |
|
8 | \item \textbf{uartclose}(uart\_t); | |
|
9 | \item \textbf{uartsetup}(uart\_t,int,int); | |
|
10 | \item \textbf{uartputc}(uart\_t, char); | |
|
11 | \item char \textbf{uartgetc}(uart\_t); | |
|
12 | \item \textbf{uartputstring}(uart\_t,char*); | |
|
13 | \item \textbf{uartgetstring}(uart\_t,char*); | |
|
14 | \end{itemize} | |
|
15 | ||
|
16 | \subsection{Details} | |
|
17 | \subsubsection{\textbf{Openning uart}} | |
|
18 | uart\_t \textbf{uartopen}(int) \\ | |
|
19 | This function has to open N\ieme \textbf{ uart} device, so it has to perform basical configuration such as powering up the device \dots This finction has also to return the pointer to the devicce handle. | |
|
20 | \subsubsection{\textbf{Closing uart}} | |
|
21 | \textbf{uartclose}(uart\_t) | |
|
22 | \subsubsection{\textbf{Configure uart}} | |
|
23 | \textbf{uartsetup}(uart\_t,int baudrate,int cpuclk) | |
|
24 | \subsubsection{\textbf{Sending a char through uart}} | |
|
25 | \textbf{uartputc}(uart\_t, char) | |
|
26 | \subsubsection{\textbf{Receiving a char from uart}} | |
|
27 | char \textbf{uartgetc}(uart\_t) | |
|
28 | \subsubsection{\textbf{Sending a string through uart}} | |
|
29 | \textbf{uartputstring}(uart\_t,char*) | |
|
30 | \subsubsection{\textbf{Receiving a string from uart}} | |
|
31 | \textbf{uartgetstring}(uart\_t,char*) | |
|
32 | ||
|
33 |
@@ -0,0 +1,33 | |||
|
1 | \section{UART} | |
|
2 | \subsection{Generals:} | |
|
3 | On many microcontrolers you can use \textbf{U}niversal \textbf{A}synchronous \textbf{R}eceiver \textbf{T}ransmitter, in order to provide a standart access to this device you have to | |
|
4 | implement th folowing functions: | |
|
5 | ||
|
6 | \begin{itemize} | |
|
7 | \item uart\_t \textbf{uartopen}(int); | |
|
8 | \item \textbf{uartclose}(uart\_t); | |
|
9 | \item \textbf{uartsetup}(uart\_t,int,int); | |
|
10 | \item \textbf{uartputc}(uart\_t, char); | |
|
11 | \item char \textbf{uartgetc}(uart\_t); | |
|
12 | \item \textbf{uartputstring}(uart\_t,char*); | |
|
13 | \item \textbf{uartgetstring}(uart\_t,char*); | |
|
14 | \end{itemize} | |
|
15 | ||
|
16 | \subsection{Details} | |
|
17 | \subsubsection \textbf{Openning uart} | |
|
18 | uart\_t \textbf{uartopen}(int) \\ | |
|
19 | This function has to open N\ieme \textbf{ uart} device, so it has to perform basical configuration such as powering up the device \dots This finction has also to return the pointer to the devicce handle. | |
|
20 | \subsubsection \textbf{Closing uart} | |
|
21 | \textbf{uartclose}(uart\_t) | |
|
22 | \subsubsection \textbf{Configure uart} | |
|
23 | \textbf{uartsetup}(uart\_t,int baudrate,int cpuclk) | |
|
24 | \subsubsection\textbf{Sending a char through uart} | |
|
25 | \textbf{uartputc}(uart\_t, char) | |
|
26 | \subsubsection\textbf{Receiving a char from uart} | |
|
27 | char \textbf{uartgetc}(uart\_t) | |
|
28 | \subsubsection\textbf{Sending a string through uart} | |
|
29 | \textbf{uartputstring}(uart\_t,char*) | |
|
30 | \subsubsection\textbf{Receiving a string from uart} | |
|
31 | \textbf{uartgetstring}(uart\_t,char*) | |
|
32 | ||
|
33 |
|
1 | NO CONTENT: new file 100644 |
@@ -0,0 +1,10 | |||
|
1 | \documentclass[french]{book} | |
|
2 | \usepackage[utf8]{inputenc} | |
|
3 | \usepackage[T1]{fontenc} | |
|
4 | \usepackage{lmodern} | |
|
5 | \usepackage[a4paper]{geometry} | |
|
6 | \usepackage{babel} | |
|
7 | \usepackage{listings} | |
|
8 | \lstset{language=C} | |
|
9 | \author{Alexis Jeandet} | |
|
10 | \date{October 2011} |
@@ -0,0 +1,8 | |||
|
1 | \documentclass[french]{book} | |
|
2 | \usepackage[utf8]{inputenc} | |
|
3 | \usepackage[T1]{fontenc} | |
|
4 | \usepackage{lmodern} | |
|
5 | \usepackage[a4paper]{geometry} | |
|
6 | \usepackage{babel} | |
|
7 | \author{Alexis Jeandet} | |
|
8 | \date{October 2011} |
@@ -0,0 +1,66 | |||
|
1 | #/*------------------------------------------------------------------------------ | |
|
2 | #-- This file is a part of the libuc, microcontroler library | |
|
3 | #-- Copyright (C) 2011, Alexis Jeandet | |
|
4 | #-- | |
|
5 | #-- This program is free software; you can redistribute it and/or modify | |
|
6 | #-- it under the terms of the GNU General Public License as published by | |
|
7 | #-- the Free Software Foundation; either version 3 of the License, or | |
|
8 | #-- (at your option) any later version. | |
|
9 | #-- | |
|
10 | #-- This program is distributed in the hope that it will be useful, | |
|
11 | #-- but WITHOUT ANY WARRANTY; without even the implied warranty of | |
|
12 | #-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
|
13 | #-- GNU General Public License for more details. | |
|
14 | #-- | |
|
15 | #-- You should have received a copy of the GNU General Public License | |
|
16 | #-- along with this program; if not, write to the Free Software | |
|
17 | #-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
|
18 | #------------------------------------------------------------------------------- | |
|
19 | #-- Author : Alexis Jeandet | |
|
20 | #-- Mail : alexis.jeandet@gmail.com | |
|
21 | #-------------------------------------------------------------------------------*/ | |
|
22 | ||
|
23 | all: | |
|
24 | @echo "calling rules.mk" | |
|
25 | ||
|
26 | bindirs: | |
|
27 | mkdir -p $(OUTBINDIR) | |
|
28 | mkdir -p $(TEMPDIR) | |
|
29 | ||
|
30 | libdirs: | |
|
31 | mkdir -p tmp | |
|
32 | mkdir -p $(INCPATH) | |
|
33 | mkdir -p $(LIBDIR) | |
|
34 | ||
|
35 | $(NAME).elf: bindirs $(FILE).o $(STARTUP).o | |
|
36 | $(CC) -O3 -nostartfiles -T $(LDSCRIPT) -o $(OUTBINDIR)$(NAME).elf $(TEMPDIR)$(FILE).o $(TEMPDIR)$(STARTUP).o -I$(LPCINCPATH) -I$(BSPINCPATH) -I$(INCPATH) -L $(LIBDIR) -L $(BSPLIBDIR) -static $(LIBS) -lbsp $(FLAGS) | |
|
37 | ||
|
38 | $(FILE).o: | |
|
39 | $(CC) -I$(LPCINCPATH) -I$(BSPINCPATH) -I$(INCPATH) -c $(FILE).c -o tmp/$(FILE).o $(FLAGS) | |
|
40 | ||
|
41 | ||
|
42 | $(STARTUP).o: $(STARTUP) | |
|
43 | $(CC) -O3 -c -o $(TEMPDIR)$(STARTUP).o $(STARTUP) $(FLAGS) | |
|
44 | ||
|
45 | run: $(NAME).hex | |
|
46 | $(FLASHER) -hex -term $(OUTBINDIR)$(NAME).hex $(PORT) $(SPEED) $(OSC) | |
|
47 | ||
|
48 | $(NAME).hex: $(OUTBINDIR)$(NAME).elf | |
|
49 | $(OBJCOPY) -O ihex $(OUTBINDIR)$(NAME).elf $(OUTBINDIR)$(NAME).hex | |
|
50 | ||
|
51 | ||
|
52 | $(FILE).a: libdirs $(FILE).o | |
|
53 | $(AR) rs $(LIBDIR)$(LIB) tmp/$(FILE).o | |
|
54 | cp *.h $(INCPATH) | |
|
55 | rm -R tmp | |
|
56 | @echo "library "$(LIB)" created" | |
|
57 | $(READELF) -a $(LIBDIR)$(LIB) | |
|
58 | ||
|
59 | ||
|
60 | ||
|
61 | bspclean: | |
|
62 | rm -R -f $(LIBUCROOT)lib/BSP/bin/$(BOARD) | |
|
63 | ||
|
64 | libclean: | |
|
65 | rm -f $(LIBDIR)$(LIB) | |
|
66 | rm -f $(INCPATH)$(FILE).h No newline at end of file |
|
1 | NO CONTENT: new file 100644 |
|
1 | NO CONTENT: new file 100644 |
@@ -0,0 +1,92 | |||
|
1 | #/*------------------------------------------------------------------------------ | |
|
2 | #-- This file is a part of the libuc, microcontroler library | |
|
3 | #-- Copyright (C) 2011, Alexis Jeandet | |
|
4 | #-- | |
|
5 | #-- This program is free software; you can redistribute it and/or modify | |
|
6 | #-- it under the terms of the GNU General Public License as published by | |
|
7 | #-- the Free Software Foundation; either version 3 of the License, or | |
|
8 | #-- (at your option) any later version. | |
|
9 | #-- | |
|
10 | #-- This program is distributed in the hope that it will be useful, | |
|
11 | #-- but WITHOUT ANY WARRANTY; without even the implied warranty of | |
|
12 | #-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
|
13 | #-- GNU General Public License for more details. | |
|
14 | #-- | |
|
15 | #-- You should have received a copy of the GNU General Public License | |
|
16 | #-- along with this program; if not, write to the Free Software | |
|
17 | #-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
|
18 | #------------------------------------------------------------------------------- | |
|
19 | #-- Author : Alexis Jeandet | |
|
20 | #-- Mail : alexis.jeandet@gmail.com | |
|
21 | #-------------------------------------------------------------------------------*/ | |
|
22 | ||
|
23 | #--------------------------------------------------------------------------------- | |
|
24 | # GCC EXECUTABLES | |
|
25 | #--------------------------------------------------------------------------------- | |
|
26 | LIBUC_PREFIX = sparc-elf- | |
|
27 | LIBUC_CC = $(LIBUC_PREFIX)gcc | |
|
28 | LIBUC_CXX = $(LIBUC_PREFIX)g++ | |
|
29 | LIBUC_AR = $(LIBUC_PREFIX)ar | |
|
30 | LIBUC_SIZE = $(LIBUC_PREFIX)size | |
|
31 | LIBUC_READELF = $(LIBUC_PREFIX)readelf | |
|
32 | LIBUC_OBJCOPY=$(LIBUC_PREFIX)objcopy | |
|
33 | ||
|
34 | ||
|
35 | ||
|
36 | #--------------------------------------------------------------------------------- | |
|
37 | # GCC FLAGS | |
|
38 | #--------------------------------------------------------------------------------- | |
|
39 | LIBUC_FMCU = | |
|
40 | LIBUC_CFLAGS = $(LIBUC_FMCU) | |
|
41 | LIBUC_CFLAGS_WARN_ON = -Wall | |
|
42 | LIBUC_CFLAGS_WARN_OFF = -w | |
|
43 | LIBUC_CFLAGS_RELEASE = -O2 | |
|
44 | LIBUC_CFLAGS_DEBUG = -g | |
|
45 | LIBUC_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -g | |
|
46 | LIBUC_CFLAGS_STATIC_LIB += -fPIC | |
|
47 | LIBUC_CFLAGS_SOFT_FPU = -msoft-float | |
|
48 | LIBUC_CFLAGS_HARD_FPU = | |
|
49 | ||
|
50 | LIBUC_CXXFLAGS = $(LIBUC_FMCU) | |
|
51 | LIBUC_CXXFLAGS_WARN_ON = -Wall | |
|
52 | LIBUC_CXXFLAGS_WARN_OFF = -w | |
|
53 | LIBUC_CXXFLAGS_RELEASE = -O2 | |
|
54 | LIBUC_CXXFLAGS_DEBUG = -g | |
|
55 | LIBUC_CXXFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -g | |
|
56 | LIBUC_CXXFLAGS_STATIC_LIB = -fPIC | |
|
57 | LIBUC_CXXFLAGS_SOFT_FPU = -msoft-float | |
|
58 | LIBUC_CXXFLAGS_HARD_FPU = | |
|
59 | ||
|
60 | LIBUC_LIBS = | |
|
61 | LIBUC_LIBS_UART = -luart | |
|
62 | LIBUC_LIBS_SPI = -lspi | |
|
63 | LIBUC_LIBS_IIC = -liic | |
|
64 | LIBUC_LIBS_ADC = -ladc | |
|
65 | LIBUC_LIBS_APB = -ladc | |
|
66 | ||
|
67 | LIBUC_LIBS_DIR = $(LIBUC)/lib/bin/LEON3 | |
|
68 | LIBUC_LIBS_DIR_UART = -L $(LIBUC_LIBS_DIR)/UART | |
|
69 | LIBUC_LIBS_DIR_SPI = -L $(LIBUC_LIBS_DIR)/SPI | |
|
70 | LIBUC_LIBS_DIR_IIC = -L $(LIBUC_LIBS_DIR)/IIC | |
|
71 | LIBUC_LIBS_DIR_ADC = -L $(LIBUC_LIBS_DIR)/ADC | |
|
72 | LIBUC_LIBS_DIR_APB = -L $(LIBUC_LIBS_DIR)/APB | |
|
73 | ||
|
74 | ||
|
75 | LIBUC_INC_DIR = $(LIBUC)/lib/includes/LEON | |
|
76 | LIBUC_INC_DIR_UART = -L $(LIBUC_INC_DIR)/UART | |
|
77 | LIBUC_INC_DIR_SPI = -L $(LIBUC_INC_DIR)/SPI | |
|
78 | LIBUC_INC_DIR_IIC = -L $(LIBUC_INC_DIR)/IIC | |
|
79 | LIBUC_INC_DIR_ADC = -L $(LIBUC_INC_DIR)/ADC | |
|
80 | LIBUC_INC_DIR_APB = -L $(LIBUC_INC_DIR)/APB | |
|
81 | ||
|
82 | ||
|
83 | ||
|
84 | ||
|
85 | ||
|
86 | ||
|
87 | ||
|
88 | ||
|
89 | ||
|
90 | ||
|
91 | ||
|
92 |
@@ -0,0 +1,89 | |||
|
1 | #/*------------------------------------------------------------------------------ | |
|
2 | #-- This file is a part of the libuc, microcontroler library | |
|
3 | #-- Copyright (C) 2011, Alexis Jeandet | |
|
4 | #-- | |
|
5 | #-- This program is free software; you can redistribute it and/or modify | |
|
6 | #-- it under the terms of the GNU General Public License as published by | |
|
7 | #-- the Free Software Foundation; either version 3 of the License, or | |
|
8 | #-- (at your option) any later version. | |
|
9 | #-- | |
|
10 | #-- This program is distributed in the hope that it will be useful, | |
|
11 | #-- but WITHOUT ANY WARRANTY; without even the implied warranty of | |
|
12 | #-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
|
13 | #-- GNU General Public License for more details. | |
|
14 | #-- | |
|
15 | #-- You should have received a copy of the GNU General Public License | |
|
16 | #-- along with this program; if not, write to the Free Software | |
|
17 | #-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
|
18 | #------------------------------------------------------------------------------- | |
|
19 | #-- Author : Alexis Jeandet | |
|
20 | #-- Mail : alexis.jeandet@gmail.com | |
|
21 | #-------------------------------------------------------------------------------*/ | |
|
22 | ||
|
23 | #--------------------------------------------------------------------------------- | |
|
24 | # GCC EXECUTABLES | |
|
25 | #--------------------------------------------------------------------------------- | |
|
26 | LIBUC_PREFIX = arm-elf- | |
|
27 | LIBUC_CC = $(LIBUC_PREFIX)gcc | |
|
28 | LIBUC_CXX = $(LIBUC_PREFIX)g++ | |
|
29 | LIBUC_AR = $(LIBUC_PREFIX)ar | |
|
30 | LIBUC_SIZE = $(LIBUC_PREFIX)size | |
|
31 | LIBUC_READELF = $(LIBUC_PREFIX)readelf | |
|
32 | LIBUC_OBJCOPY=$(LIBUC_PREFIX)objcopy | |
|
33 | ||
|
34 | ||
|
35 | ||
|
36 | #--------------------------------------------------------------------------------- | |
|
37 | # GCC FLAGS | |
|
38 | #--------------------------------------------------------------------------------- | |
|
39 | LIBUC_FMCU = -mcpu=arm7tdmi | |
|
40 | LIBUC_CFLAGS = $(LIBUC_FMCU) | |
|
41 | LIBUC_CFLAGS += -g -gdwarf-2 | |
|
42 | LIBUC_CFLAGS += -Wextra -Wundef -Wcast-align | |
|
43 | LIBUC_CFLAGS_WARN_ON = -Wall | |
|
44 | LIBUC_CFLAGS_WARN_OFF = -w | |
|
45 | LIBUC_CFLAGS_RELEASE = -O2 | |
|
46 | LIBUC_CFLAGS_DEBUG = -g | |
|
47 | LIBUC_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -g | |
|
48 | LIBUC_CFLAGS_STATIC_LIB = -fPIC | |
|
49 | LIBUC_CFLAGS_SOFT_FPU = -msoft-float | |
|
50 | LIBUC_CFLAGS_HARD_FPU = | |
|
51 | ||
|
52 | LIBUC_CXXFLAGS = $(LIBUC_FMCU) | |
|
53 | LIBUC_CXXFLAGS += -g -gdwarf-2 | |
|
54 | LIBUC_CXXFLAGS += -Wextra -Wundef -Wcast-align | |
|
55 | LIBUC_CXXFLAGS_WARN_ON = -Wall | |
|
56 | LIBUC_CXXFLAGS_WARN_OFF = -w | |
|
57 | LIBUC_CXXFLAGS_RELEASE = -O2 | |
|
58 | LIBUC_CXXFLAGS_DEBUG = -g | |
|
59 | LIBUC_CXXFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -g | |
|
60 | LIBUC_CXXFLAGS_STATIC_LIB = -fPIC | |
|
61 | LIBUC_CXXFLAGS_SOFT_FPU = -msoft-float | |
|
62 | LIBUC_CXXFLAGS_HARD_FPU = | |
|
63 | ||
|
64 | LIBUC_LIBS = | |
|
65 | LIBUC_LIBS_UART = -luart | |
|
66 | LIBUC_LIBS_SPI = -lspi | |
|
67 | LIBUC_LIBS_IIC = -liic | |
|
68 | LIBUC_LIBS_ADC = -ladc | |
|
69 | ||
|
70 | LIBUC_LIBS_DIR = $(LIBUC)/lib/bin/lpc17XX | |
|
71 | LIBUC_LIBS_DIR_UART = -L $(LIBUC_LIBS_DIR)/UART | |
|
72 | LIBUC_LIBS_DIR_SPI = -L $(LIBUC_LIBS_DIR)/SPI | |
|
73 | LIBUC_LIBS_DIR_IIC = -L $(LIBUC_LIBS_DIR)/IIC | |
|
74 | LIBUC_LIBS_DIR_ADC = -L $(LIBUC_LIBS_DIR)/ADC | |
|
75 | ||
|
76 | LIBUC_INC_DIR = $(LIBUC)/lib/includes/lpc17XX | |
|
77 | LIBUC_INC_DIR_UART = -L $(LIBUC_INC_DIR)/UART | |
|
78 | LIBUC_INC_DIR_SPI = -L $(LIBUC_INC_DIR)/SPI | |
|
79 | LIBUC_INC_DIR_IIC = -L $(LIBUC_INC_DIR)/IIC | |
|
80 | LIBUC_INC_DIR_ADC = -L $(LIBUC_INC_DIR)/ADC | |
|
81 | ||
|
82 | ||
|
83 | ||
|
84 | ||
|
85 | ||
|
86 | ||
|
87 | ||
|
88 | ||
|
89 |
General Comments 0
You need to be logged in to leave comments.
Login now