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
4154 The code to validate the usb id and product name had some debug hacks
4155 left enabled, which caused it to fail. The short -f version of the
4156 force flag was also not getting parsed correctly.
4158 Signed-off-by: Keith Packard <keithp@keithp.com>
4160 commit dfaabc1ca3aaad0d249283308b06d3e0567f0c59
4161 Author: Keith Packard <keithp@keithp.com>
4162 Date: Fri Sep 2 23:33:27 2016 -0500
4164 ao-bringup/turnon_telemetrum: serial on cmd line. Loop on accel fail
4166 These make the script easier to use
4168 Signed-off-by: Keith Packard <keithp@keithp.com>
4170 commit 8bbef0c7039f4a0c6ac368fd994c2e52d84d293c
4171 Author: Keith Packard <keithp@keithp.com>
4172 Date: Fri Sep 2 16:13:25 2016 -0500
4174 altosui: Deal with connect failure in AltosConfigTD
4176 When the USB connection times out, abort any pending operations and
4177 clean up the thread correctly. Also, deal with the serial line being
4178 closed by checking for null.
4180 Signed-off-by: Keith Packard <keithp@keithp.com>
4182 commit b2d013aef5b76ff527e8174dff7f6ffe0dfaefae
4183 Author: Keith Packard <keithp@keithp.com>
4184 Date: Wed Aug 31 21:27:10 2016 -0600
4186 ao-tools/ao-cal-freq: --verbose option has no parameter
4188 Signed-off-by: Keith Packard <keithp@keithp.com>
4190 commit 08923aa0cf31ae7bd73b66b4d1cd81fae4241ff0
4191 Author: Keith Packard <keithp@keithp.com>
4192 Date: Wed Aug 31 21:25:59 2016 -0600
4194 ao-bringup: telemega allow serial on command line, loop on accel fail
4196 Allow the serial number on the turnon_telemega command line, instead
4199 When accel cal fails, loop waiting for it to succeed instead of
4202 Signed-off-by: Keith Packard <keithp@keithp.com>
4204 commit ab75ab10564c4d5d05719c382a3b71585cd70710
4205 Author: Keith Packard <keithp@keithp.com>
4206 Date: Mon Aug 29 09:27:53 2016 -0700
4208 altos/cc1120: remove unused status from ao_radio_fifo_write_stop
4210 Signed-off-by: Keith Packard <keithp@keithp.com>
4212 commit 462039c769f2db9328b04759807c30691f2b96c2
4213 Author: Keith Packard <keithp@keithp.com>
4214 Date: Sun Aug 14 15:57:39 2016 -0700
4216 ao-usbload: Check target device name to avoid mis-flashing
4218 Instead of blindly loading firmware, go get the old device's name and
4219 make sure it matches the new firmware.
4221 Add --force option to allow this to be overridden.
4223 Signed-off-by: Keith Packard <keithp@keithp.com>
4225 commit c62816a00b9aa40879a2ea98da2d10667e09b704
4226 Author: Keith Packard <keithp@keithp.com>
4227 Date: Sun Aug 14 15:55:13 2016 -0700
4229 ao-chaosread: Parse -i and -b options
4231 Need to pass the single-byte verisons to getopt_long
4233 Signed-off-by: Keith Packard <keithp@keithp.com>
4235 commit af1d41e32fc04d5897fd2dc736391d263af48727
4236 Author: Keith Packard <keithp@keithp.com>
4237 Date: Mon Aug 8 22:40:41 2016 -0700
4239 Bump verison to 1.6.7
4241 Signed-off-by: Keith Packard <keithp@keithp.com>
4243 commit 46b1234140c04dbfac22be0fdf80be96506b6948
4244 Author: Keith Packard <keithp@keithp.com>
4245 Date: Mon Aug 8 22:39:16 2016 -0700
4247 altos/stmf0: Switch ADC fast to ADC clock
4249 Using this slower clock eliminates sampling problems with the ADC and
4250 cleans up the chaoskey raw data.
4252 Signed-off-by: Keith Packard <keithp@keithp.com>
4254 commit 48088d1d6a66c5d5271b52191367f07b09626b29
4255 Author: Keith Packard <keithp@keithp.com>
4256 Date: Thu Aug 4 09:54:16 2016 -0700
4258 altos: Flash all LEDS during power on
4260 This tests the LEDS to make sure they all work on the following devices:
4269 Signed-off-by: Keith Packard <keithp@keithp.com>
4271 commit 71e3a59e42c284fde8ac2767abd029230ed86e07
4272 Author: Keith Packard <keithp@keithp.com>
4273 Date: Thu Aug 4 09:52:05 2016 -0700
4275 ao-bringup: Add colors to chaoskey test result reporting
4277 This makes them show up nice and bright in the terminal window.
4279 Signed-off-by: Keith Packard <keithp@keithp.com>
4281 commit bc920c80ef447a5bcdf8165b69fb28b8f63609df
4282 Author: Keith Packard <keithp@keithp.com>
4283 Date: Tue Aug 2 16:35:36 2016 -0700
4285 Bump to version 1.6.6
4287 Signed-off-by: Keith Packard <keithp@keithp.com>
4289 commit 165868999f45f4572ff2585fcb3986974a5bbd5c
4290 Author: Keith Packard <keithp@keithp.com>
4291 Date: Tue Aug 2 16:52:39 2016 -0700
4293 ao-bringup: Use released files for chaoskey turnon
4295 Signed-off-by: Keith Packard <keithp@keithp.com>
4297 commit c4926a69d6e72a035197b3d617c62893a7ea1861
4298 Author: Keith Packard <keithp@keithp.com>
4299 Date: Tue Aug 2 16:30:15 2016 -0700
4301 ao-bringup: Test chaoskey using dieharder
4303 This uses a subset of the dieharder tests which run in reasonable time
4304 and don't appear to emit false negatives on a regular basis.
4306 Signed-off-by: Keith Packard <keithp@keithp.com>
4308 commit d52cb9dac725206ba7b2d26818c84f134d5bf183
4309 Author: Keith Packard <keithp@keithp.com>
4310 Date: Tue Aug 2 16:53:17 2016 -0700
4312 ao-chaosread: Eliminate double-free when serial match fails
4314 Signed-off-by: Keith Packard <keithp@keithp.com>
4316 commit 3bdc9028502c766d1c8ddb4f0dedba4bbc22384e
4317 Author: Keith Packard <keithp@keithp.com>
4318 Date: Tue Aug 2 16:28:17 2016 -0700
4320 ao-chaosread: Add --infinite and --bytes options
4322 The --infinite option keeps writing data.
4323 The --bytes options pulls out bits 1-8 which should provide 8 true
4326 This combination allows ao-chaosread to be fed directly into dieharder
4327 to validate the hardware.
4329 Signed-off-by: Keith Packard <keithp@keithp.com>
4331 commit 826ad792389150ea8d80e341cb8ea023db83c9a2
4332 Author: Keith Packard <keithp@keithp.com>
4333 Date: Tue Aug 2 16:26:49 2016 -0700
4335 altos: Use standard FIPS testing for chaoskey
4337 Check to make sure we aren't repeating a block coming from the
4338 unwhitened source, which is the standard online FIPS test for RNGs.
4340 Signed-off-by: Keith Packard <keithp@keithp.com>
4342 commit 1934468e96ea9d179abf6e3e728b6b14ce793f46
4343 Author: Keith Packard <keithp@keithp.com>
4344 Date: Tue Aug 2 16:53:50 2016 -0700
4346 altos/stmf0: Clean .bin files from flash-loader dirs
4348 The .bin files are what the DFU utility uses to flash the boot loader
4351 Signed-off-by: Keith Packard <keithp@keithp.com>
4353 commit 782013d0ff2c9f076952c0e172bfcb7016699d5f
4354 Author: Keith Packard <keithp@keithp.com>
4355 Date: Tue Aug 2 16:32:43 2016 -0700
4357 altos/stmf0: Hook up clock output support
4359 This was used to try and not have two xtals on telemini, but failed
4360 because the provided clock has too much noise.
4362 Signed-off-by: Keith Packard <keithp@keithp.com>
4364 commit 99753673a4a97423300427e276bf550ae5353842
4365 Author: Keith Packard <keithp@keithp.com>
4366 Date: Tue Aug 2 16:31:41 2016 -0700
4368 altos: Make telelcotwo control two boxes instead of two pads
4370 telefiretwo is now a single pad box, so telelcotwo needs to switch
4371 between boxes instead of pads on the same box. Do this by re-purposing
4372 the pad arming switches into a box selector and arming switch.
4374 Signed-off-by: Keith Packard <keithp@keithp.com>
4376 commit be84201495fa3cabd699012e57e797355e2bd792
4377 Author: Keith Packard <keithp@keithp.com>
4378 Date: Wed Jul 27 21:28:34 2016 -0700
4380 altos: Add 'ao_button_get' to button driver
4382 This returns the current state of the button; useful to check what the
4383 value is at startup.
4385 Signed-off-by: Keith Packard <keithp@keithp.com>
4387 commit a6701283af7ed2b3016a910d6edbe4a5e8304581
4388 Author: Keith Packard <keithp@keithp.com>
4389 Date: Tue Aug 2 16:33:52 2016 -0700
4391 altoslib: Add a 'seconds' method to AltosGPS
4393 This computes the time in seconds since the epoch from GPS time
4396 Signed-off-by: Keith Packard <keithp@keithp.com>
4398 commit 647690dbe084d188ba3973da631871a65f2dc50d
4399 Author: Keith Packard <keithp@keithp.com>
4400 Date: Wed Jul 27 13:29:20 2016 -0700
4402 altos: Stop building cc1111-based telemini v2.0 firmware
4404 This product never worked, so stop insisting that it actually build.
4406 Signed-off-by: Keith Packard <keithp@keithp.com>
4408 commit fe13426daff08f2beface2c1906f9a6184f6b987
4409 Author: Keith Packard <keithp@keithp.com>
4410 Date: Wed Jul 27 13:26:22 2016 -0700
4412 altos: Don't switch to flight 0 when log fills in flight
4414 If the log is full at startup, we want to transmit flight 0 to let the
4415 ground station know. However, we don't want to switch to flight 0 in
4416 flight, so save the initial telemetry flight number (0 or the real
4417 flight number) at startup and use that throughout the flight.
4419 Signed-off-by: Keith Packard <keithp@keithp.com>
4421 commit 71ddb973ff75680e78fbbef7978ab3893c367629
4422 Author: Keith Packard <keithp@keithp.com>
4423 Date: Wed Jul 27 13:24:57 2016 -0700
4425 altos: Expose cc1200 radio test functions for telemini bringup
4427 This exposes the cc1200 radio test function so we can load special
4428 test firmware in telemini to do the radio cal as it has no USB to
4429 perform that interactively.
4431 Signed-off-by: Keith Packard <keithp@keithp.com>
4433 commit 59874a062543c61d164089e8b31f55a9b860c0b1
4434 Author: Keith Packard <keithp@keithp.com>
4435 Date: Wed Jul 27 13:23:06 2016 -0700
4437 fixup for interleave
4439 commit 2507b9f29d25f77de249103805087a704069c625
4440 Author: Keith Packard <keithp@keithp.com>
4441 Date: Wed Jul 27 13:17:51 2016 -0700
4443 altos: Don't access cc1120 SPI bus during recv after abort has started
4445 When the receive timeout happens, the radio may still interrupt while
4446 the SPI bus is getting shut down. If this happens, the interrupt
4447 handler shouldn't touch the SPI bus at all as it may well be turned
4448 off, which would cause the receive function to wedge waiting for a spi
4449 byte transfer to happen.
4451 Signed-off-by: Keith Packard <keithp@keithp.com>
4453 commit 17adfd7939ff697afa96f7207a3fe17b6af789bd
4454 Author: Keith Packard <keithp@keithp.com>
4455 Date: Wed Jul 27 12:24:27 2016 -0700
4457 altos: Keep telemetry and command output from interleaving
4459 When monitoring telemetry, the frame needs to be sent together on one
4460 line, not split with the output of a command (like 'a') mixed in.
4462 Use a mutex for products with monitoring to keep command output and
4463 telemetry output each on separate lines.
4465 Signed-off-by: Keith Packard <keithp@keithp.com>
4467 commit 1667cb8e8b702b05fc3ec39ee49029885df64a4a
4468 Author: Keith Packard <keithp@keithp.com>
4469 Date: Sat Jul 2 20:00:01 2016 +0200
4471 altos: Add STM32F0 beep and SPI byte API.
4473 Signed-off-by: Keith Packard <keithp@keithp.com>
4475 commit f39bee8875a0595b3d7ec7f5575d1e5eeb7544ec
4476 Author: Keith Packard <keithp@keithp.com>
4477 Date: Tue Jul 12 21:06:23 2016 -0700
4479 altosuilib: Show indicator when they switch from invalid back to valid
4481 The 'hide' value wasn't getting reset to 'false' each time the state
4482 of the indicators was checked, so indicators would get hidden and then
4485 Signed-off-by: Keith Packard <keithp@keithp.com>
4487 commit efd91febfa9bebd2f03508b2240916551450f831
4488 Author: Keith Packard <keithp@keithp.com>
4489 Date: Tue Jul 12 21:06:05 2016 -0700
4491 Bump version to 1.6.5.1 after 1.6.5 release
4493 Signed-off-by: Keith Packard <keithp@keithp.com>
4495 commit 639d8b3c4353ee25a0536e01653f3a86feb90ad5
4496 Author: Keith Packard <keithp@keithp.com>
4497 Date: Tue Jul 12 15:53:47 2016 -0700
4499 altos: Add telemetrum v3.0
4501 Like Telemetrum v2.0, but with cc1200 instead of cc1120
4503 Signed-off-by: Keith Packard <keithp@keithp.com>
4505 commit 1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a
4506 Author: Keith Packard <keithp@keithp.com>
4507 Date: Tue Jul 5 18:03:49 2016 +0200
4509 Switch from GPLv2 to GPLv2+
4511 Signed-off-by: Keith Packard <keithp@keithp.com>
4513 commit cd97128e30c47edfcc71f7d872cbdad14867934c
4514 Author: Bdale Garbee <bdale@gag.com>
4515 Date: Tue Jul 5 10:21:29 2016 +0200
4517 remove debian/ from master branch, it should live only on the debian branch
4519 commit a439ee4ac0398f70209292d015c5b82cd58d1d9f
4520 Author: Bdale Garbee <bdale@gag.com>
4521 Date: Tue Jul 5 00:48:07 2016 +0200
4523 updates made during 1.6.5 release process
4525 commit 65ed2f588ca596fe9aa559bebd590a2a11b9859b
4526 Author: Keith Packard <keithp@keithp.com>
4527 Date: Sun Jul 3 12:00:10 2016 +0200
4529 doc: Build 1.6.5 release notes
4531 Signed-off-by: Keith Packard <keithp@keithp.com>
4533 commit d60133c65b4592f0f8c832135664a8e0c922b4f0
4534 Author: Keith Packard <keithp@keithp.com>
4535 Date: Sat Jul 2 22:52:38 2016 +0200
4537 Credit Chuck Haskin for helping fix the SPI bug.
4539 Signed-off-by: Keith Packard <keithp@keithp.com>
4541 commit 14e73d89d7dbb44e9ffab2820aefb693b6e8ef24
4542 Author: Keith Packard <keithp@keithp.com>
4543 Date: Sat Jul 2 22:08:58 2016 +0200
4545 Bump to 1.6.5. Add preliminary release notes
4547 Signed-off-by: Keith Packard <keithp@keithp.com>
4549 commit 8a6a95bb24517af00717fd377bad82ddb2289cf0
4550 Author: Keith Packard <keithp@keithp.com>
4551 Date: Thu Jun 30 20:43:03 2016 -0700
4553 altos/cc1111: Remove 'show tasks' command
4555 This saves space on cc1111 parts.
4557 Signed-off-by: Keith Packard <keithp@keithp.com>
4559 commit d2e286f66d2b15df128ffe9b40a201242fc4a10a
4560 Author: Keith Packard <keithp@keithp.com>
4561 Date: Wed Jun 29 14:22:32 2016 -0700
4563 Bump to testing version 1.6.4.2
4565 Signed-off-by: Keith Packard <keithp@keithp.com>
4567 commit a04830a636a71808ea8ef5ac5dfa59d6978d9f3b
4568 Author: Keith Packard <keithp@keithp.com>
4569 Date: Wed Jun 29 18:41:24 2016 -0700
4571 altos: Use FIFO_THR pin for cc1120 transmit buffering
4573 Instead of reading NUM_TXBYTES, set the FIFO_THR pin to indicate when
4574 64 bytes are available in the buffer.
4576 Signed-off-by: Keith Packard <keithp@keithp.com>
4578 commit caf3fc2628c13ff38ffbaabda8aa8d146cda748e
4579 Author: Keith Packard <keithp@keithp.com>
4580 Date: Wed Jun 29 18:33:56 2016 -0700
4582 altos: Leave USB enabled in flight with -DDEBUG=1
4584 This leaves the command line available for diagnostics when debugging.
4586 Signed-off-by: Keith Packard <keithp@keithp.com>
4588 commit c6c250711355ae8060e956e786702be250ef4527
4589 Author: Keith Packard <keithp@keithp.com>
4590 Date: Wed Jun 29 12:55:30 2016 -0700
4592 altos/stm: clean up ao_exti_enable
4594 Was computing (1 << pin) twice for no good reason.
4596 Signed-off-by: Keith Packard <keithp@keithp.com>
4598 commit a35424cd48205af89ba023db979959dc75b06706
4599 Author: Keith Packard <keithp@keithp.com>
4600 Date: Wed Jun 29 12:54:31 2016 -0700
4602 altos: Make task list output more useful
4604 Add the timeout value and task id
4606 Signed-off-by: Keith Packard <keithp@keithp.com>
4608 commit 6c022e094f6f3c551355742a6f9c3deb6e554fe1
4609 Author: Keith Packard <keithp@keithp.com>
4610 Date: Wed Jun 29 16:07:22 2016 -0700
4612 altos/telemini-v2.0: Remove show tasks command
4614 There's not enough memory for this command, and it isn't necessary.
4616 Signed-off-by: Keith Packard <keithp@keithp.com>
4618 commit 349a63aeed6cdeb89bf18c7b2e2c40782c79cc00
4619 Author: Keith Packard <keithp@keithp.com>
4620 Date: Wed Jun 29 12:52:37 2016 -0700
4622 altos: Make ao_delay(0) not wait forever
4624 ao_delay() is implemented on top of ao_sleep_for, and ao_sleep_for
4625 uses the timeout value of 0 to indicate an infinite timeout. Calls to
4626 ao_delay for 0 ticks would unintentionally hit this case and end up
4629 Signed-off-by: Keith Packard <keithp@keithp.com>
4631 commit 3b3a24f5f39a1b72cc8947c33b609f454b46aff8
4632 Author: Keith Packard <keithp@keithp.com>
4633 Date: Wed Jun 29 12:49:16 2016 -0700
4635 altos: cc1200: use FIFO threshold pin output for APRS buffering
4637 Instead of polling the device for fifo space, just use the available
4638 pin configuration to figure out if there is enough space for a single
4639 APRS buffer. Then set the APRS buffer size to match the fifo threshold
4640 setting in the chip so that we know we can write the whole APRS buffer
4641 once the pin says there's space.
4643 Signed-off-by: Keith Packard <keithp@keithp.com>
4645 commit 658d8be170f9aea683fe62b68368736a177411a5
4646 Author: Keith Packard <keithp@keithp.com>
4647 Date: Tue Jun 28 17:03:34 2016 -0700
4649 altos: Add debug check for irq block when editing task queues
4651 List manipulation operations are not atomic, so interrupts need to be
4652 blocked while changing them.
4654 Signed-off-by: Keith Packard <keithp@keithp.com>
4656 commit 30eb5d2fa77e036690170e7057fa9df669375ae5
4657 Author: Keith Packard <keithp@keithp.com>
4658 Date: Tue Jun 28 18:40:46 2016 -0700
4660 altos/drivers: Use more reliable byte interface for CC1120 reception
4662 This replaces direct register access with function calls to allow that
4663 code to respect the hardware requirements.
4665 Signed-off-by: Keith Packard <keithp@keithp.com>
4667 commit 61ad8e5bf428246ac89cad7cb9a1edf2ef735fd5
4668 Author: Keith Packard <keithp@keithp.com>
4669 Date: Tue Jun 28 18:39:31 2016 -0700
4671 altos/stm: Add better byte-level SPI api
4673 This provides inline functions for sending and receiving individual
4674 bytes, and setup/finish functions to wrap them in. This make the byte
4675 sending respect the SPI hardware interface requirements.
4677 Signed-off-by: Keith Packard <keithp@keithp.com>
4679 commit 5866d191cee56949ccab4c154a14604e83163d42
4680 Author: Keith Packard <keithp@keithp.com>
4681 Date: Tue Jun 28 18:37:49 2016 -0700
4683 altos/stm: Clean up spi_enable/disable_index functions
4685 These had an extra level of switch nesting for no good reason.
4687 Signed-off-by: Keith Packard <keithp@keithp.com>
4689 commit 5ab4a8b911e254dc829b61cb0abc9fd0b46b84b3
4690 Author: Keith Packard <keithp@keithp.com>
4691 Date: Mon Jun 27 23:25:01 2016 -0700
4693 altos/stm: move spi execution to common ao_spi_run
4695 This regularizes SPI hardware use and ensures that the device is
4696 turned off after it has been used and that the status register is back
4697 to 'normal' the next time through.
4699 Signed-off-by: Keith Packard <keithp@keithp.com>
4701 commit 69791ef235161fef404f682fd6955e7eed8dc125
4702 Author: Keith Packard <keithp@keithp.com>
4703 Date: Mon Jun 27 23:26:20 2016 -0700
4705 altos: Add STM SPI debugging
4707 This dumps out the SPI hardware state and history of SPI operations
4708 when compiled with -DDEBUG=1. Without that, this patch does nothing.
4710 Signed-off-by: Keith Packard <keithp@keithp.com>
4712 commit f418584d4d225827e08f56de86055eb3f074f8d1
4713 Author: Keith Packard <keithp@keithp.com>
4714 Date: Mon Jun 27 17:26:19 2016 -0700
4716 altos: Add STM DMA debugging
4718 This provides a command that shows current DMA operations when
4719 compiled with -DDEBUG=1. Without that, this patch has no effect.
4721 Signed-off-by: Keith Packard <keithp@keithp.com>
4723 commit 2e60cd22f6789c94343e6432822cedab028dc1ba
4724 Author: Keith Packard <keithp@keithp.com>
4725 Date: Tue Jun 28 18:25:44 2016 -0700
4727 altos/stm: Change ao_spi_send_sync definition to take const source
4729 Provides for a bit better error checking.
4731 Signed-off-by: Keith Packard <keithp@keithp.com>
4733 commit 21a29c7452398e0cca0fb90f99fa42a2a0684668
4734 Author: Keith Packard <keithp@keithp.com>
4735 Date: Tue Jun 28 17:15:27 2016 -0700
4737 altos/stm: Add more SPI status register bits
4739 These weren't the original version of the docs that we had.
4741 Signed-off-by: Keith Packard <keithp@keithp.com>
4743 commit 785d2697376ebd20531d22441a60c41bd927b42a
4744 Author: Keith Packard <keithp@keithp.com>
4745 Date: Tue Jun 28 17:12:48 2016 -0700
4747 altos/stm: use 0xff for dma mutex value for allocated mutexes
4749 DMA channels which are 'allocated' can't be shared. Instead of using
4750 the value '1' in the related 'mutex', use 0xff which won't match any task.
4752 Signed-off-by: Keith Packard <keithp@keithp.com>
4754 commit 0dec7d0885970a7d73468dd77220bae78e161b40
4755 Author: Keith Packard <keithp@keithp.com>
4756 Date: Tue Jun 28 17:11:38 2016 -0700
4758 altos/stm: remove ao_dma_abort
4760 This function isn't used anywhere.
4762 Signed-off-by: Keith Packard <keithp@keithp.com>
4764 commit 974aaf73cbb720f1b1183cc239001528b6c7a5b9
4765 Author: Keith Packard <keithp@keithp.com>
4766 Date: Tue Jun 28 17:09:00 2016 -0700
4768 altos: Move comment in ao_sleep_for next to related code
4770 The comment got moved to the wrong place
4772 Signed-off-by: Keith Packard <keithp@keithp.com>
4774 commit a7e0bb5eb661cfde31c383d605cb9cb8ca568bc7
4775 Author: Keith Packard <keithp@keithp.com>
4776 Date: Tue Jun 28 17:04:59 2016 -0700
4778 altos: Block interrupts while waking tasks sleeping on timers.
4780 Interrupts may not be blocked in the timer ISR, but they need to be
4781 while walking the pending timer list and moving tasks back to the run
4784 Signed-off-by: Keith Packard <keithp@keithp.com>
4786 commit 40abb0d1e2f43a60ffa34b055ebb913ee3e20faf
4787 Author: Keith Packard <keithp@keithp.com>
4788 Date: Tue Jun 28 00:07:23 2016 -0700
4790 altosui: Deliver firmware for Tmega 2.0 and TBT 3.0 for Windows too
4792 1.6.4 added Tmega 2.0 and TBT 3.0 firmware to linux and mac, but
4795 Signed-off-by: Keith Packard <keithp@keithp.com>
4797 commit 5b7e81628437389014fdd39e323a6f0176e02ba6
4798 Author: Keith Packard <keithp@keithp.com>
4799 Date: Mon Jun 27 23:28:28 2016 -0700
4801 Mark testing version 1.6.4.1
4803 Signed-off-by: Keith Packard <keithp@keithp.com>
4805 commit 6d15cf1580563aea90e9c47f5b268c9c7bb9ba26
4806 Author: Keith Packard <keithp@keithp.com>
4807 Date: Fri Jun 24 12:07:36 2016 -0700
4809 altosdroid: Deal with multiple installed android SDKs
4811 Use the latest SDK's zipalign
4813 Signed-off-by: Keith Packard <keithp@keithp.com>
4815 commit 3374a9069618658a33af54472d8670e3086af1e0
4816 Author: Keith Packard <keithp@keithp.com>
4817 Date: Fri Jun 24 12:06:32 2016 -0700
4819 ao-tools/ao-chaosread: Document length (-l) option
4821 Signed-off-by: Keith Packard <keithp@keithp.com>
4823 commit ca59786b5022f592f6516a3ac54708789db14c94
4824 Author: Keith Packard <keithp@keithp.com>
4825 Date: Mon Jun 20 10:19:32 2016 -0700
4827 Bump android version to 13
4829 Need to update the maps API key in the package
4831 Signed-off-by: Keith Packard <keithp@keithp.com>
4833 commit 10fa950cb9fee0ba28adfc5ead108657655bb289
4834 Author: Bdale Garbee <bdale@gag.com>
4835 Date: Wed Jun 22 15:01:09 2016 -0600
4837 switch libgtk-3-bin build-dep to gtk-update-icon-cache, closes: #825455
4839 commit ed6eb010614b5b27757619fc629d7330fc8c4122
4840 Author: Keith Packard <keithp@keithp.com>
4841 Date: Fri Jun 17 10:18:20 2016 -0700
4843 doc: Add install-html script
4845 This script strips the XML-ish bits from html files so that ikiwiki
4846 can parse them correctly
4848 Signed-off-by: Keith Packard <keithp@keithp.com>
4850 commit afe74c067a31ce420d0d4cdac2069c1d258a5114
4851 Author: Keith Packard <keithp@keithp.com>
4852 Date: Fri Jun 17 08:58:06 2016 -0700
4854 Bump version to 1.6.4
4856 Signed-off-by: Keith Packard <keithp@keithp.com>
4858 commit 0c5a1bea3ffa7c4b6b1503733e33911cbfcb3e80
4859 Author: Keith Packard <keithp@keithp.com>
4860 Date: Fri Jun 17 08:54:19 2016 -0700
4862 altoslib: Stop reflective JSON class walk at Object instead of null
4864 Android has classes above Object which are all tied together which
4865 cause the object walking to fail in pretty spectacular ways. As Object
4866 has no interesting fields, that serves as a fine barrier to the super
4867 class walk and works on both android and real java.
4869 Signed-off-by: Keith Packard <keithp@keithp.com>
4871 commit 383dec4449f8160c06804fba06290e7a07335934
4872 Author: Keith Packard <keithp@keithp.com>
4873 Date: Fri Jun 17 08:27:12 2016 -0700
4875 altosui: Print filename before attempting to parse in --summary mode
4877 Any problems handling the file are easier to debug if the filename is
4878 visible above the error message.
4880 Signed-off-by: Keith Packard <keithp@keithp.com>
4882 commit e8250fcb267a34fbbd8b88c6dcc8eec419bbcc68
4883 Author: Keith Packard <keithp@keithp.com>
4884 Date: Fri Jun 17 08:26:31 2016 -0700
4886 altoslib: Add back some JSON exception debugging printfs
4888 These make it possible to figure out where the JSON code went wrong.
4890 Signed-off-by: Keith Packard <keithp@keithp.com>
4892 commit a46df4f69984e3ef0064c2b211438c8d8ffaab68
4893 Author: Keith Packard <keithp@keithp.com>
4894 Date: Fri Jun 17 08:17:57 2016 -0700
4896 altoslib: Add construction for remaining primitive array types to JSON
4898 AltosCompanion has an array of ints, which was missed until I tried a
4899 telemetry file with companion data.
4901 Signed-off-by: Keith Packard <keithp@keithp.com>
4903 commit 1ed6a3fb6356415c0d57ce2ce556435c6ff06e73
4904 Author: Keith Packard <keithp@keithp.com>
4905 Date: Fri Jun 17 08:17:15 2016 -0700
4907 altoslib: Add null constructor for AltosCompanion
4909 This lets it be used by the JSON code.
4911 Signed-off-by: Keith Packard <keithp@keithp.com>
4913 commit 1dce20f7eee56166ac61798ca26eeb323dc8f012
4914 Author: Keith Packard <keithp@keithp.com>
4915 Date: Fri Jun 17 00:52:38 2016 -0700
4917 altoslib: Get rid of manual JSON encoding stuff
4919 Now that the reflective JSON stuff is working, we can delete all of
4922 Signed-off-by: Keith Packard <keithp@keithp.com>
4924 commit 7175774c4f60ed3efd54417f2035b50ea0108c7b
4925 Author: Keith Packard <keithp@keithp.com>
4926 Date: Fri Jun 17 00:02:05 2016 -0700
4928 altoslib: Improve AltosState save/restore debugging
4930 When save/restore generate different values, write out the two
4931 versions to one.json and two.json for easy comparison.
4933 Signed-off-by: Keith Packard <keithp@keithp.com>
4935 commit 8df6afe843e184e98e5d965cee3af562dfa30a3b
4936 Author: Keith Packard <keithp@keithp.com>
4937 Date: Fri Jun 17 00:01:15 2016 -0700
4939 altoslib: Use reflection JSON code for frequency preferences
4941 This replaces the non-reflective JSON code with reflective code, which
4944 Signed-off-by: Keith Packard <keithp@keithp.com>
4946 commit 93de1d7ec841c55f5a1a63d34b422780a6fbe3c3
4947 Author: Keith Packard <keithp@keithp.com>
4948 Date: Fri Jun 17 00:00:09 2016 -0700
4950 altoslib: Add JSON-based object saving/restoring code
4952 This uses Java reflection to construct JSON strings for
4955 Signed-off-by: Keith Packard <keithp@keithp.com>
4957 commit 2a1b7c6c509d4d19de21abf02b63aeacba269d13
4958 Author: Keith Packard <keithp@keithp.com>
4959 Date: Thu Jun 16 23:59:06 2016 -0700
4961 altoslib: Add null constructors to AltosQuaternion and AltosRotation
4963 These will be used in the reflection-based JSON code
4965 Signed-off-by: Keith Packard <keithp@keithp.com>
4967 commit f7e2f7f430e612c682bf55478860054ce94b995f
4968 Author: Keith Packard <keithp@keithp.com>
4969 Date: Wed Jun 15 22:52:08 2016 -0700
4971 altoslib: Remove AltosHashSet code
4973 Everything has switched to JSON now.
4975 Signed-off-by: Keith Packard <keithp@keithp.com>
4977 commit 1b5ea911049a8afae6af475a4a2bf62a6e3aa57b
4978 Author: Keith Packard <keithp@keithp.com>
4979 Date: Wed Jun 15 22:40:27 2016 -0700
4981 altoslib: Switch preserved state format to JSON
4983 This is much easier to debug than the icky strings with backslashes everywhere.
4985 Signed-off-by: Keith Packard <keithp@keithp.com>
4987 commit 1de8b6c340cec0b5a327392686c5a4e00f201e98
4988 Author: Keith Packard <keithp@keithp.com>
4989 Date: Wed Jun 15 22:39:31 2016 -0700
4991 doc: Updates to 1.6.4 release notes.
4993 Note USB fixes for host reboot and other changes.
4995 Signed-off-by: Keith Packard <keithp@keithp.com>
4997 commit f28db1102685c87b9f4278268f7e91f5df18374a
4998 Author: Keith Packard <keithp@keithp.com>
4999 Date: Wed Jun 15 22:38:32 2016 -0700
5001 altosui: Don't open command window when --graph is provided
5003 When the user explicitly asks to open a graph, don't bring up the
5004 command button window too.
5006 Signed-off-by: Keith Packard <keithp@keithp.com>
5008 commit 2a4d741872449b5332f28e018fa3acc53ed7d891
5009 Author: Keith Packard <keithp@keithp.com>
5010 Date: Wed Jun 15 22:37:39 2016 -0700
5012 altosuilib: Track open frames, exit when none remain
5014 This will let us not have the altosui window open by causing the
5015 application to shut down when the last frame closes.
5017 Signed-off-by: Keith Packard <keithp@keithp.com>
5019 commit 04c6f4c54ac10f6464ffb8cab2186ac2b2eafb00
5020 Author: Keith Packard <keithp@keithp.com>
5021 Date: Wed Jun 15 22:36:35 2016 -0700
5023 altosui: Remove missing items from --summary output
5025 Check all values for MISSING before printing them.
5027 Signed-off-by: Keith Packard <keithp@keithp.com>
5029 commit 7fd28830b6f7a20b35d85a92047ccb94c965fe29
5030 Author: Keith Packard <keithp@keithp.com>
5031 Date: Wed Jun 15 22:33:55 2016 -0700
5033 altosdroid: Auto save freq changes on 'ok'
5035 Add any pending changes in the edit entries to the frequency set when
5036 the user selects 'ok'.
5038 Signed-off-by: Keith Packard <keithp@keithp.com>
5040 commit 96eb350d3dfc83f6dfb31bbab1427f9206acde79
5041 Author: Bdale Garbee <bdale@gag.com>
5042 Date: Sun Jun 12 09:23:36 2016 -0600
5044 extend "ok" temp range to 40C, since battery charger on bench can drive temp above
5045 35C at times in Bdale and Robert's production testing
5047 commit eee7fa303fb0d80ac5d7b9c5a86af60333f61951
5048 Author: Keith Packard <keithp@keithp.com>
5049 Date: Sat Jun 11 22:17:01 2016 -0700
5051 altos/stmf0: Remove ao_usb_free
5053 This can't work without a lot more effort.
5055 Signed-off-by: Keith Packard <keithp@keithp.com>
5057 commit 1704d27248f1845c545ec61cf1bad58bf41189af
5058 Author: Keith Packard <keithp@keithp.com>
5059 Date: Sat Jun 11 22:16:12 2016 -0700
5061 altos/stmf0: Rework the sram allocation to save a few text bytes
5063 Boot loaders were going over 4096 bytes of ROM. I suspect we'll need
5064 more serious work soon.
5066 Signed-off-by: Keith Packard <keithp@keithp.com>
5068 commit 36a08dc89ece6e2a2f0f69e3b31da17d66ceb2e2
5069 Author: Keith Packard <keithp@keithp.com>
5070 Date: Fri Jun 10 14:40:26 2016 -0700
5072 altos/cc1115l: Reduce trace buffer size
5074 A 32-element trace buffer is all the larger we can fit in teledongle.
5076 Signed-off-by: Keith Packard <keithp@keithp.com>
5078 commit 7d21ff641a7bc35318f0f637589eabb5bb6c5152
5079 Author: Keith Packard <keithp@keithp.com>
5080 Date: Fri Jun 10 14:39:25 2016 -0700
5082 altos/stm: Handle USB reset in STM32L usb driver
5084 Just like lpc and stmf0, deal with the host resetting the bus while
5085 rebooting by restoring all usb-related data to the initial values.
5087 Signed-off-by: Keith Packard <keithp@keithp.com>
5089 commit 54f8d53584d0a902676b441cd122c01cd54f2283
5090 Author: Keith Packard <keithp@keithp.com>
5091 Date: Fri Jun 10 14:33:50 2016 -0700
5093 altos/lpc: Handle USB reset by resetting internal state
5095 Just like stmf0, this clears internal state at USB reset time so the
5096 driver can survive host OS reboots.
5098 Signed-off-by: Keith Packard <keithp@keithp.com>
5100 commit 36ba97fabbed2f2a4a89da5be221c630ea3ff66f
5101 Author: Keith Packard <keithp@keithp.com>
5102 Date: Thu Jun 9 22:06:30 2016 -0700
5104 stmf0: Do not send more data than requested for GET_DESCRIPTOR
5106 When Linux boots, it asks for only the first 8 bytes of the device
5107 descriptor; we must limit the amount of data sent back to that amount
5108 or USB will get wedged.
5110 Signed-off-by: Keith Packard <keithp@keithp.com>
5112 commit 2970de9f92243b11d3beef56f3b1df3ef3579b95
5113 Author: Keith Packard <keithp@keithp.com>
5114 Date: Thu Jun 9 22:05:24 2016 -0700
5116 stmf0: Clear all USB state when resetting chip. Wakeup all sleepers
5118 When USB is reset, but the board is not power cycled, all of the
5119 internal USB state needs to be reset, and any tasks blocked on sending
5120 or receiving packets need to be awoken so they can go wait for USB to
5121 start running again.
5123 Signed-off-by: Keith Packard <keithp@keithp.com>
5125 commit 55c8e5aff2cc7b941503a04970f7d368261af52a
5126 Author: Keith Packard <keithp@keithp.com>
5127 Date: Thu Jun 9 22:03:45 2016 -0700
5129 telegps-v1.0: Document how SN 1959 was fixed
5131 SN1959 was fixed by jumpering pin 8 to pin 10 so that the DONE_INT_PIN
5132 could be switched from PIO 2 to PIO 4 as pin 8 appeared to have failed.
5134 Signed-off-by: Keith Packard <keithp@keithp.com>
5136 commit 4d57c8b87f29f23beb0d88f1cef179209b1c5992
5137 Author: Keith Packard <keithp@keithp.com>
5138 Date: Sun Jun 5 09:17:12 2016 -0700
5140 altosuilib: Only display map debugging when serial_debug is enabled
5142 This keeps the application quiet for most users.
5144 Signed-off-by: Keith Packard <keithp@keithp.com>
5146 commit f982248573c1b646ac53fde980a60ada5404f6aa
5147 Author: Keith Packard <keithp@keithp.com>
5148 Date: Fri May 27 20:30:18 2016 -0700
5150 altosuilib: Fill preload map on site or lat/lon change
5152 This loads the map view with the selected area when the site entry is
5153 changed or the user hits return in the lat/lon fields. This lets you
5154 see the target launch site without having to load the whole preload set.
5156 Signed-off-by: Keith Packard <keithp@keithp.com>
5158 commit f5944ba4eb3f419f8cad461872d048b5adf7b566
5159 Author: Keith Packard <keithp@keithp.com>
5160 Date: Thu May 26 14:33:44 2016 -0700
5162 doc: pad/idle indicator table was busted
5164 I stuck a pile of extra '|' characters in the table by mistake.
5166 Reported-by: Stan <stanleyosmith@gmail.com>
5167 Signed-off-by: Keith Packard <keithp@keithp.com>
5169 commit 0d966b74f756e88e5dffa92400b105f540429262
5170 Author: Keith Packard <keithp@keithp.com>
5171 Date: Tue May 24 23:44:50 2016 -0700
5173 altosuilib: Rename AltosUIMap*New.java to AltosUIMap*.java
5175 This code isn't really new anymore...
5177 Signed-off-by: Keith Packard <keithp@keithp.com>
5179 commit 59a9bdd73b580a9c934a574be7bf45c5033e14b5
5180 Author: Keith Packard <keithp@keithp.com>
5181 Date: Tue May 24 23:40:47 2016 -0700
5183 altosuilib: Have map preload respond to units and font size changes
5185 Just add suitable listeners so that the display updates when
5188 Signed-off-by: Keith Packard <keithp@keithp.com>
5190 commit 7b5521966119fcc290591bf1b397506ef44cedea
5191 Author: Keith Packard <keithp@keithp.com>
5192 Date: Tue May 24 23:40:03 2016 -0700
5194 altoslib: use miles for distances > 1000ft.
5196 This makes both the map line and the other distance displays use miles
5197 for distances greater than 1000 feet.
5199 Signed-off-by: Keith Packard <keithp@keithp.com>
5201 commit 1ea855f95772a8a394407e0070be1ed9cc0f6650
5202 Author: Keith Packard <keithp@keithp.com>
5203 Date: Sun May 15 13:59:12 2016 -0700
5205 telegps: Add monitor idle mode
5207 This monitors directly connected devices. No support for doing monitor
5208 idle using packet mode, as TeleGPS doesn't support that.
5210 Signed-off-by: Keith Packard <keithp@keithp.com>
5212 commit df276262900551a5eecd94903eefe9a264b161ec
5213 Author: Keith Packard <keithp@keithp.com>
5214 Date: Sun May 15 13:58:41 2016 -0700
5216 telegps: Use log_space when flight_log_max is missing
5218 TeleGPS has this, but not flight_log_max
5220 Signed-off-by: Keith Packard <keithp@keithp.com>
5222 commit 9287122edc0e2dec6b2542f4cc8cb9cf2900bb33
5223 Author: Keith Packard <keithp@keithp.com>
5224 Date: Sun May 15 13:57:28 2016 -0700
5226 altoslib: Add AltosIdleReader
5228 This provides an AltosFlightReader interface for monitor idle mode,
5229 making that easier to provide in TeleGPS
5231 Signed-off-by: Keith Packard <keithp@keithp.com>
5233 commit 3c4278a29082a2af5911e22e59f8f52549f549e3
5234 Author: Keith Packard <keithp@keithp.com>
5235 Date: Sun May 15 13:56:21 2016 -0700
5237 altoslib: Add log_space to AltosState
5239 TeleGPS doesn't have flight_log_max value, but does have log_space
5240 which we can use for the same thing in monitor idle mode.
5242 Signed-off-by: Keith Packard <keithp@keithp.com>
5244 commit f484216e72f81decb2aaa7289d6f69678990b7af
5245 Author: Keith Packard <keithp@keithp.com>
5246 Date: Sun May 15 13:55:12 2016 -0700
5248 altoslib: Set version and log space from AltosIdleFetch
5250 Just more data for monitor idle mode
5252 Signed-off-by: Keith Packard <keithp@keithp.com>
5254 commit 29123a60272777916e5aae08369d0f03c2f135b6
5255 Author: Keith Packard <keithp@keithp.com>
5256 Date: Sun May 15 13:53:38 2016 -0700
5258 altoslib: Allow empty values in AltosHashSet representation
5260 Check for value termination before appending the first character.
5262 Signed-off-by: Keith Packard <keithp@keithp.com>
5264 commit b1a90adac9f6e2a609ce1ccd6749462bb5c9adbe
5265 Author: Keith Packard <keithp@keithp.com>
5266 Date: Thu May 12 23:33:53 2016 -0700
5268 altoslib: Store saved state in version-independent format
5270 Use AltosHashSet for AltosState so that AltosDroid doesn't lose
5271 tracker information when the application is upgraded.
5273 Signed-off-by: Keith Packard <keithp@keithp.com>
5275 commit b13037fad0905c5933d1ff579122ba1357b02eea
5276 Author: Keith Packard <keithp@keithp.com>
5277 Date: Thu May 12 19:13:05 2016 -0700
5279 altoslib: Store common frequencies in library version-independent form
5281 Serializable Objects in java are very specific to the class being
5282 serialized. As we bump the name of the library on a regular basis to
5283 note API/ABI issues, this mean a saved a Serializable object in
5284 the preferences database will fail to load across library version
5287 The saved tracker state and saved common frequencies were the only
5288 objects saved in this form; this patch adds infrastructure for writing
5289 objects in a version-independent form, and then adds support for
5290 saving frequencies in that form.
5292 Signed-off-by: Keith Packard <keithp@keithp.com>
5294 commit 2f4903f903223312d0a3a03dfd413059f24a07f5
5295 Author: Keith Packard <keithp@keithp.com>
5296 Date: Thu May 12 19:10:19 2016 -0700
5298 altosui/telegps/micropeak: Handle both MULTI_LIB and non-MULTI_LIB builds
5300 On x86 systems with -m32 and -m64 compilers, both libaltos32.so and
5301 libaltos64.so are built. Otherwise, we should use libaltos.so
5303 altosui only dealt with libaltos32.so and libaltos64.so, so it only
5304 worked on MULTI_LIB systems. telegps and micropeak only used
5305 libaltos.so, so they wouldn't work correctly on multi-lib systems.
5307 Fix all of them to work either way.
5309 Signed-off-by: Keith Packard <keithp@keithp.com>
5311 commit 64ed56fe3132faa8585c9cd7b0261ac85f70a7bd
5312 Author: Keith Packard <keithp@keithp.com>
5313 Date: Thu May 12 18:05:14 2016 -0700
5315 Automatically run 'git submodule update' if necessary
5317 This makes sure pdclib exists by updating for the all and
5318 all-recursive targets
5320 Signed-off-by: Keith Packard <keithp@keithp.com>
5322 commit 97adfff4cfb67c17a96f3ff46606b4e439422b01
5323 Author: Keith Packard <keithp@keithp.com>
5324 Date: Thu May 12 12:14:03 2016 -0700
5326 Bump java library versions
5328 Prepare for 1.6.4 release
5330 Signed-off-by: Keith Packard <keithp@keithp.com>
5332 commit 3450efdf8bd736a33900493eeda348ec2dacf7e8
5333 Author: Keith Packard <keithp@keithp.com>
5334 Date: Thu May 12 12:13:45 2016 -0700
5336 Bump android app version
5338 Prepare for 1.6.4 release
5340 Signed-off-by: Keith Packard <keithp@keithp.com>
5342 commit ba84b9c908d5909ea5a148c249709b21640f1eac
5343 Author: Keith Packard <keithp@keithp.com>
5344 Date: Wed May 11 23:31:53 2016 -0700
5346 telegps: Adapt to distance units switching changes
5348 'show_units' is no longer available; use 'parse_units' instead
5350 Signed-off-by: Keith Packard <keithp@keithp.com>
5352 commit 2ec7e14f0104e3a227ff566fa2fc1f6286ddd9d0
5353 Author: Keith Packard <keithp@keithp.com>
5354 Date: Wed May 11 12:48:10 2016 -0700
5356 altoslib: Get rid of AltosMap from AltosMapLoader
5358 Cleans up the loader API and eliminates a AltosMapTile for every chunk
5361 Signed-off-by: Keith Packard <keithp@keithp.com>
5363 commit ab905d2f7d8929080042cfd16cc418ea5792c3cb
5364 Author: Keith Packard <keithp@keithp.com>
5365 Date: Wed May 11 12:43:51 2016 -0700
5367 altosdroid: make disconnect stick past pause/restart
5369 Clear the active_device preference on disconnect so we don't reconnect
5370 anytime the service gets activated.
5372 Signed-off-by: Keith Packard <keithp@keithp.com>
5374 commit 0a50669b1fde3e3c1cbc08c4836613b58ead219b
5375 Author: Keith Packard <keithp@keithp.com>
5376 Date: Wed May 11 10:47:31 2016 -0700
5378 altoslib: Clean up map file and url handling
5380 move it all to AltosMapStore.java
5382 Signed-off-by: Keith Packard <keithp@keithp.com>
5384 commit 471091d0fddf09ed69df75e4f2fdd92e5f57b9c5
5385 Author: Keith Packard <keithp@keithp.com>
5386 Date: Tue May 10 23:13:14 2016 -0700
5388 doc: Start update for 1.6.4
5390 Signed-off-by: Keith Packard <keithp@keithp.com>
5392 commit b2710128a715a109745ec40553a3d4149a7f49ab
5393 Author: Keith Packard <keithp@keithp.com>
5394 Date: Tue May 10 23:04:23 2016 -0700
5396 altosuilib: Don't flicker missing voltages when changing units
5398 For some reason, a value of MISSING -1 was getting used, which caused
5399 displays to light up briefly with a weird value when switching between
5400 metric and imperial units.
5402 Signed-off-by: Keith Packard <keithp@keithp.com>
5404 commit 895cb58a6cd7424ee63c24d791b5988f41f85d31
5405 Author: Keith Packard <keithp@keithp.com>
5406 Date: Tue May 10 23:03:45 2016 -0700
5408 altosdroid: Rate limit map loading pacifier
5410 Just like in altosui.
5412 Signed-off-by: Keith Packard <keithp@keithp.com>
5414 commit c5f49d0ac254047f13c6c1ecfb5520eff72109ac
5415 Author: Keith Packard <keithp@keithp.com>
5416 Date: Tue May 10 23:02:09 2016 -0700
5418 altoslib: Allow map preloading to be aborted
5420 Close the map preload dialog and it would be nice to stop loading map
5423 Signed-off-by: Keith Packard <keithp@keithp.com>
5425 commit 2e551e7c5f82a7e35d39e8f73e8e526e5484cd5d
5426 Author: Keith Packard <keithp@keithp.com>
5427 Date: Tue May 10 22:50:23 2016 -0700
5429 altosuilib: Rate limit map loading pacifier updates
5431 Just updating the pacifier was consuming a huge amount of CPU. Update
5432 no more than once every 100ms.
5434 Signed-off-by: Keith Packard <keithp@keithp.com>
5436 commit 42021d9fdc6f7a74cc9b20ebf3cf60b4c5f4ea82
5437 Author: Keith Packard <keithp@keithp.com>
5438 Date: Tue May 10 22:49:04 2016 -0700
5440 altoslib: Remove some debug printf calls
5442 Signed-off-by: Keith Packard <keithp@keithp.com>
5444 commit 60f4d69592c440ab7bb67a04f4c07fc7279d2c20
5445 Author: Keith Packard <keithp@keithp.com>
5446 Date: Tue May 10 22:46:58 2016 -0700
5448 altoslib: Switch distance from m/ft to km/miles for large values
5450 This adds lots of infrastructure to deal with making the unit used
5451 depend on the value itself, and then uses it only for distances.
5453 Signed-off-by: Keith Packard <keithp@keithp.com>
5455 commit 6a6da23335e6e5864387c7a22946f80f51056a4f
5456 Author: Keith Packard <keithp@keithp.com>
5457 Date: Tue May 10 12:29:14 2016 -0700
5459 Add TeleMega to spec list. Add TeleGPS RF output.
5461 Signed-off-by: Keith Packard <keithp@keithp.com>
5463 commit d92ca1cd4dfbacebd7aa1bbcfc671daee35dc808
5464 Author: Keith Packard <keithp@keithp.com>
5465 Date: Tue May 10 12:28:51 2016 -0700
5467 Publish firmware with keithp-fat
5469 Signed-off-by: Keith Packard <keithp@keithp.com>
5471 commit a371253bb5fc25e34d87507dc9b814530f4e28f6
5472 Author: Keith Packard <keithp@keithp.com>
5473 Date: Mon May 9 17:57:12 2016 -0700
5475 altosdroid: Check for closed before writing/reading bluetooth
5477 Signed-off-by: Keith Packard <keithp@keithp.com>
5479 commit c57d86f6c9b56e90c986f460f93663a3e16cdf7a
5480 Author: Keith Packard <keithp@keithp.com>
5481 Date: Mon May 9 17:56:28 2016 -0700
5483 altosui/telegps: Ship firmware for new hardware
5485 TBT v3.0 and Tmega v2.0
5487 Signed-off-by: Keith Packard <keithp@keithp.com>
5489 commit f078235803a80403014b3e54039fd2d0e0704367
5490 Merge: 04759ddd c457c827
5491 Author: Bdale Garbee <bdale@gag.com>
5492 Date: Mon May 9 15:52:38 2016 -0600
5494 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
5496 commit 04759dddeb29e4de9f7e6b3673dc06c633fa2369
5497 Author: Bdale Garbee <bdale@gag.com>
5498 Date: Mon May 9 15:52:21 2016 -0600
5500 process updates made during 1.6.3 release cycle
5502 commit c457c827a7445098ba5effd410de754ff5c65843
5503 Author: Keith Packard <keithp@keithp.com>
5504 Date: Mon May 9 11:48:42 2016 -0700
5506 Bump version to 1.6.3.1
5510 Signed-off-by: Keith Packard <keithp@keithp.com>
5512 commit b25785ee0afebaf516b8a1b8d08d36fbdadd74ca
5513 Author: Keith Packard <keithp@keithp.com>
5514 Date: Mon May 9 11:33:48 2016 -0700
5516 altos/cc1111: Use SW to drive UART RTS pin
5518 Can't get the hw to work.
5520 Signed-off-by: Keith Packard <keithp@keithp.com>
5522 commit 1216c0ccece4ca1492967a341c5d01e9e5068ed8
5523 Author: Keith Packard <keithp@keithp.com>
5524 Date: Fri May 6 17:10:14 2016 -0700
5526 Ignore some built files for 1.6.3
5528 Signed-off-by: Keith Packard <keithp@keithp.com>
5530 commit ce4c8a8ad57515e851207b0a82f3af791bb30d3e
5531 Merge: aa9630c3 320e312d
5532 Author: Bdale Garbee <bdale@gag.com>
5533 Date: Fri May 6 17:49:30 2016 -0600
5535 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
5537 commit aa9630c30ee09bf358e77bf47ed0815a19237fca
5538 Author: Bdale Garbee <bdale@gag.com>
5539 Date: Fri May 6 17:49:09 2016 -0600
5541 add beep to TeleMega turnon script
5543 commit 320e312db36fb6519a0bb1530d79595af18cdc86
5544 Author: Keith Packard <keithp@keithp.com>
5545 Date: Fri May 6 16:46:57 2016 -0700
5547 windows: Change install to look for browser in a different place
5549 The windows registry is a mystery.
5551 Signed-off-by: Keith Packard <keithp@keithp.com>
5553 commit e0081f7ba6fc9f1e4484d3e291fd30065ad5b620
5554 Author: Keith Packard <keithp@keithp.com>
5555 Date: Thu May 5 02:25:52 2016 -0700
5557 altoslib: Fix map preloading callbacks, run in separate thread
5559 The map storage and tile callbacks were muddled together. Create
5560 clearly separate states for map data and have status updates be
5561 delivered when registering for new status events so that registration
5562 is sufficient to track the state without an explicit call to get the
5565 Run the map tile creation in a separate thread so that even checking
5566 status of files on disk runs out of the UI thread.
5568 These fixes serve to make the pacifier update more smoothly, and also
5569 not over/under count tile loading so that the loading actually
5570 completes when all of the tiles are loaded.
5572 Signed-off-by: Keith Packard <keithp@keithp.com>
5574 commit 13179f614a99cad3016832ac1b365eaa4208c10f
5575 Author: Keith Packard <keithp@keithp.com>
5576 Date: Wed May 4 23:56:44 2016 -0700
5578 micropeak: Change order of windows install so that java detect works
5580 I have no idea why this matters, but if you run the FTDI script before
5581 trying to detect java, then the javaw.exe program isn't found and java
5584 Signed-off-by: Keith Packard <keithp@keithp.com>
5586 commit 85191fe911a5ea4af384bff9b2ed9986679cd9fd
5587 Author: Keith Packard <keithp@keithp.com>
5588 Date: Wed May 4 21:13:31 2016 -0700
5590 doc: 1.6.3 release notes note TeleBT rts/cts and TM 2.0 monitor idle fixes
5592 Signed-off-by: Keith Packard <keithp@keithp.com>
5594 commit 541996f95f9e26299618dbb79e723b82a52afd31
5595 Author: Keith Packard <keithp@keithp.com>
5596 Date: Wed May 4 21:12:46 2016 -0700
5598 doc: Update AltosDroid chapter for 1.6.3
5600 New menu structure, idle mode and frequency configuration
5602 Signed-off-by: Keith Packard <keithp@keithp.com>
5604 commit b540f6f5b034f33b8e1d1c3b91e2403a56479caa
5605 Author: Keith Packard <keithp@keithp.com>
5606 Date: Mon May 2 16:19:39 2016 -0700
5608 altos: Make sure AO_MMA655X_INVERT is declared where needed
5610 Add #define AO_MMA655X_INVERT 0 to existing products which didn't
5611 declare it at all. This will make sure the value is set correctly for
5614 Signed-off-by: Keith Packard <keithp@keithp.com>
5616 commit 0b0b359cbce6b818257b44b2a6aee0edcbaee40d
5617 Author: Keith Packard <keithp@keithp.com>
5618 Date: Mon May 2 16:13:53 2016 -0700
5620 altoslib: Deal with TeleMetrum v2.0 MMA6555 being inverted
5622 Dumping the MMA655X data with the 'A' command provides the raw sensor
5623 value. On TM v2.0 boards, the sensor is inverted, and all of the
5624 firmware uses the inverted value except for the 'dump the raw data'
5625 command. As a result, MonitorIdle was using the un-inverted value and
5626 displaying mystic values.
5628 I've fixed this in the ground station code by checking the product
5629 name and conditionally inverting the value (4095 - value) for
5630 TeleMetrum v2.0 products. Unknown products will generate a warning
5631 dialog on AltosUI so we'll catch places where we've failed to add a
5634 Signed-off-by: Keith Packard <keithp@keithp.com>
5636 commit 1a797f5fd5d25ba635fd79ad7604763253caabf2
5637 Author: Keith Packard <keithp@keithp.com>
5638 Date: Sat Apr 30 18:38:42 2016 -0700
5640 publish AltosDroid in keithp-fat target
5642 Signed-off-by: Keith Packard <keithp@keithp.com>
5644 commit 59466c1c2dbf95c427c2bb52304049eaac4d124f
5645 Author: Keith Packard <keithp@keithp.com>
5646 Date: Sat Apr 30 18:37:05 2016 -0700
5648 altoslib: Flush during set_state. Don't store listener state.
5650 The listener state wasn't used anyways, so don't bother storing
5651 it. Also, flush the state during set_state, which actually causes the
5652 state to be written out.
5654 Signed-off-by: Keith Packard <keithp@keithp.com>
5656 commit 4219fd7720caeec196bf6cb1b4cf78c8fadaf3cd
5657 Author: Keith Packard <keithp@keithp.com>
5658 Date: Sat Apr 30 18:33:25 2016 -0700
5660 altoslib: Correct stats for flights without a real landing
5662 The landing time was miscomputed when the flight ended without
5663 entering the landed state, as when the recording terminates at
5666 This led to an uncomputed average boost accel, so that is now checked
5667 separately from max accel (which is done over the whole flight, not
5670 Signed-off-by: Keith Packard <keithp@keithp.com>
5672 commit 9734f1198429dc8939eebf48b6e6acc1cef96485
5673 Author: Keith Packard <keithp@keithp.com>
5674 Date: Sat Apr 30 18:30:16 2016 -0700
5676 altosdroid: max height is a height, not a speed
5678 Was using the wrong units in the flight tab
5680 Signed-off-by: Keith Packard <keithp@keithp.com>
5682 commit 7695da327ff8861a858b6695f4849fa1399548d8
5683 Author: Keith Packard <keithp@keithp.com>
5684 Date: Sat Apr 30 08:46:52 2016 -0700
5686 Revert "altos/stm: Run scheduler code on interrupt stack"
5688 This reverts commit 6a9546413d6a236c010e806b50506d870961d074.
5690 This causes the device to stop reliably handling interrupts.
5692 commit 7db1cba64a2f6c80c5fe6e3073a0ff65be9c04c1
5693 Author: Keith Packard <keithp@keithp.com>
5694 Date: Fri Apr 29 21:49:43 2016 -0700
5696 doc: Add idle mode info to 1.6.3 release note
5698 Signed-off-by: Keith Packard <keithp@keithp.com>
5700 commit ec20e2f72460010c4f59e6d59775671260e01026
5701 Author: Keith Packard <keithp@keithp.com>
5702 Date: Thu Apr 28 12:29:16 2016 -0700
5704 altoslib: Make AltosPreferencesBackend abstract. Add set/put Serializable
5706 This lets us add functionality to this directly, such as the new
5709 Signed-off-by: Keith Packard <keithp@keithp.com>
5711 commit 3c7b68b8a513b611500dfd734182e1a2e7bdd40c
5712 Author: Keith Packard <keithp@keithp.com>
5713 Date: Wed Apr 27 01:40:47 2016 -0400
5715 altosdroid: Add configurable frequency set
5717 Signed-off-by: Keith Packard <keithp@keithp.com>
5719 commit 02f47fa98536eb0ecd58cd8f063600ced60e0a8a
5720 Author: Keith Packard <keithp@keithp.com>
5721 Date: Wed Apr 27 01:39:01 2016 -0400
5723 Fix key in AndroidManifest.xml.in
5725 Signed-off-by: Keith Packard <keithp@keithp.com>
5727 commit d81f94fd5339d513de9bde5a2e19f8eca526344f
5728 Author: Keith Packard <keithp@keithp.com>
5729 Date: Tue Apr 26 21:01:44 2016 -0400
5731 altosdroid: Split setup functions to separate dialog
5733 Remove them from the options menu, handle all preferences through
5736 Signed-off-by: Keith Packard <keithp@keithp.com>
5738 commit 204ae5142702044eb8ad2697a55028e904067958
5739 Author: Keith Packard <keithp@keithp.com>
5740 Date: Mon Apr 25 23:12:34 2016 -0400
5742 altosdroid: Add idle mode monitoring, reboot. Start igniters
5744 This adds three idle mode operations -- monitor idle, reboot flight
5745 computer and test igniters. The igniter test isn't quite wired up.
5747 Signed-off-by: Keith Packard <keithp@keithp.com>
5749 commit 565404599fe9edf9ba16aec348eeb19ea31af743
5750 Author: Keith Packard <keithp@keithp.com>
5751 Date: Mon Apr 25 18:50:58 2016 -0400
5753 altos: Clear packet queue when starting packet master
5755 This avoids overfilling the packet buffer when
5756 disconnected. Applications using packet mode shouldn't expect that
5757 output be saved across master sessions.
5759 Signed-off-by: Keith Packard <keithp@keithp.com>
5761 commit c816bea3536d025568dab313d7c8944a56ba0801
5762 Author: Keith Packard <keithp@keithp.com>
5763 Date: Mon Apr 25 18:49:45 2016 -0400
5765 altos/telebt-v3.0: Flip CTS/RTS pins for BT module
5767 These are wired backwards, so ask that the right pins be used, which
5768 requires switching to software control of the pins.
5770 Signed-off-by: Keith Packard <keithp@keithp.com>
5772 commit 27319e4edbc503f193475b437fa5fe2937d47cbe
5773 Author: Keith Packard <keithp@keithp.com>
5774 Date: Mon Apr 25 18:48:47 2016 -0400
5776 altos/stm32l: Add support for software-driven HW flow control
5778 This allows applications to request that the flow control bits be
5779 driven from software rather than hardware, permitting more flexible
5782 Signed-off-by: Keith Packard <keithp@keithp.com>
5784 commit 7c9a111ac1c88467ce28e03b4a9d3eabc9d7015b
5785 Author: Keith Packard <keithp@keithp.com>
5786 Date: Tue Jan 19 23:53:27 2016 -0800
5788 altos: Use TXE instead of TC for serial on STM32l
5790 Using TXE allows for full-speed communication, rather than waiting for
5791 each byte to be transmitted before inserting the next into the queue.
5793 Signed-off-by: Keith Packard <keithp@keithp.com>
5795 commit eee2ca7fa7fd77be8ca5806cad7e250053465048
5796 Author: Keith Packard <keithp@keithp.com>
5797 Date: Mon Apr 25 11:47:45 2016 -0400
5799 Debug bits for telebt
5801 commit a995d73838c8e7ec5126e563baa2e59d5e071b28
5802 Author: Keith Packard <keithp@keithp.com>
5803 Date: Fri Apr 22 19:15:51 2016 -0400
5805 altoslib: Don't try to drag lines around until map is loaded
5807 When the transform is null, it's hard to draw lines.
5809 Signed-off-by: Keith Packard <keithp@keithp.com>
5811 commit a5373e2f9d2f1af211aa98029d448aeb518b45ce
5812 Author: Keith Packard <keithp@keithp.com>
5813 Date: Fri Apr 22 19:15:05 2016 -0400
5815 altoslib: Report exceptions caught while opening launch sites URL
5817 This just dumps them to stdout, which helps debug on Linux at least.
5819 Signed-off-by: Keith Packard <keithp@keithp.com>
5821 commit 6bca0ed8183b85e5825eb0f4093dcd749592faf3
5822 Author: Keith Packard <keithp@keithp.com>
5823 Date: Fri Apr 22 19:00:46 2016 -0400
5825 altoslib: Use feet per second for imperial speed
5827 This is more useful during descent than miles per hour...
5829 Signed-off-by: Keith Packard <keithp@keithp.com>
5831 commit f49fd5d2be68de97ebe65fa4f6484746e91dd677
5832 Author: Keith Packard <keithp@keithp.com>
5833 Date: Fri Apr 22 18:53:32 2016 -0400
5835 altosdroid: Run even without Bluetooth
5837 This lets us view old state information on USB-only devices, or when
5838 the bluetooth device can't be enabled.
5840 Signed-off-by: Keith Packard <keithp@keithp.com>
5842 commit ea89feedd4185a5f583fa8ddf33a2ec0906e0dc0
5843 Author: Keith Packard <keithp@keithp.com>
5844 Date: Fri Apr 22 18:52:42 2016 -0400
5846 altosdroid: Redraw offline map when my location changes
5848 Update the map view even if there isn't any current telemetry data.
5850 Signed-off-by: Keith Packard <keithp@keithp.com>
5852 commit 39af826ce9032e339929eb7917b1d29c87d03f69
5853 Author: Keith Packard <keithp@keithp.com>
5854 Date: Fri Apr 22 17:32:10 2016 -0400
5856 altosdroid: Track device location in app, not telemetry service
5858 This means we get location even if there isn't a telemetry device
5859 connected, making it possible to walk to old device locations
5861 Signed-off-by: Keith Packard <keithp@keithp.com>
5863 commit b3f0c4d5c4ab8288db5fcabb0e848627031c4fd1
5864 Author: Keith Packard <keithp@keithp.com>
5865 Date: Fri Apr 22 17:31:49 2016 -0400
5867 Bump version to 1.6.3
5869 Signed-off-by: Keith Packard <keithp@keithp.com>
5871 commit 57c1320962ad08d52e89d39bd5852f8d228dd872
5872 Author: Keith Packard <keithp@keithp.com>
5873 Date: Thu Apr 21 22:37:35 2016 -0400
5875 altosdroid: Can only use message once
5877 And here I thought re-using the message was clever. That generates a
5878 nice exception and crashes the program.
5880 Signed-off-by: Keith Packard <keithp@keithp.com>
5882 commit 4d4a39b569d7982405748b961b93dcd33e59b833
5883 Author: Keith Packard <keithp@keithp.com>
5884 Date: Thu Apr 21 21:32:50 2016 -0400
5886 Add preliminary 1.6.3 release notes
5888 Signed-off-by: Keith Packard <keithp@keithp.com>
5890 commit 565d8f22c23c7c6c6817d11ef1ca02e70ba5d2ae
5891 Author: Keith Packard <keithp@keithp.com>
5892 Date: Wed Apr 20 20:27:47 2016 -0400
5894 libaltos: Fix for Mac OS X El Capitan
5896 USB enumeration for serial devices changed
5898 Signed-off-by: Keith Packard <keithp@keithp.com>
5900 commit f10fbff6758dfcfbeeeb224f8ab02fa107aae5f6
5901 Author: Justin Vreeland <vreeland.justin@gmail.com>
5902 Date: Thu Apr 21 08:30:10 2016 -0400
5904 Fix java class differing only by case
5906 OSX and Windows cannot handle files with names differing only by
5907 case. When these files are present in either there's a constant
5908 unfixable change viewable in git status and git diff.
5910 Since this code can be run and compiled on both platforms
5911 names different only by case should be avoided.
5913 Signed-off-by: Justin Vreeland <vreeland.justin@gmail.com>
5914 Signed-off-by: Keith Packard <keithp@keithp.com>
5916 commit c989237366ada094cdc817f50b7f58bbcf5b377a
5917 Author: Keith Packard <keithp@keithp.com>
5918 Date: Thu Apr 21 21:11:29 2016 -0400
5920 Prepare for new Android release by updating version number
5924 Signed-off-by: Keith Packard <keithp@keithp.com>
5926 commit 18b10ddf0e713431cb3e1065e62b0e6f597ce9d7
5927 Author: Keith Packard <keithp@keithp.com>
5928 Date: Thu Apr 21 21:12:06 2016 -0400
5930 AltosDroid play store keys have moved, update configure.ac
5932 The actual build files were already updated, but the configure.ac bits
5933 which detect that they are available were not.
5935 Signed-off-by: Keith Packard <keithp@keithp.com>
5937 commit 21d176f161b90f18f236ef887cef9676d712eee3
5938 Author: Keith Packard <keithp@keithp.com>
5939 Date: Thu Apr 21 21:12:40 2016 -0400
5941 Update java library version numbers
5943 Prepare for 1.6.3 release.
5945 Signed-off-by: Keith Packard <keithp@keithp.com>
5947 commit 4db6074bb15c66bd23c513e1e41b408e5408cff8
5948 Author: Keith Packard <keithp@keithp.com>
5949 Date: Tue Apr 19 23:19:59 2016 -0400
5951 altos: avoid mixed declarations and code in ao_task.c
5953 sdcc can't handle this.
5955 Signed-off-by: Keith Packard <keithp@keithp.com>
5957 commit 09acb6821ab490d69f679a195e70acb4a71ba342
5958 Author: Keith Packard <keithp@keithp.com>
5959 Date: Tue Apr 19 23:18:46 2016 -0400
5961 altoslib: switch from keySet() to keys() in altos map tiles
5963 Android appears to not have the keySet() API in the same way that
5964 regular java does, so use the alternate older keys() api instead.
5966 Signed-off-by: Keith Packard <keithp@keithp.com>
5968 commit 49c3e3dffe748d0d155d4876efcaf7d39e1cc8e3
5969 Author: Keith Packard <keithp@keithp.com>
5970 Date: Tue Apr 19 23:17:50 2016 -0400
5972 altoslib: Make AltosGPSSat implement Serializable
5974 This is required to save state values in AltosDroid.
5976 Signed-off-by: Keith Packard <keithp@keithp.com>
5978 commit 45bcf595d0a6a6001459f7f2055cd15e4839550b
5979 Author: Keith Packard <keithp@keithp.com>
5980 Date: Tue Apr 19 23:17:01 2016 -0400
5982 altoslib: Add debugging to AltosPreferences.state() etc
5984 This let me find why AltosDroid was losing the last state information
5987 Signed-off-by: Keith Packard <keithp@keithp.com>
5989 commit 90ba010aaa84a7d8b93c63543568a16ab0cb5984
5990 Author: Keith Packard <keithp@keithp.com>
5991 Date: Tue Apr 19 23:15:26 2016 -0400
5993 altosdroid: Don't set target location if lat/lon is MISSING
5995 Otherwise, we get a nice pointer to some random location on the planet.
5997 Signed-off-by: Keith Packard <keithp@keithp.com>
5999 commit fd0ca040a5cccae18145bd29b3e4c09f14df3865
6000 Author: Keith Packard <keithp@keithp.com>
6001 Date: Wed Apr 13 06:14:33 2016 -0700
6003 altos/telefiretwo-v0.2: Change alarm names in comment
6005 The PCB is labeled 'A' and 'B'.
6007 Signed-off-by: Keith Packard <keithp@keithp.com>
6009 commit 3abc0fc5e4484d862709501133d35563aa0c25fa
6010 Author: Keith Packard <keithp@keithp.com>
6011 Date: Wed Apr 13 06:11:44 2016 -0700
6013 altos/stmf0: Fix external interrupts
6015 Missing a reserved address in the registers broke everything nicely,
6016 but the priority values were also wrong - stm32f0 exposes 8 bits per
6017 priority, like the stm32l, but it uses only the top two bits.
6019 Signed-off-by: Keith Packard <keithp@keithp.com>
6021 commit 14fecd672807982ce6232fa3b4bdce0aebe132e8
6022 Author: Keith Packard <keithp@keithp.com>
6023 Date: Wed Apr 6 22:32:36 2016 -0700
6025 Add TeleFireTwo v0.2 project
6027 This is much like TeleFireTwo v0.1, with only one pyro channel and
6028 added siren and strobe