* fixed some include paths * LPC1768: Fix Serial API Add missing serial methods used if TX_BUFFER_SIZE is set Change return value of HalSerial:read to match Arduino API * LPC1768: add filters to ADC This is to try and compensate for hardware issue and oversensitivity to noise * LPC1768: remove the polling section of delayMicroseconds * LPC1768: lock usb mass storage device while device accesses it. Currently only applicable to persistent store, The device always has priority and will unmount the sd card from the host, Windows then tries to automount again so it can look like the explorer window freezes. Linux Mint, by default, just closes the Nemo window. * Add timeout to make sure if Serial never connects that Marlin still boots * Remove unneeded ifdef CPU_32_BIT In general the need for ifdef CPU_32_BIT blocks means that something is missing from the HAL API or a Platform, in this case HAL_TICKS_PER_US was missing from the AVR Platform * LPC1768: relocate RE-ARM debug_extra_script.py
|
|
||
29 |
|
29 |
|
30 |
|
30 |
|
31 |
|
31 |
|
32 |
|
|
|
|
32 |
|
|
33 |
|
33 |
|
34 |
|
34 |
|
35 |
|
35 |
|
|
|
||
105 |
|
105 |
|
106 |
|
106 |
|
107 |
|
107 |
|
|
108 |
|
|
108 |
|
109 |
|
109 |
|
110 |
|
110 |
|
111 |
|
|
|
||
113 |
|
113 |
|
114 |
|
114 |
|
115 |
|
115 |
|
|
116 |
|
|
116 |
|
117 |
|
117 |
|
118 |
|
118 |
|
119 |
|
|
|
||
121 |
|
122 |
|
122 |
|
123 |
|
123 |
|
124 |
|
|
125 |
|
|
124 |
|
126 |
|
125 |
|
127 |
|
126 |
|
|
|
|
128 |
|
|
|
129 |
|
|
|
130 |
|
|
|
131 |
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
|
|
|
149 |
|
|
|
150 |
|
|
|
151 |
|
|
|
152 |
|
|
|
153 |
|
|
|
154 |
|
|
|
155 |
|
|
|
156 |
|
|
|
157 |
|
|
127 |
|
158 |
|
128 |
|
159 |
|
129 |
|
160 |
|
130 |
|
|
|
131 |
|
|
|
|
161 |
|
|
|
162 |
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
132 |
|
171 |
|
133 |
|
172 |
|
134 |
|
173 |
|
|
|
||
57 |
|
57 |
|
58 |
|
58 |
|
59 |
|
59 |
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
74 |
|
63 |
|
75 |
|
64 |
|
76 |
|
65 |
|
|
|
||
9 |
|
9 |
|
10 |
|
10 |
|
11 |
|
11 |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
12 |
|
15 |
|
13 |
|
16 |
|
14 |
|
17 |
|
|
|
||
16 |
|
19 |
|
17 |
|
20 |
|
18 |
|
21 |
|
19 |
|
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
20 |
|
27 |
|
|
28 |
|
|
21 |
|
29 |
|
22 |
|
30 |
|
23 |
|
31 |
|
24 |
|
32 |
|
25 |
|
33 |
|
26 |
|
34 |
|
|
35 |
|
|
27 |
|
36 |
|
28 |
|
37 |
|
29 |
|
38 |
|
|
|
||
100 |
|
100 |
|
101 |
|
101 |
|
102 |
|
102 |
|
|
103 |
|
|
103 |
|
104 |
|
104 |
|
105 |
|
105 |
|
106 |
|
|
|
||
117 |
|
118 |
|
118 |
|
119 |
|
119 |
|
120 |
|
|
121 |
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
|
|
|
128 |
|
|
|
129 |
|
|
|
130 |
|
|
|
131 |
|
|
120 |
|
132 |
|
121 |
|
133 |
|
122 |
|
134 |
|
|
|
||
681 |
|
681 |
|
682 |
|
682 |
|
683 |
|
683 |
|
684 |
|
|
|
|
684 |
|
|
|
685 |
|
|
685 |
|
686 |
|
686 |
|
687 |
|
687 |
|
688 |
|
|
|
||
23 |
|
23 |
|
24 |
|
24 |
|
25 |
|
25 |
|
26 |
|
|
|
|
26 |
|
|
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
|
|
||
323 |
|
323 |
|
324 |
|
324 |
|
325 |
|
325 |
|
326 |
|
|
|
327 |
|
|
|
328 |
|
|
|
329 |
|
|
|
330 |
|
|
|
331 |
|
|
|
332 |
|
|
|
|
326 |
|
|
|
327 |
|
|
333 |
|
328 |
|
334 |
|
329 |
|
335 |
|
330 |
|
|
|
||
3 |
|
3 |
|
4 |
|
4 |
|
5 |
|
5 |
|
6 |
|
|
|
|
6 |
|
|
7 |
|
7 |
|
8 |
|
8 |
|
9 |
|
9 |
|
|
|
||
26 |
|
26 |
|
27 |
|
27 |
|
28 |
|
28 |
|
|
29 |
|
|
29 |
|
30 |
|
30 |
|
31 |
|
31 |
|
32 |
|
|
|
||
44 |
|
45 |
|
45 |
|
46 |
|
46 |
|
47 |
|
|
48 |
|
|
47 |
|
49 |
|
48 |
|
50 |
|
49 |
|
51 |
|
50 |
|
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
|
|
51 |
|
96 |
|
52 |
|
97 |
|
53 |
|
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
|
|
54 |
|
113 |
|
55 |
|
114 |
|
56 |
|
115 |
|
|
|
||
78 |
|
137 |
|
79 |
|
138 |
|
80 |
|
139 |
|
|
140 |
|
|
|
141 |
|
|
81 |
|
142 |
|
82 |
|
143 |
|
83 |
|
144 |
|
84 |
|
145 |
|
85 |
|
146 |
|
|
147 |
|
|
86 |
|
148 |
|
87 |
|
149 |
|
88 |
|
150 |
|
89 |
|
151 |
|
|
152 |
|
|
|
153 |
|
|
90 |
|
154 |
|
91 |
|
155 |
|
92 |
|
|
|
|
156 |
|
|
|
157 |
|
|
|
158 |
|
|
93 |
|
159 |
|
94 |
|
160 |
|
|
161 |
|
|
95 |
|
162 |
|
96 |
|
163 |
|
97 |
|
164 |
|
|
|
||
122 |
|
189 |
|
123 |
|
190 |
|
124 |
|
191 |
|
|
192 |
|
|
|
193 |
|
|
|
194 |
|
|
|
195 |
|
|
|
196 |
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
|
|
|
201 |
|
|
|
202 |
|
|
|
203 |
|
|
125 |
|
204 |
|
126 |
|
205 |
|
127 |
|
206 |
|
|
|
||
130 |
|
209 |
|
131 |
|
210 |
|
132 |
|
211 |
|
|
212 |
|
|
|
213 |
|
|
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
133 |
|
218 |
|
134 |
|
219 |
|
135 |
|
220 |
|
|
|
||
158 |
|
243 |
|
159 |
|
244 |
|
160 |
|
245 |
|
|
246 |
|
|
161 |
|
247 |
|
162 |
|
248 |
|
163 |
|
249 |
|
|
|
||
170 |
|
256 |
|
171 |
|
257 |
|
172 |
|
258 |
|
|
259 |
|
|
|
260 |
|
|
|
261 |
|
|
|
262 |
|
|
|
263 |
|
|
173 |
|
264 |
|
174 |
|
265 |
|
175 |
|
266 |
|
|
|
||
192 |
|
283 |
|
193 |
|
284 |
|
194 |
|
285 |
|
|
286 |
|
|
195 |
|
287 |
|
196 |
|
288 |
|
197 |
|
289 |
|
|
|
||
205 |
|
297 |
|
206 |
|
298 |
|
207 |
|
299 |
|
|
300 |
|
|
|
301 |
|
|
|
302 |
|
|
|
303 |
|
|
|
304 |
|
|
208 |
|
305 |
|
209 |
|
306 |
|
210 |
|
307 |
|
|
|
||
222 |
|
319 |
|
223 |
|
320 |
|
224 |
|
321 |
|
225 |
|
|
|
|
322 |
|
|
|
323 |
|
|
|
324 |
|
|
|
325 |
|
|
|
326 |
|
|
|
327 |
|
|
|
328 |
|
|
226 |
|
329 |
|
227 |
|
330 |
|
228 |
|
331 |
|
|
|
||
321 |
|
424 |
|
322 |
|
425 |
|
323 |
|
426 |
|
324 |
|
|
|
|
427 |
|
|
|
428 |
|
|
|
429 |
|
|
|
430 |
|
|
|
431 |
|
|
325 |
|
432 |
|
326 |
|
433 |
|
327 |
|
434 |
|
|
435 |
|
|
328 |
|
436 |
|
329 |
|
437 |
|
330 |
|
438 |
|
|
|
||
341 |
|
449 |
|
342 |
|
450 |
|
343 |
|
451 |
|
|
452 |
|
|
|
453 |
|
|
|
454 |
|
|
|
455 |
|
|
344 |
|
456 |
|
345 |
|
457 |
|
346 |
|
|
|
|
458 |
|
|
347 |
|
459 |
|
348 |
|
460 |
|
349 |
|
461 |
|
|
|
||
354 |
|
466 |
|
355 |
|
467 |
|
356 |
|
468 |
|
357 |
|
|
|
358 |
|
|
|
|
469 |
|
|
|
470 |
|
|
359 |
|
471 |
|
360 |
|
472 |
|
361 |
|
473 |
|
362 |
|
474 |
|
363 |
|
475 |
|
364 |
|
|
|
365 |
|
|
|
366 |
|
|
|
367 |
|
|
|
|
476 |
|
|
|
477 |
|
|
|
478 |
|
|
|
479 |
|
|
368 |
|
480 |
|
369 |
|
481 |
|
370 |
|
482 |
|
|
|
||
423 |
|
535 |
|
424 |
|
536 |
|
425 |
|
537 |
|
426 |
|
|
|
427 |
|
|
|
428 |
|
|
|
429 |
|
|
|
430 |
|
538 |
|
431 |
|
539 |
|
432 |
|
540 |
|
|
|
||
553 |
|
661 |
|
554 |
|
662 |
|
555 |
|
663 |
|
|
664 |
|
|
556 |
|
665 |
|
557 |
|
|
|
|
666 |
|
|
558 |
|
667 |
|
559 |
|
668 |
|
560 |
|
669 |
|
|
|
||
627 |
|
736 |
|
628 |
|
737 |
|
629 |
|
738 |
|
|
739 |
|
|
|
740 |
|
|
|
741 |
|
|
|
742 |
|
|
|
743 |
|
|
|
744 |
|
|
|
745 |
|
|
|
746 |
|
|
|
747 |
|
|
|
748 |
|
|
|
749 |
|
|
|
750 |
|
|
|
751 |
|
|
|
752 |
|
|
630 |
|
753 |
|
631 |
|
754 |
|
632 |
|
755 |
|
|
|
||
647 |
|
770 |
|
648 |
|
771 |
|
649 |
|
772 |
|
650 |
|
|
|
651 |
|
773 |
|
652 |
|
774 |
|
653 |
|
775 |
|
|
|
||
661 |
|
783 |
|
662 |
|
784 |
|
663 |
|
785 |
|
664 |
|
|
|
665 |
|
786 |
|
666 |
|
787 |
|
667 |
|
788 |
|
|
|
||
691 |
|
812 |
|
692 |
|
813 |
|
693 |
|
814 |
|
694 |
|
|
|
695 |
|
815 |
|
696 |
|
816 |
|
697 |
|
817 |
|
|
|
||
38 |
|
38 |
|
39 |
|
39 |
|
40 |
|
40 |
|
41 |
|
|
|
|
41 |
|
|
42 |
|
42 |
|
43 |
|
43 |
|
44 |
|
44 |
|
|
|
||
49 |
|
49 |
|
50 |
|
50 |
|
51 |
|
51 |
|
52 |
|
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
53 |
|
55 |
|
54 |
|
|
|
|
56 |
|
|
|
57 |
|
|
55 |
|
58 |
|
56 |
|
59 |
|
57 |
|
|
|
58 |
|
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
59 |
|
69 |
|
60 |
|
|
|
|
70 |
|
|
61 |
|
71 |
|
62 |
|
72 |
|
63 |
|
73 |
|
|
|
||
65 |
|
75 |
|
66 |
|
76 |
|
67 |
|
77 |
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
68 |
|
103 |
|
69 |
|
104 |
|
|
|
||
158 |
|
158 |
|
159 |
|
159 |
|
160 |
|
160 |
|
161 |
|
|
|
162 |
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
|
|
161 |
|
|
|
162 |
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
|
172 |
|
|
172 |
|
173 |
|
173 |
|
174 |
|
174 |
|
175 |
|