1 commit dbcb68f684a96d13efeb9993685f61b27b45e7dc
2 Author: Bdale Garbee <bdale@gag.com>
3 Date: Sat Aug 12 00:21:43 2017 -0400
5 update docinfo file for 1.8 release
7 commit dfb9568866ba250a02039cc3429d5ca0603a60d9
8 Author: Keith Packard <keithp@keithp.com>
9 Date: Sat Aug 12 00:10:23 2017 -0400
11 Note that telebt 4.0 files need to go to altusmetrumllc dir
13 Signed-off-by: Keith Packard <keithp@keithp.com>
15 commit 6b083e90d5b8de215f2f303f18b5c4ac9185622d
16 Author: Keith Packard <keithp@keithp.com>
17 Date: Sat Aug 12 00:06:48 2017 -0400
21 Signed-off-by: Keith Packard <keithp@keithp.com>
23 commit 243c1e519d41b45765d4edf5f608655d6ab01eff
24 Author: Keith Packard <keithp@keithp.com>
25 Date: Sat Aug 12 00:06:26 2017 -0400
27 doc: Add 1.8 release notes
29 Signed-off-by: Keith Packard <keithp@keithp.com>
31 commit 7b67dcdd90317845261e51a1adb2404dcb0f2507
32 Author: Keith Packard <keithp@keithp.com>
33 Date: Sat Aug 12 00:05:50 2017 -0400
35 altosui, telegps: Add TeleBT v4.0 firmware to app packages
37 Signed-off-by: Keith Packard <keithp@keithp.com>
39 commit 5fdce5b4a70ae59f8ac1ca10d9fadbbbd62412f3
40 Merge: f1bbf1bd 2a3db289
41 Author: Keith Packard <keithp@keithp.com>
42 Date: Fri Aug 11 23:45:25 2017 -0400
44 Merge remote-tracking branch 'origin/master'
46 commit f1bbf1bd18d52a084af714a022b12bfc3c76374c
47 Author: Keith Packard <keithp@keithp.com>
48 Date: Fri Aug 11 23:40:41 2017 -0400
50 ao-bringup: Allow dfu_util to "fail" while flashing chaoskey
52 Sometimes it isn't happy about the exit status, but if the device
53 comes up and works OK, we don't care.
55 Signed-off-by: Keith Packard <keithp@keithp.com>
57 commit fbe87bd18308cab62eda6d5e956a8618095ed33b
58 Author: Keith Packard <keithp@keithp.com>
59 Date: Fri Aug 11 23:39:13 2017 -0400
61 altoslib: Set time in state for KML output correctly
63 Use new computed state_time value.
65 Signed-off-by: Keith Packard <keithp@keithp.com>
67 commit c7b34e6691b632199bc7802c2e4dea4de992578e
68 Author: Keith Packard <keithp@keithp.com>
69 Date: Sun Jul 23 16:49:26 2017 -0700
71 libaltos: Test both bluetooth and USB APIs with cjnitest
73 Signed-off-by: Keith Packard <keithp@keithp.com>
75 commit 52bbfa9cd46ca27a4de937e89d48246a4e94c8a6
76 Author: Keith Packard <keithp@keithp.com>
77 Date: Sun Jul 23 16:47:40 2017 -0700
79 altos/test: Fix AES key format in test code
81 Use temp variable instead of stepping on the AES name.
83 Signed-off-by: Keith Packard <keithp@keithp.com>
85 commit 9eaf917707287af57c2dadfc82d6d415b0964329
86 Author: Keith Packard <keithp@keithp.com>
87 Date: Sun Jul 23 16:46:24 2017 -0700
89 altos/test: Fix printf format for int64 arithmetic test
91 Use 'long long' and %lld for 64-bit values when printing.
93 Signed-off-by: Keith Packard <keithp@keithp.com>
95 commit 198a3d4d5f51de5c0f0413299582479cde4e177f
96 Author: Keith Packard <keithp@keithp.com>
97 Date: Sun Jul 23 16:37:27 2017 -0700
99 altosui: Rename AltosConfig -> AltosConfigFC
101 Now the class name says that this configures the flight computer.
103 Signed-off-by: Keith Packard <keithp@keithp.com>
105 commit c7c2fc2d85414fefda0a7948a6c4e38f65140861
106 Author: Keith Packard <keithp@keithp.com>
107 Date: Sun Jul 23 16:38:09 2017 -0700
109 altosui: Adapt to flight stats time value changes
111 There aren't state time values anymore as those don't work when you
112 have multiple motors. Instead, 'boost_time' is when the rocket left
113 the pad and 'landed_time' is when it touched down. Use these new
114 values in the --summary output.
116 Signed-off-by: Keith Packard <keithp@keithp.com>
118 commit 2a3db28953f5cd981c519a917cdcd9f48dcb08e9
119 Author: Bdale Garbee <bdale@gag.com>
120 Date: Fri Jul 21 17:49:21 2017 -0600
122 add TeleBT v4.0 to the list of stuff we build
124 commit 04560a7cd6a64e742954a2d0fbd7563e2c310402
125 Author: Bdale Garbee <bdale@gag.com>
126 Date: Fri Jul 21 17:46:55 2017 -0600
128 ignore more build products in telebt-v4.0 tree
130 commit c8dbcaf69cd538a31ab6e2b568237ae7c8656a9a
131 Merge: 0cbfa444 ea3b5815
132 Author: Bdale Garbee <bdale@gag.com>
133 Date: Fri Jul 21 17:44:03 2017 -0600
135 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
137 commit 0cbfa444a9f9159cb509bb47ca5590fc1d709f64
138 Author: Bdale Garbee <bdale@gag.com>
139 Date: Fri Jul 21 17:43:38 2017 -0600
141 clean up telefireone name references
143 commit 3a1512b605a81ebee23cc6b7980b709a54cb43c9
144 Author: Bdale Garbee <bdale@gag.com>
145 Date: Fri Jul 21 17:42:54 2017 -0600
147 rename existing turnon_telebt script, create a new one for v4.0
149 commit ea3b5815b27005b2f4c3034715f656d28ea8534e
150 Author: Keith Packard <keithp@keithp.com>
151 Date: Fri Jul 21 16:16:55 2017 -0700
153 libaltos: Add btle test program
155 Signed-off-by: Keith Packard <keithp@keithp.com>
157 commit 545bdc1f8046b08e237307d97d0044ddae9095b8
158 Author: Keith Packard <keithp@keithp.com>
159 Date: Fri Jul 21 16:14:31 2017 -0700
161 altos/test: Add EasyMini test mode
163 Use baro-only mode, parse easymini logs.
165 Signed-off-by: Keith Packard <keithp@keithp.com>
167 commit 2969f0af52dfbdea7593b208e510c7b17227064c
168 Author: Keith Packard <keithp@keithp.com>
169 Date: Fri Jul 21 16:09:55 2017 -0700
171 altoslib: fix adjustment of landed time
173 Push landed time out if we computed silliness.
175 Signed-off-by: Keith Packard <keithp@keithp.com>
177 commit 30b308ad0189b4aa9dd5cc7ee876b55fee355a56
178 Author: Keith Packard <keithp@keithp.com>
179 Date: Fri Jul 21 16:05:45 2017 -0700
181 Set version to 1.7.1 for TeleBT firmware build
183 Signed-off-by: Keith Packard <keithp@keithp.com>
185 commit b923e25a8a49dda40e62070dd2df6ff9130d4b38
186 Author: Keith Packard <keithp@keithp.com>
187 Date: Tue Jun 27 23:39:16 2017 -0700
189 altos/telebt-v4.0: Use HW flow control to BT module
191 Now that the stmf0 HW flow control works...
193 Signed-off-by: Keith Packard <keithp@keithp.com>
195 commit e64438271e481ca9f9eeb0ce2b1f9eca071b7ad4
196 Author: Keith Packard <keithp@keithp.com>
197 Date: Tue Jun 27 23:37:49 2017 -0700
199 altos/stmf0: Initialize UART RTS/CTS before turning it on
201 If you try this after the UART is running, it won't work.
203 Signed-off-by: Keith Packard <keithp@keithp.com>
205 commit 46ff12a88136d3c274610255a918870aff9328cd
206 Author: Keith Packard <keithp@keithp.com>
207 Date: Tue Jun 27 23:36:05 2017 -0700
209 altoslib: Deal with multiple motors in flight stats
211 Combine boost/fast/coast sections when computing ascent stats.
213 Signed-off-by: Keith Packard <keithp@keithp.com>
215 commit 13abb6739ae9be5a8733724c5d9b3f714f32bea4
216 Author: Keith Packard <keithp@keithp.com>
217 Date: Tue Jun 27 21:37:50 2017 -0700
219 altoslib: Fix comments in AltosQuaternion and AltosRotation
221 Especially the nested comment which borked the compile
223 Signed-off-by: Keith Packard <keithp@keithp.com>
225 commit 5a174f4a2caae97b5038eb92ab85303e736b7c2e
226 Author: Keith Packard <keithp@keithp.com>
227 Date: Tue Jun 27 21:33:36 2017 -0700
229 altosdroid: cal_data is no longer public from AltosState
231 Use cal_data() method instead.
233 Signed-off-by: Keith Packard <keithp@keithp.com>
235 commit 6dbb362b2d1df4d8c2d301e90624aceef8051ef5
236 Author: Keith Packard <keithp@keithp.com>
237 Date: Thu Jun 22 10:10:06 2017 -0700
239 altoslib: Clean up quaternion and rotation interfaces
241 Export euler to quaternion (instead of half_euler).
242 Provide angles to rotate rather than rates and time.
243 Add comments to quaternion and rotation code.
245 Signed-off-by: Keith Packard <keithp@keithp.com>
247 commit ea7e236e75452e27f3af6730a0542850851eb23d
248 Author: Keith Packard <keithp@keithp.com>
249 Date: Tue Jun 20 11:19:40 2017 -0700
251 altos/rn4678: Add BLE support
253 This just means ignoring the BLE connect status message.
255 Signed-off-by: Keith Packard <keithp@keithp.com>
257 commit 0da4e201041a4420f273c2e0cda77eea78099518
258 Author: Keith Packard <keithp@keithp.com>
259 Date: Tue Jun 20 11:18:41 2017 -0700
261 altoslib: Make cal_data private in AltosDataListener
263 This way we can create it as needed.
265 Signed-off-by: Keith Packard <keithp@keithp.com>
267 commit a61217f0a6d0ef48b6471f632c4600255867e831
268 Author: Keith Packard <keithp@keithp.com>
269 Date: Tue Jun 13 10:58:57 2017 -0700
271 altoslib,altosuilib: Bump library version numbers
273 The API and ABI have changed a bit since 1.7
275 Signed-off-by: Keith Packard <keithp@keithp.com>
277 commit e2fe220efe2ba375ddd925747a630c30c17d3bef
278 Author: Keith Packard <keithp@keithp.com>
279 Date: Tue Jun 13 10:50:37 2017 -0700
281 altosuilib: Rename AltosGraphNew to AltosGraph
283 Signed-off-by: Keith Packard <keithp@keithp.com>
285 commit 3f9b6d23e4e33a58c179f45ffd42211ab327d8c6
286 Author: Keith Packard <keithp@keithp.com>
287 Date: Tue Jun 13 10:47:54 2017 -0700
289 altosuilib: Rename AltosUIGraphNew to AltosUIGraph
291 Signed-off-by: Keith Packard <keithp@keithp.com>
293 commit e4f1fa544f1cb21070c9d79c81ebae0fb71d77db
294 Author: Keith Packard <keithp@keithp.com>
295 Date: Tue Jun 13 10:46:03 2017 -0700
297 altoslib: Rename AltosEepromNew to AltosEeprom
299 Signed-off-by: Keith Packard <keithp@keithp.com>
301 commit 0e586ab3604bb695c36ae86c95f533197522fc65
302 Author: Keith Packard <keithp@keithp.com>
303 Date: Tue Jun 13 10:38:13 2017 -0700
305 altoslib: Remove old AltosEeprom.java code
309 Signed-off-by: Keith Packard <keithp@keithp.com>
311 commit 672889659fb2c1a63f5ef199173719a606a9f343
312 Author: Keith Packard <keithp@keithp.com>
313 Date: Tue Jun 13 10:35:39 2017 -0700
315 altos/telebt-4.0: Add dependency on RN4678 header
317 Signed-off-by: Keith Packard <keithp@keithp.com>
319 commit cd8b22bef0a88ed6881036b4c6718a4e33c55d41
320 Author: Keith Packard <keithp@keithp.com>
321 Date: Tue Jun 13 10:34:03 2017 -0700
323 altos: Add timeout to RN4678 status message code
325 If we see the start of an RN4678 status message, but then output
326 pauses, assume that this isn't the start of a status message and flush
329 Signed-off-by: Keith Packard <keithp@keithp.com>
331 commit 172d6cec981b50d4d5ff0f3d3bbd4377d55f57c8
332 Author: Keith Packard <keithp@keithp.com>
333 Date: Mon Jun 12 21:47:05 2017 -0700
335 altosuilib: Don't display pad, last location in flight stats without gps
337 Check stats.have_gps before displaying pad and last known location values.
339 Signed-off-by: Keith Packard <keithp@keithp.com>
341 commit 5eb91267348b0992414521520eda5c3a65e23ea7
342 Author: Keith Packard <keithp@keithp.com>
343 Date: Mon Jun 12 21:46:11 2017 -0700
345 altoslib: Set time for TeleMini v1.0 eeprom analysing
347 Need to take the computed tick time and tell the listener what time
350 Signed-off-by: Keith Packard <keithp@keithp.com>
352 commit ee221ddf00f631a5f9d5d93468bfc697a26e4cfe
353 Author: Keith Packard <keithp@keithp.com>
354 Date: Sun Jun 11 23:13:07 2017 -0700
356 altosui, telegps, altosdroid: say ground distance, not total range
358 Ground distance is more useful in predicting recovery than total range.
360 Signed-off-by: Keith Packard <keithp@keithp.com>
362 commit cb1e757d4d486d04af0219b3f36ad17ee8095110
363 Author: Keith Packard <keithp@keithp.com>
364 Date: Sun Jun 11 23:10:49 2017 -0700
366 altoslib: Initialize new imu/mag values. Remove stale imu/mag objects.
368 AltosState no longer has imu and mag objects, instead it just holds
371 Signed-off-by: Keith Packard <keithp@keithp.com>
373 commit 247fa1c669f987830540e618bf263b08284118df
374 Author: Keith Packard <keithp@keithp.com>
375 Date: Sun Jun 11 22:52:56 2017 -0700
377 altosui: Display current altitude in monitor idle Pad tab
379 This was attempting to use 'pad' values even though monitor idle
382 Signed-off-by: Keith Packard <keithp@keithp.com>
384 commit 03ec3e4c2247b6520c728b34805ad500be547a25
385 Author: Keith Packard <keithp@keithp.com>
386 Date: Sun Jun 11 22:50:57 2017 -0700
388 altoslib: Remove unused 'ground_rotation' from AltosState
390 Signed-off-by: Keith Packard <keithp@keithp.com>
392 commit 97b42b7cd676232f13354798726f3087fa7177d5
393 Author: Keith Packard <keithp@keithp.com>
394 Date: Sun Jun 11 22:50:28 2017 -0700
396 altoslib: Flush igniter fire command
398 This makes the igniter fire without a multi-second delay.
400 Signed-off-by: Keith Packard <keithp@keithp.com>
402 commit 5c4e473ef5d13da9c2f356702cb8767b55aa2137
403 Author: Keith Packard <keithp@keithp.com>
404 Date: Sun Jun 11 22:49:46 2017 -0700
406 altoslib: Hook up idle monitoring data again
408 The API for idle monitoring changed, but these modules hadn't been
411 Signed-off-by: Keith Packard <keithp@keithp.com>
413 commit 27131ec7abda875595c61be0b151b73eb28afab9
414 Author: Keith Packard <keithp@keithp.com>
415 Date: Sun Jun 11 22:47:53 2017 -0700
417 altoslib: Fix labels in AltosIMU to match source data
419 IMU bits arrive with X/Y/Z labels and are converted to the correct
420 axes as they leave this object.
422 Signed-off-by: Keith Packard <keithp@keithp.com>
424 commit 43f8470dc66392dae4770882bfc6ad25b1d75436
425 Author: Keith Packard <keithp@keithp.com>
426 Date: Sun Jun 11 22:47:02 2017 -0700
428 altoslib: Keep time series in AltosFlightSeries array sorted
430 This makes using the graph way easier.
432 Signed-off-by: Keith Packard <keithp@keithp.com>
434 commit 3fa1eadb91eea001342d2d357d7aaf661e8a2a5d
435 Author: Keith Packard <keithp@keithp.com>
436 Date: Sun Jun 11 22:46:01 2017 -0700
438 altoslib: Handle EasyMini v2.0 ADC values
440 Different from EasyMini v1.0
442 Signed-off-by: Keith Packard <keithp@keithp.com>
444 commit 9454756f54312381927cb9faf1c4a6f5d8271034
445 Author: Keith Packard <keithp@keithp.com>
446 Date: Sun Jun 11 22:43:57 2017 -0700
448 altos: Create separate log format for EasyMini v2.0
450 The ADC in the STM32F0 is different than the LPC, with a range of
451 0-4095 instead of 0-32767.
453 Signed-off-by: Keith Packard <keithp@keithp.com>
455 commit ffbacb4ba9fc52de18bc54eb0d4b9e4f015ad1a4
456 Author: Keith Packard <keithp@keithp.com>
457 Date: Sun Jun 11 22:42:25 2017 -0700
459 altoslib: Missing config values now AltosLib.MISSING, not zero or negative
461 Also fix AltosConfigData.java
463 Signed-off-by: Keith Packard <keithp@keithp.com>
465 commit 8da38e5217f366a7da24a8af4a5ca620fad35df3
466 Author: Keith Packard <keithp@keithp.com>
467 Date: Sun Jun 11 22:39:53 2017 -0700
469 altoslib: Adapt to Mag sensor value ordering changes
471 The HMC5883 sensor data is ordered x, z, y. Relabel everything to
472 match that to preserve compatibility with existing firmware. With the
473 data correctly ordered, fix the labling of the axes along, across and
476 Signed-off-by: Keith Packard <keithp@keithp.com>
478 commit 2a05849c3bf8c1617409237be48802dd6fc6255b
479 Author: Keith Packard <keithp@keithp.com>
480 Date: Sun Jun 11 22:34:11 2017 -0700
482 altos: HMC5883 output order is X Z Y
484 Re-label everything to have the correct names. This doesn't actually
485 change the code at all, so the eeprom and telemetry is all compatible.
487 Matching changes on the host side will be required to actually process
488 the data correctly, of course.
490 Signed-off-by: Keith Packard <keithp@keithp.com>
492 commit fed48732828c85ae56106cd72c5aeaaad47c552f
493 Author: Keith Packard <keithp@keithp.com>
494 Date: Sun Jun 11 22:31:17 2017 -0700
496 altos: Update sensor data atomically
498 Read data into a temp variable, block interrupts, then update the
501 The bug is easy to see with the HMC5883 which has to byte-swap the
502 output of the chip, and hence can occasionally get caught with the
503 wrong byte order data.
505 Signed-off-by: Keith Packard <keithp@keithp.com>
507 commit 171adbe7db8520f5ff52a5fe2c54fe165c6f91f8
508 Author: Keith Packard <keithp@keithp.com>
509 Date: Sun Jun 11 16:11:09 2017 -0700
511 altoslib, altosuilib, altosui, telegps: Missing config values now MISSING
513 Config values that didn't apply to the current product used to get set
514 to -1, but now they're set to AltosLib.MISSING to be consistent with
515 the rest of the code. Deal with this in the UI bits.
517 Signed-off-by: Keith Packard <keithp@keithp.com>
519 commit af6ce9a142d001f3b9b83cf6527f4dc848e94d48
520 Author: Keith Packard <keithp@keithp.com>
521 Date: Thu Jun 8 20:39:06 2017 -0700
523 altoslib: Compute 'vertical acceleration' for eeprom files
525 This uses the computed orientation to find the portion of the measured
526 acceleration which is vertical and then shows that in the post-flight
529 Signed-off-by: Keith Packard <keithp@keithp.com>
531 commit 32de85691f2e4ed1430a259e05a514ad820b32d9
532 Author: Keith Packard <keithp@keithp.com>
533 Date: Thu Jun 8 20:37:58 2017 -0700
535 altoslib: Compute orientation from eeprom data files
537 This was lost in the AltosFlightSeries transformation.
539 Signed-off-by: Keith Packard <keithp@keithp.com>
541 commit 4c5acb57d7ac1abec7bb4cda9dc88c2a19767a2d
542 Author: Keith Packard <keithp@keithp.com>
543 Date: Sun May 28 16:53:43 2017 -0700
545 altoslib,altosuilib: Remove stale source files
547 These aren't built any longer
549 Signed-off-by: Keith Packard <keithp@keithp.com>
551 commit b3cd7590f35babc346ba245d32d6290f22b2a13f
552 Author: Keith Packard <keithp@keithp.com>
553 Date: Sun May 28 16:53:03 2017 -0700
555 altoslib: Check for valid pad alt before computing GPS height series
557 Signed-off-by: Keith Packard <keithp@keithp.com>
559 commit 93ec97cbae5a16d971b9e757c167bef9a5a80629
560 Author: Keith Packard <keithp@keithp.com>
561 Date: Sun May 28 16:52:28 2017 -0700
563 altoslib: Add status back to AltosFlightSeries for CSV export
565 Signed-off-by: Keith Packard <keithp@keithp.com>
567 commit 8ec59ee5a6dda114ff55a4af4669842eed5ef79a
568 Author: Keith Packard <keithp@keithp.com>
569 Date: Sun May 28 16:15:17 2017 -0700
571 altoslib: Don't record radio status values in flight series
573 Signed-off-by: Keith Packard <keithp@keithp.com>
575 commit 4b07adb395f2949dc76275d87b8af10430badb4b
576 Author: Keith Packard <keithp@keithp.com>
577 Date: Sun May 28 16:14:53 2017 -0700
579 altoslib: When no boost tick is found, just use first tick in file
581 Signed-off-by: Keith Packard <keithp@keithp.com>
583 commit 78b4bf77fca96bef2cce443ad4c9544ae83f0acc
584 Author: Keith Packard <keithp@keithp.com>
585 Date: Sun May 28 15:52:17 2017 -0700
587 altoslib: Reset transient AltosCalData values before processing data
589 Values in cal_data which are used to hold intermediate results need to
590 get reset back to their initial values before processing a series of
593 Signed-off-by: Keith Packard <keithp@keithp.com>
595 commit dcf533d5befffa4c9c872f3c3d21d11ffeb61307
596 Author: Keith Packard <keithp@keithp.com>
597 Date: Sun May 28 15:51:56 2017 -0700
599 altoslib: Don't record 'pad' state in FlightSeries
601 Signed-off-by: Keith Packard <keithp@keithp.com>
603 commit 9748d267b80e42ca52f9221900bb58602759a8d2
604 Author: Keith Packard <keithp@keithp.com>
605 Date: Sun May 28 15:28:29 2017 -0700
607 altosuilib: Set graph title to include product/serial/flight info
611 Signed-off-by: Keith Packard <keithp@keithp.com>
613 commit 9a92ccbd3e5ce640875b614ff14d549cccc2036c
614 Author: Keith Packard <keithp@keithp.com>
615 Date: Sun May 28 15:27:45 2017 -0700
617 altoslib: Only compute state stats for recorded states
619 Missing states shouldn't get stats; they 'didn't happen'.
621 Signed-off-by: Keith Packard <keithp@keithp.com>
623 commit 4161d9e9e5b4cbd71ec6d982d26ea566a69726c3
624 Author: Keith Packard <keithp@keithp.com>
625 Date: Sun May 28 15:26:51 2017 -0700
627 altoslib: Clean up gps series logging
629 Create each gps series only when data are avaiable.
630 Compute gps height series shen series is finished.
632 Signed-off-by: Keith Packard <keithp@keithp.com>
634 commit 8d6376c673af4648d494c1be71ad40380667bd25
635 Author: Keith Packard <keithp@keithp.com>
636 Date: Sun May 28 15:26:11 2017 -0700
638 altoslib: AltosFlightSeries ignore missing accel/pressure
640 missing accel often comes from invalid cal data; easier to check here.
642 Signed-off-by: Keith Packard <keithp@keithp.com>
644 commit 15e3f2dae15e41a8501e3e1d221536751af15f94
645 Author: Keith Packard <keithp@keithp.com>
646 Date: Sun May 28 15:25:35 2017 -0700
648 altoslib: Remove debug printfs
650 Signed-off-by: Keith Packard <keithp@keithp.com>
652 commit 355bb4669da05d202054b8265695e9878fd612c2
653 Author: Keith Packard <keithp@keithp.com>
654 Date: Sun May 28 15:21:53 2017 -0700
656 altoslib: Ignore invalid accel cal values
658 When both are the same, something is wrong.
660 Signed-off-by: Keith Packard <keithp@keithp.com>
662 commit bd7dd6f5adbe25708ba0276444196964f66b3c4a
663 Author: Keith Packard <keithp@keithp.com>
664 Date: Sun May 28 14:42:30 2017 -0700
666 altoslib: Check for empty gps height series
668 When the gps height series is present but empty, there won't be a max value.
670 Signed-off-by: Keith Packard <keithp@keithp.com>
672 commit 1b91ba98395a431385c9af5de77b2892fd6ccc43
673 Author: Keith Packard <keithp@keithp.com>
674 Date: Sun May 28 14:41:42 2017 -0700
676 altoslib: Use first pressure value if no ground pressure available
678 Signed-off-by: Keith Packard <keithp@keithp.com>
680 commit e0f25bcb8c036330e80c1254ab67f0bf323a4a98
681 Author: Keith Packard <keithp@keithp.com>
682 Date: Sun May 28 14:33:28 2017 -0700
684 altoslib: Handle eeprom tick wrapping
686 Need to deal with eeprom files with tick values that cross the 16-bit
688 Use 'wide_tick' to order eeprom record.
689 Remeber 'prev_tick' to order cal data time sequence.
691 Signed-off-by: Keith Packard <keithp@keithp.com>
693 commit c075227c3a3c7714fe6f9d48c14dafaf4fed8e5e
694 Author: Keith Packard <keithp@keithp.com>
695 Date: Sun May 28 14:03:51 2017 -0700
697 altosuilib: Display product/firmware version in stats table
699 Signed-off-by: Keith Packard <keithp@keithp.com>
701 commit 18f1dd64fe4ad94cbe292fffdc25167ae68c6611
702 Author: Keith Packard <keithp@keithp.com>
703 Date: Sun May 28 14:02:51 2017 -0700
705 altoslib: Adjust boost/landed time in flight series for display
707 Makes the presented values match those used in the stats computation.
709 Signed-off-by: Keith Packard <keithp@keithp.com>
711 commit 2c2eb1a15e745bb67721a1e3d84fb2fc0ce64eb1
712 Author: Keith Packard <keithp@keithp.com>
713 Date: Sun May 28 14:02:11 2017 -0700
715 altoslib: Add constants for speed/accel filtering
717 With an eye towards letting the user pick.
719 Signed-off-by: Keith Packard <keithp@keithp.com>
721 commit da914cd72411af8c36af05b13c11b9093c8a378c
722 Author: Keith Packard <keithp@keithp.com>
723 Date: Sun May 28 14:00:15 2017 -0700
725 altoslib: Create data file open helper in AltosLib
727 Use InputStream everywhere, instead of Reader.
728 Create private string input stream as java one is deprecated.
730 Signed-off-by: Keith Packard <keithp@keithp.com>
732 commit 9e1295ff74d03f940fc68e6795bf30687162a440
733 Author: Keith Packard <keithp@keithp.com>
734 Date: Sun May 28 13:58:05 2017 -0700
736 altoslib: Extract a few more values from config to cal_data
738 Make it possible to display model/version data in the flight stats table.
740 Signed-off-by: Keith Packard <keithp@keithp.com>
742 commit e4407afb514437ccd8db79ae29c6fa203140fa07
743 Author: Keith Packard <keithp@keithp.com>
744 Date: Sat May 27 23:42:52 2017 -0700
746 altoslib: Recover from a couple of API changes
750 Signed-off-by: Keith Packard <keithp@keithp.com>
752 commit c0af53c03d7945f7400496216ee259d73fb04843
753 Author: Keith Packard <keithp@keithp.com>
754 Date: Sat May 27 23:35:02 2017 -0700
756 micropeak: Use altoslib/altosuilib flight analysis bits
758 Remove custom graph and stats bits and share bits with altosui.
760 Signed-off-by: Keith Packard <keithp@keithp.com>
762 commit 9e17d3be199d14473d8a7f9b899c290518b879a6
763 Author: Keith Packard <keithp@keithp.com>
764 Date: Sat May 27 23:34:18 2017 -0700
766 altosuilib: Remove 'cal_data' param from AltosGraphNew constructor
768 Signed-off-by: Keith Packard <keithp@keithp.com>
770 commit a1d76d5568f8386c52704d69507132de23ea591f
771 Author: Keith Packard <keithp@keithp.com>
772 Date: Sat May 27 23:33:37 2017 -0700
774 altosuilib: Make AltosFlightStatsTable neater
776 Elide missing data, change titles when data are simpler
778 Signed-off-by: Keith Packard <keithp@keithp.com>
780 commit c87ba4b243a9fd838a3c97cc6a95cceb450a6ba5
781 Author: Keith Packard <keithp@keithp.com>
782 Date: Sat May 27 23:33:07 2017 -0700
784 altoslib: Provide consistent cal_data from idle and replay readers
786 Signed-off-by: Keith Packard <keithp@keithp.com>
788 commit c9e82a5929a836bc61b464507badef2df5e9d4d0
789 Author: Keith Packard <keithp@keithp.com>
790 Date: Sat May 27 23:32:29 2017 -0700
792 altoslib: Return AltosTimeValue from min/max funcs
794 Allowing the user to have both value and time.
796 Signed-off-by: Keith Packard <keithp@keithp.com>
798 commit 7ce82ea72009f7c9ac09be08aec154aec606d3c9
799 Author: Keith Packard <keithp@keithp.com>
800 Date: Sat May 27 23:31:48 2017 -0700
802 altoslib: Publish boost_time and landed_time from AltosFlightStats
804 Nice to be able to use these when displaying data.
806 Signed-off-by: Keith Packard <keithp@keithp.com>
808 commit 3516eeb77048736470de2cc2ca03985efd228d29
809 Author: Keith Packard <keithp@keithp.com>
810 Date: Sat May 27 23:30:54 2017 -0700
812 altoslib: Allow for other tick sizes
814 Use 1/100 sec by default, but provide for MicroPeak which uses a
817 Signed-off-by: Keith Packard <keithp@keithp.com>
819 commit 9329cb607e36843385e92b677f095c451d50297c
820 Author: Keith Packard <keithp@keithp.com>
821 Date: Sat May 27 23:30:13 2017 -0700
823 altoslib: Change how speed/accel are computed from pressure
825 Filter *then* differentiate. This works way better that doing things
828 Signed-off-by: Keith Packard <keithp@keithp.com>
830 commit 855a7d243a5a85728a7b23fdfe9485d4ecaf71cf
831 Author: Keith Packard <keithp@keithp.com>
832 Date: Sat May 27 16:12:31 2017 -0700
834 telegps: Get telegps application working again
836 Many minor API tweaks
838 Signed-off-by: Keith Packard <keithp@keithp.com>
840 commit b6b5c64f93fa56bcb22ea1c4279e4f754e6e6f1c
841 Author: Keith Packard <keithp@keithp.com>
842 Date: Sat May 27 00:27:04 2017 -0700
844 altosdroid: Deal with AltosState changes
846 cal data split out from altos state.
847 altos state needed to have no-arguments constructor for JSON code.
848 Also messed with voice to make it stay quiet during app startup.
850 Signed-off-by: Keith Packard <keithp@keithp.com>
852 commit 8b4dcca73c65e87462d5f8d08dbc025aa8cf08a6
853 Author: Keith Packard <keithp@keithp.com>
854 Date: Fri May 26 19:05:51 2017 -0700
856 altoslib: Use cal data temp gps for telemetry data too
858 This avoids bouncing the location data during flight
860 Signed-off-by: Keith Packard <keithp@keithp.com>
862 commit 612756291c7fb68d337c3be2e8197d39e31f3b5c
863 Author: Keith Packard <keithp@keithp.com>
864 Date: Fri May 26 18:47:18 2017 -0700
866 altosui: Remove debug printf.
868 Signed-off-by: Keith Packard <keithp@keithp.com>
870 commit 0f32d1a2e2fb5989d124189a7eb1156a00b0ad8f
871 Author: Keith Packard <keithp@keithp.com>
872 Date: Fri May 26 18:46:46 2017 -0700
874 altoslib: Trim stale bits of AltosState
876 Much of this is now in AltosCalData.
878 Signed-off-by: Keith Packard <keithp@keithp.com>
880 commit 21d864206043d2a6048cd859295623bad4d99365
881 Author: Keith Packard <keithp@keithp.com>
882 Date: Fri May 26 18:46:00 2017 -0700
884 altoslib: Preserve old GPS data during operation
886 This avoids having the lat/lon values blank out when the GPS receiver
889 Signed-off-by: Keith Packard <keithp@keithp.com>
891 commit 3d29882f5c70e627b0bbfe42c0a31d6cb5f6b6bf
892 Author: Keith Packard <keithp@keithp.com>
893 Date: Fri May 26 18:22:02 2017 -0700
895 altoslib: Get KML export working again
897 Even annotate the states with avg speed/accel for fun.
899 Signed-off-by: Keith Packard <keithp@keithp.com>
901 commit fd738d47bbc46d36698350d5450abe1125d990a3
902 Author: Keith Packard <keithp@keithp.com>
903 Date: Fri May 26 17:14:29 2017 -0700
905 altoslib: Make sure AltosFlightSeries is filled in before use
907 After all of the raw data is captured, the derived data needs to be
908 computed by calling the 'finish' function.
910 Signed-off-by: Keith Packard <keithp@keithp.com>
912 commit af3c7938f24dcf5ffbce024ed596655b26282cf1
913 Author: Keith Packard <keithp@keithp.com>
914 Date: Fri May 26 17:13:43 2017 -0700
916 altosui: Remove --cat mode
918 Wasn't documented, didn't do much useful.
920 Signed-off-by: Keith Packard <keithp@keithp.com>
922 commit aa0300f11fe5b7f1d3e548e29dc809b803aa1f7a
923 Author: Keith Packard <keithp@keithp.com>
924 Date: Fri May 26 00:51:37 2017 -0700
926 altoslib: Make AltosReplayReader start synchronously enough to track states
928 The Altos UI needs to see 'pad' state and then 'boost' state so that
929 it will automatically switch tabs during the flight. When reading from
930 eeprom files, the only way that is going to happen is if the reader
931 thread waits until the UI has definitely seen 'pad' state, which we do
932 by simply delaying the reader thread until after that has happened.
934 Signed-off-by: Keith Packard <keithp@keithp.com>
936 commit 2e82051a6aaaccf1e8a242f9c8141e4167e652d2
937 Author: Keith Packard <keithp@keithp.com>
938 Date: Fri May 26 00:20:17 2017 -0700
940 altoslib,altosuilib,altosui: Get stats and replay working again.
942 Stats are really easy with all of the data in memory.
943 Replay takes a special thread to run the data and dump it into a
946 Signed-off-by: Keith Packard <keithp@keithp.com>
948 commit 222158581887b5f9e8b9843d14321c313fa023fa
949 Author: Keith Packard <keithp@keithp.com>
950 Date: Thu May 25 22:36:05 2017 -0700
952 altoslib/altosuilib/altosui: More work towards using AltosFlightSeries for analysis
954 Graphing and CSV seem complete now; stats still missing lots of stuff.
956 Signed-off-by: Keith Packard <keithp@keithp.com>
958 commit 4d497c1be534e2b206edec3c096198c8ea64cebe
959 Author: Keith Packard <keithp@keithp.com>
960 Date: Thu May 25 17:29:31 2017 -0700
962 altosui: Adapt to AltosFlightSeries for data analysis
964 Signed-off-by: Keith Packard <keithp@keithp.com>
966 commit e6eb659b0e984515a33b3ddabfe8325742a952da
967 Author: Keith Packard <keithp@keithp.com>
968 Date: Thu May 25 17:26:49 2017 -0700
970 altosuilib: Adapt to AltosFlightSeries data processing plan
972 Replace use of list of AltosState with AltosFlightSeries to improve
975 Signed-off-by: Keith Packard <keithp@keithp.com>
977 commit f26cfe417c6977cf1e7e75a4f050e25f64d41859
978 Author: Keith Packard <keithp@keithp.com>
979 Date: Thu May 25 17:24:14 2017 -0700
981 altoslib: Do data analysis on raw values rather than AltosState
983 Use AltosFlightSeries instead of a sequence of AltosState records when
984 processing saved data. This provides a better way of doing filtering
987 Signed-off-by: Keith Packard <keithp@keithp.com>
989 commit 7600116a191b3ac252a0f716d200d0e0b3500987
990 Author: Keith Packard <keithp@keithp.com>
991 Date: Tue May 23 14:53:55 2017 -0700
993 altoslib: Don't store computed telemetry fields
995 These values are only needed once, so there's no reason to save them.
997 Signed-off-by: Keith Packard <keithp@keithp.com>
999 commit abcedc4b49ce77607ef95abf69479dc1d2c1b76d
1000 Author: Keith Packard <keithp@keithp.com>
1001 Date: Mon May 22 14:36:46 2017 -0700
1003 doc: Add telegps outline
1005 Signed-off-by: Keith Packard <keithp@keithp.com>
1007 commit e8794ab1d512418e312a1a779777119e20dc8c38
1008 Author: Bdale Garbee <bdale@gag.com>
1009 Date: Fri May 12 12:58:18 2017 -0600
1011 add thrust as a graphable time series type
1013 commit bbe0c2e0a3216f40f49af34b756330ba28d7c7e1
1014 Author: Keith Packard <keithp@keithp.com>
1015 Date: Fri May 12 00:01:14 2017 -0700
1017 altosui: Hacks to plug into the new graph stuff
1019 Signed-off-by: Keith Packard <keithp@keithp.com>
1021 commit 96de483d745ea0ef95326de2847a2534f7057846
1022 Author: Keith Packard <keithp@keithp.com>
1023 Date: Thu May 11 17:16:56 2017 -0700
1025 altosuilib: Start creating new graph interface that takes time series data
1027 Replace the AltosState interface so the graph can get better data, and
1028 can be used for more stuff.
1030 Signed-off-by: Keith Packard <keithp@keithp.com>
1032 commit 258808d296aeadaf150fa9b07e9c99a6bf1ca7c8
1033 Author: Keith Packard <keithp@keithp.com>
1034 Date: Thu May 11 17:14:51 2017 -0700
1036 altoslib: Create new abstraction underneath AltosState for recording values
1038 Provides a way for the graph API to see raw data values, instead of
1039 those cooked by AltosState.
1041 Signed-off-by: Keith Packard <keithp@keithp.com>
1043 commit a9aa2d3558c77eb444223eaa747c75916bc7bac1
1044 Author: Bdale Garbee <bdale@gag.com>
1045 Date: Thu May 11 12:14:41 2017 -0600
1047 altoslib: include TimeSeries code in build
1049 commit 81eaca2eac0b51a0017379187e042729b87e5f4d
1050 Author: Keith Packard <keithp@keithp.com>
1051 Date: Wed May 10 15:18:13 2017 -0700
1053 altosuilib: Add time series subclass with data for generating a plot
1055 Signed-off-by: Keith Packard <keithp@keithp.com>
1057 commit a50c8b40319c5d176d40a816111edd9a8dd48bc9
1058 Author: Keith Packard <keithp@keithp.com>
1059 Date: Wed May 10 15:16:34 2017 -0700
1061 altoslib: Add initial time series functions
1063 Provides the basis for offering a sequence of time/value datasets for
1064 graphing instead of using AltosState.
1066 Signed-off-by: Keith Packard <keithp@keithp.com>
1068 commit e37f9719745b7fba5bfb1b1517ce7b70efa7a3a2
1069 Author: Keith Packard <keithp@keithp.com>
1070 Date: Fri May 19 21:36:01 2017 -0700
1072 altos/telebt-v3.0: Add send_packet command
1074 Useful for doing host-based RF protocols.
1076 Signed-off-by: Keith Packard <keithp@keithp.com>
1078 commit 6e3b7206f9ab2f76089553d7c881a96e0204a4a3
1079 Author: Keith Packard <keithp@keithp.com>
1080 Date: Fri May 19 21:35:05 2017 -0700
1082 altos/telebt-v4.0: Remove HAS_POLLCHAR
1084 This isn't being used anymore.
1086 Signed-off-by: Keith Packard <keithp@keithp.com>
1088 commit cbec54fc682774f096dc2e43ef9a4796be123341
1089 Author: Keith Packard <keithp@keithp.com>
1090 Date: Fri May 19 21:31:52 2017 -0700
1092 ao-bringup: turnon_chaoskey: search for ao-usbload in PATH
1094 Don't assume it's in /usr/bin
1096 Signed-off-by: Keith Packard <keithp@keithp.com>
1098 commit 2cf4d76745713051c6ee9cf8d4b386c25f822433
1099 Author: Keith Packard <keithp@keithp.com>
1100 Date: Fri May 19 21:30:29 2017 -0700
1102 altos/telefireone-v1.0: Fix confusing defines about config storage
1104 USE_INTERNAL_FLASH is about storing config data in internal flash, and
1105 should be on for telefireone.
1107 Signed-off-by: Keith Packard <keithp@keithp.com>
1109 commit 65fd7b23b1a8861afd74e4e42ce1918c059fbff1
1110 Author: Keith Packard <keithp@keithp.com>
1111 Date: Mon May 15 12:13:35 2017 -0700
1113 altoslib: Set default accel cal for old TeleMetrum v1 files
1115 Before we stashed the config data in the log file, altoslib had to
1116 "known" what the accelerometer calibration values should be set
1119 Signed-off-by: Keith Packard <keithp@keithp.com>
1121 commit 2fd949bb29d94b1a762ff707c98a8498ea508bb2
1122 Author: Keith Packard <keithp@keithp.com>
1123 Date: Mon May 15 12:12:57 2017 -0700
1125 altoslib: Set default log format to FULL until we learn different
1127 Ancient log files don't even have a product name in them, so we'll
1128 guess TeleMetrum v1.
1130 Signed-off-by: Keith Packard <keithp@keithp.com>
1132 commit 404ee357d59ef4732068ec0e56a9c93ac885ea0f
1133 Author: Keith Packard <keithp@keithp.com>
1134 Date: Mon May 15 12:11:31 2017 -0700
1136 altoslib: Mark AltosConfigData fields as MISSING until set
1138 Instead of using -1 or 0 randomly, use MISSING consistently.
1140 Signed-off-by: Keith Packard <keithp@keithp.com>
1142 commit d0053c5e2cc7b75b642ff4727a1ef874d323db9d
1143 Author: Bdale Garbee <bdale@gag.com>
1144 Date: Mon May 15 10:16:33 2017 -0600
1146 re-brand current telefiretwo product as telefireone
1148 commit ab50a1467bac0234062bc8c0a17783f1730aa981
1149 Author: Keith Packard <keithp@keithp.com>
1150 Date: Mon May 15 08:59:52 2017 -0700
1152 altos/ao_rn4678: Send '$$$' for new devices. Fix name setting code.
1154 New devices won't respond to the cmd pin we have configured, so get
1155 them to command mode by sending the $$$ string. Somehow I'd botched
1156 the name setting code and hadn't caught it as I hadn't tried a new
1159 Signed-off-by: Keith Packard <keithp@keithp.com>
1161 commit f132a22995235f3002e4a2bb8771c9b5738efb30
1162 Author: Keith Packard <keithp@keithp.com>
1163 Date: Mon May 15 08:58:21 2017 -0700
1165 altos/stmf: Fix up serial port flow control configuration bits
1167 Compute whether any sw/hw flow control is in use.
1168 Compute whether hw flow control is in use as a separate value.
1170 These make the code a bit easier to follow.
1172 Signed-off-by: Keith Packard <keithp@keithp.com>
1174 commit 2536640b852feff41975d2da50befdda91ee6303
1175 Author: Keith Packard <keithp@keithp.com>
1176 Date: Sat May 13 15:24:20 2017 -0700
1178 libaltos: Add support for TeleBT-v4.0 bluetooth channel change
1180 The RN4678 in TeleBT v4.0 uses channel 6 instead of channel 1.
1181 There is code in the linux bits which discovers this value, but that
1182 crashes when run under java for unknown reasons.
1184 Signed-off-by: Keith Packard <keithp@keithp.com>
1186 commit 91c2af9ac1387842a5fdc61dbc9e26e04de2cdd0
1187 Author: Keith Packard <keithp@keithp.com>
1188 Date: Sat May 13 15:21:40 2017 -0700
1190 altoslib: Handle TeleBT v4.0 battery voltage
1192 The device reports raw ADC values, which mean AltosLib needs to
1195 Signed-off-by: Keith Packard <keithp@keithp.com>
1197 commit 7e0857120b8633c22603a9f59c5519e5a92759e9
1198 Author: Keith Packard <keithp@keithp.com>
1199 Date: Sat May 13 15:19:25 2017 -0700
1201 altos/telebt-v4.0: Hook up RN4678 module
1203 We've switched from the BM70 to this module which offers a virtual
1204 serial channel over both BT and BTLE.
1206 Signed-off-by: Keith Packard <keithp@keithp.com>
1208 commit 6442e2ad6af4b337348aa2ce25abc91c05765826
1209 Author: Keith Packard <keithp@keithp.com>
1210 Date: Sat May 13 15:17:41 2017 -0700
1212 altos: Add RN4678 Bluetooth module driver
1214 This works much like the old BTM module, but supports both bluetooth
1215 and bluetooth LE. I've poked at it briefly over BTLE to see that it
1216 appears to have the right name, but haven't attempted to communicate
1219 Signed-off-by: Keith Packard <keithp@keithp.com>
1221 commit 9c6727d39cc1feae3bd0504bcbc910ae832e3651
1222 Author: Keith Packard <keithp@keithp.com>
1223 Date: Fri May 12 01:35:52 2017 -0700
1225 Use SDP to locate the service channel on Linux
1227 Signed-off-by: Keith Packard <keithp@keithp.com>
1229 commit 5ad767dd6b6c8d99bbe4b688e8cdbc230e01a7dc
1230 Author: Keith Packard <keithp@keithp.com>
1231 Date: Wed May 10 14:47:15 2017 -0700
1233 altoslib: Another bit of altoslib for the old eeprom stuff
1235 Signed-off-by: Keith Packard <keithp@keithp.com>
1237 commit 0080e61e5f2e20ce45041e29dc039d042aa7f76e
1238 Author: Bdale Garbee <bdale@gag.com>
1239 Date: Thu May 11 11:27:30 2017 -0600
1241 have AltosGraph use new AltosPressure to get imperial_units working
1243 commit 9d05af2147c0eb6dc63c4d4dc1d9a3c31f480aef
1244 Author: Bdale Garbee <bdale@gag.com>
1245 Date: Thu Apr 27 15:27:49 2017 -0600
1247 initial tests made using Terry's stand with a 2500psi sensor
1249 commit f753ad3b9d0f3dc9794e5dd097063aab6cf9bdc4
1250 Author: Bdale Garbee <bdale@gag.com>
1251 Date: Thu Apr 27 12:57:49 2017 -0600
1253 telefiretwo: don't try to record pre-burn sensor values in FLIGHT record
1255 commit 7e2b92ccb56b713fd18af5769156331ead8dc7ed
1256 Author: Bdale Garbee <bdale@gag.com>
1257 Date: Thu Apr 27 15:21:53 2017 -0600
1259 have git ignore ao-bringup/cal_values
1261 commit 238e56e0f6ab2f623e0faf25298b38dc3a4aff74
1262 Author: Bdale Garbee <bdale@gag.com>
1263 Date: Wed May 10 22:19:38 2017 -0600
1265 telegps: use new eeprom reading code
1267 commit 0641326842bffbf4b3ae69459ca540131cb64e59
1268 Author: Keith Packard <keithp@keithp.com>
1269 Date: Tue May 9 02:31:04 2017 -0700
1271 altoslib: Remove older eeprom handling code
1273 The new code appears to work in minor testing; time to try it all the time.
1275 Signed-off-by: Keith Packard <keithp@keithp.com>
1277 commit 17e20a6d2dab1f4bd1375bfd9e1c5230ee2c1119
1278 Author: Keith Packard <keithp@keithp.com>
1279 Date: Tue May 9 02:11:25 2017 -0700
1281 altoslib: Save eeprom data in new .eeprom format
1283 A chunk of json for the config values followed by hex numbers for the data.
1285 Signed-off-by: Keith Packard <keithp@keithp.com>
1287 commit e311cefae19d7dc71fb10e9a943daa8e2313c8f8
1288 Author: Keith Packard <keithp@keithp.com>
1289 Date: Tue May 9 00:22:35 2017 -0700
1291 altosui: Use new eeprom reading code
1293 This just means using different file opening functions, which then
1294 get matched by AltosEepromFile and sent off to the new eeprom code.
1296 Signed-off-by: Keith Packard <keithp@keithp.com>
1298 commit c00a80f040de85be18c9d5150cb0661e08158c3d
1299 Author: Keith Packard <keithp@keithp.com>
1300 Date: Tue May 9 00:20:23 2017 -0700
1302 altoslib: Hack up AltosEepromFile to support new eeprom code
1304 Redirect when asked to read an eeprom file using the "Reader" type.
1306 Signed-off-by: Keith Packard <keithp@keithp.com>
1308 commit e14b0ea82420e769cdf9ffd621b7f8d4944ef44d
1309 Author: Keith Packard <keithp@keithp.com>
1310 Date: Tue May 9 00:19:51 2017 -0700
1312 altoslib: Compile AltosForce and AltosPressure
1314 Useful if you want to actually use these.
1316 Signed-off-by: Keith Packard <keithp@keithp.com>
1318 commit e67a5c6ffa7174d66e985483fab4bf52ccaea5ca
1319 Author: Keith Packard <keithp@keithp.com>
1320 Date: Tue May 9 00:19:05 2017 -0700
1322 altoslib: Add new eeprom management code
1324 Generic .eeprom file parsing, simpler per-type eeprom data extraction.
1326 Signed-off-by: Keith Packard <keithp@keithp.com>
1328 commit 44c0cecabb3a815dbf7f52e6b2dad364cc72b60c
1329 Author: Keith Packard <keithp@keithp.com>
1330 Date: Tue May 9 00:17:40 2017 -0700
1332 altoslib: Add set_config_data to AltosState
1334 Initialize all config-data related state values.
1336 Signed-off-by: Keith Packard <keithp@keithp.com>
1338 commit d3c1ce741c54c5640b7e1b07d86be1ce0951944b
1339 Author: Keith Packard <keithp@keithp.com>
1340 Date: Tue May 9 00:17:11 2017 -0700
1342 altoslib: Add empty constructor for AltosPyro for JSON
1344 Signed-off-by: Keith Packard <keithp@keithp.com>
1346 commit c17b78e60c340c8a3e3d6f9b875667c66216647a
1347 Author: Keith Packard <keithp@keithp.com>
1348 Date: Tue May 9 00:16:36 2017 -0700
1350 altoslib: Add Ms5607 constructor that just takes config_data
1352 Use for making Ms5607 from eeprom files.
1354 Signed-off-by: Keith Packard <keithp@keithp.com>
1356 commit d97c4d2f6de2981c2efd7bfbc9f5f9649987b854
1357 Author: Keith Packard <keithp@keithp.com>
1358 Date: Tue May 9 00:14:33 2017 -0700
1360 altoslib: Add AltosForce and AltosPressure units
1362 Useful for TeleFireTwo.
1364 Signed-off-by: Keith Packard <keithp@keithp.com>
1366 commit 975751b604784e86b2ddb944a72b55ca3f14cf63
1367 Author: Keith Packard <keithp@keithp.com>
1368 Date: Tue May 9 00:13:16 2017 -0700
1370 altoslib: Hide members from json by prefixing with __
1372 This lets some structures which would otherwise recurse (and crash)
1373 get converted to json, assuming the hidden members aren't relevant.
1375 Signed-off-by: Keith Packard <keithp@keithp.com>
1377 commit 08da6f2100c0241c70554427e53b7e237dfda16c
1378 Author: Keith Packard <keithp@keithp.com>
1379 Date: Thu May 4 22:09:31 2017 -0700
1381 altos/telemini-v3.0: Use dbg connector pin 5 for force bootloader
1383 This works way better than attempting to use the beeper pin.
1385 Signed-off-by: Keith Packard <keithp@keithp.com>
1387 commit 178d7c0aa32267ea71be2ccff146ea6ff990d7dc
1388 Author: Keith Packard <keithp@keithp.com>
1389 Date: Thu May 4 22:07:51 2017 -0700
1391 altos/telemini-v3.0: Add 'recovery mode' on PA14 (pin 6 on dbg header)
1393 Connect this pin to GND (pin 3) and TeleMini will come up with N0CALL
1394 at 434.550MHz using the original frequency calibration. Helps recover
1395 from accidental mis-configuration.
1397 Signed-off-by: Keith Packard <keithp@keithp.com>
1399 commit 3b4e3189211801c6f8f41c5d08c5a8551f28976c
1400 Author: Keith Packard <keithp@keithp.com>
1401 Date: Thu May 4 22:06:16 2017 -0700
1403 altos: Move 'ao_force_freq' to ao_config.c
1405 Instead of having to add it to each product using this variable.
1407 Signed-off-by: Keith Packard <keithp@keithp.com>
1409 commit e76d543a203f210683cb77df2b9bbff1a9f4b381
1410 Author: Keith Packard <keithp@keithp.com>
1411 Date: Thu May 4 22:04:57 2017 -0700
1413 altos: Make CDC ACM 'line coding' public
1415 This allows other systems to see what baud rate the host has requested.
1417 Signed-off-by: Keith Packard <keithp@keithp.com>
1419 commit a84bc1bd8dd19d47709614b0c2639958d09fbf7e
1420 Author: Miguel Benavidez <miguelbenavidez1145@gmail.com>
1421 Date: Thu May 4 11:29:33 2017 -0700
1423 altoslib: Fix MS5607 raw data to pressure conversion function
1425 The MS5607 sensor provides raw 24-bit ADC outputs to the host along
1426 with calibration constants necessary to convert those into temperature
1427 and pressure values. The datasheet has a flow chart indicating how to
1428 perform this computation. There are two parts of the algorithm which
1429 adjust the result based on the ambient temperature, temperatures below
1430 20°C get one compensation factor and temperatures below -15°C get an
1433 The ground station version of this function mistakenly applied the
1434 second compensation factor for all temperatures below +15°C. The
1435 result was that the pressure computed on the ground when the measured
1436 temperature was between -15°C and +15°C was incorrect, resulting in
1437 altitudes which were several hundred meters off in some situations.
1439 This can be seen when displaying any .eeprom (or .mpd) data
1440 files for flights with temperatures in that range. The datafiles
1441 themselves are not corrupted, only the display operation.
1443 This is not seen for telemetry data, where the pressure and associated
1444 altitude is computed in the airframe using the correct algorithm.
1446 Thanks much to Miguel and the rest of the Vanguard School TARC team
1447 for identifying the problem and providing this fix.
1449 Signed-off-by: Keith Packard <keithp@keithp.com>
1451 commit 643f7508233f492a86f541b4f4fb20531b306ae0
1452 Author: Bdale Garbee <bdale@gag.com>
1453 Date: Wed May 3 11:47:33 2017 -0600
1455 altos/telebt-v4.0 Set CPU clock to 48Mhz instead of 96Mhz
1457 commit a6e1010f7519c5d1243e8950df6f022576152a87
1458 Author: Keith Packard <keithp@keithp.com>
1459 Date: Tue May 2 11:49:21 2017 -0700
1461 altos/telegps-v2.0: Disable external serial port to save ROM
1463 We'll have to rewrite some of the serial code to avoid sucking memory here.
1465 Signed-off-by: Keith Packard <keithp@keithp.com>
1467 commit 475940cb8032c76622c64dd0bd30f31c0b0f6cf4
1468 Author: Keith Packard <keithp@keithp.com>
1469 Date: Tue May 2 11:35:18 2017 -0700
1471 altos/stmf0: Add code to use SoC flash as storage
1473 Signed-off-by: Keith Packard <keithp@keithp.com>
1475 commit de36a1e1a2e568dd606000f169fef111e8c08b15
1476 Author: Keith Packard <keithp@keithp.com>
1477 Date: Sun Apr 30 17:42:23 2017 -0700
1479 altos/telegps-v2.0: Reorder initialization sequence
1481 This tries to be a bit more logical about the board initialization
1482 sequence, starting with the OS, then the support hardware, internal
1483 drivers, external drivers and finally services.
1485 Signed-off-by: Keith Packard <keithp@keithp.com>
1487 commit 9a10a209749d1f375d02ce9af68ccbb0b3a91ba2
1488 Author: Keith Packard <keithp@keithp.com>
1489 Date: Sun Apr 30 17:41:21 2017 -0700
1491 altos/telegps-v2.0: CC1200 CS is PA1, not PA5.
1493 Also remove some unneeded config of an additional pin for MCU wakeup,
1494 which the CC1120 needs but the CC1200 does not.
1496 Signed-off-by: Keith Packard <keithp@keithp.com>
1498 commit 99c5c47d9288721a1fe009698393c67dd36a16fb
1499 Author: Keith Packard <keithp@keithp.com>
1500 Date: Sun Apr 30 17:40:26 2017 -0700
1502 altos/telegps-v2.0: GPS chip is connected to serial 2, not serial 1
1504 Turn on serial 2 and use it for GPS.
1506 Signed-off-by: Keith Packard <keithp@keithp.com>
1508 commit 7ace97885c4924de049ff20a40fd9ec234b6577b
1509 Author: Keith Packard <keithp@keithp.com>
1510 Date: Sun Apr 30 17:39:54 2017 -0700
1512 altos/telegps-v2.0: Remove some unneeded defines
1514 HAS_MS5607 and HAS_RADIO_RECV aren't useful.
1516 Signed-off-by: Keith Packard <keithp@keithp.com>
1518 commit 0f883aa1b1a1db61113489c260f44c09d5216bc7
1519 Author: Keith Packard <keithp@keithp.com>
1520 Date: Sun Apr 30 17:39:03 2017 -0700
1522 altos/telegps-v2.0: Battery ADC input is on PB1, not PA0
1526 Signed-off-by: Keith Packard <keithp@keithp.com>
1528 commit 979a1b8d80189e56745316da3de9288ee32e102c
1529 Author: Keith Packard <keithp@keithp.com>
1530 Date: Sun Apr 30 17:38:21 2017 -0700
1532 altos/telegps-v2.0: Set CPU clock to 48MHz instread of 96MHz
1534 Turns out the CPU doesn't run well at that speed. Who would have guessed?
1536 Signed-off-by: Keith Packard <keithp@keithp.com>
1538 commit 671e00f9fa75d75b5f15d8cc558a46a9651690fa
1539 Author: Keith Packard <keithp@keithp.com>
1540 Date: Sun Apr 30 17:37:45 2017 -0700
1542 altos/telegps-v2.0: Adjust LED config
1544 The LED is green, not red. Use it for panic and GPS lock.
1546 Signed-off-by: Keith Packard <keithp@keithp.com>
1548 commit ec963d358895ae46af63d2a6e9a32bdfb4d631c0
1549 Author: Keith Packard <keithp@keithp.com>
1550 Date: Sun Apr 30 17:35:28 2017 -0700
1552 altos/kernel: Allow TeleGPS v2 to scale battery in telem
1554 TeleGPS v2 uses the STMF0 processor instead of the LPC11, which means
1555 the ADC range is different. As the raw ADC value was getting sent to
1556 represent battery voltage in the config packet, we need to scale that
1557 for the different processor. This patch allows that to happen.
1559 Signed-off-by: Keith Packard <keithp@keithp.com>
1561 commit 34fda7bff76d59bcfbcec6a44275829c45e42189
1562 Author: Keith Packard <keithp@keithp.com>
1563 Date: Sun Apr 30 17:34:08 2017 -0700
1565 src/kernel: Add GPS lock blink LED to tracker code
1567 Blinks an LED briefly once every three seconds when GPS is locked.
1569 Signed-off-by: Keith Packard <keithp@keithp.com>
1571 commit c02adbdd8f41c1aa1fdf4748c910d23e5485108f
1572 Author: Keith Packard <keithp@keithp.com>
1573 Date: Fri Apr 28 00:08:51 2017 -0700
1575 altos: Build MicroPeak-v2.0 by default
1577 Signed-off-by: Keith Packard <keithp@keithp.com>
1579 commit 217d77dadbef4192d2f32e290a5c5f50159f2e0d
1580 Author: Keith Packard <keithp@keithp.com>
1581 Date: Fri Apr 28 00:07:03 2017 -0700
1583 altos/micropeak-v2.0: Add initial MicroPeak v2 support
1585 stm32f042 processor replaces the attiny85 and adds USB support along
1588 Signed-off-by: Keith Packard <keithp@keithp.com>
1590 commit 65bb93f69b2f420281b67d62a9ee3cf30874fb7c
1591 Author: Keith Packard <keithp@keithp.com>
1592 Date: Fri Apr 28 00:05:01 2017 -0700
1594 altos/stmf0: Add support for HSI clocked applications
1596 And allow application space to be limited to less than available flash.
1598 Signed-off-by: Keith Packard <keithp@keithp.com>
1600 commit d197adf353ec5503c72a4554aca2a463bb685932
1601 Author: Keith Packard <keithp@keithp.com>
1602 Date: Fri Apr 28 00:04:33 2017 -0700
1604 altos/stmf0: Fix HSI clock rate.
1606 It's 8MHz, not 16MHz
1608 Signed-off-by: Keith Packard <keithp@keithp.com>
1610 commit 2b3c79e9d88c9bb0b5aca4bc20fa942ebcfe40fc
1611 Author: Keith Packard <keithp@keithp.com>
1612 Date: Fri Apr 28 00:04:14 2017 -0700
1614 altos/stmf0: Make sure systick is off before programming
1616 Signed-off-by: Keith Packard <keithp@keithp.com>
1618 commit ac3fc7da669f58c7abd25b0ca8cc425238b84217
1619 Author: Keith Packard <keithp@keithp.com>
1620 Date: Fri Apr 28 00:02:54 2017 -0700
1622 altos/stmf0: Compute serial baud rate registers at runtime
1624 This allows the system clock to vary at runtime, instead of requiring
1627 Signed-off-by: Keith Packard <keithp@keithp.com>
1629 commit 7d4f7880b0934c208df65cea8b0f549f32f1c7d2
1630 Author: Keith Packard <keithp@keithp.com>
1631 Date: Fri Apr 28 00:02:02 2017 -0700
1633 altos/micropeak: Update ao_micropeak.h for MicroPeak v2
1635 Allow different sample times, add constant for MicroPeak v2 log files.
1637 Signed-off-by: Keith Packard <keithp@keithp.com>
1639 commit 4896582922ba5227da031c762221c8c7eafc2415
1640 Author: Keith Packard <keithp@keithp.com>
1641 Date: Fri Apr 28 00:01:18 2017 -0700
1643 altos/micropeak: Use existing ao_ms5607_current variable
1645 Instead of defining another.
1647 Signed-off-by: Keith Packard <keithp@keithp.com>
1649 commit 4d4675cbadcb0ab9df8f6d5155797dca400315c0
1650 Author: Keith Packard <keithp@keithp.com>
1651 Date: Fri Apr 28 00:00:11 2017 -0700
1653 altos: Add header file for ao_report_micro.c
1655 Defines the functions in this file.
1657 Signed-off-by: Keith Packard <keithp@keithp.com>
1659 commit 75c26a26e905e3d4f141badfcb6ec6995ed58213
1660 Author: Keith Packard <keithp@keithp.com>
1661 Date: Thu Apr 27 23:59:27 2017 -0700
1663 altos: Add 100ms constants for baro Kalman filter
1665 MicroPeak v2 uses this rate.
1667 Signed-off-by: Keith Packard <keithp@keithp.com>
1669 commit 8c755f52db40bb845ab236ff400f35888053e616
1670 Author: Keith Packard <keithp@keithp.com>
1671 Date: Thu Apr 27 23:52:29 2017 -0700
1673 altos: Adapt micro log to MicroPeak V3
1675 Allow use of regular serial API for sending data.
1676 Allow application to specify different storage size.
1678 Signed-off-by: Keith Packard <keithp@keithp.com>
1680 commit 2245d9e3178404a49a6787656319fa13f0cc1a51
1681 Author: Keith Packard <keithp@keithp.com>
1682 Date: Thu Apr 27 23:51:21 2017 -0700
1684 altos/ms5607: Allow applications to not use the normal data ring and thread
1686 MicroPeak V2 has tasks, but doesn't want to use another thread just
1689 Signed-off-by: Keith Packard <keithp@keithp.com>
1691 commit 6813f48fe02ecc5902f386234535ea76af71a764
1692 Author: Keith Packard <keithp@keithp.com>
1693 Date: Thu Apr 27 23:50:12 2017 -0700
1695 micropeak: Add MicroPeak V2 to the download code
1697 Add the MicroPeak V2 sample rate so the timing values are correct.
1699 Signed-off-by: Keith Packard <keithp@keithp.com>
1701 commit a59c3afa23e876362dc8c80559015ce361627f05
1702 Author: Keith Packard <keithp@keithp.com>
1703 Date: Tue Apr 25 23:56:41 2017 -0700
1705 Fake thrust data as accel for now
1707 commit 07956b102bd4b7e4dd0ec20e0a4fbe3779acfdd9
1708 Author: Keith Packard <keithp@keithp.com>
1709 Date: Tue Apr 25 21:27:40 2017 -0700
1711 ao-bringup: make turnon_telemini search for ao_usbload on $PATH
1713 I've uninstalled the altos package as it has a version of ao-usbload
1714 which is too old for telemini.
1716 Signed-off-by: Keith Packard <keithp@keithp.com>
1718 commit 2b014fe9fa64e7aead586bc682251346d000c8cc
1719 Author: Bdale Garbee <bdale@gag.com>
1720 Date: Tue Apr 25 23:06:34 2017 -0600
1722 telemini-v3.0: make git ignore build products
1724 commit b662ca4edd67a2e1e5712f97fb1ce909f19af625
1725 Author: Bdale Garbee <bdale@gag.com>
1726 Date: Tue Apr 25 23:01:53 2017 -0600
1728 ao-tools/ao-makebin: have git ignore built object
1730 commit bd489b96b060c8276bd7709ac55c306aad02374c
1731 Author: Bdale Garbee <bdale@gag.com>
1732 Date: Tue Apr 25 23:00:34 2017 -0600
1734 telebt-v4.0: make git ignore products of build
1736 commit 6ed63dfbf0a0205df17afb2ea54afad441a69604
1737 Author: Bdale Garbee <bdale@gag.com>
1738 Date: Tue Apr 25 22:58:00 2017 -0600
1740 telegps-v2.0: slow down radio chip spi speed
1742 commit 08d73614c0c0859bc097c1d7d423bac4cf313512
1743 Author: Bdale Garbee <bdale@gag.com>
1744 Date: Tue Apr 25 22:28:28 2017 -0600
1746 telebt-v4.0: slow down SPI speed to radio chip
1748 commit 16f171350619b9d3da614625e27c092b144c3097
1749 Author: Bdale Garbee <bdale@gag.com>
1750 Date: Tue Apr 25 22:26:12 2017 -0600
1752 telebt-v4.0: turn off pin remapping in the flash loader, too
1754 commit 514c05c287f0be390cfdf3491169c830cad8bfe7
1755 Author: Bdale Garbee <bdale@gag.com>
1756 Date: Tue Apr 25 22:12:42 2017 -0600
1758 telebt-v4.0: don't need the USB pin remapping flag
1760 commit 1f723d31312be6dea3ef46e265c17c4d361d7099
1761 Author: Bdale Garbee <bdale@gag.com>
1762 Date: Tue Apr 25 22:10:41 2017 -0600
1764 telebt-v4.0: add ao_send_packet
1766 commit 30e6e087b639c6d7ec75f21ba8c6fcf6ad50fffe
1767 Merge: b2a5118d 75881968
1768 Author: Bdale Garbee <bdale@gag.com>
1769 Date: Tue Apr 25 22:04:22 2017 -0600
1771 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
1773 commit b2a5118dededd1ed6b1326e82168214cb0b24821
1774 Author: Bdale Garbee <bdale@gag.com>
1775 Date: Tue Apr 25 22:03:56 2017 -0600
1777 telebt-v4.0: initial creation of firmware for new product, no BT yet
1779 commit 75881968ffb6bfd4e920cac4aa15d8d188eda119
1780 Author: Keith Packard <keithp@keithp.com>
1781 Date: Mon Apr 24 17:06:01 2017 -0700
1783 altos/nucleo-32: Add lisp save/restore
1785 Signed-off-by: Keith Packard <keithp@keithp.com>
1787 commit 97cf9df882291b9e494b2f64f84eb37357a6ab31
1788 Author: Keith Packard <keithp@keithp.com>
1789 Date: Mon Apr 24 17:01:43 2017 -0700
1791 altos/telegps-v2.0: git ignore make results
1793 Signed-off-by: Keith Packard <keithp@keithp.com>
1795 commit a324ce39bb7abadc70785a6fdce449c9441f87b2
1796 Author: Keith Packard <keithp@keithp.com>
1797 Date: Mon Apr 24 17:00:10 2017 -0700
1801 commit 7064aa67189108c4ade3d2e7eac9a704b7849626
1802 Author: Keith Packard <keithp@keithp.com>
1803 Date: Mon Apr 24 22:26:31 2017 -0700
1805 Update releasing to add more firmware bits
1807 Also, document what is needed to get a new product into the build
1809 Signed-off-by: Keith Packard <keithp@keithp.com>
1811 commit f0f69ab309869e914536d674d49d68a8dd31b080
1812 Author: Keith Packard <keithp@keithp.com>
1813 Date: Mon Apr 24 22:25:57 2017 -0700
1815 altosui: Add TeleMini v3.0 and EasyMini v2.0 firmware to windows package
1817 Sigh. This can't easily be done from Makefile.am
1819 Signed-off-by: Keith Packard <keithp@keithp.com>
1821 commit 8b9557f7946703888be97633cf3e54216c652f30
1822 Author: Keith Packard <keithp@keithp.com>
1823 Date: Mon Apr 24 22:25:14 2017 -0700
1825 altos/ao-bringup: Switch turnon_easymini to v2.0
1827 Not planning on buildin more v1.0 boards
1829 Signed-off-by: Keith Packard <keithp@keithp.com>
1831 commit 0d685ac0916229c23a299b11dad48af749eb27ea
1832 Author: Keith Packard <keithp@keithp.com>
1833 Date: Mon Apr 24 22:01:04 2017 -0700
1835 altosui: Ship telemini v3.0 firmware
1837 Even though we don't provide a cable for reflashing yet
1839 Signed-off-by: Keith Packard <keithp@keithp.com>
1841 commit d7d1452d03bcfb14990546d57d9d858ae3135008
1842 Author: Keith Packard <keithp@keithp.com>
1843 Date: Mon Apr 24 21:59:16 2017 -0700
1845 altos: Add telemini-v3.0 and easymini-v2.0 to default altos build
1847 Make sure they get built for releases
1849 Signed-off-by: Keith Packard <keithp@keithp.com>
1851 commit 41d5bb89973c7a358d08c538f1b52c45b0bbec30
1852 Author: Keith Packard <keithp@keithp.com>
1853 Date: Mon Apr 24 21:56:14 2017 -0700
1855 altos/easymini-v2.0: Add EasyMini v2.0
1857 Like EasyMini v1.0, but with the STM32F0 processor instead of LPC
1859 Signed-off-by: Keith Packard <keithp@keithp.com>
1861 commit 43cf1991f042e50fb6ec0b037f6d212436e3d31b
1862 Author: Keith Packard <keithp@keithp.com>
1863 Date: Mon Apr 24 21:54:25 2017 -0700
1865 altos/telemini-v3.0: Fix license
1867 Was GPL2, switch to GPL2+
1869 Signed-off-by: Keith Packard <keithp@keithp.com>
1871 commit e0be779ac401f063b968aaac9460c972a728d309
1872 Author: Keith Packard <keithp@keithp.com>
1873 Date: Mon Apr 24 21:32:02 2017 -0700
1875 altos/stmf0: Not all timer configurations use AF2
1877 Allow applications to select other configurations.
1879 Signed-off-by: Keith Packard <keithp@keithp.com>
1881 commit 202d556241d56ec4a27f202575d6945dc09f9e03
1882 Author: Bdale Garbee <bdale@gag.com>
1883 Date: Mon Apr 24 20:04:37 2017 -0600
1885 add telemini-v3.0 to list of binaries we stach in LLC repo for production use
1887 commit ef7fbbfa308918ebae5d2499aabccc6562a80dfa
1888 Author: Bdale Garbee <bdale@gag.com>
1889 Date: Mon Apr 24 19:46:05 2017 -0600
1891 two more places where telemini-outline.pdf filename needs to be updated
1893 commit 9c95bed92a45741e6c1ad0ab4941f13370b77648
1894 Author: Keith Packard <keithp@keithp.com>
1895 Date: Mon Apr 24 15:47:08 2017 -0700
1899 TeleMini v3.0 support
1901 Signed-off-by: Keith Packard <keithp@keithp.com>
1903 commit 3544c33c2f386fb292de9e74982717a002f37440
1904 Author: Keith Packard <keithp@keithp.com>
1905 Date: Mon Apr 24 17:11:03 2017 -0700
1907 altoslib: renamed AltosSensorTMini2, but didn't update AltosIdleFetch
1909 Because Java found the old installed version of this library. Thanks!
1911 Signed-off-by: Keith Packard <keithp@keithp.com>
1913 commit 5914231bfe8220a92dde17901b952e919a40d568
1914 Author: Bdale Garbee <bdale@gag.com>
1915 Date: Mon Apr 24 17:18:10 2017 -0600
1917 update copyright year in docs
1919 commit 8e5b4359050701513a807131564ae54f2e6b919b
1920 Author: Keith Packard <keithp@keithp.com>
1921 Date: Mon Apr 24 16:40:46 2017 -0700
1923 altos/ao_pad.c: Use #if HAS_LOG instead of #ifdef HAS_LOG
1925 TeleFire v0.1 defines HAS_LOG to 0.
1927 Signed-off-by: Keith Packard <keithp@keithp.com>
1929 commit c57a5c018e4bd0a0033c8759132a648977bf45f7
1930 Author: Keith Packard <keithp@keithp.com>
1931 Date: Mon Apr 24 15:59:23 2017 -0700
1933 doc: Errors in the TeleMini v3.0 updates found by Bdale
1935 Signed-off-by: Keith Packard <keithp@keithp.com>
1937 commit b6b58aa2fbae1e7782b5a0b700544efe319fe34e
1938 Author: Keith Packard <keithp@keithp.com>
1939 Date: Sat Apr 22 22:04:31 2017 -0700
1941 altos: Move old AO_LAUNCH defines to cc1111/ao_launch.h
1943 These were getting accidentally used by ao_pad.c
1945 Signed-off-by: Keith Packard <keithp@keithp.com>
1947 commit cd291d38b92b31c3612e6de6cdf4e5988fc01c12
1948 Author: Bdale Garbee <bdale@gag.com>
1949 Date: Sun Apr 23 00:02:47 2017 -0600
1951 allow multiple tests to be logged on telefiretwo without rebooting
1953 commit d75351c5a07241bcbb951758796b4f639ace6b1f
1954 Author: Bdale Garbee <bdale@gag.com>
1955 Date: Sat Apr 22 23:42:23 2017 -0600
1957 implement static test start and stop protocol for telefiretwo+telebt
1959 commit 6cfd9411026d536b5b75098b8c9ec3ceb3d945aa
1960 Author: Bdale Garbee <bdale@gag.com>
1961 Date: Sat Apr 22 23:02:53 2017 -0600
1963 eliminate spurious close braces
1965 commit e3b30d4bd6faf68c885791fb87229558cc1157a6
1966 Author: Bdale Garbee <bdale@gag.com>
1967 Date: Sat Apr 22 23:01:44 2017 -0600
1969 add static test start and stop commands to radio protocol for telefiretwo
1971 commit e5e0ce18b2ae684896a6d7d0a4c10269199d95b5
1972 Author: Bdale Garbee <bdale@gag.com>
1973 Date: Sat Apr 22 23:01:26 2017 -0600
1975 enable logging support in telefiretwo
1977 commit e05b281e6d1a7a4fa92d52f2491f27266045df96
1978 Author: Bdale Garbee <bdale@gag.com>
1979 Date: Sat Apr 22 17:20:41 2017 -0600
1981 cobble up a command to toggle logging on/off on TeleFireTwo
1983 commit db12c17e9538bd82f2c2bf21357887ee7d894a1c
1984 Author: Bdale Garbee <bdale@gag.com>
1985 Date: Sat Apr 22 16:59:03 2017 -0600
1987 a stab at turning on rudimentary logging for telefiretwo
1989 commit 6804ead7f7e54ff34b257e10e381dc52d5a61b06
1990 Author: Keith Packard <keithp@keithp.com>
1991 Date: Sat Apr 22 15:55:48 2017 -0700
1993 altoslib: Add TeleFireTwo eeprom support
1995 Signed-off-by: Keith Packard <keithp@keithp.com>
1997 commit 359e2d6eca5258f4fabc59772f1320e195a7397c
1998 Author: Bdale Garbee <bdale@gag.com>
1999 Date: Sat Apr 22 16:36:18 2017 -0600
2001 fleshing out logging for telefiretwo
2003 commit 439a51ed503b74c1739cf150cdc91685653deed0
2004 Author: Bdale Garbee <bdale@gag.com>
2005 Date: Sat Apr 22 15:45:52 2017 -0600
2007 enable spi flash on telefiretwo
2009 commit ffc90fa3f932aef4dd85147817949aa9474b6d26
2010 Author: Bdale Garbee <bdale@gag.com>
2011 Date: Sat Apr 22 11:38:08 2017 -0600
2013 fix TeleFireTwo product name in ao-list output
2015 commit 4682323a4bf147b9a908f5f9104bf01ab2cf0533
2016 Author: Keith Packard <keithp@keithp.com>
2017 Date: Fri Apr 21 23:02:57 2017 -0700
2019 altos/stmf0: Pull beeper pin low when beeper is off
2021 This avoids having the pin float and pick up noise from any adjacent
2022 signals, like TeleMini's radio.
2024 Signed-off-by: Keith Packard <keithp@keithp.com>
2026 commit eb1c2bf5244840049c0a58e0ceecfcd9f5c290dd
2027 Author: Keith Packard <keithp@keithp.com>
2028 Date: Fri Apr 21 22:24:00 2017 -0700
2030 doc: Finish updates for v1.7
2032 Scrub all TeleMini references and make sure they're fixed for v3. No
2033 'emergency' mode yet. No reflashing yet.
2035 Add v1.7 release notes.
2037 Signed-off-by: Keith Packard <keithp@keithp.com>
2039 commit 5849ee6c09669e6d2e6940a76bcb5cc23178fc68
2040 Author: Keith Packard <keithp@keithp.com>
2041 Date: Fri Apr 21 21:32:26 2017 -0700
2043 altos/lpc: Really fix aes entry in lpc vpath
2045 I added another entry instead of fixing the existing one. Not ideal.
2047 Signed-off-by: Keith Packard <keithp@keithp.com>
2049 commit c833c93e812936125cfe9532523ea36b5046e58d
2050 Author: Keith Packard <keithp@keithp.com>
2051 Date: Fri Apr 21 18:16:45 2017 -0700
2053 Replace turnon_telemini with v3 version. Add test-teleminiv3
2055 Prepare for TeleMini v3.0 release.
2057 Signed-off-by: Keith Packard <keithp@keithp.com>
2059 commit 8978687dc2ae90e4005a8f7d598940b7df6a4359
2060 Author: Keith Packard <keithp@keithp.com>
2061 Date: Fri Apr 21 18:08:25 2017 -0700
2063 doc: Update TeleMini v3 photos to production unit
2065 Replace prototype photos
2067 Signed-off-by: Keith Packard <keithp@keithp.com>
2069 commit 86a54146b58be86c58fb45386c7abcfa0bb11677
2070 Author: Keith Packard <keithp@keithp.com>
2071 Date: Fri Apr 21 17:15:05 2017 -0700
2073 alots/stmf0: Fix vpath entry for AES directory
2077 Signed-off-by: Keith Packard <keithp@keithp.com>
2079 commit 64ac93f5495db7a8b06f1eb4fe4eb2418125d792
2080 Author: Keith Packard <keithp@keithp.com>
2081 Date: Fri Apr 21 17:06:23 2017 -0700
2083 altos/lpc,altos/stmf0: Use -n flag to work around link editor issue
2085 Something changed in the link editor which makes it complain about 'no
2086 space for program headers' on LPC and STMF0 builds. Somehow, adding
2087 the '-n' flag to the linking step fixes it. It doesn't appear to break
2088 the build, so I guess it's ok?
2090 Signed-off-by: Keith Packard <keithp@keithp.com>
2092 commit 77c76e429074a53c1c5230a7b5e665d1715b296f
2093 Author: Keith Packard <keithp@keithp.com>
2094 Date: Fri Apr 21 17:04:28 2017 -0700
2096 altos/telemini-v3.0: Remove vestiges of the pre-USB code
2098 Pre-USB telemini v3 designs had a separate firmware load for radio
2099 calibration. Now that we've got enough USB to perform flash/cal/test,
2100 we don't need that other firmware load, so we can remove the remaining
2101 Makefile remnants of the calibration load.
2103 Signed-off-by: Keith Packard <keithp@keithp.com>
2105 commit adb842b64b04a7d70e543bad7ae59807d549e85a
2106 Author: Keith Packard <keithp@keithp.com>
2107 Date: Fri Apr 21 16:40:58 2017 -0700
2109 altos/lpc: Add (void *) cast to fix alignment warning
2111 The -Wcast-align warning is generated when this cast is not present.
2113 Signed-off-by: Keith Packard <keithp@keithp.com>
2115 commit 51ce352d179835ca08e4cf9326e9e77d6b972fb7
2116 Author: Keith Packard <keithp@keithp.com>
2117 Date: Fri Apr 21 09:18:48 2017 -0700
2119 altos/lpc: Fix up Makefile definitions
2121 vpath reference to aes was busted.
2122 WARN_CFLAGS needs -Wcast-align.
2125 Signed-off-by: Keith Packard <keithp@keithp.com>
2127 commit ec319edd2cda321d7542784b997acd0da040fa3d
2128 Author: Keith Packard <keithp@keithp.com>
2129 Date: Fri Apr 21 09:17:18 2017 -0700
2131 ao-test-baro: Be more lax about altitude checks
2133 High pressure here today and the altimeter is reading -69m. Allow down
2134 to -100m when testing baro values.
2136 Signed-off-by: Keith Packard <keithp@keithp.com>
2138 commit 7db49a2052ec905cdc02f626c0933ca6889d64a4
2139 Author: Keith Packard <keithp@keithp.com>
2140 Date: Wed Apr 19 23:08:56 2017 -0700
2142 altos/telemini-v3.0: Add flash loader
2144 Now that telemini has USB, use the boot loader to make it easy to
2147 Signed-off-by: Keith Packard <keithp@keithp.com>
2149 commit d1ba276c6e54564f82920f65bf4c19df85c9ea56
2150 Author: Keith Packard <keithp@keithp.com>
2151 Date: Wed Apr 19 23:08:06 2017 -0700
2153 altos/telemini-v3.0: Update to production hardware
2155 Removed LEDs. Added USB. Flipped lots of pins around.
2157 This appears to make telemini work.
2159 Signed-off-by: Keith Packard <keithp@keithp.com>
2161 commit 93983730a6628a2a85b6fc543df236b35d501ee9
2162 Author: Keith Packard <keithp@keithp.com>
2163 Date: Wed Apr 19 16:00:24 2017 -0700
2165 altos/telebt-v3.0: Add LCO bits for testing
2167 Add the USB commands for LCO testing to TeleBT v3.0
2169 Signed-off-by: Keith Packard <keithp@keithp.com>
2171 commit 944d8466a31842c34304b77364d632e259238018
2172 Author: Keith Packard <keithp@keithp.com>
2173 Date: Wed Apr 19 14:19:28 2017 -0700
2175 altos/telefiretwo-v0.2: Add AO_CC1200_SPI_SPEED
2177 Needed for products with different SPI speed options.
2179 Signed-off-by: Keith Packard <keithp@keithp.com>
2181 commit 1e7143e5d448cd05c355f4a323ae4892b02022ac
2182 Author: Bdale Garbee <bdale@gag.com>
2183 Date: Wed Apr 19 15:08:15 2017 -0600
2185 add new ADC channels for telefiretwo
2187 commit 6e699fa4971668bbe569d2a0e2ed9f891877d140
2188 Author: Bdale Garbee <bdale@gag.com>
2189 Date: Tue Apr 18 16:47:43 2017 -0600
2191 need top level Makefile too
2193 commit 9fa46346d576081f99860cad96c91bcf63233649
2194 Author: Bdale Garbee <bdale@gag.com>
2195 Date: Tue Apr 18 16:47:05 2017 -0600
2197 builds, loads, runs, not very useful yet
2199 commit 207403e53cc80b0649ce3c004f97d8e1dad824c8
2200 Author: Bdale Garbee <bdale@gag.com>
2201 Date: Tue Apr 18 16:33:27 2017 -0600
2203 copy telefiretwo-v0.2 to start firmware for v1.0
2205 commit f69d85e2b32370ab68e2725e739417cad6d7a590
2206 Author: Keith Packard <keithp@keithp.com>
2207 Date: Thu Apr 13 21:48:46 2017 -0600
2209 telegps-v2.0: Remove fec_tx code and ADC logging.
2211 This gets telegps-v2.0 to link.
2213 Signed-off-by: Keith Packard <keithp@keithp.com>
2215 commit 4e561ae43a734d870470e36c41232482bd5f398f
2216 Author: Keith Packard <keithp@keithp.com>
2217 Date: Thu Apr 13 21:47:14 2017 -0600
2219 altos/stmf0: Split up rom load in altos.ld to make linker happy
2221 The linker isn't happy when the .ld file tries to add text, the .exidx
2222 and .rodata segments in the same block. Split them up for success.
2224 Signed-off-by: Keith Packard <keithp@keithp.com>
2226 commit a5c8b8c59f99108233d99ceceb6f85315694e4b1
2227 Author: Keith Packard <keithp@keithp.com>
2228 Date: Thu Apr 13 21:18:58 2017 -0600
2230 cortexelf-v1: Fetch data at TPB rising when MWR or MRD are low
2232 This should get the right value at least.
2234 Signed-off-by: Keith Packard <keithp@keithp.com>
2236 commit 3390c62b6d0761764ec5249d72bda33b984a8f90
2237 Author: Keith Packard <keithp@keithp.com>
2238 Date: Thu Apr 13 21:16:52 2017 -0600
2240 altos/telegps: Inherit LDFLAGS from lpc make specification
2242 Somethings messed up with cortex-M0 linking, and this isn't helping as
2243 it overrides the LDFLAGS coming from the architecture.
2245 Signed-off-by: Keith Packard <keithp@keithp.com>
2247 commit f18793efb1fbfd17963b9146fae084f2b843d7a3
2248 Author: Bdale Garbee <bdale@gag.com>
2249 Date: Thu Apr 13 19:36:49 2017 -0600
2251 initial cut at telegps-v2.0 firmware
2253 commit eb0b2b4e9f56d1d6fc2b06e39c8372dfcdf3b1f5
2254 Author: Keith Packard <keithp@keithp.com>
2255 Date: Sun Apr 9 13:03:50 2017 -0700
2257 cortexelf-v1: Initialize key matrix code
2259 This gets the hex keypad working.
2261 Signed-off-by: Keith Packard <keithp@keithp.com>
2263 commit 6efa53bafda18313742849a6c4992f09c3e403c3
2264 Author: Keith Packard <keithp@keithp.com>
2265 Date: Sun Apr 9 12:59:07 2017 -0700
2267 cortexelf-v1: Bump SPI pin speed to 40MHz to for sdcard. Fix VGA DMA.
2269 Tell the DMA code to leave the DMA engine enabled so the VGA output
2272 Signed-off-by: Keith Packard <keithp@keithp.com>
2274 commit c97b4c65d66078a4e187b782669e6b36ee92d30c
2275 Author: Keith Packard <keithp@keithp.com>
2276 Date: Sun Apr 9 12:56:59 2017 -0700
2278 altos: Use MP switch in cortexelf boot loader for force loader mode
2280 Provide a way to get to the boot loader on the cortexelf board by
2281 turning the MP switch on.
2283 Signed-off-by: Keith Packard <keithp@keithp.com>
2285 commit 9e80b8bd10433ecc6ebe7c295e16b62b3883987d
2286 Author: Keith Packard <keithp@keithp.com>
2287 Date: Sun Apr 9 12:55:34 2017 -0700
2289 altos: Escape lisp REP loop with () input
2291 Provide a way to get out of a lisp read-eval-print loop that can be
2292 easily input from the keyboard.
2294 Signed-off-by: Keith Packard <keithp@keithp.com>
2296 commit 83c1e4e8ca684f555cba252efd3882f811d8e154
2297 Author: Keith Packard <keithp@keithp.com>
2298 Date: Sun Apr 9 12:54:57 2017 -0700
2300 altos: Document a few more SPI mode bits in VGA driver
2302 Just comment changes
2304 Signed-off-by: Keith Packard <keithp@keithp.com>
2306 commit 24cd5dd33ccf65c1b277911c460a89ec2b52e421
2307 Author: Keith Packard <keithp@keithp.com>
2308 Date: Sun Apr 9 12:53:34 2017 -0700
2310 altos: Drive row low instead of high in matrix driver
2312 Driving it high won't work all that well as we're looking for zero bits.
2314 Signed-off-by: Keith Packard <keithp@keithp.com>
2316 commit a68fb412589819980759d49565a084b23eee8b8f
2317 Author: Keith Packard <keithp@keithp.com>
2318 Date: Sun Apr 9 12:51:49 2017 -0700
2320 altos: Place AS1107 in 'normal' mode at end of init sequence
2322 This makes sure the device is out of reset mode while initializing,
2323 and then placed in normal mode to turn on the display.
2325 Signed-off-by: Keith Packard <keithp@keithp.com>
2327 commit 04d4b17635fc9395c70aa0840971c00082f509ba
2328 Author: Keith Packard <keithp@keithp.com>
2329 Date: Sun Apr 9 12:48:54 2017 -0700
2331 ao-elftohex: Add conditions for skipping ELF sections
2333 Skip sections with size 0, or which are of type SHT_NOBITS or which
2334 don't have the SHF_ALLOC flag set.
2336 This avoids crashing on sections which don't have any data to copy.
2338 Signed-off-by: Keith Packard <keithp@keithp.com>
2340 commit 86d5119f19b5f3131d224982e011fd233b48aa22
2341 Author: Keith Packard <keithp@keithp.com>
2342 Date: Tue Apr 4 16:05:15 2017 -0700
2344 cortexelf-v1: More 1802 noodling
2346 Add code to track the address and data displays, change how 1802 pin
2349 Signed-off-by: Keith Packard <keithp@keithp.com>
2351 commit 301b724d2169f4ac46d921f518455c783e1dd894
2352 Author: Keith Packard <keithp@keithp.com>
2353 Date: Tue Apr 4 16:04:25 2017 -0700
2355 stm: Add more mask-based GPIO controls
2357 Lets cortexelf do more things with groups of pins, rather than one pin
2360 Signed-off-by: Keith Packard <keithp@keithp.com>
2362 commit 71e430bb39fc97e543778f7bc1f1bef554ba8b75
2363 Author: Keith Packard <keithp@keithp.com>
2364 Date: Tue Apr 4 16:03:36 2017 -0700
2366 altos: Allow programs to enable SDCARD debugging if desired
2368 Provides for per-application control over SDCARD debugging
2370 Signed-off-by: Keith Packard <keithp@keithp.com>
2372 commit 4eced9224f40e48d7057352b3424c18025f43f25
2373 Author: Keith Packard <keithp@keithp.com>
2374 Date: Tue Apr 4 16:02:46 2017 -0700
2376 altos: Disable FAT commands unless requested
2378 This are debugging commands; don't provide them unless requested
2380 Signed-off-by: Keith Packard <keithp@keithp.com>
2382 commit d4ff161e89d852c07934704ea2cbea20a48259a7
2383 Author: Keith Packard <keithp@keithp.com>
2384 Date: Tue Apr 4 16:00:56 2017 -0700
2386 telegps-v0.1: Hack up for SDCARD debugging
2388 Disable everything not SDCARD related for debugging.
2390 Signed-off-by: Keith Packard <keithp@keithp.com>
2392 commit 920b70fd5f6b78461c7ebae6b1e6490a0e050bc2
2393 Author: Keith Packard <keithp@keithp.com>
2394 Date: Tue Apr 4 15:59:56 2017 -0700
2396 altos: Define CC115L spi speed in each product
2398 Different SoCs have different SPI speeds available; have each product
2399 specify the speed to use instead of trying to use 4Mhz everywhere.
2401 Signed-off-by: Keith Packard <keithp@keithp.com>
2403 commit 280eefc8f86e90e742c536a074d7284cce03af15
2404 Author: Keith Packard <keithp@keithp.com>
2405 Date: Mon Apr 3 11:41:51 2017 -0700
2407 cortexelf-v1: Add pin definitions for 1802 connections
2409 Signed-off-by: Keith Packard <keithp@keithp.com>
2411 commit 0197157a295d848bac65cf7f4457dd5a99af24e3
2412 Author: Keith Packard <keithp@keithp.com>
2413 Date: Mon Apr 3 11:37:21 2017 -0700
2415 stm: Add a few more GPIO functions to make dealing with the 1802 easier
2417 ao_gpio_set_mask and ao_gpio_get_all
2419 Signed-off-by: Keith Packard <keithp@keithp.com>
2421 commit 89c8e0299504e66fc416a778055958cff467e008
2422 Author: Keith Packard <keithp@keithp.com>
2423 Date: Mon Apr 3 11:36:52 2017 -0700
2425 cortexelf-v1: Make bit flipping array constant
2427 Signed-off-by: Keith Packard <keithp@keithp.com>
2429 commit 47004dfe8ee8c8b31085b066d3d0fd5142fd49da
2430 Author: Keith Packard <keithp@keithp.com>
2431 Date: Mon Apr 3 09:36:00 2017 -0700
2433 cortexelf-v1: doodling with 1802 bits
2435 Just some random ideas about how to manage the 1802
2437 Signed-off-by: Keith Packard <keithp@keithp.com>
2439 commit 5bb9cf38c84663713c178f54b684d40b6c00b11d
2440 Author: Keith Packard <keithp@keithp.com>
2441 Date: Sun Apr 2 20:33:49 2017 -0700
2443 cortexelf-v1: Add bit flipping array generator
2445 Someone hooked up the data lines between the systems backwards, so we
2446 get to swizzle the bits in software.
2448 Signed-off-by: Keith Packard <keithp@keithp.com>
2450 commit 8c1478b55f5dbe9711b31a34d4f5e3563f1f42d2
2451 Author: Keith Packard <keithp@keithp.com>
2452 Date: Sun Apr 2 19:32:17 2017 -0700
2454 cortexelf-v1: Hook up hex keypad using matrix input driver
2456 Signed-off-by: Keith Packard <keithp@keithp.com>
2458 commit 79215de60d3e11b4abd1ecd2fa9575a323b76754
2459 Author: Keith Packard <keithp@keithp.com>
2460 Date: Sun Apr 2 19:31:45 2017 -0700
2462 altos: Allow buttons to be high when pressed rather than low
2464 Signed-off-by: Keith Packard <keithp@keithp.com>
2466 commit 09f8710eb320f37f20dda8c635497c2b505d25e2
2467 Author: Keith Packard <keithp@keithp.com>
2468 Date: Sun Apr 2 19:30:57 2017 -0700
2470 altos: add button matrix driver
2472 Scans the matrix once per clock tick queuing events for changed keys.
2474 Signed-off-by: Keith Packard <keithp@keithp.com>
2476 commit 17ec1c510ccc42bbc387940b5805f452697f78d6
2477 Author: Keith Packard <keithp@keithp.com>
2478 Date: Sun Apr 2 17:39:26 2017 -0700
2480 cortexelf-v1: Hook up AS1107 in test mode
2482 Provide a 'L' command to display values
2484 Signed-off-by: Keith Packard <keithp@keithp.com>
2486 commit cc1b56faa88c75c9c86af89c77d7f1349573b7b0
2487 Author: Keith Packard <keithp@keithp.com>
2488 Date: Sun Apr 2 17:39:05 2017 -0700
2490 altos: Add AS1107 LED display driver
2492 Signed-off-by: Keith Packard <keithp@keithp.com>
2494 commit 1bc48b075f76bfef258f516549573429b24f284c
2495 Author: Keith Packard <keithp@keithp.com>
2496 Date: Sun Apr 2 16:37:42 2017 -0700
2498 cortexelf-v1: Add buttons
2500 Signed-off-by: Keith Packard <keithp@keithp.com>
2502 commit 8284d3639cd24e2fa0faf1e35e7276ba35a24f8f
2503 Author: Keith Packard <keithp@keithp.com>
2504 Date: Sun Apr 2 16:22:28 2017 -0700
2506 cortexelf-v1: Add serialblather command.
2508 This reads from stdin and dumps it to both serial ports until you type ~
2510 Signed-off-by: Keith Packard <keithp@keithp.com>
2512 commit 6fb817f218a69b28973b0d059d71809717b1e2d1
2513 Author: Keith Packard <keithp@keithp.com>
2514 Date: Sun Apr 2 16:17:33 2017 -0700
2516 lisp: Fix up lisp build so projects can get ao_lisp_const.h built as needed
2518 Signed-off-by: Keith Packard <keithp@keithp.com>
2520 commit 3ce663875d69739cc2d43fcd88b22820cd9d6500
2521 Author: Keith Packard <keithp@keithp.com>
2522 Date: Sun Apr 2 15:56:17 2017 -0700
2524 stm: Use common flash wait loop instead of inlining
2526 Signed-off-by: Keith Packard <keithp@keithp.com>
2528 commit 1f5f0638f283fbb784021873c649109d4ed0257c
2529 Author: Keith Packard <keithp@keithp.com>
2530 Date: Sun Apr 2 15:53:17 2017 -0700
2532 cortexelf: Add lisp interpreter
2534 Signed-off-by: Keith Packard <keithp@keithp.com>
2536 commit 54c76d48924fecc2aeabbc352c553822a87f9d19
2537 Author: Keith Packard <keithp@keithp.com>
2538 Date: Sun Apr 2 15:40:03 2017 -0700
2540 cortexelf-v1: Use new memory map to access all flash and ram. Add fat.
2542 Signed-off-by: Keith Packard <keithp@keithp.com>
2544 commit 7b031d5a86213364196b67f7e3f92865da8adbf9
2545 Author: Keith Packard <keithp@keithp.com>
2546 Date: Sun Apr 2 15:28:45 2017 -0700
2548 cortexelf-v1: Hook up serial consoles for debugging
2550 This will make playing with serial ports easier for now.
2552 Signed-off-by: Keith Packard <keithp@keithp.com>
2554 commit 62b0228aed5191c8d769f9f34143a13036e210a7
2555 Author: Keith Packard <keithp@keithp.com>
2556 Date: Sun Apr 2 15:18:34 2017 -0700
2558 cortexelf-v1: Fix clock to drive VGA at 640/480. Add sdcard, remove others
2560 VGA requires the CPU to run at 24MHz.
2562 Signed-off-by: Keith Packard <keithp@keithp.com>
2564 commit 637d522c6a15b47051103ccc3626be3206a7a2df
2565 Author: Keith Packard <keithp@keithp.com>
2566 Date: Sun Apr 2 15:04:09 2017 -0700
2568 cortexelf-v1: Add ps/2 and vga with graphics
2570 Start hooking up devices with known drivers.
2572 Signed-off-by: Keith Packard <keithp@keithp.com>
2574 commit 9f451db9889cd578c3032356fd2aa4b5ed45878d
2575 Author: Bdale Garbee <bdale@gag.com>
2576 Date: Sun Apr 2 15:47:31 2017 -0600
2578 capture pnpservo makefiles too
2580 commit bc150497de8539827177805c7f4430c67ca6762f
2581 Author: Bdale Garbee <bdale@gag.com>
2582 Date: Sun Apr 2 15:47:14 2017 -0600
2586 commit 66b06332dadd83c309bbfe02240b7a071fd57ff2
2587 Author: Bdale Garbee <bdale@gag.com>
2588 Date: Sun Apr 2 15:41:56 2017 -0600
2590 initial skeleton of CortexELF support
2592 commit d318b5cfc1a0312697739576d35cc1a190d88849
2593 Author: Bdale Garbee <bdale@gag.com>
2594 Date: Sat Apr 1 12:23:24 2017 -0600
2596 first rough cut at skeleton of code for pnpservo .. altos boots and runs
2598 commit 190cdaa5cb18e78caeeaaaaed6a9d304e939eb6b
2599 Author: Keith Packard <keithp@keithp.com>
2600 Date: Sun Mar 5 22:42:37 2017 -0800
2602 doc: Rename telemini doc file from telemini-v1.0.inc to telemini.inc
2604 This file now contains information on both TeleMini versions.
2606 Signed-off-by: Keith Packard <keithp@keithp.com>
2608 commit 7bb4dbab45f98dd5fd85d9daf12d27b153c0ef3a
2609 Author: Keith Packard <keithp@keithp.com>
2610 Date: Sun Mar 5 22:33:36 2017 -0800
2612 ao-tools/ao-flash-stm: Use openocd instead of st-utils
2614 openocd upstream and debian package can both flash stm32l processors,
2615 so use that in preference to st-flash.
2617 Signed-off-by: Keith Packard <keithp@keithp.com>
2619 commit f004eaa2c26b4c61a8c3de2c0667a4e9865e704d
2620 Author: Keith Packard <keithp@keithp.com>
2621 Date: Thu Mar 2 13:37:12 2017 -0800
2623 ao-tools/ao-flash-lpc: Adapt to current openocd LPC support
2625 Openocd 0.9.0 has generalized the lpc11xx support for all lpc11xx
2626 processors, not just the lpc11u14. This replaces the specific
2627 lpc11u14.cfg with the general lpc11xx.cfg file.
2629 Unlike the build we were using, this doesn't adjust the
2630 'verify' command to adapt for the checksum which gets added during the
2631 flashing process. Hence, we disable verification and trust that if the
2632 flash loader works to load the OS, it's fine.
2634 Signed-off-by: Keith Packard <keithp@keithp.com>
2636 commit 59aaac44e3e164b326518b324b52d115fbb76fca
2637 Author: Keith Packard <keithp@keithp.com>
2638 Date: Wed Mar 1 14:01:59 2017 -0800
2640 telemini outline svg had wrong version number
2642 commit b5a42665d7811707b6bd4a67d7d8e6532daa29e4
2643 Author: Keith Packard <keithp@keithp.com>
2644 Date: Wed Mar 1 13:53:36 2017 -0800
2646 Add initial TeleMini v3 docs
2648 Uses pictures of the prototype.
2650 Signed-off-by: Keith Packard <keithp@keithp.com>
2652 commit d1c2a5729da00be9d393015bbaa2d2f58e936d84
2653 Author: Keith Packard <keithp@keithp.com>
2654 Date: Mon Feb 20 17:34:43 2017 -0800
2656 altos/nucleo-32: Update lisp files, add beeper support
2658 Signed-off-by: Keith Packard <keithp@keithp.com>
2660 commit d1956000ba2e6260977aa669475d3ff725578b55
2661 Author: Keith Packard <keithp@keithp.com>
2662 Date: Mon Feb 20 17:32:09 2017 -0800
2664 altos/lisp: Not quite ready to start making it look like scheme yet
2666 Lots more code to write before these symbols can be exposed.
2668 Signed-off-by: Keith Packard <keithp@keithp.com>
2670 commit 9603d737e9ea58217ff2c2dd7c350c7a29fba980
2671 Author: Keith Packard <keithp@keithp.com>
2672 Date: Mon Feb 20 17:29:15 2017 -0800
2674 altos/stmf0: Support timer 2/3 for the beeper
2676 Tested on timer 2, all four channels.
2678 Signed-off-by: Keith Packard <keithp@keithp.com>
2680 commit 003e9479ad4364d9f7acf189b35f32ccdfd43be0
2681 Author: Keith Packard <keithp@keithp.com>
2682 Date: Mon Feb 20 16:51:09 2017 -0800
2684 altos/stmf0: Support tim1 beeper channel other than 3
2686 ch1 was broken and ch2 didn't have any code at all.
2688 Signed-off-by: Keith Packard <keithp@keithp.com>
2690 commit 3c3f5e316c0c2464568db883d50881f5b898abac
2691 Author: Keith Packard <keithp@keithp.com>
2692 Date: Mon Feb 20 17:33:37 2017 -0800
2694 altos/telemini-v3.0: Add beeper defines needed for more general beeper code
2696 The beeper code now wants to know which timer, port and pin are in use.
2698 Signed-off-by: Keith Packard <keithp@keithp.com>
2700 commit dc4bee9600be22531fd3c5bec15f712eb2e7ed2d
2701 Author: Keith Packard <keithp@keithp.com>
2702 Date: Mon Feb 20 12:18:58 2017 -0800
2704 altos: Add stm-vga demo project
2706 Uses the VGA and PS/2 drivers to provide an interactive console.
2708 Signed-off-by: Keith Packard <keithp@keithp.com>
2710 commit 0eadc2d50417408beebd50e4a0e7e12430ed67ef
2711 Author: Keith Packard <keithp@keithp.com>
2712 Date: Mon Feb 20 12:16:27 2017 -0800
2714 altos/stm: Add draw and lisp to make search paths.
2716 Signed-off-by: Keith Packard <keithp@keithp.com>
2718 commit c296acd643698d0128e2f58f91a9cfeea63f580a
2719 Author: Keith Packard <keithp@keithp.com>
2720 Date: Mon Feb 20 12:21:39 2017 -0800
2722 altos: Add console driver using VGA and PS/2
2724 Provides an interactive text console.
2726 Signed-off-by: Keith Packard <keithp@keithp.com>
2728 commit c1d52178ce63ebdc44c83d1bca5027942e2d778c
2729 Author: Keith Packard <keithp@keithp.com>
2730 Date: Mon Feb 20 12:19:42 2017 -0800
2732 altos: Add PS/2 keyboard driver
2734 Interrupt driven, includes standard US keymap.
2736 Signed-off-by: Keith Packard <keithp@keithp.com>
2738 commit 6b39d3093c3b87689717bb03988d160473c53c64
2739 Author: Keith Packard <keithp@keithp.com>
2740 Date: Sun Nov 20 00:04:27 2016 -0800
2742 altos: Add VGA driver for STM32L processors
2744 Generates vsync/hsync using timers and pixel data using the SPI port.
2745 320x240 video using 640x480 mode and a 24MHz "pixel" clock.
2747 Signed-off-by: Keith Packard <keithp@keithp.com>
2749 commit 1301d576d9bface4cc625e4a4187401f93f54444
2750 Author: Keith Packard <keithp@keithp.com>
2751 Date: Mon Feb 20 12:17:42 2017 -0800
2753 altos: Add bitmap drawing code
2755 Includes solid fills, text and lines.
2757 Signed-off-by: Keith Packard <keithp@keithp.com>
2759 commit a487d2fcba57141f6b083d5612c76bac5ad1ac7c
2760 Author: Keith Packard <keithp@keithp.com>
2761 Date: Mon Feb 20 12:15:45 2017 -0800
2763 altos/stm: Add nvic priority register fields. Add more TIM234 defines.
2765 Signed-off-by: Keith Packard <keithp@keithp.com>
2767 commit 80fd7f7bef5320ce86048d74dc4a72e1ec361120
2768 Author: Keith Packard <keithp@keithp.com>
2769 Date: Mon Feb 20 12:14:10 2017 -0800
2771 altos/stm: Make i2c code handle PCLK1 of 24MHz
2773 Just adds the necessary defines to the code.
2775 Signed-off-by: Keith Packard <keithp@keithp.com>
2777 commit 72ea90d28817549c4343d2fea03a4c951f849cbe
2778 Author: Keith Packard <keithp@keithp.com>
2779 Date: Mon Feb 20 12:12:43 2017 -0800
2781 altos/stm: Allow DMA channels to be hijacked by other code
2783 This lets code which needs finer control over DMA to use the channel
2784 without interference, and leaves the DMA engine running so that it can.
2786 Signed-off-by: Keith Packard <keithp@keithp.com>
2788 commit 5dc5e2e238f8c1a8ca35d85ec046124afa9385ad
2789 Author: Keith Packard <keithp@keithp.com>
2790 Date: Tue Jan 10 14:45:25 2017 -0800
2792 altos: Allow for console to be used for stdio
2794 Signed-off-by: Keith Packard <keithp@keithp.com>
2796 commit e6fb0f13ba230ad9ce86cfa7f56491a0a3bd4b3d
2797 Author: Keith Packard <keithp@keithp.com>
2798 Date: Tue Jan 10 14:43:07 2017 -0800
2800 altos/avr: Avoid warning about unused args in stdio_put and stdio_get
2802 Signed-off-by: Keith Packard <keithp@keithp.com>
2804 commit 839eadbc8e5694842eb498c6e47cfbf08ba8fbf4
2805 Author: Keith Packard <keithp@keithp.com>
2806 Date: Sun Nov 20 02:59:40 2016 -0800
2808 altos/stm: Allow use basepri instead of primask for masking interrupts
2810 This allows for high priority interrupts (priority 0) to run, even
2811 when other interrupts are blocked. Code executing in such interrupt
2812 handlers must not attempt to control task execution as that will race
2815 Select this by defining AO_NONMASK_INTERRUPT in ao_pins.h.
2816 non-maskable interrupt priority is AO_STM_NVIC_NONMASK_PRIORITY
2818 Signed-off-by: Keith Packard <keithp@keithp.com>
2820 commit 088ddbb177efc8be2fc467524dc1668553080d3b
2821 Author: Keith Packard <keithp@keithp.com>
2822 Date: Sun Nov 20 20:54:10 2016 -0800
2824 altos/stm: Interrupt priority is in the upper bits of the priority mask
2826 Because the STM32L only offers 16 priority levels, the bottom four
2827 bits of each priority mask are not used. All of the interrupt priority
2828 settings in the system were using values < 16, making them all
2829 effectively the same. Fix that by moving them into the upper 4 bits
2830 and using symbolic constants everywhere.
2832 Signed-off-by: Keith Packard <keithp@keithp.com>
2834 commit 992eee8e0b4c6c774f3355af107fb422019ff4e5
2835 Author: Keith Packard <keithp@keithp.com>
2836 Date: Sun Nov 20 20:56:01 2016 -0800
2838 altos: Don't wait while idle if trying to minimize interrupt latency
2840 Keeping the scanout running reasonably means keeping interrupt latency
2841 constant, and that requires leaving the CPU running. Don't wait for
2842 interrupts when the system is running in this mode.
2844 Signed-off-by: Keith Packard <keithp@keithp.com>
2846 commit f0c187dd6479996b83f85b6decf303ec0fc70fe5
2847 Author: Keith Packard <keithp@keithp.com>
2848 Date: Fri Jan 6 09:10:23 2017 -0800
2850 ao-tools/ao-usbload: Pad image with 0xff instead of random bits
2852 Clear the temporary block to 0xff before copying in the target data so
2853 that any unused bytes end up being left at 0xff instead of inheriting
2854 whatever data was in the block before.
2856 Signed-off-by: Keith Packard <keithp@keithp.com>
2858 commit 61f729567ff6355ab52c3e83399761103022a41a
2859 Author: Keith Packard <keithp@keithp.com>
2860 Date: Sat Dec 17 20:57:38 2016 -0800
2862 altos/cc1111: Remove unneeded initialization in ao_timer.c
2864 The timers are all stopped when the chip boots, so no need to stop
2865 them. This saves some text space, allowing the current code to (just
2868 Signed-off-by: Keith Packard <keithp@keithp.com>
2870 commit 1029a6e4a61b20698e00e29fc0c8c3877f1e7b0f
2871 Author: Keith Packard <keithp@keithp.com>
2872 Date: Sun Feb 19 17:36:04 2017 -0800
2874 altoslib: Add TeleMini v3 support
2876 eeprom, telemetry and monitor idle. This is just like TeleMini v2,
2877 except the ADC ranges are all difference as the voltage dividers are
2878 different and the ADC itself has a different range.
2880 Signed-off-by: Keith Packard <keithp@keithp.com>
2882 commit 5c272d8e50d0b23f31a6a9ebdad81fc514936222
2883 Author: Keith Packard <keithp@keithp.com>
2884 Date: Sun Feb 19 17:40:28 2017 -0800
2886 altos/telemini-v3.0: Swap main and apogee sense pins.
2888 These were just hooked up wrong in the software.
2890 Signed-off-by: Keith Packard <keithp@keithp.com>
2892 commit 59ac667c4ae14e0fa699fb0f398d31763a237646
2893 Author: Keith Packard <keithp@keithp.com>
2894 Date: Sun Feb 19 17:39:21 2017 -0800
2896 altos: Split out TeleMini v3 log/telem labeling
2898 Allow the ground software to know which TeleMini version is in use,
2899 even though they are very similar with only ADC values differing.
2901 Signed-off-by: Keith Packard <keithp@keithp.com>
2903 commit c75736c9cd8f869c257a3024efda843cf0edf2a3
2904 Author: Keith Packard <keithp@keithp.com>
2905 Date: Sat Feb 18 22:56:49 2017 -0800
2907 altos/telemini-v3.0: Finish initial turn-on
2909 TeleMini v3.0 is nearly working; there are some ADC issues still, and
2910 lots of altosui work left to decode the new telemetry packet.
2912 Signed-off-by: Keith Packard <keithp@keithp.com>
2914 commit efdeb402d04e7f04ad4bd2764f8f1ca7270b3dff
2915 Author: Keith Packard <keithp@keithp.com>
2916 Date: Fri Feb 3 06:52:57 2017 +0100
2918 altos/telemini-v3.0: Update to second prototype version
2920 Separate radio xtal means we run the processor at 48MHz.
2921 Fix the battery monitoring voltage divider resistor values.
2922 Disable most of the code until we've got the radio working.
2924 Signed-off-by: Keith Packard <keithp@keithp.com>
2926 commit 97c814bc12893bee40f9dc38fabbaa69e0dc6aed
2927 Author: Keith Packard <keithp@keithp.com>
2928 Date: Sat Jan 28 15:35:48 2017 -0800
2930 altos: Initial TeleMini v3.0 code
2932 For first prototype, which attempted to use the SoC clock for the radio.
2934 Signed-off-by: Keith Packard <keithp@keithp.com>
2936 commit b94fe9915b33283df6b86bcdc96ceada1fc71ce6
2937 Author: Keith Packard <keithp@keithp.com>
2938 Date: Sun Feb 19 17:42:05 2017 -0800
2940 altos/stmf0: Add adc and beep support for TeleMini v3.0
2942 Note that the ADC code is running very slowly as required by the high
2943 impedance dividers on the TeleMini v3.0 pyro circuits.
2945 Signed-off-by: Keith Packard <keithp@keithp.com>
2947 commit 1dc31a46f1d1adfdeab444664e581a780d995bf7
2948 Author: Keith Packard <keithp@keithp.com>
2949 Date: Sat Feb 18 22:49:34 2017 -0800
2951 altos: Require SPI speed to be declared for cc1200
2953 The cc1200 can't run SPI faster than 10MHz, so make sure every device
2954 picks a SPI clock slower than that.
2956 Signed-off-by: Keith Packard <keithp@keithp.com>
2958 commit 0bf267a6e2d401c8bd6a06d995e3d000777d622a
2959 Author: Keith Packard <keithp@keithp.com>
2960 Date: Sat Feb 18 22:55:41 2017 -0800
2962 altos: Allow applications to define LEDs for ao_report.c
2964 In case they don't have both a red and green LED.
2966 Signed-off-by: Keith Packard <keithp@keithp.com>
2968 commit cf10239e5485a101fcd7a12b28be927af94d577a
2969 Author: Keith Packard <keithp@keithp.com>
2970 Date: Sat Feb 18 22:54:35 2017 -0800
2972 altos/stmf0: Allow projects to not use the USB boot loader
2974 Let applications define HAS_BOOT_LOADER on their own if desired.
2976 Signed-off-by: Keith Packard <keithp@keithp.com>
2978 commit 3770a5f527cb6d519ce22fe91e0cc4078bf72661
2979 Author: Keith Packard <keithp@keithp.com>
2980 Date: Sat Feb 18 22:53:03 2017 -0800
2982 altos/stmf0: Complain if the SPI configuration isn't complete
2984 If the pin usage values SPI_1_PA5_PA6_PA7 or SPI_1_PB3_PB4_PB5 aren't
2985 defined, then the speed values for the pins aren't going to get set
2986 correctly, which results in erratic SPI behaviour.
2988 Signed-off-by: Keith Packard <keithp@keithp.com>
2990 commit f85997eb53779e637dca697d0d96da7d1235fa80
2991 Author: Keith Packard <keithp@keithp.com>
2992 Date: Fri Feb 3 06:51:11 2017 +0100
2994 altos/stmf0: Allow apps to leave interrupt vectors at 0
2996 TeleMini v3.0 doesn't need a boot loader, so we'll have the app run
2997 its interrupt vector right at the bottom of the address space instead
2998 of copying it to the bottom of ram and reconfiguring the chip to use that.
3000 Signed-off-by: Keith Packard <keithp@keithp.com>
3002 commit f43c3ad0c643f714c523e513bdc8585c6d5a4050
3003 Author: Keith Packard <keithp@keithp.com>
3004 Date: Sat Feb 18 22:46:29 2017 -0800
3006 ao-bringup: test-chaoskey needs to use the SerialNumber dmesg line
3008 I had a locally hacked kernel which was reporting the serial number
3009 along with the device name. Instead of depending on that, just look
3010 for the regular SerialNumber report which is in all kernel versions
3012 Signed-off-by: Keith Packard <keithp@keithp.com>
3014 commit a21c7b5156e428a4f8e029fdb652c8ca1c63823b
3015 Author: Keith Packard <keithp@keithp.com>
3016 Date: Fri Feb 3 06:47:32 2017 +0100
3018 ao-bringup: Allow serial number on turnon_easymega cmdline
3020 This makes it a bit quicker to do a batch of them.
3022 Signed-off-by: Keith Packard <keithp@keithp.com>
3024 commit 51edc29f5ba758ef8ba4fdd5f53fdabc6a31c98a
3025 Author: Keith Packard <keithp@keithp.com>
3026 Date: Sat Jan 28 15:33:53 2017 -0800
3028 altos: Eliminate printf format warning with long vs int
3030 Signed-off-by: Keith Packard <keithp@keithp.com>
3032 commit d96224c2fdc535d08de23aec30d62d4ada9fb8d3
3033 Author: Keith Packard <keithp@keithp.com>
3034 Date: Sun Jan 22 15:29:13 2017 -0800
3036 altos/chaoskey: use both halves of the CRC
3038 When pulling 16 bits from the 32-bit crc, instead of just using the
3039 low bits, xor the two halves together. This appears to even out the
3040 number of zero and one bits.
3042 Signed-off-by: Keith Packard <keithp@keithp.com>
3044 commit bc076747f6cc00508aef909a3a5bd3edf8c9bd66
3045 Author: Keith Packard <keithp@keithp.com>
3046 Date: Sat Feb 18 12:14:59 2017 -0800
3048 altos/lisp: Start adding scheme symbols
3050 Migrating to something more like scheme
3052 Signed-off-by: Keith Packard <keithp@keithp.com>
3054 commit 9c85c9d60334edc2af65a47124873e94e0ff1e9c
3055 Author: Keith Packard <keithp@keithp.com>
3056 Date: Tue Jan 10 14:47:03 2017 -0800
3058 altos/lisp: Add casts to keep the latest GCC from whinging
3060 Something about alignment issues.
3062 Signed-off-by: Keith Packard <keithp@keithp.com>
3064 commit 399ba0a62422f71ff9669ba03b6a058bb2981c27
3065 Author: Keith Packard <keithp@keithp.com>
3066 Date: Tue Jan 10 14:45:59 2017 -0800
3068 altos/lisp: Tell compiler that the two lisp memory pools are aligned
3070 Otherwise, it will generate unaligned accesses to things fetched from
3073 Signed-off-by: Keith Packard <keithp@keithp.com>
3075 commit 30d6b241447cb922b9316e86817f6e31eb973eed
3076 Author: Keith Packard <keithp@keithp.com>
3077 Date: Sun Nov 20 01:41:59 2016 -0800
3079 altos/lisp: Clean up hanoi.lisp demo a bit
3083 Signed-off-by: Keith Packard <keithp@keithp.com>
3085 commit 329f76d5e2732ab1c1b10223842d7816275c7e8b
3086 Author: Keith Packard <keithp@keithp.com>
3087 Date: Fri Nov 18 23:37:44 2016 -0800
3089 altos/lisp: Move stack recursion check after null check
3091 Don't crash when printing null stack this way.
3093 Signed-off-by: Keith Packard <keithp@keithp.com>
3095 commit 1999b2c915bd5b7df70cffa7777e411d3032d2d5
3096 Author: Keith Packard <keithp@keithp.com>
3097 Date: Fri Nov 18 22:57:22 2016 -0800
3099 altos/lisp: Include memory stats for test program
3101 Signed-off-by: Keith Packard <keithp@keithp.com>
3103 commit 129e07ccc9b8a33491a905a91ca6c5b0509aba9c
3104 Author: Keith Packard <keithp@keithp.com>
3105 Date: Fri Nov 18 22:53:36 2016 -0800
3107 altos/lisp: Cleanup some DBG defines
3109 Get rid of the remaining duplicate defines.
3111 Signed-off-by: Keith Packard <keithp@keithp.com>
3113 commit 2c80fea1936ff956df127b43e65139afec3929a0
3114 Author: Keith Packard <keithp@keithp.com>
3115 Date: Fri Nov 18 22:52:53 2016 -0800
3117 altos/lisp: Share binary search for memory chunk between mark and move
3119 Save some text space.
3121 Signed-off-by: Keith Packard <keithp@keithp.com>
3123 commit 1b1bc92e6781c563e3d3b117b9cda2dddccc44de
3124 Author: Keith Packard <keithp@keithp.com>
3125 Date: Fri Nov 18 22:52:10 2016 -0800
3127 altos/lisp: Add builtin 'collect'
3129 Collect memory, return amount free.
3131 Signed-off-by: Keith Packard <keithp@keithp.com>
3133 commit c3a4d7721f0f5d082336b8cc9c9d765ad2f7d17e
3134 Author: Keith Packard <keithp@keithp.com>
3135 Date: Fri Nov 18 22:41:46 2016 -0800
3137 altos/lisp: Sort frames by atom
3139 Fortunately, the collector always retains the relative order between
3140 addresses, so we can sort based on the atom address itself. This
3141 reduces the time spent looking for names in larger (e.g. global)
3144 Signed-off-by: Keith Packard <keithp@keithp.com>
3146 commit 8f833f31f625526a5f1e9a1bd561733b5bb2bcaa
3147 Author: Keith Packard <keithp@keithp.com>
3148 Date: Fri Nov 18 21:17:54 2016 -0800
3150 altos/lisp: Build new ao_lisp_stack.c into test and lambdakey
3152 Helpful to include the new source file.
3154 Signed-off-by: Keith Packard <keithp@keithp.com>
3156 commit 35424031747b41b1125e715a975f1679b89fc27a
3157 Author: Keith Packard <keithp@keithp.com>
3158 Date: Fri Nov 18 21:16:11 2016 -0800
3160 altos/lisp: bounds check in move_map plus binary search
3162 This makes move_map faster by skipping all addresses which aren't
3165 Also changed the interface from address to offset to avoid computing
3166 the offset multiple times.
3168 Signed-off-by: Keith Packard <keithp@keithp.com>
3170 commit 85db6d68a273859482e036b60fec7e2b84e9c262
3171 Author: Keith Packard <keithp@keithp.com>
3172 Date: Fri Nov 18 21:15:33 2016 -0800
3174 altos/lisp: Empty lambda body is not an error
3176 It's not very exciting, but it's still legal
3178 Signed-off-by: Keith Packard <keithp@keithp.com>
3180 commit ecef616599d5ec4fd5d42e67d0dc779a0630079b
3181 Author: Keith Packard <keithp@keithp.com>
3182 Date: Fri Nov 18 21:14:47 2016 -0800
3184 altos/lisp: Use poly stashes for stacks
3188 Signed-off-by: Keith Packard <keithp@keithp.com>
3190 commit 4c812b8c903bd7e689572f8800ecc092af9cfe18
3191 Author: Keith Packard <keithp@keithp.com>
3192 Date: Fri Nov 18 21:12:50 2016 -0800
3194 altos/lisp: Make DBG settings global
3196 This avoids having different values in different files, which wasn't useful.
3198 Signed-off-by: Keith Packard <keithp@keithp.com>
3200 commit e600fc409c577eec02af612a36431c477a9c875e
3201 Author: Keith Packard <keithp@keithp.com>
3202 Date: Fri Nov 18 19:04:05 2016 -0800
3204 altos/lisp: Add continuations
3206 This provides call/cc and makes 'stacks' visible to the application.
3208 Signed-off-by: Keith Packard <keithp@keithp.com>
3210 commit 2cc8ca2b781be0a6e7ce14405eb4611bc00a3a3e
3211 Author: Keith Packard <keithp@keithp.com>
3212 Date: Thu Nov 17 18:45:31 2016 -0800
3214 altos/lisp: Take advantage of implicit progns in hanoi demo
3216 Remove extra progn wrappers now that cond, lambda and while all
3217 support implicit ones.
3219 Signed-off-by: Keith Packard <keithp@keithp.com>
3221 commit 11c79167cdd56015bbd1645db2d4394dcb4f0fbb
3222 Author: Keith Packard <keithp@keithp.com>
3223 Date: Thu Nov 17 16:52:30 2016 -0800
3225 altos/lisp: have 'while' return the last body value
3227 Instead of always returning 'nil', let while return the last body
3230 Signed-off-by: Keith Packard <keithp@keithp.com>
3232 commit 9126ae10b3c5acf0055caa31b1f08215675af784
3233 Author: Keith Packard <keithp@keithp.com>
3234 Date: Thu Nov 17 16:51:34 2016 -0800
3236 altos/lisp: Take advantage of implicit progn in ROM code
3238 Signed-off-by: Keith Packard <keithp@keithp.com>
3240 commit eaa528e4e62ba1d9765888760d387303487b2e01
3241 Author: Keith Packard <keithp@keithp.com>
3242 Date: Thu Nov 17 16:08:15 2016 -0800
3244 altos/lisp: Make lambda, cond and while all have implicit progns
3246 This lets all of these execute more than one sexpr, returning the
3249 Signed-off-by: Keith Packard <keithp@keithp.com>
3251 commit ffaf73407bcdf6bc4120c90212de4a2f52cf7991
3252 Author: Keith Packard <keithp@keithp.com>
3253 Date: Thu Nov 17 16:07:42 2016 -0800
3255 altos/lisp: Compile ao_lisp_make_const -no-pie
3257 Makes debugging easier
3259 Signed-off-by: Keith Packard <keithp@keithp.com>
3261 commit 51bdee662fdfad1937c576daadd2e5eacac17905
3262 Author: Keith Packard <keithp@keithp.com>
3263 Date: Thu Nov 17 16:06:55 2016 -0800
3265 altos/lisp: Fix uninitialized values in ao_lisp_make_const
3267 Signed-off-by: Keith Packard <keithp@keithp.com>
3269 commit 84732aebd10c293101727ba567bfc733dc30efca
3270 Author: Keith Packard <keithp@keithp.com>
3271 Date: Thu Nov 17 16:06:05 2016 -0800
3273 altos/lisp: Dump globals on error
3275 Useful for debugging
3277 Signed-off-by: Keith Packard <keithp@keithp.com>
3279 commit 05ac336ea954c0f5eefabdefb0c8c5747be3fd32
3280 Author: Keith Packard <keithp@keithp.com>
3281 Date: Thu Nov 17 16:05:29 2016 -0800
3283 altos/lisp: Fix error atom name in ao_lisp_length
3287 Signed-off-by: Keith Packard <keithp@keithp.com>
3289 commit 2ce7ab37df07b3c1ea1ca9befc06477e3b6cdeac
3290 Author: Keith Packard <keithp@keithp.com>
3291 Date: Thu Nov 17 16:04:38 2016 -0800
3293 altos/lisp: Remove some stale frame debugging checks
3295 No-one sets frame->_num to 0xff to hit these
3297 Signed-off-by: Keith Packard <keithp@keithp.com>
3299 commit d37945f1404043e6bd287ce7ad7a57bc3289609b
3300 Author: Keith Packard <keithp@keithp.com>
3301 Date: Wed Nov 16 14:59:08 2016 -0800
3303 altos/lisp: Clean up hanoi.lisp comments.
3305 Signed-off-by: Keith Packard <keithp@keithp.com>
3307 commit bcf5eb5825b1217d74f117b02d09b4ce4b007beb
3308 Author: Keith Packard <keithp@keithp.com>
3309 Date: Wed Nov 16 14:12:59 2016 -0800
3311 altos/lisp: Eliminate compiler warning about array bounds at -O3
3313 Using ao_lisp_pool - 4 caused the compiler to whinge about computing
3314 an address outside the bounds of the array. Sigh. Restructure the code
3315 to do the adjustment-by-4 in the integer computations instead of the
3318 Signed-off-by: Keith Packard <keithp@keithp.com>
3320 commit a5ef084659205700aab33e81d20fb89833c03249
3321 Author: Keith Packard <keithp@keithp.com>
3322 Date: Wed Nov 16 14:00:38 2016 -0800
3324 altos/lisp: binary search for chunk in collect
3326 Speeds up collect a bit
3328 Signed-off-by: Keith Packard <keithp@keithp.com>
3330 commit 9f19cb10cd12f86b12d0599bab5c2ee351d814ae
3331 Author: Keith Packard <keithp@keithp.com>
3332 Date: Wed Nov 16 13:59:54 2016 -0800
3334 altos/test: Disable position independent executables
3336 This makes debugging programs so much harder
3338 commit a7fcf80e22e70516d0b2da314fb17ced20a3f775
3339 Author: Keith Packard <keithp@keithp.com>
3340 Date: Wed Nov 16 13:47:49 2016 -0800
3342 altos/lisp: Allow empty defun bodies
3344 This allows for (defun foo())
3346 Signed-off-by: Keith Packard <keithp@keithp.com>
3348 commit daa06c8dedc6dc1cf21936ee2769d9d25f0567bd
3349 Author: Keith Packard <keithp@keithp.com>
3350 Date: Wed Nov 16 13:19:20 2016 -0800
3352 altos/lisp: Optimize chunk searching in collect
3354 Note range of existing chunks to exclude objects outside.
3355 Only look at chunks which have been set to reduce loop cost.
3357 Signed-off-by: Keith Packard <keithp@keithp.com>
3359 commit c8f9db184cc929ebde845730a6d4b7864e423a84
3360 Author: Keith Packard <keithp@keithp.com>
3361 Date: Wed Nov 16 12:34:14 2016 -0800
3363 altos/lisp: Add incremental collection
3365 Realizing that long-lived objects will eventually float to the bottom
3366 of the heap, I added a simple hack to the collector that 'remembers'
3367 the top of the heap the last time a full collect was run and then runs
3368 incremental collects looking to shift only objects above that
3369 boundary. That doesn't perfectly capture the bounds of transient
3370 objects, but does manage to reduce the amount of time spent not moving
3371 persistent objects each time through the collector.
3373 Signed-off-by: Keith Packard <keithp@keithp.com>
3375 commit 8406ddf8f0bd5453d6213973daed35991f80972a
3376 Author: Keith Packard <keithp@keithp.com>
3377 Date: Tue Nov 15 20:37:59 2016 -0800
3379 altos/lisp: Make hanoi example output a bit prettier
3381 Make the towers symmetrical instead of lopsided. Much nicer looking.
3383 Signed-off-by: Keith Packard <keithp@keithp.com>
3385 commit 472ecec64213e6c37b588d69ca2e8efd5e9abe36
3386 Author: Keith Packard <keithp@keithp.com>
3387 Date: Tue Nov 15 20:25:03 2016 -0800
3389 altos/lisp: remove nth from hanoi.lisp
3393 Signed-off-by: Keith Packard <keithp@keithp.com>
3395 commit 5161f6d78647591cc7ab8774a04edbc68a09f689
3396 Author: Keith Packard <keithp@keithp.com>
3397 Date: Tue Nov 15 20:24:33 2016 -0800
3399 altos/lambdakey: Strip out unused code
3401 Make space for more lisp bits!
3403 Signed-off-by: Keith Packard <keithp@keithp.com>
3405 commit ac0f7768659e288338bf452b4248ae3572ea2f7d
3406 Author: Keith Packard <keithp@keithp.com>
3407 Date: Tue Nov 15 20:22:54 2016 -0800
3409 altos/lisp: Take advantage of multi-arg macros. Add more ROM funcs
3411 Added nth, or and and.
3413 Signed-off-by: Keith Packard <keithp@keithp.com>
3415 commit 1a00bf4ac12a6505d4b23d94e99b4b46bf679020
3416 Author: Keith Packard <keithp@keithp.com>
3417 Date: Tue Nov 15 20:21:47 2016 -0800
3419 altos/lisp: Allow macro/nlambda/lexpr to have multiple args
3421 Entries from the params are bound to the formals with whatever
3422 remaining formals there are bound to the last argument as a list.
3423 This makes writing functions a bit easier.
3425 Signed-off-by: Keith Packard <keithp@keithp.com>
3427 commit 5c1fa73f159de9d9839e8619494c26931521d2d4
3428 Author: Keith Packard <keithp@keithp.com>
3429 Date: Tue Nov 15 20:20:14 2016 -0800
3431 altos/lisp: Do better checking for un-evaluated macros in ROM
3433 Need to look at immediate lambdas as well, and also deal with
3434 recursive functions by checking for recursion at each atom
3437 Signed-off-by: Keith Packard <keithp@keithp.com>
3439 commit 881161fe1c5fb0e2b1220c30572eb2c45bedbafe
3440 Author: Keith Packard <keithp@keithp.com>
3441 Date: Tue Nov 15 20:18:59 2016 -0800
3443 altos/lisp: re-use small frames
3445 This saves a pile more use of the allocator by noting when frames have
3446 not been referenced from another frame and freeing them when they go
3447 out of scope. Frames with references are left to the allocator to deal
3450 Signed-off-by: Keith Packard <keithp@keithp.com>
3452 commit 994adc7a47cbf3cbf6041eca7430273f8018de08
3453 Author: Keith Packard <keithp@keithp.com>
3454 Date: Tue Nov 15 10:32:36 2016 -0800
3456 altos/lisp: remove duplicate 'length' lambda from hanoi example
3458 This function is now a builtin.
3460 Signed-off-by: Keith Packard <keithp@keithp.com>
3462 commit 41175ff82bc0e35c99c60b49aa62944a12917157
3463 Author: Keith Packard <keithp@keithp.com>
3464 Date: Tue Nov 15 10:18:12 2016 -0800
3466 altos/lisp: Get lambdakey and nucleo-32 building again
3468 Remove exti from the build list to make things fit.
3470 Signed-off-by: Keith Packard <keithp@keithp.com>
3472 commit 974717eb9dad105c9897ee24f953d98d57eaec77
3473 Author: Keith Packard <keithp@keithp.com>
3474 Date: Tue Nov 15 09:55:22 2016 -0800
3476 altos/lisp: Evaluate macros once, then smash them into place
3478 This assumes that macros are all pure functions, which should be true
3479 for syntactic macros.
3481 Signed-off-by: Keith Packard <keithp@keithp.com>
3483 commit b3b5bd2c14cfcde6c551a87ee6da08a53f1e4bc6
3484 Author: Keith Packard <keithp@keithp.com>
3485 Date: Mon Nov 14 23:04:05 2016 -0800
3487 altos/lisp: Add license to hanoi demo
3489 Signed-off-by: Keith Packard <keithp@keithp.com>
3491 commit 13a4d451b903d08e52005bcf531efa8de351bf2b
3492 Author: Keith Packard <keithp@keithp.com>
3493 Date: Mon Nov 14 21:27:41 2016 -0800
3495 altos/lisp: Improve hanoi demo
3497 Repaint in place, without first clearing. This makes the updates a lot
3500 Signed-off-by: Keith Packard <keithp@keithp.com>
3502 commit 74ff0c6fd6c41cdaa054dcdb3d05c7d333bc24ff
3503 Author: Keith Packard <keithp@keithp.com>
3504 Date: Mon Nov 14 21:27:03 2016 -0800
3506 altos/lisp: Show number of collect calls in ao_lisp_test
3508 This helps tune the allocator
3510 Signed-off-by: Keith Packard <keithp@keithp.com>
3512 commit 5557f6b87a9b8bc9716de8191f2062a772a6ae6c
3513 Author: Keith Packard <keithp@keithp.com>
3514 Date: Mon Nov 14 21:25:38 2016 -0800
3516 altos/lisp: Cache freed cons and stack items
3518 Track freed cons cells and stack items from the eval process where
3519 possible so that they can be re-used without needing to collect.
3521 This dramatically reduces the number of collect calls.
3523 Signed-off-by: Keith Packard <keithp@keithp.com>
3525 commit ce549b2c11e6b2571590021e1c0503d8a6e7a702
3526 Author: Keith Packard <keithp@keithp.com>
3527 Date: Mon Nov 14 19:55:36 2016 -0800
3529 altos/lisp: Simplify GC a bit by only marking the head of each object
3531 We don't need to mark the whole object now as we're getting
3532 information about where objects are by walking the tree each time
3533 around the loop; ao_lisp_busy is only useful for terminating the walk
3536 Signed-off-by: Keith Packard <keithp@keithp.com>
3538 commit ddb4b8d90478ae324aa207a7541352c1ac9451ee
3539 Author: Keith Packard <keithp@keithp.com>
3540 Date: Mon Nov 14 18:45:12 2016 -0800
3542 altos/lisp: Change GC to do moves in batches of 32
3544 This should make it quite a bit faster than doing one at a time.
3546 Signed-off-by: Keith Packard <keithp@keithp.com>
3548 commit affcf6ffc08313151541993ee543bfe390165e81
3549 Author: Keith Packard <keithp@keithp.com>
3550 Date: Fri Nov 11 23:38:03 2016 -0800
3552 altos/stmf0: Add a comment about the requirements for using ao_flash_stm
3554 Need HSI clock and the flashing functions loaded in ram.
3556 Signed-off-by: Keith Packard <keithp@keithp.com>
3558 commit 30db58ade19ec69272a8c39c2f13d7919ca491a9
3559 Author: Keith Packard <keithp@keithp.com>
3560 Date: Fri Nov 11 23:36:22 2016 -0800
3562 altos/lambdakey: Get save/restore working
3564 Need the HSI clock running for the flash hardware to work.
3566 Signed-off-by: Keith Packard <keithp@keithp.com>
3568 commit 33aeffc123af1f9063969acf585f1caac885ced4
3569 Author: Keith Packard <keithp@keithp.com>
3570 Date: Fri Nov 11 23:34:54 2016 -0800
3572 altos/lisp: Append a CRC to the saved image to validate on restore
3574 The CRC is actually of the ROM bits, so we can tell if the restored
3575 image relates to the currently running code.
3577 Signed-off-by: Keith Packard <keithp@keithp.com>
3579 commit 8f2d60b4c029bffaa559bd1f31f5b15230dfa674
3580 Author: Keith Packard <keithp@keithp.com>
3581 Date: Fri Nov 11 21:18:50 2016 -0800
3583 altos/lisp: Add save/restore to ao_lisp_test
3585 Allow testing of the save/restore code under Linux.
3587 Signed-off-by: Keith Packard <keithp@keithp.com>
3589 commit dba374516ed396633659dec571b6a44b03da8ad1
3590 Author: Keith Packard <keithp@keithp.com>
3591 Date: Fri Nov 11 21:16:09 2016 -0800
3593 altos/lisp: Add save/restore infrastructure. Needs OS support to work.
3595 This sticks a few globals past the end of the heap and then asks the
3596 OS to save the heap. On restore, the heap is re-populated by the OS
3597 and then various global variables reset.
3599 Signed-off-by: Keith Packard <keithp@keithp.com>
3601 commit 29c890b4599b3bbdbd09a5915ea68a63f4e0a9ac
3602 Author: Keith Packard <keithp@keithp.com>
3603 Date: Fri Nov 11 21:11:13 2016 -0800
3605 altos/lisp: Make sure memmove only happens once per object. Other GC fixes
3607 The memmove may be overlapping, so make sure it happens only once by
3608 just checking whether move_size has been set, rather than looking at
3609 ao_lisp_moving; that doesn't get set when moving a noted cons as that
3610 still needs to be walked at a later time.
3612 Fix up the various looping move functions to all use the same
3613 pattern. Atom was busted.
3615 Signed-off-by: Keith Packard <keithp@keithp.com>
3617 commit d46ca67f93e9ecbc4d8c051c3fbdead85490b690
3618 Author: Keith Packard <keithp@keithp.com>
3619 Date: Fri Nov 11 21:07:09 2016 -0800
3621 altos/lisp: Make ao_lisp_ref and ao_lisp_poly non-inline
3623 These functions are pretty large and end up consuming quite a bit of
3624 space if inlined everywhere they are used.
3626 Signed-off-by: Keith Packard <keithp@keithp.com>
3628 commit 00827a0ffe30938c26be216369fd2d8f8946d2c4
3629 Author: Keith Packard <keithp@keithp.com>
3630 Date: Fri Nov 11 00:28:57 2016 -0800
3632 altos/lisp: Share mark function for mark and move
3634 These two operations both wanted to walk the referenced objects;
3637 Signed-off-by: Keith Packard <keithp@keithp.com>
3639 commit 7f7e2431f5d1f7c1782ed6e774ccfc70fb4c87cf
3640 Author: Keith Packard <keithp@keithp.com>
3641 Date: Fri Nov 11 00:28:31 2016 -0800
3643 altos/lisp: add length, pack, unpack and flush
3647 Signed-off-by: Keith Packard <keithp@keithp.com>
3649 commit f5a36c15f894803f8804bbc3daf105eed53d5ff6
3650 Author: Keith Packard <keithp@keithp.com>
3651 Date: Thu Nov 10 23:31:10 2016 -0800
3653 altos/lisp: Add towers of hanoi example
3655 Uses vt100 escape sequences to animate the display even.
3657 Signed-off-by: Keith Packard <keithp@keithp.com>
3659 commit 7da6bfc195fad97e3afc576c609897c131fd4d8c
3660 Author: Keith Packard <keithp@keithp.com>
3661 Date: Thu Nov 10 23:29:21 2016 -0800
3663 altos/lisp: Deal with memory compation in the middle of operations
3665 Handle memory compaction in places where we've got pointers into the
3666 heap across an allocation operation. Either re-compute the values from
3667 managed global references or add new roots across the allocation.
3669 Signed-off-by: Keith Packard <keithp@keithp.com>
3671 commit 137898e3431d887e75b09d8c1ce57297a1558e43
3672 Author: Keith Packard <keithp@keithp.com>
3673 Date: Thu Nov 10 23:28:26 2016 -0800
3675 altos/lisp: Improve lisp test program UI
3677 Add a prompt for stdin, read from other files on command line before
3680 Signed-off-by: Keith Packard <keithp@keithp.com>
3682 commit 92cdc0cf0e80c1ff3f31cce20fc2b9bda86e3638
3683 Author: Keith Packard <keithp@keithp.com>
3684 Date: Thu Nov 10 23:25:56 2016 -0800
3686 altos/lisp: Make read() return eof atom on end of file
3688 Also make it an exception to hit eof in the middle of an sexpr.
3690 Signed-off-by: Keith Packard <keithp@keithp.com>
3692 commit fb710f7f4f24f74ac3d45fcc423803384d986bb2
3693 Author: Keith Packard <keithp@keithp.com>
3694 Date: Thu Nov 10 23:24:11 2016 -0800
3696 altos/lisp: use regular read-eval-print loop for make const
3698 No need to open code this sequence of operations.
3700 Signed-off-by: Keith Packard <keithp@keithp.com>
3702 commit c7d7cdc2318a97534c4c1f9c6fd2b51644be729d
3703 Author: Keith Packard <keithp@keithp.com>
3704 Date: Thu Nov 10 11:30:55 2016 -0800
3706 altos/lisp: add progn, while, read and eval
3708 Progn as a builtin will help with tail-recursion.
3709 while provides for loops until tail-recursion works :-)
3710 read and eval are kinda useful.
3712 Signed-off-by: Keith Packard <keithp@keithp.com>
3714 commit 417161dbb36323b5a6572859dedad02ca92fc65c
3715 Author: Keith Packard <keithp@keithp.com>
3716 Date: Wed Nov 9 16:22:43 2016 -0800
3718 altos/lisp: Clean up OS integration bits, add defun
3720 Provide an abstraction for the OS interface so that it
3721 can build more cleanly on Linux and AltOS. Add defun macro.
3723 Signed-off-by: Keith Packard <keithp@keithp.com>
3725 commit 0ee44c8e4bf5dabe6a97bf76b366c8b767c387f8
3726 Author: Keith Packard <keithp@keithp.com>
3727 Date: Wed Nov 9 11:13:58 2016 -0800
3729 altos/lisp: macros appear to work now
3731 Needed an extra stack frame to stash the pre-macro state. This
3732 simplified macro processing quite a bit; a macro now just evaluates
3733 the function and then sends that result to be evaluated again.
3735 Signed-off-by: Keith Packard <keithp@keithp.com>
3737 commit 794718abc62f4610495fe2bd535a2b67bc46573c
3738 Author: Keith Packard <keithp@keithp.com>
3739 Date: Wed Nov 9 09:14:50 2016 -0800
3741 altos/lisp: working on lexical scoping
3745 Signed-off-by: Keith Packard <keithp@keithp.com>
3747 commit cb4cdb115ad83ae0d75eb58e68f561d20279f027
3748 Author: Keith Packard <keithp@keithp.com>
3749 Date: Sun Nov 6 21:47:31 2016 -0800
3751 altos/lambdakey-v1.0: Tweak memory allocations
3753 With non-recursive GC, more memory is available for the heap
3755 Signed-off-by: Keith Packard <keithp@keithp.com>
3757 commit 6e5c1308ce33a864095eae02e7db18b0e043ab6e
3758 Author: Keith Packard <keithp@keithp.com>
3759 Date: Sun Nov 6 10:53:46 2016 -0800
3761 altos/lisp: convert GC to non-recursive
3763 Use a boolean array to note cons cells which would otherwise recurse,
3764 then loop until that array is empty.
3766 Signed-off-by: Keith Packard <keithp@keithp.com>
3768 commit d8cf97fe22acefab40d7bb321138e46d4483fef7
3769 Author: Keith Packard <keithp@keithp.com>
3770 Date: Sat Nov 5 17:53:15 2016 -0700
3772 altos/lisp: more GC issues. add patom
3774 Use global ao_lisp_stack instead of local stack so that gc
3775 moves of that item work.
3777 Signed-off-by: Keith Packard <keithp@keithp.com>
3779 commit 286d07d83bd7ff361e5a904c151a75e5a9c8b071
3780 Author: Keith Packard <keithp@keithp.com>
3781 Date: Sat Nov 5 15:12:05 2016 -0700
3783 altos/lisp: make sure stack->formals_last gets moved during GC
3785 Failing this leads to broken formals chains
3787 Signed-off-by: Keith Packard <keithp@keithp.com>
3789 commit 3366efb139653939f053c1fe4aba352ba3b66c94
3790 Author: Keith Packard <keithp@keithp.com>
3791 Date: Sat Nov 5 14:51:58 2016 -0700
3793 altos/lisp: Change GC move API
3795 Pass reference to move API so it can change the values in-place, then
3796 let it return '1' when the underlying object has already been moved to
3799 Signed-off-by: Keith Packard <keithp@keithp.com>
3801 commit 6fc1ee0f7adc6fcb3e850bcbaabc1db705314234
3802 Author: Keith Packard <keithp@keithp.com>
3803 Date: Fri Nov 4 16:51:12 2016 -0700
3805 altos/lisp: get builtin macros working again
3807 Signed-off-by: Keith Packard <keithp@keithp.com>
3809 commit c9456362c8bad8cd9be717f591f2d0841f88eb50
3810 Author: Keith Packard <keithp@keithp.com>
3811 Date: Fri Nov 4 16:31:34 2016 -0700
3813 altos/lisp: Start rewriting eval as state machine
3815 Ad-hoc code was incomprehensible and I couldn't make 'cond' work, so
3818 Signed-off-by: Keith Packard <keithp@keithp.com>
3820 commit c48bda3625fc507134da7b4af87a634e8eb3715b
3821 Author: Keith Packard <keithp@keithp.com>
3822 Date: Thu Nov 3 21:51:26 2016 -0700
3824 altos: Add lambdakey
3826 Signed-off-by: Keith Packard <keithp@keithp.com>
3828 commit 77db0e8162cd01c2b42737b3d71b38cea942484f
3829 Author: Keith Packard <keithp@keithp.com>
3830 Date: Thu Nov 3 21:49:50 2016 -0700
3832 altos: Add lambda support to lisp
3834 Signed-off-by: Keith Packard <keithp@keithp.com>
3836 commit 11cb03b1d336ee90c422be27588f57be573a9546
3837 Author: Keith Packard <keithp@keithp.com>
3838 Date: Wed Nov 2 22:56:01 2016 -0700
3840 altos/lisp: Separate out values from atoms
3842 This enables changing values of atoms declared as constants, should
3843 enable lets, and with some work, even lexical scoping.
3845 this required changing the constant computation to run
3846 ao_lisp_collect() before dumping the block of constant data, and that
3847 uncovered some minor memory manager bugs.
3849 Signed-off-by: Keith Packard <keithp@keithp.com>
3851 commit 9e1a787f8828fb7b750ad3310c89a89536ea5286
3852 Author: Keith Packard <keithp@keithp.com>
3853 Date: Wed Nov 2 14:18:54 2016 -0700
3855 altos/lisp: add set/setq and ' in reader
3857 Along with other small fixes
3859 Signed-off-by: Keith Packard <keithp@keithp.com>
3861 commit 8362393a621ea78a96e7f65f602f4bfc7bbd1158
3862 Author: Keith Packard <keithp@keithp.com>
3863 Date: Wed Nov 2 14:18:31 2016 -0700
3865 altos/stmf0: Add lisp to include directories
3867 Signed-off-by: Keith Packard <keithp@keithp.com>
3869 commit caba623cb013b73e1f0ca369edf98e0376bec41a
3870 Author: Keith Packard <keithp@keithp.com>
3871 Date: Wed Nov 2 14:14:23 2016 -0700
3873 altos/kernel: Make ao_cmd_readline public. Return char from ao_cmd_lex.
3875 With these two changes, the readline function can be used by other
3878 Signed-off-by: Keith Packard <keithp@keithp.com>
3880 commit d2408e72d1e0d3459918601712b09860ab17e200
3881 Author: Keith Packard <keithp@keithp.com>
3882 Date: Tue Nov 1 21:14:45 2016 -0700
3884 altos/lisp: Change lisp objects to use ao_poly everywhere. Add const
3886 This makes all lisp objects use 16-bit ints for references so we can
3887 hold more stuff in small amounts of memory. Also adds a separate
3888 constant pool of lisp objects for builtins, initial atoms and constant
3891 Now builds (and runs!) on the nucleo-32 boards.
3893 Signed-off-by: Keith Packard <keithp@keithp.com>
3895 commit e2f4d25cd6f6f3787d4ee99264732d5b2ce23d4c
3896 Author: Keith Packard <keithp@keithp.com>
3897 Date: Mon Oct 31 18:53:09 2016 -0700
3899 altos: Add lisp reader
3901 commit 56d46ceaa1413415f25e47e81036426132f99924
3902 Author: Keith Packard <keithp@keithp.com>
3903 Date: Mon Oct 31 16:43:44 2016 -0700
3907 Signed-off-by: Keith Packard <keithp@keithp.com>
3909 commit 2cfcc622c94d87cdbee099f457b7d63cb2fcbc71
3910 Author: Bdale Garbee <bdale@gag.com>
3911 Date: Wed Jan 25 12:21:29 2017 -0700
3915 commit 4ae8eeb426ef60105ec8e53e289739e5a8ae5dae
3916 Author: Bdale Garbee <bdale@gag.com>
3917 Date: Wed Jan 25 12:00:20 2017 -0700
3919 stop using /usr/share for binaries in remaining turnon scripts
3921 commit f2c7bb5879ba22df05fd1e39f01ea692313306fd
3922 Author: Richard Hughes <richard@hughsie.com>
3923 Date: Tue Jan 10 17:15:24 2017 +0000
3925 altos/chaoskey: Add a metainfo for the ChaosKey
3927 This provides the information necessary to reflash chaoskey using
3928 standard Linux device firmware tooling.
3930 commit 89ecc32b90565ace078c4a84d4406a4d1f86821a
3931 Author: Keith Packard <keithp@keithp.com>
3932 Date: Sat Dec 17 20:58:36 2016 -0800
3934 altos/arm: Align data so that gcc 5.4 doesn't do byte-accesses. Add -Wcast-align
3936 Gcc 5.4.1 tracks alignment of data through assignments, so that a
3937 uint32_t pointer which comes from byte-aligned uint8_t data:
3939 extern uint8_t foo[];
3941 uint32_t *q = (void *) foo;
3943 Fetches and stores through this pointer are done bytewise. This is
3944 slow (meh), but if q references a device register, things to bad very
3947 This patch works around this bug in the compiler by adding
3948 __attribute__((aligned(4))) tags to some variables, or changing them
3949 from uint8_t to uint32_t. Places doing this will now be caught as I've
3950 added -Wcast-align to the compiler flags. That required adding (void
3951 *) casts, after the relevant code was checked to make sure the
3952 compiler could tell that the addresses were aligned.
3954 Signed-off-by: Keith Packard <keithp@keithp.com>
3956 commit f650211f9e99e1d3d0ae13ae559dd1c082f71545
3957 Author: Keith Packard <keithp@keithp.com>
3958 Date: Mon Dec 12 16:44:47 2016 -0800
3960 altos/stm: Make ao_usb_set_address static. Saves a bunch of text space
3962 I'm sure this makes the function end up in-lined, which saves enough
3963 text space to fit the flash loader in ROM again.
3965 Signed-off-by: Keith Packard <keithp@keithp.com>
3967 commit d46698a01ed4903d36635b34867bfc4bb8fbafc6
3968 Author: Keith Packard <keithp@keithp.com>
3969 Date: Thu Nov 17 22:17:20 2016 -0800
3971 ao-bringup: Improve EasyMini turnon and test scripts
3973 Wait less time before trying the test script.
3974 Have the test script wait for the device to appear. And then use
3975 colors to help make the results clear.
3977 Signed-off-by: Keith Packard <keithp@keithp.com>
3979 commit 5e24d637a8af09bf64beb7fcf7be4c13eee76a43
3980 Author: Keith Packard <keithp@keithp.com>
3981 Date: Sun Oct 9 19:42:42 2016 -0700
3983 altos/test: Fix tests
3985 A couple of fixups for ao_flight_test to dump pyro info only when
3986 running in debug mode, and to change the aprs testing
3988 Signed-off-by: Keith Packard <keithp@keithp.com>
3990 commit e3d8ad6de7d2dfabe45a285b27f465ba68844f05
3991 Author: Keith Packard <keithp@keithp.com>
3992 Date: Sun Oct 30 19:08:14 2016 -0700
3994 altos/nucleo-32: Add basic support for STM32F042 Nucleo-32 board
3996 This hooks up the LED, USB and the USART.
3998 Signed-off-by: Keith Packard <keithp@keithp.com>
4000 commit 148f6e0a107d9e88509958700351794f2f971312
4001 Author: Keith Packard <keithp@keithp.com>
4002 Date: Sun Oct 30 19:06:20 2016 -0700
4004 altos/stmf0: Add USART support
4006 The STM32F0 usart can be operated much like the STM32L usart, but the
4007 registers are all moved around.
4009 Signed-off-by: Keith Packard <keithp@keithp.com>
4011 commit 26f2727eac0cca8930dde9d757bc094f73801859
4012 Author: Bdale Garbee <bdale@gag.com>
4013 Date: Sun Oct 2 17:19:14 2016 -0600
4015 augment TeleDongle turn on script to support serial number on command line
4017 commit 66d4b5ea4031193e3c79ebdabeb381aae46fe93b
4018 Author: Keith Packard <keithp@keithp.com>
4019 Date: Thu Sep 22 03:23:34 2016 +0300
4021 Update pdclib to version using arm-specific 'ar' program
4023 Signed-off-by: Keith Packard <keithp@keithp.com>
4025 commit 2c1ab416728c942ddf176f881f025840ada6bf93
4026 Author: Keith Packard <keithp@keithp.com>
4027 Date: Mon Sep 5 22:25:07 2016 -0600
4029 Fix release note html to remove xml bits
4031 Signed-off-by: Keith Packard <keithp@keithp.com>
4033 commit 4fdf8ca9ca1cd5a84b03bd7a03c5806af64b413d
4034 Author: Keith Packard <keithp@keithp.com>
4035 Date: Mon Sep 5 20:55:17 2016 -0600
4037 Remove pyro wizard file from master
4039 This isn't done yet.
4041 Signed-off-by: Keith Packard <keithp@keithp.com>
4043 commit 89b8b2ee98e8d329559f54058c574ba9122ced8e
4044 Author: Keith Packard <keithp@keithp.com>
4045 Date: Mon Sep 5 20:46:05 2016 -0600
4047 Bump version to 1.6.8
4049 Signed-off-by: Keith Packard <keithp@keithp.com>
4051 commit a37b687670dd1ccb0274e5fe6bf6145c4fc5acc8
4052 Author: Keith Packard <keithp@keithp.com>
4053 Date: Mon Sep 5 20:45:12 2016 -0600
4055 altosui: Don't ship TeleMetrum v3.0 firmware (yet)
4057 We haven't finished this yet, so don't deliver firmware for it.
4059 Signed-off-by: Keith Packard <keithp@keithp.com>
4061 commit 45084fd04326b979f349870f09ff9af1b3155cbe
4062 Author: Keith Packard <keithp@keithp.com>
4063 Date: Sat Sep 3 21:02:35 2016 -0500
4065 Add 1.6.8 release notes
4067 Signed-off-by: Keith Packard <keithp@keithp.com>
4069 commit 9279b0cd52333a846b57af890f708ebb364b62b7
4070 Author: Keith Packard <keithp@keithp.com>
4071 Date: Sat Sep 3 01:21:34 2016 -0500
4073 altos/stm: Set SPI slave DMA priority to HIGH/VERY_HIGH
4075 Set spi slave DMA priority MOSI to HIGH and MISO to VERY_HIGH. Slave
4076 SPI doesn't have the luxury of slowing down when the system is busy,
4077 so provide it maximum memory bandwidth to try and keep up with the
4080 Signed-off-by: Keith Packard <keithp@keithp.com>
4082 commit d80995c4535a3655ca1b9ca674d6839cfef84c4e
4083 Author: Keith Packard <keithp@keithp.com>
4084 Date: Sat Sep 3 01:20:20 2016 -0500
4086 altos/stm: Set i2c recv DMA to HIGH
4088 Make sure receive DMA is higher than any TX dma so that
4089 it always runs in preference.
4091 Signed-off-by: Keith Packard <keithp@keithp.com>
4093 commit af2eefbed43e56885a7321319d69b7be17354cdd
4094 Author: Keith Packard <keithp@keithp.com>
4095 Date: Sat Sep 3 00:55:19 2016 -0500
4097 altos/stm: Set MISO DMA priority to HIGH to avoid OVR
4099 When the MISO DMA priority is too low, and the processor gets busy,
4100 it's possible for SPI input to overrun the processor, which causes the
4101 MISO DMA to get out of sync and never finish. Set the MISO DMA
4102 priority to HIGH to avoid this.
4104 Signed-off-by: Keith Packard <keithp@keithp.com>
4106 commit 4fc5cfa2c63c43ab0a9ef7e0cc6832fb1c163bd6
4107 Author: Keith Packard <keithp@keithp.com>
4108 Date: Sat Sep 3 00:53:44 2016 -0500
4110 altos/stm: Create funcs to set SPI DMA parameters
4112 Instead of having nearly duplicate versions of the SPI DMA
4113 configuration calls, create helper funcs that do most of the work so
4114 that the SPI API funcs are shorter and clearer.
4116 Signed-off-by: Keith Packard <keithp@keithp.com>
4118 commit 1710a4921d4f408300c7d5adf0e83d08cc86be20
4119 Author: Keith Packard <keithp@keithp.com>
4120 Date: Sat Sep 3 00:52:12 2016 -0500
4122 altos/stm: Make ao_spi_duplex out pointer const
4124 Provides a bit better typechecking opportunities for this function.
4126 Signed-off-by: Keith Packard <keithp@keithp.com>
4128 commit 5d913dde1fa58cbcb5edbc88405180e37ba0dbcd
4129 Author: Keith Packard <keithp@keithp.com>
4130 Date: Fri Sep 2 23:40:03 2016 -0500
4132 Bump version to 1.6.7.1
4134 Signed-off-by: Keith Packard <keithp@keithp.com>
4136 commit 30e8f003381c30434058905f53f5a219ac5feb4f
4137 Author: Keith Packard <keithp@keithp.com>
4138 Date: Fri Sep 2 23:36:36 2016 -0500
4140 ao-tools/ao-cal-freq: Re-open usb device each try
4142 Instead of trying to re-use the same file descriptor, close and
4143 re-open the device each time around the loop to avoid getting stuck
4144 when calibrating TeleMega boards.
4146 Signed-off-by: Keith Packard <keithp@keithp.com>
4148 commit 3ea30c1909b3ae23918ea6d0a53d2c4065b08763
4149 Author: Keith Packard <keithp@keithp.com>
4150 Date: Fri Sep 2 23:34:47 2016 -0500
4152 ao-tools/ao-usbload: Fix -f flag, remove debug hacks