summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 9c73f88d6ea572ba53fbee2d0ccfa20d7b0e2d62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
25252
25253
25254
25255
25256
25257
25258
25259
25260
25261
25262
25263
25264
25265
25266
25267
25268
25269
25270
25271
25272
25273
25274
25275
25276
25277
25278
25279
25280
25281
25282
25283
25284
25285
25286
25287
25288
25289
25290
25291
25292
25293
25294
25295
25296
25297
25298
25299
25300
25301
25302
25303
25304
25305
25306
25307
25308
25309
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
25340
25341
25342
25343
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
25367
25368
25369
25370
25371
25372
25373
25374
25375
25376
25377
25378
25379
25380
25381
25382
25383
25384
25385
25386
25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
25412
25413
25414
25415
25416
25417
25418
25419
25420
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430
25431
25432
25433
25434
25435
25436
25437
25438
25439
25440
25441
25442
25443
25444
25445
25446
25447
25448
25449
25450
25451
25452
25453
25454
25455
25456
25457
25458
25459
25460
25461
25462
25463
25464
25465
25466
25467
25468
25469
25470
25471
25472
25473
25474
25475
25476
25477
25478
25479
25480
25481
25482
25483
25484
25485
25486
25487
25488
25489
25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
25501
25502
25503
25504
25505
25506
25507
25508
25509
25510
25511
25512
25513
25514
25515
25516
25517
25518
25519
25520
25521
25522
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532
25533
25534
25535
25536
25537
25538
25539
25540
25541
25542
25543
25544
25545
25546
25547
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
25589
25590
25591
25592
25593
25594
25595
25596
25597
25598
25599
25600
25601
25602
25603
25604
25605
25606
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616
25617
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
25693
25694
25695
25696
25697
25698
25699
25700
25701
25702
25703
25704
25705
25706
25707
25708
25709
25710
25711
25712
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738
25739
25740
25741
25742
25743
25744
25745
25746
25747
25748
25749
25750
25751
25752
25753
25754
25755
25756
25757
25758
25759
25760
25761
25762
25763
25764
25765
25766
25767
25768
25769
25770
25771
25772
25773
25774
25775
25776
25777
25778
25779
25780
25781
25782
25783
25784
25785
25786
25787
25788
25789
25790
25791
25792
25793
25794
25795
25796
25797
25798
25799
25800
25801
25802
25803
25804
25805
25806
25807
25808
25809
25810
25811
25812
25813
25814
25815
25816
25817
25818
25819
25820
25821
25822
25823
25824
25825
25826
25827
25828
25829
25830
25831
25832
25833
25834
25835
25836
25837
25838
25839
25840
25841
25842
25843
25844
25845
25846
25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
25861
25862
25863
25864
25865
25866
25867
25868
25869
25870
25871
25872
25873
25874
25875
25876
25877
25878
25879
25880
25881
25882
25883
25884
25885
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
25903
25904
25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
25921
25922
25923
25924
25925
25926
25927
25928
25929
25930
25931
25932
25933
25934
25935
25936
25937
25938
25939
25940
25941
25942
25943
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
25961
25962
25963
25964
25965
25966
25967
25968
25969
25970
25971
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982
25983
25984
25985
25986
25987
25988
25989
25990
25991
25992
25993
25994
25995
25996
25997
25998
25999
26000
26001
26002
26003
26004
26005
26006
26007
26008
26009
26010
26011
26012
26013
26014
26015
26016
26017
26018
26019
26020
26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
26033
26034
26035
26036
26037
26038
26039
26040
26041
26042
26043
26044
26045
26046
26047
26048
26049
26050
26051
26052
26053
26054
26055
26056
26057
26058
26059
26060
26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
26084
26085
26086
26087
26088
26089
26090
26091
26092
26093
26094
26095
26096
26097
26098
26099
26100
26101
26102
26103
26104
26105
26106
26107
26108
26109
26110
26111
26112
26113
26114
26115
26116
26117
26118
26119
26120
26121
26122
26123
26124
26125
26126
26127
26128
26129
26130
26131
26132
26133
26134
26135
26136
26137
26138
26139
26140
26141
26142
26143
26144
26145
26146
26147
26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
26185
26186
26187
26188
26189
26190
26191
26192
26193
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
26243
26244
26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
26278
26279
26280
26281
26282
26283
26284
26285
26286
26287
26288
26289
26290
26291
26292
26293
26294
26295
26296
26297
26298
26299
26300
26301
26302
26303
26304
26305
26306
26307
26308
26309
26310
26311
26312
26313
26314
26315
26316
26317
26318
26319
26320
26321
26322
26323
26324
26325
26326
26327
26328
26329
26330
26331
26332
26333
26334
26335
26336
26337
26338
26339
26340
26341
26342
26343
26344
26345
26346
26347
26348
26349
26350
26351
26352
26353
26354
26355
26356
26357
26358
26359
26360
26361
26362
26363
26364
26365
26366
26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
26384
26385
26386
26387
26388
26389
26390
26391
26392
26393
26394
26395
26396
26397
26398
26399
26400
26401
26402
26403
26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
26423
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433
26434
26435
26436
26437
26438
26439
26440
26441
26442
26443
26444
26445
26446
26447
26448
26449
26450
26451
26452
26453
26454
26455
26456
26457
26458
26459
26460
26461
26462
26463
26464
26465
26466
26467
26468
26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
26479
26480
26481
26482
26483
26484
26485
26486
26487
26488
26489
26490
26491
26492
26493
26494
26495
26496
26497
26498
26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
26513
26514
26515
26516
26517
26518
26519
26520
26521
26522
26523
26524
26525
26526
26527
26528
26529
26530
26531
26532
26533
26534
26535
26536
26537
26538
26539
26540
26541
26542
26543
26544
26545
26546
26547
26548
26549
26550
26551
26552
26553
26554
26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
26640
26641
26642
26643
26644
26645
26646
26647
26648
26649
26650
26651
26652
26653
26654
26655
26656
26657
26658
26659
26660
26661
26662
26663
26664
26665
26666
26667
26668
26669
26670
26671
26672
26673
26674
26675
26676
26677
26678
26679
26680
26681
26682
26683
26684
26685
26686
26687
26688
26689
26690
26691
26692
26693
26694
26695
26696
26697
26698
26699
26700
26701
26702
26703
26704
26705
26706
26707
26708
26709
26710
26711
26712
26713
26714
26715
26716
26717
26718
26719
26720
26721
26722
26723
26724
26725
26726
26727
26728
26729
26730
26731
26732
26733
26734
26735
26736
26737
26738
26739
26740
26741
26742
26743
26744
26745
26746
26747
26748
26749
26750
26751
26752
26753
26754
26755
26756
26757
26758
26759
26760
26761
26762
26763
26764
26765
26766
26767
26768
26769
26770
26771
26772
26773
26774
26775
26776
26777
26778
26779
26780
26781
26782
26783
26784
26785
26786
26787
26788
26789
26790
26791
26792
26793
26794
26795
26796
26797
26798
26799
26800
26801
26802
26803
26804
26805
26806
26807
26808
26809
26810
26811
26812
26813
26814
26815
26816
26817
26818
26819
26820
26821
26822
26823
26824
26825
26826
26827
26828
26829
26830
26831
26832
26833
26834
26835
26836
26837
26838
26839
26840
26841
26842
26843
26844
26845
26846
26847
26848
26849
26850
26851
26852
26853
26854
26855
26856
26857
26858
26859
26860
26861
26862
26863
26864
26865
26866
26867
26868
26869
26870
26871
26872
26873
26874
26875
26876
26877
26878
26879
26880
26881
26882
26883
26884
26885
26886
26887
26888
26889
26890
26891
26892
26893
26894
26895
26896
26897
26898
26899
26900
26901
26902
26903
26904
26905
26906
26907
26908
26909
26910
26911
26912
26913
26914
26915
26916
26917
26918
26919
26920
26921
26922
26923
26924
26925
26926
26927
26928
26929
26930
26931
26932
26933
26934
26935
26936
26937
26938
26939
26940
26941
26942
26943
26944
26945
26946
26947
26948
26949
26950
26951
26952
26953
26954
26955
26956
26957
26958
26959
26960
26961
26962
26963
26964
26965
26966
26967
26968
26969
26970
26971
26972
26973
26974
26975
26976
26977
26978
26979
26980
26981
26982
26983
26984
26985
26986
26987
26988
26989
26990
26991
26992
26993
26994
26995
26996
26997
26998
26999
27000
27001
27002
27003
27004
27005
27006
27007
27008
27009
27010
27011
27012
27013
27014
27015
27016
27017
27018
27019
27020
27021
27022
27023
27024
27025
27026
27027
27028
27029
27030
27031
27032
27033
27034
27035
27036
27037
27038
27039
27040
27041
27042
27043
27044
27045
27046
27047
27048
27049
27050
27051
27052
27053
27054
27055
27056
27057
27058
27059
27060
27061
27062
27063
27064
27065
27066
27067
27068
27069
27070
27071
27072
27073
27074
27075
27076
27077
27078
27079
27080
27081
27082
27083
27084
27085
27086
27087
27088
27089
27090
27091
27092
27093
27094
27095
27096
27097
27098
27099
27100
27101
27102
27103
27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
27114
27115
27116
27117
27118
27119
27120
27121
27122
27123
27124
27125
27126
27127
27128
27129
27130
27131
27132
27133
27134
27135
27136
27137
27138
27139
27140
27141
27142
27143
27144
27145
27146
27147
27148
27149
27150
27151
27152
27153
27154
27155
27156
27157
27158
27159
27160
27161
27162
27163
27164
27165
27166
27167
27168
27169
27170
27171
27172
27173
27174
27175
27176
27177
27178
27179
27180
27181
27182
27183
27184
27185
27186
27187
27188
27189
27190
27191
27192
27193
27194
27195
27196
27197
27198
27199
27200
27201
27202
27203
27204
27205
27206
27207
27208
27209
27210
27211
27212
27213
27214
27215
27216
27217
27218
27219
27220
27221
27222
27223
27224
27225
27226
27227
27228
27229
27230
27231
27232
27233
27234
27235
27236
27237
27238
27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
27261
27262
27263
27264
27265
27266
27267
27268
27269
27270
27271
27272
27273
27274
27275
27276
27277
27278
27279
27280
27281
27282
27283
27284
27285
27286
27287
27288
27289
27290
27291
27292
27293
27294
27295
27296
27297
27298
27299
27300
27301
27302
27303
27304
27305
27306
27307
27308
27309
27310
27311
27312
27313
27314
27315
27316
27317
27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
27342
27343
27344
27345
27346
27347
27348
27349
27350
27351
27352
27353
27354
27355
27356
27357
27358
27359
27360
27361
27362
27363
27364
27365
27366
27367
27368
27369
27370
27371
27372
27373
27374
27375
27376
27377
27378
27379
27380
27381
27382
27383
27384
27385
27386
27387
27388
27389
27390
27391
27392
27393
27394
27395
27396
27397
27398
27399
27400
27401
27402
27403
27404
27405
27406
27407
27408
27409
27410
27411
27412
27413
27414
27415
27416
27417
27418
27419
27420
27421
27422
27423
27424
27425
27426
27427
27428
27429
27430
27431
27432
27433
27434
27435
27436
27437
27438
27439
27440
27441
27442
27443
27444
27445
27446
27447
27448
27449
27450
27451
27452
27453
27454
27455
27456
27457
27458
27459
27460
27461
27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
27486
27487
27488
27489
27490
27491
27492
27493
27494
27495
27496
27497
27498
27499
27500
27501
27502
27503
27504
27505
27506
27507
27508
27509
27510
27511
27512
27513
27514
27515
27516
27517
27518
27519
27520
27521
27522
27523
27524
27525
27526
27527
27528
27529
27530
27531
27532
27533
27534
27535
27536
27537
27538
27539
27540
27541
27542
27543
27544
27545
27546
27547
27548
27549
27550
27551
27552
27553
27554
27555
27556
27557
27558
27559
27560
27561
27562
27563
27564
27565
27566
27567
27568
27569
27570
27571
27572
27573
27574
27575
27576
27577
27578
27579
27580
27581
27582
27583
27584
27585
27586
27587
27588
27589
27590
27591
27592
27593
27594
27595
27596
27597
27598
27599
27600
27601
27602
27603
27604
27605
27606
27607
27608
27609
27610
27611
27612
27613
27614
27615
27616
27617
27618
27619
27620
27621
27622
27623
27624
27625
27626
27627
27628
27629
27630
27631
27632
27633
27634
27635
27636
27637
27638
27639
27640
27641
27642
27643
27644
27645
27646
27647
27648
27649
27650
27651
27652
27653
27654
27655
27656
27657
27658
27659
27660
27661
27662
27663
27664
27665
27666
27667
27668
27669
27670
27671
27672
27673
27674
27675
27676
27677
27678
27679
27680
27681
27682
27683
27684
27685
27686
27687
27688
27689
27690
27691
27692
27693
27694
27695
27696
27697
27698
27699
27700
27701
27702
27703
27704
27705
27706
27707
27708
27709
27710
27711
27712
27713
27714
27715
27716
27717
27718
27719
27720
27721
27722
27723
27724
27725
27726
27727
27728
27729
27730
27731
27732
27733
27734
27735
27736
27737
27738
27739
27740
27741
27742
27743
27744
27745
27746
27747
27748
27749
27750
27751
27752
27753
27754
27755
27756
27757
27758
27759
27760
27761
27762
27763
27764
27765
27766
27767
27768
27769
27770
27771
27772
27773
27774
27775
27776
27777
27778
27779
27780
27781
27782
27783
27784
27785
27786
27787
27788
27789
27790
27791
27792
27793
27794
27795
27796
27797
27798
27799
27800
27801
27802
27803
27804
27805
27806
27807
27808
27809
27810
27811
27812
27813
27814
27815
27816
27817
27818
27819
27820
27821
27822
27823
27824
27825
27826
27827
27828
27829
27830
27831
27832
27833
27834
27835
27836
27837
27838
27839
27840
27841
27842
27843
27844
27845
27846
27847
27848
27849
27850
27851
27852
27853
27854
27855
27856
27857
27858
27859
27860
27861
27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
27957
27958
27959
27960
27961
27962
27963
27964
27965
27966
27967
27968
27969
27970
27971
27972
27973
27974
27975
27976
27977
27978
27979
27980
27981
27982
27983
27984
27985
27986
27987
27988
27989
27990
27991
27992
27993
27994
27995
27996
27997
27998
27999
28000
28001
28002
28003
28004
28005
28006
28007
28008
28009
28010
28011
28012
28013
28014
28015
28016
28017
28018
28019
28020
28021
28022
28023
28024
28025
28026
28027
28028
28029
28030
28031
28032
28033
28034
28035
28036
28037
28038
28039
28040
28041
28042
28043
28044
28045
28046
28047
28048
28049
28050
28051
28052
28053
28054
28055
28056
28057
28058
28059
28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
28083
28084
28085
28086
28087
28088
28089
28090
28091
28092
28093
28094
28095
28096
28097
28098
28099
28100
28101
28102
28103
28104
28105
28106
28107
28108
28109
28110
28111
28112
28113
28114
28115
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125
28126
28127
28128
28129
28130
28131
28132
28133
28134
28135
28136
28137
28138
28139
28140
28141
28142
28143
28144
28145
28146
28147
28148
28149
28150
28151
28152
28153
28154
28155
28156
28157
28158
28159
28160
28161
28162
28163
28164
28165
28166
28167
28168
28169
28170
28171
28172
28173
28174
28175
28176
28177
28178
28179
28180
28181
28182
28183
28184
28185
28186
28187
28188
28189
28190
28191
28192
28193
28194
28195
28196
28197
28198
28199
28200
28201
28202
28203
28204
28205
28206
28207
28208
28209
28210
28211
28212
28213
28214
28215
28216
28217
28218
28219
28220
28221
28222
28223
28224
28225
28226
28227
28228
28229
28230
28231
28232
28233
28234
28235
28236
28237
28238
28239
28240
28241
28242
28243
28244
28245
28246
28247
28248
28249
28250
28251
28252
28253
28254
28255
28256
28257
28258
28259
28260
28261
28262
28263
28264
28265
28266
28267
28268
28269
28270
28271
28272
28273
28274
28275
28276
28277
28278
28279
28280
28281
28282
28283
28284
28285
28286
28287
28288
28289
28290
28291
28292
28293
28294
28295
28296
28297
28298
28299
28300
28301
28302
28303
28304
28305
28306
28307
28308
28309
28310
28311
28312
28313
28314
28315
28316
28317
28318
28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
28329
28330
28331
28332
28333
28334
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
28345
28346
28347
28348
28349
28350
28351
28352
28353
28354
28355
28356
28357
28358
28359
28360
28361
28362
28363
28364
28365
28366
28367
28368
28369
28370
28371
28372
28373
28374
28375
28376
28377
28378
28379
28380
28381
28382
28383
28384
28385
28386
28387
28388
28389
28390
28391
28392
28393
28394
28395
28396
28397
28398
28399
28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
28411
28412
28413
28414
28415
28416
28417
28418
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446
28447
28448
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458
28459
28460
28461
28462
28463
28464
28465
28466
28467
28468
28469
28470
28471
28472
28473
28474
28475
28476
28477
28478
28479
28480
28481
28482
28483
28484
28485
28486
28487
28488
28489
28490
28491
28492
28493
28494
28495
28496
28497
28498
28499
28500
28501
28502
28503
28504
28505
28506
28507
28508
28509
28510
28511
28512
28513
28514
28515
28516
28517
28518
28519
28520
28521
28522
28523
28524
28525
28526
28527
28528
28529
28530
28531
28532
28533
28534
28535
28536
28537
28538
28539
28540
28541
28542
28543
28544
28545
28546
28547
28548
28549
28550
28551
28552
28553
28554
28555
28556
28557
28558
28559
28560
28561
28562
28563
28564
28565
28566
28567
28568
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603
28604
28605
28606
28607
28608
28609
28610
28611
28612
28613
28614
28615
28616
28617
28618
28619
28620
28621
28622
28623
28624
28625
28626
28627
28628
28629
28630
28631
28632
28633
28634
28635
28636
28637
28638
28639
28640
28641
28642
28643
28644
28645
28646
28647
28648
28649
28650
28651
28652
28653
28654
28655
28656
28657
28658
28659
28660
28661
28662
28663
28664
28665
28666
28667
28668
28669
28670
28671
28672
28673
28674
28675
28676
28677
28678
28679
28680
28681
28682
28683
28684
28685
28686
28687
28688
28689
28690
28691
28692
28693
28694
28695
28696
28697
28698
28699
28700
28701
28702
28703
28704
28705
28706
28707
28708
28709
28710
28711
28712
28713
28714
28715
28716
28717
28718
28719
28720
28721
28722
28723
28724
28725
28726
28727
28728
28729
28730
28731
28732
28733
28734
28735
28736
28737
28738
28739
28740
28741
28742
28743
28744
28745
28746
28747
28748
28749
28750
28751
28752
28753
28754
28755
28756
28757
28758
28759
28760
28761
28762
28763
28764
28765
28766
28767
28768
28769
28770
28771
28772
28773
28774
28775
28776
28777
28778
28779
28780
28781
28782
28783
28784
28785
28786
28787
28788
28789
28790
28791
28792
28793
28794
28795
28796
28797
28798
28799
28800
28801
28802
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
28899
28900
28901
28902
28903
28904
28905
28906
28907
28908
28909
28910
28911
28912
28913
28914
28915
28916
28917
28918
28919
28920
28921
28922
28923
28924
28925
28926
28927
28928
28929
28930
28931
28932
28933
28934
28935
28936
28937
28938
28939
28940
28941
28942
28943
28944
28945
28946
28947
28948
28949
28950
28951
28952
28953
28954
28955
28956
28957
28958
28959
28960
28961
28962
28963
28964
28965
28966
28967
28968
28969
28970
28971
28972
28973
28974
28975
28976
28977
28978
28979
28980
28981
28982
28983
28984
28985
28986
28987
28988
28989
28990
28991
28992
28993
28994
28995
28996
28997
28998
28999
29000
29001
29002
29003
29004
29005
29006
29007
29008
29009
29010
29011
29012
29013
29014
29015
29016
29017
29018
29019
29020
29021
29022
29023
29024
29025
29026
29027
29028
29029
29030
29031
29032
29033
29034
29035
29036
29037
29038
29039
29040
29041
29042
29043
29044
29045
29046
29047
29048
29049
29050
29051
29052
29053
29054
29055
29056
29057
29058
29059
29060
29061
29062
29063
29064
29065
29066
29067
29068
29069
29070
29071
29072
29073
29074
29075
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
29086
29087
29088
29089
29090
29091
29092
29093
29094
29095
29096
29097
29098
29099
29100
29101
29102
29103
29104
29105
29106
29107
29108
29109
29110
29111
29112
29113
29114
29115
29116
29117
29118
29119
29120
29121
29122
29123
29124
29125
29126
29127
29128
29129
29130
29131
29132
29133
29134
29135
29136
29137
29138
29139
29140
29141
29142
29143
29144
29145
29146
29147
29148
29149
29150
29151
29152
29153
29154
29155
29156
29157
29158
29159
29160
29161
29162
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176
29177
29178
29179
29180
29181
29182
29183
29184
29185
29186
29187
29188
29189
29190
29191
29192
29193
29194
29195
29196
29197
29198
29199
29200
29201
29202
29203
29204
29205
29206
29207
29208
29209
29210
29211
29212
29213
29214
29215
29216
29217
29218
29219
29220
29221
29222
29223
29224
29225
29226
29227
29228
29229
29230
29231
29232
29233
29234
29235
29236
29237
29238
29239
29240
29241
29242
29243
29244
29245
29246
29247
29248
29249
29250
29251
29252
29253
29254
29255
29256
29257
29258
29259
29260
29261
29262
29263
29264
29265
29266
29267
29268
29269
29270
29271
29272
29273
29274
29275
29276
29277
29278
29279
29280
29281
29282
29283
29284
29285
29286
29287
29288
29289
29290
29291
29292
29293
29294
29295
29296
29297
29298
29299
29300
29301
29302
29303
29304
29305
29306
29307
29308
29309
29310
29311
29312
29313
29314
29315
29316
29317
29318
29319
29320
29321
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
29332
29333
29334
29335
29336
29337
29338
29339
29340
29341
29342
29343
29344
29345
29346
29347
29348
29349
29350
29351
29352
29353
29354
29355
29356
29357
29358
29359
29360
29361
29362
29363
29364
29365
29366
29367
29368
29369
29370
29371
29372
29373
29374
29375
29376
29377
29378
29379
29380
29381
29382
29383
29384
29385
29386
29387
29388
29389
29390
29391
29392
29393
29394
29395
29396
29397
29398
29399
29400
29401
29402
29403
29404
29405
29406
29407
29408
29409
29410
29411
29412
29413
29414
29415
29416
29417
29418
29419
29420
29421
29422
29423
29424
29425
29426
29427
29428
29429
29430
29431
29432
29433
29434
29435
29436
29437
29438
29439
29440
29441
29442
29443
29444
29445
29446
29447
29448
29449
29450
29451
29452
29453
29454
29455
29456
29457
29458
29459
29460
29461
29462
29463
29464
29465
29466
29467
29468
29469
29470
29471
29472
29473
29474
29475
29476
29477
29478
29479
29480
29481
29482
29483
29484
29485
29486
29487
29488
29489
29490
29491
29492
29493
29494
29495
29496
29497
29498
29499
29500
29501
29502
29503
29504
29505
29506
29507
29508
29509
29510
29511
29512
29513
29514
29515
29516
29517
29518
29519
29520
29521
29522
29523
29524
29525
29526
29527
29528
29529
29530
29531
29532
29533
29534
29535
29536
29537
29538
29539
29540
29541
29542
29543
29544
29545
29546
29547
29548
29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
29561
29562
29563
29564
29565
29566
29567
29568
29569
29570
29571
29572
29573
29574
29575
29576
29577
29578
29579
29580
29581
29582
29583
29584
29585
29586
29587
29588
29589
29590
29591
29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
29613
29614
29615
29616
29617
29618
29619
29620
29621
29622
29623
29624
29625
29626
29627
29628
29629
29630
29631
29632
29633
29634
29635
29636
29637
29638
29639
29640
29641
29642
29643
29644
29645
29646
29647
29648
29649
29650
29651
29652
29653
29654
29655
29656
29657
29658
29659
29660
29661
29662
29663
29664
29665
29666
29667
29668
29669
29670
29671
29672
29673
29674
29675
29676
29677
29678
29679
29680
29681
29682
29683
29684
29685
29686
29687
29688
29689
29690
29691
29692
29693
29694
29695
29696
29697
29698
29699
29700
29701
29702
29703
29704
29705
29706
29707
29708
29709
29710
29711
29712
29713
29714
29715
29716
29717
29718
29719
29720
29721
29722
29723
29724
29725
29726
29727
29728
29729
29730
29731
29732
29733
29734
29735
29736
29737
29738
29739
29740
29741
29742
29743
29744
29745
29746
29747
29748
29749
29750
29751
29752
29753
29754
29755
29756
29757
29758
29759
29760
29761
29762
29763
29764
29765
29766
29767
29768
29769
29770
29771
29772
29773
29774
29775
29776
29777
29778
29779
29780
29781
29782
29783
29784
29785
29786
29787
29788
29789
29790
29791
29792
29793
29794
29795
29796
29797
29798
29799
29800
29801
29802
29803
29804
29805
29806
29807
29808
29809
29810
29811
29812
29813
29814
29815
29816
29817
29818
29819
29820
29821
29822
29823
29824
29825
29826
29827
29828
29829
29830
29831
29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
29844
29845
29846
29847
29848
29849
29850
29851
29852
29853
29854
29855
29856
29857
29858
29859
29860
29861
29862
29863
29864
29865
29866
29867
29868
29869
29870
29871
29872
29873
29874
29875
29876
29877
29878
29879
29880
29881
29882
29883
29884
29885
29886
29887
29888
29889
29890
29891
29892
29893
29894
29895
29896
29897
29898
29899
29900
29901
29902
29903
29904
29905
29906
29907
29908
29909
29910
29911
29912
29913
29914
29915
29916
29917
29918
29919
29920
29921
29922
29923
29924
29925
29926
29927
29928
29929
29930
29931
29932
29933
29934
29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
29963
29964
29965
29966
29967
29968
29969
29970
29971
29972
29973
29974
29975
29976
29977
29978
29979
29980
29981
29982
29983
29984
29985
29986
29987
29988
29989
29990
29991
29992
29993
29994
29995
29996
29997
29998
29999
30000
30001
30002
30003
30004
30005
30006
30007
30008
30009
30010
30011
30012
30013
30014
30015
30016
30017
30018
30019
30020
30021
30022
30023
30024
30025
30026
30027
30028
30029
30030
30031
30032
30033
30034
30035
30036
30037
30038
30039
30040
30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
30061
30062
30063
30064
30065
30066
30067
30068
30069
30070
30071
30072
30073
30074
30075
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
30110
30111
30112
30113
30114
30115
30116
30117
30118
30119
30120
30121
30122
30123
30124
30125
30126
30127
30128
30129
30130
30131
30132
30133
30134
30135
30136
30137
30138
30139
30140
30141
30142
30143
30144
30145
30146
30147
30148
30149
30150
30151
30152
30153
30154
30155
30156
30157
30158
30159
30160
30161
30162
30163
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176
30177
30178
30179
30180
30181
30182
30183
30184
30185
30186
30187
30188
30189
30190
30191
30192
30193
30194
30195
30196
30197
30198
30199
30200
30201
30202
30203
30204
30205
30206
30207
30208
30209
30210
30211
30212
30213
30214
30215
30216
30217
30218
30219
30220
30221
30222
30223
30224
30225
30226
30227
30228
30229
30230
30231
30232
30233
30234
30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245
30246
30247
30248
30249
30250
30251
30252
30253
30254
30255
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
30268
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281
30282
30283
30284
30285
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298
30299
30300
30301
30302
30303
30304
30305
30306
30307
30308
30309
30310
30311
30312
30313
30314
30315
30316
30317
30318
30319
30320
30321
30322
30323
30324
30325
30326
30327
30328
30329
30330
30331
30332
30333
30334
30335
30336
30337
30338
30339
30340
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350
30351
30352
30353
30354
30355
30356
30357
30358
30359
30360
30361
30362
30363
30364
30365
30366
30367
30368
30369
30370
30371
30372
30373
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403
30404
30405
30406
30407
30408
30409
30410
30411
30412
30413
30414
30415
30416
30417
30418
30419
30420
30421
30422
30423
30424
30425
30426
30427
30428
30429
30430
30431
30432
30433
30434
30435
30436
30437
30438
30439
30440
30441
30442
30443
30444
30445
30446
30447
30448
30449
30450
30451
30452
30453
30454
30455
30456
30457
30458
30459
30460
30461
30462
30463
30464
30465
30466
30467
30468
30469
30470
30471
30472
30473
30474
30475
30476
30477
30478
30479
30480
30481
30482
30483
30484
30485
30486
30487
30488
30489
30490
30491
30492
30493
30494
30495
30496
30497
30498
30499
30500
30501
30502
30503
30504
30505
30506
30507
30508
30509
30510
30511
30512
30513
30514
30515
30516
30517
30518
30519
30520
30521
30522
30523
30524
30525
30526
30527
30528
30529
30530
30531
30532
30533
30534
30535
30536
30537
30538
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548
30549
30550
30551
30552
30553
30554
30555
30556
30557
30558
30559
30560
30561
30562
30563
30564
30565
30566
30567
30568
30569
30570
30571
30572
30573
30574
30575
30576
30577
30578
30579
30580
30581
30582
30583
30584
30585
30586
30587
30588
30589
30590
30591
30592
30593
30594
30595
30596
30597
30598
30599
30600
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613
30614
30615
30616
30617
30618
30619
30620
30621
30622
30623
30624
30625
30626
30627
30628
30629
30630
30631
30632
30633
30634
30635
30636
30637
30638
30639
30640
30641
30642
30643
30644
30645
30646
30647
30648
30649
30650
30651
30652
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
30668
30669
30670
30671
30672
30673
30674
30675
30676
30677
30678
30679
30680
30681
30682
30683
30684
30685
30686
30687
30688
30689
30690
30691
30692
30693
30694
30695
30696
30697
30698
30699
30700
30701
30702
30703
30704
30705
30706
30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718
30719
30720
30721
30722
30723
30724
30725
30726
30727
30728
30729
30730
30731
30732
30733
30734
30735
30736
30737
30738
30739
30740
30741
30742
30743
30744
30745
30746
30747
30748
30749
30750
30751
30752
30753
30754
30755
30756
30757
30758
30759
30760
30761
30762
30763
30764
30765
30766
30767
30768
30769
30770
30771
30772
30773
30774
30775
30776
30777
30778
30779
30780
30781
30782
30783
30784
30785
30786
30787
30788
30789
30790
30791
30792
30793
30794
30795
30796
30797
30798
30799
30800
30801
30802
30803
30804
30805
30806
30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
30826
30827
30828
30829
30830
30831
30832
30833
30834
30835
30836
30837
30838
30839
30840
30841
30842
30843
30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
30857
30858
30859
30860
30861
30862
30863
30864
30865
30866
30867
30868
30869
30870
30871
30872
30873
30874
30875
30876
30877
30878
30879
30880
30881
30882
30883
30884
30885
30886
30887
30888
30889
30890
30891
30892
30893
30894
30895
30896
30897
30898
30899
30900
30901
30902
30903
30904
30905
30906
30907
30908
30909
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928
30929
30930
30931
30932
30933
30934
30935
30936
30937
30938
30939
30940
30941
30942
30943
30944
30945
30946
30947
30948
30949
30950
30951
30952
30953
30954
30955
30956
30957
30958
30959
30960
30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
30994
30995
30996
30997
30998
30999
31000
31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
31014
31015
31016
31017
31018
31019
31020
31021
31022
31023
31024
31025
31026
31027
31028
31029
31030
31031
31032
31033
31034
31035
31036
31037
31038
31039
31040
31041
31042
31043
31044
31045
31046
31047
31048
31049
31050
31051
31052
31053
31054
31055
31056
31057
31058
31059
31060
31061
31062
31063
31064
31065
31066
31067
31068
31069
31070
31071
31072
31073
31074
31075
31076
31077
31078
31079
31080
31081
31082
31083
31084
31085
31086
31087
31088
31089
31090
31091
31092
31093
31094
31095
31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
31109
31110
31111
31112
31113
31114
31115
31116
31117
31118
31119
31120
31121
31122
31123
31124
31125
31126
31127
31128
31129
31130
31131
31132
31133
31134
31135
31136
31137
31138
31139
31140
31141
31142
31143
31144
31145
31146
31147
31148
31149
31150
31151
31152
31153
31154
31155
31156
31157
31158
31159
31160
31161
31162
31163
31164
31165
31166
31167
31168
31169
31170
31171
31172
31173
31174
31175
31176
31177
31178
31179
31180
31181
31182
31183
31184
31185
31186
31187
31188
31189
31190
31191
31192
31193
31194
31195
31196
31197
31198
31199
31200
31201
31202
31203
31204
31205
31206
31207
31208
31209
31210
31211
31212
31213
31214
31215
31216
31217
31218
31219
31220
31221
31222
31223
31224
31225
31226
31227
31228
31229
31230
31231
31232
31233
31234
31235
31236
31237
31238
31239
31240
31241
31242
31243
31244
31245
31246
31247
31248
31249
31250
31251
31252
31253
31254
31255
31256
31257
31258
31259
31260
31261
31262
31263
31264
31265
31266
31267
31268
31269
31270
31271
31272
31273
31274
31275
31276
31277
31278
31279
31280
31281
31282
31283
31284
31285
31286
31287
31288
31289
31290
31291
31292
31293
31294
31295
31296
31297
31298
31299
31300
31301
31302
31303
31304
31305
31306
31307
31308
31309
31310
31311
31312
31313
31314
31315
31316
31317
31318
31319
31320
31321
31322
31323
31324
31325
31326
31327
31328
31329
31330
31331
31332
31333
31334
31335
31336
31337
31338
31339
31340
31341
31342
31343
31344
31345
31346
31347
31348
31349
31350
31351
31352
31353
31354
31355
31356
31357
31358
31359
31360
31361
31362
31363
31364
31365
31366
31367
31368
31369
31370
31371
31372
31373
31374
31375
31376
31377
31378
31379
31380
31381
31382
31383
31384
31385
31386
31387
31388
31389
31390
31391
31392
31393
31394
31395
31396
31397
31398
31399
31400
31401
31402
31403
31404
31405
31406
31407
31408
31409
31410
31411
31412
31413
31414
31415
31416
31417
31418
31419
31420
31421
31422
31423
31424
31425
31426
31427
31428
31429
31430
31431
31432
31433
31434
31435
31436
31437
31438
31439
31440
31441
31442
31443
31444
31445
31446
31447
31448
31449
31450
31451
31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
31467
31468
31469
31470
31471
31472
31473
31474
31475
31476
31477
31478
31479
31480
31481
31482
31483
31484
31485
31486
31487
31488
31489
31490
31491
31492
31493
31494
31495
31496
31497
31498
31499
31500
31501
31502
31503
31504
31505
31506
31507
31508
31509
31510
31511
31512
31513
31514
31515
31516
31517
31518
31519
31520
31521
31522
31523
31524
31525
31526
31527
31528
31529
31530
31531
31532
31533
31534
31535
31536
31537
31538
31539
31540
31541
31542
31543
31544
31545
31546
31547
31548
31549
31550
31551
31552
31553
31554
31555
31556
31557
31558
31559
31560
31561
31562
31563
31564
31565
31566
31567
31568
31569
31570
31571
31572
31573
31574
31575
31576
31577
31578
31579
31580
31581
31582
31583
31584
31585
31586
31587
31588
31589
31590
31591
31592
31593
31594
31595
31596
31597
31598
31599
31600
31601
31602
31603
31604
31605
31606
31607
31608
31609
31610
31611
31612
31613
31614
31615
31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
31648
31649
31650
31651
31652
31653
31654
31655
31656
31657
31658
31659
31660
31661
31662
31663
31664
31665
31666
31667
31668
31669
31670
31671
31672
31673
31674
31675
31676
31677
31678
31679
31680
31681
31682
31683
31684
31685
31686
31687
31688
31689
31690
31691
31692
31693
31694
31695
31696
31697
31698
31699
31700
31701
31702
31703
31704
31705
31706
31707
31708
31709
31710
31711
31712
31713
31714
31715
31716
31717
31718
31719
31720
31721
31722
31723
31724
31725
31726
31727
31728
31729
31730
31731
31732
31733
31734
31735
31736
31737
31738
31739
31740
31741
31742
31743
31744
31745
31746
31747
31748
31749
31750
31751
31752
31753
31754
31755
31756
31757
31758
31759
31760
31761
31762
31763
31764
31765
31766
31767
31768
31769
31770
31771
31772
31773
31774
31775
31776
31777
31778
31779
31780
31781
31782
31783
31784
31785
31786
31787
31788
31789
31790
31791
31792
31793
31794
31795
31796
31797
31798
31799
31800
31801
31802
31803
31804
31805
31806
31807
31808
31809
31810
31811
31812
31813
31814
31815
31816
31817
31818
31819
31820
31821
31822
31823
31824
31825
31826
31827
31828
31829
31830
31831
31832
31833
31834
31835
31836
31837
31838
31839
31840
31841
31842
31843
31844
31845
31846
31847
31848
31849
31850
31851
31852
31853
31854
31855
31856
31857
31858
31859
31860
31861
31862
31863
31864
31865
31866
31867
31868
31869
31870
31871
31872
31873
31874
31875
31876
31877
31878
31879
31880
31881
31882
31883
31884
31885
31886
31887
31888
31889
31890
31891
31892
31893
31894
31895
31896
31897
31898
31899
31900
31901
31902
31903
31904
31905
31906
31907
31908
31909
31910
31911
31912
31913
31914
31915
31916
31917
31918
31919
31920
31921
31922
31923
31924
31925
31926
31927
31928
31929
31930
31931
31932
31933
31934
31935
31936
31937
31938
31939
31940
31941
31942
31943
31944
31945
31946
31947
31948
31949
31950
31951
31952
31953
31954
31955
31956
31957
31958
31959
31960
31961
31962
31963
31964
31965
31966
31967
31968
31969
31970
31971
31972
31973
31974
31975
31976
31977
31978
31979
31980
31981
31982
31983
31984
31985
31986
31987
31988
31989
31990
31991
31992
31993
31994
31995
31996
31997
31998
31999
32000
32001
32002
32003
32004
32005
32006
32007
32008
32009
32010
32011
32012
32013
32014
32015
32016
32017
32018
32019
32020
32021
32022
32023
32024
32025
32026
32027
32028
32029
32030
32031
32032
32033
32034
32035
32036
32037
32038
32039
32040
32041
32042
32043
32044
32045
32046
32047
32048
32049
32050
32051
32052
32053
32054
32055
32056
32057
32058
32059
32060
32061
32062
32063
32064
32065
32066
32067
32068
32069
32070
32071
32072
32073
32074
32075
32076
32077
32078
32079
32080
32081
32082
32083
32084
32085
32086
32087
32088
32089
32090
32091
32092
32093
32094
32095
32096
32097
32098
32099
32100
32101
32102
32103
32104
32105
32106
32107
32108
32109
32110
32111
32112
32113
32114
32115
32116
32117
32118
32119
32120
32121
32122
32123
32124
32125
32126
32127
32128
32129
32130
32131
32132
32133
32134
32135
32136
32137
32138
32139
32140
32141
32142
32143
32144
32145
32146
32147
32148
32149
32150
32151
32152
32153
32154
32155
32156
32157
32158
32159
32160
32161
32162
32163
32164
32165
32166
32167
32168
32169
32170
32171
32172
32173
32174
32175
32176
32177
32178
32179
32180
32181
32182
32183
32184
32185
32186
32187
32188
32189
32190
32191
32192
32193
32194
32195
32196
32197
32198
32199
32200
32201
32202
32203
32204
32205
32206
32207
32208
32209
32210
32211
32212
32213
32214
32215
32216
32217
32218
32219
32220
32221
32222
32223
32224
32225
32226
32227
32228
32229
32230
32231
32232
32233
32234
32235
32236
32237
32238
32239
32240
32241
32242
32243
32244
32245
32246
32247
32248
32249
32250
32251
32252
32253
32254
32255
32256
32257
32258
32259
32260
32261
32262
32263
32264
32265
32266
32267
32268
32269
32270
32271
32272
32273
32274
32275
32276
32277
32278
32279
32280
32281
32282
32283
32284
32285
32286
32287
32288
32289
32290
32291
32292
32293
32294
32295
32296
32297
32298
32299
32300
32301
32302
32303
32304
32305
32306
32307
32308
32309
32310
32311
32312
32313
32314
32315
32316
32317
32318
32319
32320
32321
32322
32323
32324
32325
32326
32327
32328
32329
32330
32331
32332
32333
32334
32335
32336
32337
32338
32339
32340
32341
32342
32343
32344
32345
32346
32347
32348
32349
32350
32351
32352
32353
32354
32355
32356
32357
32358
32359
32360
32361
32362
32363
32364
32365
32366
32367
32368
32369
32370
32371
32372
32373
32374
32375
32376
32377
32378
32379
32380
32381
32382
32383
32384
32385
32386
32387
32388
32389
32390
32391
32392
32393
32394
32395
32396
32397
32398
32399
32400
32401
32402
32403
32404
32405
32406
32407
32408
32409
32410
32411
32412
32413
32414
32415
32416
32417
32418
32419
32420
32421
32422
32423
32424
32425
32426
32427
32428
32429
32430
32431
32432
32433
32434
32435
32436
32437
32438
32439
32440
32441
32442
32443
32444
32445
32446
32447
32448
32449
32450
32451
32452
32453
32454
32455
32456
32457
32458
32459
32460
32461
32462
32463
32464
32465
32466
32467
32468
32469
32470
32471
32472
32473
32474
32475
32476
32477
32478
32479
32480
32481
32482
32483
32484
32485
32486
32487
32488
32489
32490
32491
32492
32493
32494
32495
32496
32497
32498
32499
32500
32501
32502
32503
32504
32505
32506
32507
32508
32509
32510
32511
32512
32513
32514
32515
32516
32517
32518
32519
32520
32521
32522
32523
32524
32525
32526
32527
32528
32529
32530
32531
32532
32533
32534
32535
32536
32537
32538
32539
32540
32541
32542
32543
32544
32545
32546
32547
32548
32549
32550
32551
32552
32553
32554
32555
32556
32557
32558
32559
32560
32561
32562
32563
32564
32565
32566
32567
32568
32569
32570
32571
32572
32573
32574
32575
32576
32577
32578
32579
32580
32581
32582
32583
32584
32585
32586
32587
32588
32589
32590
32591
32592
32593
32594
32595
32596
32597
32598
32599
32600
32601
32602
32603
32604
32605
32606
32607
32608
32609
32610
32611
32612
32613
32614
32615
32616
32617
32618
32619
32620
32621
32622
32623
32624
32625
32626
32627
32628
32629
32630
32631
32632
32633
32634
32635
32636
32637
32638
32639
32640
32641
32642
32643
32644
32645
32646
32647
32648
32649
32650
32651
32652
32653
32654
32655
32656
32657
32658
32659
32660
32661
32662
32663
32664
32665
32666
32667
32668
32669
32670
32671
32672
32673
32674
32675
32676
32677
32678
32679
32680
32681
32682
32683
32684
32685
32686
32687
32688
32689
32690
32691
32692
32693
32694
32695
32696
32697
32698
32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
32711
32712
32713
32714
32715
32716
32717
32718
32719
32720
32721
32722
32723
32724
32725
32726
32727
32728
32729
32730
32731
32732
32733
32734
32735
32736
32737
32738
32739
32740
32741
32742
32743
32744
32745
32746
32747
32748
32749
32750
32751
32752
32753
32754
32755
32756
32757
32758
32759
32760
32761
32762
32763
32764
32765
32766
32767
32768
32769
32770
32771
32772
32773
32774
32775
32776
32777
32778
32779
32780
32781
32782
32783
32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
32796
32797
32798
32799
32800
32801
32802
32803
32804
32805
32806
32807
32808
32809
32810
32811
32812
32813
32814
32815
32816
32817
32818
32819
32820
32821
32822
32823
32824
32825
32826
32827
32828
32829
32830
32831
32832
32833
32834
32835
32836
32837
32838
32839
32840
32841
32842
32843
32844
32845
32846
32847
32848
32849
32850
32851
32852
32853
32854
32855
32856
32857
32858
32859
32860
32861
32862
32863
32864
32865
32866
32867
32868
32869
32870
32871
32872
32873
32874
32875
32876
32877
32878
32879
32880
32881
32882
32883
32884
32885
32886
32887
32888
32889
32890
32891
32892
32893
32894
32895
32896
32897
32898
32899
32900
32901
32902
32903
32904
32905
32906
32907
32908
32909
32910
32911
32912
32913
32914
32915
32916
32917
32918
32919
32920
32921
32922
32923
32924
32925
32926
32927
32928
32929
32930
32931
32932
32933
32934
32935
32936
32937
32938
32939
32940
32941
32942
32943
32944
32945
32946
32947
32948
32949
32950
32951
32952
32953
32954
32955
32956
32957
32958
32959
32960
32961
32962
32963
32964
32965
32966
32967
32968
32969
32970
32971
32972
32973
32974
32975
32976
32977
32978
32979
32980
32981
32982
32983
32984
32985
32986
32987
32988
32989
32990
32991
32992
32993
32994
32995
32996
32997
32998
32999
33000
33001
33002
33003
33004
33005
33006
33007
33008
33009
33010
33011
33012
33013
33014
33015
33016
33017
33018
33019
33020
33021
33022
33023
33024
33025
33026
33027
33028
33029
33030
33031
33032
33033
33034
33035
33036
33037
33038
33039
33040
33041
33042
33043
33044
33045
33046
33047
33048
33049
33050
33051
33052
33053
33054
33055
33056
33057
33058
33059
33060
33061
33062
33063
33064
33065
33066
33067
33068
33069
33070
33071
33072
33073
33074
33075
33076
33077
33078
33079
33080
33081
33082
33083
33084
33085
33086
33087
33088
33089
33090
33091
33092
33093
33094
33095
33096
33097
33098
33099
33100
33101
33102
33103
33104
33105
33106
33107
33108
33109
33110
33111
33112
33113
33114
33115
33116
33117
33118
33119
33120
33121
33122
33123
33124
33125
33126
33127
33128
33129
33130
33131
33132
33133
33134
33135
33136
33137
33138
33139
33140
33141
33142
33143
33144
33145
33146
33147
33148
33149
33150
33151
33152
33153
33154
33155
33156
33157
33158
33159
33160
33161
33162
33163
33164
33165
33166
33167
33168
33169
33170
33171
33172
33173
33174
33175
33176
33177
33178
33179
33180
33181
33182
33183
33184
33185
33186
33187
33188
33189
33190
33191
33192
33193
33194
33195
33196
33197
33198
33199
33200
33201
33202
33203
33204
33205
33206
33207
33208
33209
33210
33211
33212
33213
33214
33215
33216
33217
33218
33219
33220
33221
33222
33223
33224
33225
33226
33227
33228
33229
33230
33231
33232
33233
33234
33235
33236
33237
33238
33239
33240
33241
33242
33243
33244
33245
33246
33247
33248
33249
33250
33251
33252
33253
33254
33255
33256
33257
33258
33259
33260
33261
33262
33263
33264
33265
33266
33267
33268
33269
33270
33271
33272
33273
33274
33275
33276
33277
33278
33279
33280
33281
33282
33283
33284
33285
33286
33287
33288
33289
33290
33291
33292
33293
33294
33295
33296
33297
33298
33299
33300
33301
33302
33303
33304
33305
33306
33307
33308
33309
33310
33311
33312
33313
33314
33315
33316
33317
33318
33319
33320
33321
33322
33323
33324
33325
33326
33327
33328
33329
33330
33331
33332
33333
33334
33335
33336
33337
33338
33339
33340
33341
33342
33343
33344
33345
33346
33347
33348
33349
33350
33351
33352
33353
33354
33355
33356
33357
33358
33359
33360
33361
33362
33363
33364
33365
33366
33367
33368
33369
33370
33371
33372
33373
33374
33375
33376
33377
33378
33379
33380
33381
33382
33383
33384
33385
33386
33387
33388
33389
33390
33391
33392
33393
33394
33395
33396
33397
33398
33399
33400
33401
33402
33403
33404
33405
33406
33407
33408
33409
33410
33411
33412
33413
33414
33415
33416
33417
33418
33419
33420
33421
33422
33423
33424
33425
33426
33427
33428
33429
33430
33431
33432
33433
33434
33435
33436
33437
33438
33439
33440
33441
33442
33443
33444
33445
33446
33447
33448
33449
33450
33451
33452
33453
33454
33455
33456
33457
33458
33459
33460
33461
33462
33463
33464
33465
33466
33467
33468
33469
33470
33471
33472
33473
33474
33475
33476
33477
33478
33479
33480
33481
33482
33483
33484
33485
33486
33487
33488
33489
33490
33491
33492
33493
33494
33495
33496
33497
33498
33499
33500
33501
33502
33503
33504
33505
33506
33507
33508
33509
33510
33511
33512
33513
33514
33515
33516
33517
33518
33519
33520
33521
33522
33523
33524
33525
33526
33527
33528
33529
33530
33531
33532
33533
33534
33535
33536
33537
33538
33539
33540
33541
33542
33543
33544
33545
33546
33547
33548
33549
33550
33551
33552
33553
33554
33555
33556
33557
33558
33559
33560
33561
33562
33563
33564
33565
33566
33567
33568
33569
33570
33571
33572
33573
33574
33575
33576
33577
33578
33579
33580
33581
33582
33583
33584
33585
33586
33587
33588
33589
33590
33591
33592
33593
33594
33595
33596
33597
33598
33599
33600
33601
33602
33603
33604
33605
33606
33607
33608
33609
33610
33611
33612
33613
33614
33615
33616
33617
33618
33619
33620
33621
33622
33623
33624
33625
33626
33627
33628
33629
33630
33631
33632
33633
33634
33635
33636
33637
33638
33639
33640
33641
33642
33643
33644
33645
33646
33647
33648
33649
33650
33651
33652
33653
33654
33655
33656
33657
33658
33659
33660
33661
33662
33663
33664
33665
33666
33667
33668
33669
33670
33671
33672
33673
33674
33675
33676
33677
33678
33679
33680
33681
33682
33683
33684
33685
33686
33687
33688
33689
33690
33691
33692
33693
33694
33695
33696
33697
33698
33699
33700
33701
33702
33703
33704
33705
33706
33707
33708
33709
33710
33711
33712
33713
33714
33715
33716
33717
33718
33719
33720
33721
33722
33723
33724
33725
33726
33727
33728
33729
33730
33731
33732
33733
33734
33735
33736
33737
33738
33739
33740
33741
33742
33743
33744
33745
33746
33747
33748
33749
33750
33751
33752
33753
33754
33755
33756
33757
33758
33759
33760
33761
33762
33763
33764
33765
33766
33767
33768
33769
33770
33771
33772
33773
33774
33775
33776
33777
33778
33779
33780
33781
33782
33783
33784
33785
33786
33787
33788
33789
33790
33791
33792
33793
33794
33795
33796
33797
33798
33799
33800
33801
33802
33803
33804
33805
33806
33807
33808
33809
33810
33811
33812
33813
33814
33815
33816
33817
33818
33819
33820
33821
33822
33823
33824
33825
33826
33827
33828
33829
33830
33831
33832
33833
33834
33835
33836
33837
33838
33839
33840
33841
33842
33843
33844
33845
33846
33847
33848
33849
33850
33851
33852
33853
33854
33855
33856
33857
33858
33859
33860
33861
33862
33863
33864
33865
33866
33867
33868
33869
33870
33871
33872
33873
33874
33875
33876
33877
33878
33879
33880
33881
33882
33883
33884
33885
33886
33887
33888
33889
33890
33891
33892
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904
33905
33906
33907
33908
33909
33910
33911
33912
33913
33914
33915
33916
33917
33918
33919
33920
33921
33922
33923
33924
33925
33926
33927
33928
33929
33930
33931
33932
33933
33934
33935
33936
33937
33938
33939
33940
33941
33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
33961
33962
33963
33964
33965
33966
33967
33968
33969
33970
33971
33972
33973
33974
33975
33976
33977
33978
33979
33980
33981
33982
33983
33984
33985
33986
33987
33988
33989
33990
33991
33992
33993
33994
33995
33996
33997
33998
33999
34000
34001
34002
34003
34004
34005
34006
34007
34008
34009
34010
34011
34012
34013
34014
34015
34016
34017
34018
34019
34020
34021
34022
34023
34024
34025
34026
34027
34028
34029
34030
34031
34032
34033
34034
34035
34036
34037
34038
34039
34040
34041
34042
34043
34044
34045
34046
34047
34048
34049
34050
34051
34052
34053
34054
34055
34056
34057
34058
34059
34060
34061
34062
34063
34064
34065
34066
34067
34068
34069
34070
34071
34072
34073
34074
34075
34076
34077
34078
34079
34080
34081
34082
34083
34084
34085
34086
34087
34088
34089
34090
34091
34092
34093
34094
34095
34096
34097
34098
34099
34100
34101
34102
34103
34104
34105
34106
34107
34108
34109
34110
34111
34112
34113
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131
34132
34133
34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
34147
34148
34149
34150
34151
34152
34153
34154
34155
34156
34157
34158
34159
34160
34161
34162
34163
34164
34165
34166
34167
34168
34169
34170
34171
34172
34173
34174
34175
34176
34177
34178
34179
34180
34181
34182
34183
34184
34185
34186
34187
34188
34189
34190
34191
34192
34193
34194
34195
34196
34197
34198
34199
34200
34201
34202
34203
34204
34205
34206
34207
34208
34209
34210
34211
34212
34213
34214
34215
34216
34217
34218
34219
34220
34221
34222
34223
34224
34225
34226
34227
34228
34229
34230
34231
34232
34233
34234
34235
34236
34237
34238
34239
34240
34241
34242
34243
34244
34245
34246
34247
34248
34249
34250
34251
34252
34253
34254
34255
34256
34257
34258
34259
34260
34261
34262
34263
34264
34265
34266
34267
34268
34269
34270
34271
34272
34273
34274
34275
34276
34277
34278
34279
34280
34281
34282
34283
34284
34285
34286
34287
34288
34289
34290
34291
34292
34293
34294
34295
34296
34297
34298
34299
34300
34301
34302
34303
34304
34305
34306
34307
34308
34309
34310
34311
34312
34313
34314
34315
34316
34317
34318
34319
34320
34321
34322
34323
34324
34325
34326
34327
34328
34329
34330
34331
34332
34333
34334
34335
34336
34337
34338
34339
34340
34341
34342
34343
34344
34345
34346
34347
34348
34349
34350
34351
34352
34353
34354
34355
34356
34357
34358
34359
34360
34361
34362
34363
34364
34365
34366
34367
34368
34369
34370
34371
34372
34373
34374
34375
34376
34377
34378
34379
34380
34381
34382
34383
34384
34385
34386
34387
34388
34389
34390
34391
34392
34393
34394
34395
34396
34397
34398
34399
34400
34401
34402
34403
34404
34405
34406
34407
34408
34409
34410
34411
34412
34413
34414
34415
34416
34417
34418
34419
34420
34421
34422
34423
34424
34425
34426
34427
34428
34429
34430
34431
34432
34433
34434
34435
34436
34437
34438
34439
34440
34441
34442
34443
34444
34445
34446
34447
34448
34449
34450
34451
34452
34453
34454
34455
34456
34457
34458
34459
34460
34461
34462
34463
34464
34465
34466
34467
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483
34484
34485
34486
34487
34488
34489
34490
34491
34492
34493
34494
34495
34496
34497
34498
34499
34500
34501
34502
34503
34504
34505
34506
34507
34508
34509
34510
34511
34512
34513
34514
34515
34516
34517
34518
34519
34520
34521
34522
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559
34560
34561
34562
34563
34564
34565
34566
34567
34568
34569
34570
34571
34572
34573
34574
34575
34576
34577
34578
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588
34589
34590
34591
34592
34593
34594
34595
34596
34597
34598
34599
34600
34601
34602
34603
34604
34605
34606
34607
34608
34609
34610
34611
34612
34613
34614
34615
34616
34617
34618
34619
34620
34621
34622
34623
34624
34625
34626
34627
34628
34629
34630
34631
34632
34633
34634
34635
34636
34637
34638
34639
34640
34641
34642
34643
34644
34645
34646
34647
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657
34658
34659
34660
34661
34662
34663
34664
34665
34666
34667
34668
34669
34670
34671
34672
34673
34674
34675
34676
34677
34678
34679
34680
34681
34682
34683
34684
34685
34686
34687
34688
34689
34690
34691
34692
34693
34694
34695
34696
34697
34698
34699
34700
34701
34702
34703
34704
34705
34706
34707
34708
34709
34710
34711
34712
34713
34714
34715
34716
34717
34718
34719
34720
34721
34722
34723
34724
34725
34726
34727
34728
34729
34730
34731
34732
34733
34734
34735
34736
34737
34738
34739
34740
34741
34742
34743
34744
34745
34746
34747
34748
34749
34750
34751
34752
34753
34754
34755
34756
34757
34758
34759
34760
34761
34762
34763
34764
34765
34766
34767
34768
34769
34770
34771
34772
34773
34774
34775
34776
34777
34778
34779
34780
34781
34782
34783
34784
34785
34786
34787
34788
34789
34790
34791
34792
34793
34794
34795
34796
34797
34798
34799
34800
34801
34802
34803
34804
34805
34806
34807
34808
34809
34810
34811
34812
34813
34814
34815
34816
34817
34818
34819
34820
34821
34822
34823
34824
34825
34826
34827
34828
34829
34830
34831
34832
34833
34834
34835
34836
34837
34838
34839
34840
34841
34842
34843
34844
34845
34846
34847
34848
34849
34850
34851
34852
34853
34854
34855
34856
34857
34858
34859
34860
34861
34862
34863
34864
34865
34866
34867
34868
34869
34870
34871
34872
34873
34874
34875
34876
34877
34878
34879
34880
34881
34882
34883
34884
34885
34886
34887
34888
34889
34890
34891
34892
34893
34894
34895
34896
34897
34898
34899
34900
34901
34902
34903
34904
34905
34906
34907
34908
34909
34910
34911
34912
34913
34914
34915
34916
34917
34918
34919
34920
34921
34922
34923
34924
34925
34926
34927
34928
34929
34930
34931
34932
34933
34934
34935
34936
34937
34938
34939
34940
34941
34942
34943
34944
34945
34946
34947
34948
34949
34950
34951
34952
34953
34954
34955
34956
34957
34958
34959
34960
34961
34962
34963
34964
34965
34966
34967
34968
34969
34970
34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
34981
34982
34983
34984
34985
34986
34987
34988
34989
34990
34991
34992
34993
34994
34995
34996
34997
34998
34999
35000
35001
35002
35003
35004
35005
35006
35007
35008
35009
35010
35011
35012
35013
35014
35015
35016
35017
35018
35019
35020
35021
35022
35023
35024
35025
35026
35027
35028
35029
35030
35031
35032
35033
35034
35035
35036
35037
35038
35039
35040
35041
35042
35043
35044
35045
35046
35047
35048
35049
35050
35051
35052
35053
35054
35055
35056
35057
35058
35059
35060
35061
35062
35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073
35074
35075
35076
35077
35078
35079
35080
35081
35082
35083
35084
35085
35086
35087
35088
35089
35090
35091
35092
35093
35094
35095
35096
35097
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107
35108
35109
35110
35111
35112
35113
35114
35115
35116
35117
35118
35119
35120
35121
35122
35123
35124
35125
35126
35127
35128
35129
35130
35131
35132
35133
35134
35135
35136
35137
35138
35139
35140
35141
35142
35143
35144
35145
35146
35147
35148
35149
35150
35151
35152
35153
35154
35155
35156
35157
35158
35159
35160
35161
35162
35163
35164
35165
35166
35167
35168
35169
35170
35171
35172
35173
35174
35175
35176
35177
35178
35179
35180
35181
35182
35183
35184
35185
35186
35187
35188
35189
35190
35191
35192
35193
35194
35195
35196
35197
35198
35199
35200
35201
35202
35203
35204
35205
35206
35207
35208
35209
35210
35211
35212
35213
35214
35215
35216
35217
35218
35219
35220
35221
35222
35223
35224
35225
35226
35227
35228
35229
35230
35231
35232
35233
35234
35235
35236
35237
35238
35239
35240
35241
35242
35243
35244
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304
35305
35306
35307
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345
35346
35347
35348
35349
35350
35351
35352
35353
35354
35355
35356
35357
35358
35359
35360
35361
35362
35363
35364
35365
35366
35367
35368
35369
35370
35371
35372
35373
35374
35375
35376
35377
35378
35379
35380
35381
35382
35383
35384
35385
35386
35387
35388
35389
35390
35391
35392
35393
35394
35395
35396
35397
35398
35399
35400
35401
35402
35403
35404
35405
35406
35407
35408
35409
35410
35411
35412
35413
35414
35415
35416
35417
35418
35419
35420
35421
35422
35423
35424
35425
35426
35427
35428
35429
35430
35431
35432
35433
35434
35435
35436
35437
35438
35439
35440
35441
35442
35443
35444
35445
35446
35447
35448
35449
35450
35451
35452
35453
35454
35455
35456
35457
35458
35459
35460
35461
35462
35463
35464
35465
35466
35467
35468
35469
35470
35471
35472
35473
35474
35475
35476
35477
35478
35479
35480
35481
35482
35483
35484
35485
35486
35487
35488
35489
35490
35491
35492
35493
35494
35495
35496
35497
35498
35499
35500
35501
35502
35503
35504
35505
35506
35507
35508
35509
35510
35511
35512
35513
35514
35515
35516
35517
35518
35519
35520
35521
35522
35523
35524
35525
35526
35527
35528
35529
35530
35531
35532
35533
35534
35535
35536
35537
35538
35539
35540
35541
35542
35543
35544
35545
35546
35547
35548
35549
35550
35551
35552
35553
35554
35555
35556
35557
35558
35559
35560
35561
35562
35563
35564
35565
35566
35567
35568
35569
35570
35571
35572
35573
35574
35575
35576
35577
35578
35579
35580
35581
35582
35583
35584
35585
35586
35587
35588
35589
35590
35591
35592
35593
35594
35595
35596
35597
35598
35599
35600
35601
35602
35603
35604
35605
35606
35607
35608
35609
35610
35611
35612
35613
35614
35615
35616
35617
35618
35619
35620
35621
35622
35623
35624
35625
35626
35627
35628
35629
35630
35631
35632
35633
35634
35635
35636
35637
35638
35639
35640
35641
35642
35643
35644
35645
35646
35647
35648
35649
35650
35651
35652
35653
35654
35655
35656
35657
35658
35659
35660
35661
35662
35663
35664
35665
35666
35667
35668
35669
35670
35671
35672
35673
35674
35675
35676
35677
35678
35679
35680
35681
35682
35683
35684
35685
35686
35687
35688
35689
35690
35691
35692
35693
35694
35695
35696
35697
35698
35699
35700
35701
35702
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712
35713
35714
35715
35716
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
35744
35745
35746
35747
35748
35749
35750
35751
35752
35753
35754
35755
35756
35757
35758
35759
35760
35761
35762
35763
35764
35765
35766
35767
35768
35769
35770
35771
35772
35773
35774
35775
35776
35777
35778
35779
35780
35781
35782
35783
35784
35785
35786
35787
35788
35789
35790
35791
35792
35793
35794
35795
35796
35797
35798
35799
35800
35801
35802
35803
35804
35805
35806
35807
35808
35809
35810
35811
35812
35813
35814
35815
35816
35817
35818
35819
35820
35821
35822
35823
35824
35825
35826
35827
35828
35829
35830
35831
35832
35833
35834
35835
35836
35837
35838
35839
35840
35841
35842
35843
35844
35845
35846
35847
35848
35849
35850
35851
35852
35853
35854
35855
35856
35857
35858
35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
35871
35872
35873
35874
35875
35876
35877
35878
35879
35880
35881
35882
35883
35884
35885
35886
35887
35888
35889
35890
35891
35892
35893
35894
35895
35896
35897
35898
35899
35900
35901
35902
35903
35904
35905
35906
35907
35908
35909
35910
35911
35912
35913
35914
35915
35916
35917
35918
35919
35920
35921
35922
35923
35924
35925
35926
35927
35928
35929
35930
35931
35932
35933
35934
35935
35936
35937
35938
35939
35940
35941
35942
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013
36014
36015
36016
36017
36018
36019
36020
36021
36022
36023
36024
36025
36026
36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
36040
36041
36042
36043
36044
36045
36046
36047
36048
36049
36050
36051
36052
36053
36054
36055
36056
36057
36058
36059
36060
36061
36062
36063
36064
36065
36066
36067
36068
36069
36070
36071
36072
36073
36074
36075
36076
36077
36078
36079
36080
36081
36082
36083
36084
36085
36086
36087
36088
36089
36090
36091
36092
36093
36094
36095
36096
36097
36098
36099
36100
36101
36102
36103
36104
36105
36106
36107
36108
36109
36110
36111
36112
36113
36114
36115
36116
36117
36118
36119
36120
36121
36122
36123
36124
36125
36126
36127
36128
36129
36130
36131
36132
36133
36134
36135
36136
36137
36138
36139
36140
36141
36142
36143
36144
36145
36146
36147
36148
36149
36150
36151
36152
36153
36154
36155
36156
36157
36158
36159
36160
36161
36162
36163
36164
36165
36166
36167
36168
36169
36170
36171
36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
36184
36185
36186
36187
36188
36189
36190
36191
36192
36193
36194
36195
36196
36197
36198
36199
36200
36201
36202
36203
36204
36205
36206
36207
36208
36209
36210
36211
36212
36213
36214
36215
36216
36217
36218
36219
36220
36221
36222
36223
36224
36225
36226
36227
36228
36229
36230
36231
36232
36233
36234
36235
36236
36237
36238
36239
36240
36241
36242
36243
36244
36245
36246
36247
36248
36249
36250
36251
36252
36253
36254
36255
36256
36257
36258
36259
36260
36261
36262
36263
36264
36265
36266
36267
36268
36269
36270
36271
36272
36273
36274
36275
36276
36277
36278
36279
36280
36281
36282
36283
36284
36285
36286
36287
36288
36289
36290
36291
36292
36293
36294
36295
36296
36297
36298
36299
36300
36301
36302
36303
36304
36305
36306
36307
36308
36309
36310
36311
36312
36313
36314
36315
36316
36317
36318
36319
36320
36321
36322
36323
36324
36325
36326
36327
36328
36329
36330
36331
36332
36333
36334
36335
36336
36337
36338
36339
36340
36341
36342
36343
36344
36345
36346
36347
36348
36349
36350
36351
36352
36353
36354
36355
36356
36357
36358
36359
36360
36361
36362
36363
36364
36365
36366
36367
36368
36369
36370
36371
36372
36373
36374
36375
36376
36377
36378
36379
36380
36381
36382
36383
36384
36385
36386
36387
36388
36389
36390
36391
36392
36393
36394
36395
36396
36397
36398
36399
36400
36401
36402
36403
36404
36405
36406
36407
36408
36409
36410
36411
36412
36413
36414
36415
36416
36417
36418
36419
36420
36421
36422
36423
36424
36425
36426
36427
36428
36429
36430
36431
36432
36433
36434
36435
36436
36437
36438
36439
36440
36441
36442
36443
36444
36445
36446
36447
36448
36449
36450
36451
36452
36453
36454
36455
36456
36457
36458
36459
36460
36461
36462
36463
36464
36465
36466
36467
36468
36469
36470
36471
36472
36473
36474
36475
36476
36477
36478
36479
36480
36481
36482
36483
36484
36485
36486
36487
36488
36489
36490
36491
36492
36493
36494
36495
36496
36497
36498
36499
36500
36501
36502
36503
36504
36505
36506
36507
36508
36509
36510
36511
36512
36513
36514
36515
36516
36517
36518
36519
36520
36521
36522
36523
36524
36525
36526
36527
36528
36529
36530
36531
36532
36533
36534
36535
36536
36537
36538
36539
36540
36541
36542
36543
36544
36545
36546
36547
36548
36549
36550
36551
36552
36553
36554
36555
36556
36557
36558
36559
36560
36561
36562
36563
36564
36565
36566
36567
36568
36569
36570
36571
36572
36573
36574
36575
36576
36577
36578
36579
36580
36581
36582
36583
36584
36585
36586
36587
36588
36589
36590
36591
36592
36593
36594
36595
36596
36597
36598
36599
36600
36601
36602
36603
36604
36605
36606
36607
36608
36609
36610
36611
36612
36613
36614
36615
36616
36617
36618
36619
36620
36621
36622
36623
36624
36625
36626
36627
36628
36629
36630
36631
36632
36633
36634
36635
36636
36637
36638
36639
36640
36641
36642
36643
36644
36645
36646
36647
36648
36649
36650
36651
36652
36653
36654
36655
36656
36657
36658
36659
36660
36661
36662
36663
36664
36665
36666
36667
36668
36669
36670
36671
36672
36673
36674
36675
36676
36677
36678
36679
36680
36681
36682
36683
36684
36685
36686
36687
36688
36689
36690
36691
36692
36693
36694
36695
36696
36697
36698
36699
36700
36701
36702
36703
36704
36705
36706
36707
36708
36709
36710
36711
36712
36713
36714
36715
36716
36717
36718
36719
36720
36721
36722
36723
36724
36725
36726
36727
36728
36729
36730
36731
36732
36733
36734
36735
36736
36737
36738
36739
36740
36741
36742
36743
36744
36745
36746
36747
36748
36749
36750
36751
36752
36753
36754
36755
36756
36757
36758
36759
36760
36761
36762
36763
36764
36765
36766
36767
36768
36769
36770
36771
36772
36773
36774
36775
36776
36777
36778
36779
36780
36781
36782
36783
36784
36785
36786
36787
36788
36789
36790
36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
36807
36808
36809
36810
36811
36812
36813
36814
36815
36816
36817
36818
36819
36820
36821
36822
36823
36824
36825
36826
36827
36828
36829
36830
36831
36832
36833
36834
36835
36836
36837
36838
36839
36840
36841
36842
36843
36844
36845
36846
36847
36848
36849
36850
36851
36852
36853
36854
36855
36856
36857
36858
36859
36860
36861
36862
36863
36864
36865
36866
36867
36868
36869
36870
36871
36872
36873
36874
36875
36876
36877
36878
36879
36880
36881
36882
36883
36884
36885
36886
36887
36888
36889
36890
36891
36892
36893
36894
36895
36896
36897
36898
36899
36900
36901
36902
36903
36904
36905
36906
36907
36908
36909
36910
36911
36912
36913
36914
36915
36916
36917
36918
36919
36920
36921
36922
36923
36924
36925
36926
36927
36928
36929
36930
36931
36932
36933
36934
36935
36936
36937
36938
36939
36940
36941
36942
36943
36944
36945
36946
36947
36948
36949
36950
36951
36952
36953
36954
36955
36956
36957
36958
36959
36960
36961
36962
36963
36964
36965
36966
36967
36968
36969
36970
36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
36989
36990
36991
36992
36993
36994
36995
36996
36997
36998
36999
37000
37001
37002
37003
37004
37005
37006
37007
37008
37009
37010
37011
37012
37013
37014
37015
37016
37017
37018
37019
37020
37021
37022
37023
37024
37025
37026
37027
37028
37029
37030
37031
37032
37033
37034
37035
37036
37037
37038
37039
37040
37041
37042
37043
37044
37045
37046
37047
37048
37049
37050
37051
37052
37053
37054
37055
37056
37057
37058
37059
37060
37061
37062
37063
37064
37065
37066
37067
37068
37069
37070
37071
37072
37073
37074
37075
37076
37077
37078
37079
37080
37081
37082
37083
37084
37085
37086
37087
37088
37089
37090
37091
37092
37093
37094
37095
37096
37097
37098
37099
37100
37101
37102
37103
37104
37105
37106
37107
37108
37109
37110
37111
37112
37113
37114
37115
37116
37117
37118
37119
37120
37121
37122
37123
37124
37125
37126
37127
37128
37129
37130
37131
37132
37133
37134
37135
37136
37137
37138
37139
37140
37141
37142
37143
37144
37145
37146
37147
37148
37149
37150
37151
37152
37153
37154
37155
37156
37157
37158
37159
37160
37161
37162
37163
37164
37165
37166
37167
37168
37169
37170
37171
37172
37173
37174
37175
37176
37177
37178
37179
37180
37181
37182
37183
37184
37185
37186
37187
37188
37189
37190
37191
37192
37193
37194
37195
37196
37197
37198
37199
37200
37201
37202
37203
37204
37205
37206
37207
37208
37209
37210
37211
37212
37213
37214
37215
37216
37217
37218
37219
37220
37221
37222
37223
37224
37225
37226
37227
37228
37229
37230
37231
37232
37233
37234
37235
37236
37237
37238
37239
37240
37241
37242
37243
37244
37245
37246
37247
37248
37249
37250
37251
37252
37253
37254
37255
37256
37257
37258
37259
37260
37261
37262
37263
37264
37265
37266
37267
37268
37269
37270
37271
37272
37273
37274
37275
37276
37277
37278
37279
37280
37281
37282
37283
37284
37285
37286
37287
37288
37289
37290
37291
37292
37293
37294
37295
37296
37297
37298
37299
37300
37301
37302
37303
37304
37305
37306
37307
37308
37309
37310
37311
37312
37313
37314
37315
37316
37317
37318
37319
37320
37321
37322
37323
37324
37325
37326
37327
37328
37329
37330
37331
37332
37333
37334
37335
37336
37337
37338
37339
37340
37341
37342
37343
37344
37345
37346
37347
37348
37349
37350
37351
37352
37353
37354
37355
37356
37357
37358
37359
37360
37361
37362
37363
37364
37365
37366
37367
37368
37369
37370
37371
37372
37373
37374
37375
37376
37377
37378
37379
37380
37381
37382
37383
37384
37385
37386
37387
37388
37389
37390
37391
37392
37393
37394
37395
37396
37397
37398
37399
37400
37401
37402
37403
37404
37405
37406
37407
37408
37409
37410
37411
37412
37413
37414
37415
37416
37417
37418
37419
37420
37421
37422
37423
37424
37425
37426
37427
37428
37429
37430
37431
37432
37433
37434
37435
37436
37437
37438
37439
37440
37441
37442
37443
37444
37445
37446
37447
37448
37449
37450
37451
37452
37453
37454
37455
37456
37457
37458
37459
37460
37461
37462
37463
37464
37465
37466
37467
37468
37469
37470
37471
37472
37473
37474
37475
37476
37477
37478
37479
37480
37481
37482
37483
37484
37485
37486
37487
37488
37489
37490
37491
37492
37493
37494
37495
37496
37497
37498
37499
37500
37501
37502
37503
37504
37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
37520
37521
37522
37523
37524
37525
37526
37527
37528
37529
37530
37531
37532
37533
37534
37535
37536
37537
37538
37539
37540
37541
37542
37543
37544
37545
37546
37547
37548
37549
37550
37551
37552
37553
37554
37555
37556
37557
37558
37559
37560
37561
37562
37563
37564
37565
37566
37567
37568
37569
37570
37571
37572
37573
37574
37575
37576
37577
37578
37579
37580
37581
37582
37583
37584
37585
37586
37587
37588
37589
37590
37591
37592
37593
37594
37595
37596
37597
37598
37599
37600
37601
37602
37603
37604
37605
37606
37607
37608
37609
37610
37611
37612
37613
37614
37615
37616
37617
37618
37619
37620
37621
37622
37623
37624
37625
37626
37627
37628
37629
37630
37631
37632
37633
37634
37635
37636
37637
37638
37639
37640
37641
37642
37643
37644
37645
37646
37647
37648
37649
37650
37651
37652
37653
37654
37655
37656
37657
37658
37659
37660
37661
37662
37663
37664
37665
37666
37667
37668
37669
37670
37671
37672
37673
37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
37688
37689
37690
37691
37692
37693
37694
37695
37696
37697
37698
37699
37700
37701
37702
37703
37704
37705
37706
37707
37708
37709
37710
37711
37712
37713
37714
37715
37716
37717
37718
37719
37720
37721
37722
37723
37724
37725
37726
37727
37728
37729
37730
37731
37732
37733
37734
37735
37736
37737
37738
37739
37740
37741
37742
37743
37744
37745
37746
37747
37748
37749
37750
37751
37752
37753
37754
37755
37756
37757
37758
37759
37760
37761
37762
37763
37764
37765
37766
37767
37768
37769
37770
37771
37772
37773
37774
37775
37776
37777
37778
37779
37780
37781
37782
37783
37784
37785
37786
37787
37788
37789
37790
37791
37792
37793
37794
37795
37796
37797
37798
37799
37800
37801
37802
37803
37804
37805
37806
37807
37808
37809
37810
37811
37812
37813
37814
37815
37816
37817
37818
37819
37820
37821
37822
37823
37824
37825
37826
37827
37828
37829
37830
37831
37832
37833
37834
37835
37836
37837
37838
37839
37840
37841
37842
37843
37844
37845
37846
37847
37848
37849
37850
37851
37852
37853
37854
37855
37856
37857
37858
37859
37860
37861
37862
37863
37864
37865
37866
37867
37868
37869
37870
37871
37872
37873
37874
37875
37876
37877
37878
37879
37880
37881
37882
37883
37884
37885
37886
37887
37888
37889
37890
37891
37892
37893
37894
37895
37896
37897
37898
37899
37900
37901
37902
37903
37904
37905
37906
37907
37908
37909
37910
37911
37912
37913
37914
37915
37916
37917
37918
37919
37920
37921
37922
37923
37924
37925
37926
37927
37928
37929
37930
37931
37932
37933
37934
37935
37936
37937
37938
37939
37940
37941
37942
37943
37944
37945
37946
37947
37948
37949
37950
37951
37952
37953
37954
37955
37956
37957
37958
37959
37960
37961
37962
37963
37964
37965
37966
37967
37968
37969
37970
37971
37972
37973
37974
37975
37976
37977
37978
37979
37980
37981
37982
37983
37984
37985
37986
37987
37988
37989
37990
37991
37992
37993
37994
37995
37996
37997
37998
37999
38000
38001
38002
38003
38004
38005
38006
38007
38008
38009
38010
38011
38012
38013
38014
38015
38016
38017
38018
38019
38020
38021
38022
38023
38024
38025
38026
38027
38028
38029
38030
38031
38032
38033
38034
38035
38036
38037
38038
38039
38040
38041
38042
38043
38044
38045
38046
38047
38048
38049
38050
38051
38052
38053
38054
38055
38056
38057
38058
38059
38060
38061
38062
38063
38064
38065
38066
38067
38068
38069
38070
38071
38072
38073
38074
38075
38076
38077
38078
38079
38080
38081
38082
38083
38084
38085
38086
38087
38088
38089
38090
38091
38092
38093
38094
38095
38096
38097
38098
38099
38100
38101
38102
38103
38104
38105
38106
38107
38108
38109
38110
38111
38112
38113
38114
38115
38116
38117
38118
38119
38120
38121
38122
38123
38124
38125
38126
38127
38128
38129
38130
38131
38132
38133
38134
38135
38136
38137
38138
38139
38140
38141
38142
38143
38144
38145
38146
38147
38148
38149
38150
38151
38152
38153
38154
38155
38156
38157
38158
38159
38160
38161
38162
38163
38164
38165
38166
38167
38168
38169
38170
38171
38172
38173
38174
38175
38176
38177
38178
38179
38180
38181
38182
38183
38184
38185
38186
38187
38188
38189
38190
38191
38192
38193
38194
38195
38196
38197
38198
38199
38200
38201
38202
38203
38204
38205
38206
38207
38208
38209
38210
38211
38212
38213
38214
38215
38216
38217
38218
38219
38220
38221
38222
38223
38224
38225
38226
38227
38228
38229
38230
38231
38232
38233
38234
38235
38236
38237
38238
38239
38240
38241
38242
38243
38244
38245
38246
38247
38248
38249
38250
38251
38252
38253
38254
38255
38256
38257
38258
38259
38260
38261
38262
38263
38264
38265
38266
38267
38268
38269
38270
38271
38272
38273
38274
38275
38276
38277
38278
38279
38280
38281
38282
38283
38284
38285
38286
38287
38288
38289
38290
38291
38292
38293
38294
38295
38296
38297
38298
38299
38300
38301
38302
38303
38304
38305
38306
38307
38308
38309
38310
38311
38312
38313
38314
38315
38316
38317
38318
38319
38320
38321
38322
38323
38324
38325
38326
38327
38328
38329
38330
38331
38332
38333
38334
38335
38336
38337
38338
38339
38340
38341
38342
38343
38344
38345
38346
38347
38348
38349
38350
38351
38352
38353
38354
38355
38356
38357
38358
38359
38360
38361
38362
38363
38364
38365
38366
38367
38368
38369
38370
38371
38372
38373
38374
38375
38376
38377
38378
38379
38380
38381
38382
38383
38384
38385
38386
38387
38388
38389
38390
38391
38392
38393
38394
38395
38396
38397
38398
38399
38400
38401
38402
38403
38404
38405
38406
38407
38408
38409
38410
38411
38412
38413
38414
38415
38416
38417
38418
38419
38420
38421
38422
38423
38424
38425
38426
38427
38428
38429
38430
38431
38432
38433
38434
38435
38436
38437
38438
38439
38440
38441
38442
38443
38444
38445
38446
38447
38448
38449
38450
38451
38452
38453
38454
38455
38456
38457
38458
38459
38460
38461
38462
38463
38464
38465
38466
38467
38468
38469
38470
38471
38472
38473
38474
38475
38476
38477
38478
38479
38480
38481
38482
38483
38484
38485
38486
38487
38488
38489
38490
38491
38492
38493
38494
38495
38496
38497
38498
38499
38500
38501
38502
38503
38504
38505
38506
38507
38508
38509
38510
38511
38512
38513
38514
38515
38516
38517
38518
38519
38520
38521
38522
38523
38524
38525
38526
38527
38528
38529
38530
38531
38532
38533
38534
38535
38536
38537
38538
38539
38540
38541
38542
38543
38544
38545
38546
38547
38548
38549
38550
38551
38552
38553
38554
38555
38556
38557
38558
38559
38560
38561
38562
38563
38564
38565
38566
38567
38568
38569
38570
38571
38572
38573
38574
38575
38576
38577
38578
38579
38580
38581
38582
38583
38584
38585
38586
38587
38588
38589
38590
38591
38592
38593
38594
38595
38596
38597
38598
38599
38600
38601
38602
38603
38604
38605
38606
38607
38608
38609
38610
38611
38612
38613
38614
38615
38616
38617
38618
38619
38620
38621
38622
38623
38624
38625
38626
38627
38628
38629
38630
38631
38632
38633
38634
38635
38636
38637
38638
38639
38640
38641
38642
38643
38644
38645
38646
38647
38648
38649
38650
38651
38652
38653
38654
38655
38656
38657
38658
38659
38660
38661
38662
38663
38664
38665
38666
38667
38668
38669
38670
38671
38672
38673
38674
38675
38676
38677
38678
38679
38680
38681
38682
38683
38684
38685
38686
38687
38688
38689
38690
38691
38692
38693
38694
38695
38696
38697
38698
38699
38700
38701
38702
38703
38704
38705
38706
38707
38708
38709
38710
38711
38712
38713
38714
38715
38716
38717
38718
38719
38720
38721
38722
38723
38724
38725
38726
38727
38728
38729
38730
38731
38732
38733
38734
38735
38736
38737
38738
38739
38740
38741
38742
38743
38744
38745
38746
38747
38748
38749
38750
38751
38752
38753
38754
38755
38756
38757
38758
38759
38760
38761
38762
38763
38764
38765
38766
38767
38768
38769
38770
38771
38772
38773
38774
38775
38776
38777
38778
38779
38780
38781
38782
38783
38784
38785
38786
38787
38788
38789
38790
38791
38792
38793
38794
38795
38796
38797
38798
38799
38800
38801
38802
38803
38804
38805
38806
38807
38808
38809
38810
38811
38812
38813
38814
38815
38816
38817
38818
38819
38820
38821
38822
38823
38824
38825
38826
38827
38828
38829
38830
38831
38832
38833
38834
38835
38836
38837
38838
38839
38840
38841
38842
38843
38844
38845
38846
38847
38848
38849
38850
38851
38852
38853
38854
38855
38856
38857
38858
38859
38860
38861
38862
38863
38864
38865
38866
38867
38868
38869
38870
38871
38872
38873
38874
38875
38876
38877
38878
38879
38880
38881
38882
38883
38884
38885
38886
38887
38888
38889
38890
38891
38892
38893
38894
38895
38896
38897
38898
38899
38900
38901
38902
38903
38904
38905
38906
38907
38908
38909
38910
38911
38912
38913
38914
38915
38916
38917
38918
38919
38920
38921
38922
38923
38924
38925
38926
38927
38928
38929
38930
38931
38932
38933
38934
38935
38936
38937
38938
38939
38940
38941
38942
38943
38944
38945
38946
38947
38948
38949
38950
38951
38952
38953
38954
38955
38956
38957
38958
38959
38960
38961
38962
38963
38964
38965
38966
38967
38968
38969
38970
38971
38972
38973
38974
38975
38976
38977
38978
38979
38980
38981
38982
38983
38984
38985
38986
38987
38988
38989
38990
38991
38992
38993
38994
38995
38996
38997
38998
38999
39000
39001
39002
39003
39004
39005
39006
39007
39008
39009
39010
39011
39012
39013
39014
39015
39016
39017
39018
39019
39020
39021
39022
39023
39024
39025
39026
39027
39028
39029
39030
39031
39032
39033
39034
39035
39036
39037
39038
39039
39040
39041
39042
39043
39044
39045
39046
39047
39048
39049
39050
39051
39052
39053
39054
39055
39056
39057
39058
39059
39060
39061
39062
39063
39064
39065
39066
39067
39068
39069
39070
39071
39072
39073
39074
39075
39076
39077
39078
39079
39080
39081
39082
39083
39084
39085
39086
39087
39088
39089
39090
39091
39092
39093
39094
39095
39096
39097
39098
39099
39100
39101
39102
39103
39104
39105
39106
39107
39108
39109
39110
39111
39112
39113
39114
39115
39116
39117
39118
39119
39120
39121
39122
39123
39124
39125
39126
39127
39128
39129
39130
39131
39132
39133
39134
39135
39136
39137
39138
39139
39140
39141
39142
39143
39144
39145
39146
39147
39148
39149
39150
39151
39152
39153
39154
39155
39156
39157
39158
39159
39160
39161
39162
39163
39164
39165
39166
39167
39168
39169
39170
39171
39172
39173
39174
39175
39176
39177
39178
39179
39180
39181
39182
39183
39184
39185
39186
39187
39188
39189
39190
39191
39192
39193
39194
39195
39196
39197
39198
39199
39200
39201
39202
39203
39204
39205
39206
39207
39208
39209
39210
39211
39212
39213
39214
39215
39216
39217
39218
39219
39220
39221
39222
39223
39224
39225
39226
39227
39228
39229
39230
39231
39232
39233
39234
39235
39236
39237
39238
39239
39240
39241
39242
39243
39244
39245
39246
39247
39248
39249
39250
39251
39252
39253
39254
39255
39256
39257
39258
39259
39260
39261
39262
39263
39264
39265
39266
39267
39268
39269
39270
39271
39272
39273
39274
39275
39276
39277
39278
39279
39280
39281
39282
39283
39284
39285
39286
39287
39288
39289
39290
39291
39292
39293
39294
39295
39296
39297
39298
39299
39300
39301
39302
39303
39304
39305
39306
39307
39308
39309
39310
39311
39312
39313
39314
39315
39316
39317
39318
39319
39320
39321
39322
39323
39324
39325
39326
39327
39328
39329
39330
39331
39332
39333
39334
39335
39336
39337
39338
39339
39340
39341
39342
39343
39344
39345
39346
39347
39348
39349
39350
39351
39352
39353
39354
39355
39356
39357
39358
39359
39360
39361
39362
39363
39364
39365
39366
39367
39368
39369
39370
39371
39372
39373
39374
39375
39376
39377
39378
39379
39380
39381
39382
39383
39384
39385
39386
39387
39388
39389
39390
39391
39392
39393
39394
39395
39396
39397
39398
39399
39400
39401
39402
39403
39404
39405
39406
39407
39408
39409
39410
39411
39412
39413
39414
39415
39416
39417
39418
39419
39420
39421
39422
39423
39424
39425
39426
39427
39428
39429
39430
39431
39432
39433
39434
39435
39436
39437
39438
39439
39440
39441
39442
39443
39444
39445
39446
39447
39448
39449
39450
39451
39452
39453
39454
39455
39456
39457
39458
39459
39460
39461
39462
39463
39464
39465
39466
39467
39468
39469
39470
39471
39472
39473
39474
39475
39476
39477
39478
39479
39480
39481
39482
39483
39484
39485
39486
39487
39488
39489
39490
39491
39492
39493
39494
39495
39496
39497
39498
39499
39500
39501
39502
39503
39504
39505
39506
39507
39508
39509
39510
39511
39512
39513
39514
39515
39516
39517
39518
39519
39520
39521
39522
39523
39524
39525
39526
39527
39528
39529
39530
39531
39532
39533
39534
39535
39536
39537
39538
39539
39540
39541
39542
39543
39544
39545
39546
39547
39548
39549
39550
39551
39552
39553
39554
39555
39556
39557
39558
39559
39560
39561
39562
39563
39564
39565
39566
39567
39568
39569
39570
39571
39572
39573
39574
39575
39576
39577
39578
39579
39580
39581
39582
39583
39584
39585
39586
39587
39588
39589
39590
39591
39592
39593
39594
39595
39596
39597
39598
39599
39600
39601
39602
39603
39604
39605
39606
39607
39608
39609
39610
39611
39612
39613
39614
39615
39616
39617
39618
39619
39620
39621
39622
39623
39624
39625
39626
39627
39628
39629
39630
39631
39632
39633
39634
39635
39636
39637
39638
39639
39640
39641
39642
39643
39644
39645
39646
39647
39648
39649
39650
39651
39652
39653
39654
39655
39656
39657
39658
39659
39660
39661
39662
39663
39664
39665
39666
39667
39668
39669
39670
39671
39672
39673
39674
39675
39676
39677
39678
39679
39680
39681
39682
39683
39684
39685
39686
39687
39688
39689
39690
39691
39692
39693
39694
39695
39696
39697
39698
39699
39700
39701
39702
39703
39704
39705
39706
39707
39708
39709
39710
39711
39712
39713
39714
39715
39716
39717
39718
39719
39720
39721
39722
39723
39724
39725
39726
39727
39728
39729
39730
39731
39732
39733
39734
39735
39736
39737
39738
39739
39740
39741
39742
39743
39744
39745
39746
39747
39748
39749
39750
39751
39752
39753
39754
39755
39756
39757
39758
39759
39760
39761
39762
39763
39764
39765
39766
39767
39768
39769
39770
39771
39772
39773
39774
39775
39776
39777
39778
39779
39780
39781
39782
39783
39784
39785
39786
39787
39788
39789
39790
39791
39792
39793
39794
39795
39796
39797
39798
39799
39800
39801
39802
39803
39804
39805
39806
39807
39808
39809
39810
39811
39812
39813
39814
39815
39816
39817
39818
39819
39820
39821
39822
39823
39824
39825
39826
39827
39828
39829
39830
39831
39832
39833
39834
39835
39836
39837
39838
39839
39840
39841
39842
39843
39844
39845
39846
39847
39848
39849
39850
39851
39852
39853
39854
39855
39856
39857
39858
39859
39860
39861
39862
39863
39864
39865
39866
39867
39868
39869
39870
39871
39872
39873
39874
39875
39876
39877
39878
39879
39880
39881
39882
39883
39884
39885
39886
39887
39888
39889
39890
39891
39892
39893
39894
39895
39896
39897
39898
39899
39900
39901
39902
39903
39904
39905
39906
39907
39908
39909
39910
39911
39912
39913
39914
39915
39916
39917
39918
39919
39920
39921
39922
39923
39924
39925
39926
39927
39928
39929
39930
39931
39932
39933
39934
39935
39936
39937
39938
39939
39940
39941
39942
39943
39944
39945
39946
39947
39948
39949
39950
39951
39952
39953
39954
39955
39956
39957
39958
39959
39960
39961
39962
39963
39964
39965
39966
39967
39968
39969
39970
39971
39972
39973
39974
39975
39976
39977
39978
39979
39980
39981
39982
39983
39984
39985
39986
39987
39988
39989
39990
39991
39992
39993
39994
39995
39996
39997
39998
39999
40000
40001
40002
40003
40004
40005
40006
40007
40008
40009
40010
40011
40012
40013
40014
40015
40016
40017
40018
40019
40020
40021
40022
40023
40024
40025
40026
40027
40028
40029
40030
40031
40032
40033
40034
40035
40036
40037
40038
40039
40040
40041
40042
40043
40044
40045
40046
40047
40048
40049
40050
40051
40052
40053
40054
40055
40056
40057
40058
40059
40060
40061
40062
40063
40064
40065
40066
40067
40068
40069
40070
40071
40072
40073
40074
40075
40076
40077
40078
40079
40080
40081
40082
40083
40084
40085
40086
40087
40088
40089
40090
40091
40092
40093
40094
40095
40096
40097
40098
40099
40100
40101
40102
40103
40104
40105
40106
40107
40108
40109
40110
40111
40112
40113
40114
40115
40116
40117
40118
40119
40120
40121
40122
40123
40124
40125
40126
40127
40128
40129
40130
40131
40132
40133
40134
40135
40136
40137
40138
40139
40140
40141
40142
40143
40144
40145
40146
40147
40148
40149
40150
40151
40152
40153
40154
40155
40156
40157
40158
40159
40160
40161
40162
40163
40164
40165
40166
40167
40168
40169
40170
40171
40172
40173
40174
40175
40176
40177
40178
40179
40180
40181
40182
40183
40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
40195
40196
40197
40198
40199
40200
40201
40202
40203
40204
40205
40206
40207
40208
40209
40210
40211
40212
40213
40214
40215
40216
40217
40218
40219
40220
40221
40222
40223
40224
40225
40226
40227
40228
40229
40230
40231
40232
40233
40234
40235
40236
40237
40238
40239
40240
40241
40242
40243
40244
40245
40246
40247
40248
40249
40250
40251
40252
40253
40254
40255
40256
40257
40258
40259
40260
40261
40262
40263
40264
40265
40266
40267
40268
40269
40270
40271
40272
40273
40274
40275
40276
40277
40278
40279
40280
40281
40282
40283
40284
40285
40286
40287
40288
40289
40290
40291
40292
40293
40294
40295
40296
40297
40298
40299
40300
40301
40302
40303
40304
40305
40306
40307
40308
40309
40310
40311
40312
40313
40314
40315
40316
40317
40318
40319
40320
40321
40322
40323
40324
40325
40326
40327
40328
40329
40330
40331
40332
40333
40334
40335
40336
40337
40338
40339
40340
40341
40342
40343
40344
40345
40346
40347
40348
40349
40350
40351
40352
40353
40354
40355
40356
40357
40358
40359
40360
40361
40362
40363
40364
40365
40366
40367
40368
40369
40370
40371
40372
40373
40374
40375
40376
40377
40378
40379
40380
40381
40382
40383
40384
40385
40386
40387
40388
40389
40390
40391
40392
40393
40394
40395
40396
40397
40398
40399
40400
40401
40402
40403
40404
40405
40406
40407
40408
40409
40410
40411
40412
40413
40414
40415
40416
40417
40418
40419
40420
40421
40422
40423
40424
40425
40426
40427
40428
40429
40430
40431
40432
40433
40434
40435
40436
40437
40438
40439
40440
40441
40442
40443
40444
40445
40446
40447
40448
40449
40450
40451
40452
40453
40454
40455
40456
40457
40458
40459
40460
40461
40462
40463
40464
40465
40466
40467
40468
40469
40470
40471
40472
40473
40474
40475
40476
40477
40478
40479
40480
40481
40482
40483
40484
40485
40486
40487
40488
40489
40490
40491
40492
40493
40494
40495
40496
40497
40498
40499
40500
40501
40502
40503
40504
40505
40506
40507
40508
40509
40510
40511
40512
40513
40514
40515
40516
40517
40518
40519
40520
40521
40522
40523
40524
40525
40526
40527
40528
40529
40530
40531
40532
40533
40534
40535
40536
40537
40538
40539
40540
40541
40542
40543
40544
40545
40546
40547
40548
40549
40550
40551
40552
40553
40554
40555
40556
40557
40558
40559
40560
40561
40562
40563
40564
40565
40566
40567
40568
40569
40570
40571
40572
40573
40574
40575
40576
40577
40578
40579
40580
40581
40582
40583
40584
40585
40586
40587
40588
40589
40590
40591
40592
40593
40594
40595
40596
40597
40598
40599
40600
40601
40602
40603
40604
40605
40606
40607
40608
40609
40610
40611
40612
40613
40614
40615
40616
40617
40618
40619
40620
40621
40622
40623
40624
40625
40626
40627
40628
40629
40630
40631
40632
40633
40634
40635
40636
40637
40638
40639
40640
40641
40642
40643
40644
40645
40646
40647
40648
40649
40650
40651
40652
40653
40654
40655
40656
40657
40658
40659
40660
40661
40662
40663
40664
40665
40666
40667
40668
40669
40670
40671
40672
40673
40674
40675
40676
40677
40678
40679
40680
40681
40682
40683
40684
40685
40686
40687
40688
40689
40690
40691
40692
40693
40694
40695
40696
40697
40698
40699
40700
40701
40702
40703
40704
40705
40706
40707
40708
40709
40710
40711
40712
40713
40714
40715
40716
40717
40718
40719
40720
40721
40722
40723
40724
40725
40726
40727
40728
40729
40730
40731
40732
40733
40734
40735
40736
40737
40738
40739
40740
40741
40742
40743
40744
40745
40746
40747
40748
40749
40750
40751
40752
40753
40754
40755
40756
40757
40758
40759
40760
40761
40762
40763
40764
40765
40766
40767
40768
40769
40770
40771
40772
40773
40774
40775
40776
40777
40778
40779
40780
40781
40782
40783
40784
40785
40786
40787
40788
40789
40790
40791
40792
40793
40794
40795
40796
40797
40798
40799
40800
40801
40802
40803
40804
40805
40806
40807
40808
40809
40810
40811
40812
40813
40814
40815
40816
40817
40818
40819
40820
40821
40822
40823
40824
40825
40826
40827
40828
40829
40830
40831
40832
40833
40834
40835
40836
40837
40838
40839
40840
40841
40842
40843
40844
40845
40846
40847
40848
40849
40850
40851
40852
40853
40854
40855
40856
40857
40858
40859
40860
40861
40862
40863
40864
40865
40866
40867
40868
40869
40870
40871
40872
40873
40874
40875
40876
40877
40878
40879
40880
40881
40882
40883
40884
40885
40886
40887
40888
40889
40890
40891
40892
40893
40894
40895
40896
40897
40898
40899
40900
40901
40902
40903
40904
40905
40906
40907
40908
40909
40910
40911
40912
40913
40914
40915
40916
40917
40918
40919
40920
40921
40922
40923
40924
40925
40926
40927
40928
40929
40930
40931
40932
40933
40934
40935
40936
40937
40938
40939
40940
40941
40942
40943
40944
40945
40946
40947
40948
40949
40950
40951
40952
40953
40954
40955
40956
40957
40958
40959
40960
40961
40962
40963
40964
40965
40966
40967
40968
40969
40970
40971
40972
40973
40974
40975
40976
40977
40978
40979
40980
40981
40982
40983
40984
40985
40986
40987
40988
40989
40990
40991
40992
40993
40994
40995
40996
40997
40998
40999
41000
41001
41002
41003
41004
41005
41006
41007
41008
41009
41010
41011
41012
41013
41014
41015
41016
41017
41018
41019
41020
41021
41022
41023
41024
41025
41026
41027
41028
41029
41030
41031
41032
41033
41034
41035
41036
41037
41038
41039
41040
41041
41042
41043
41044
41045
41046
41047
41048
41049
41050
41051
41052
41053
41054
41055
41056
41057
41058
41059
41060
41061
41062
41063
41064
41065
41066
41067
41068
41069
41070
41071
41072
41073
41074
41075
41076
41077
41078
41079
41080
41081
41082
41083
41084
41085
41086
41087
41088
41089
41090
41091
41092
41093
41094
41095
41096
41097
41098
41099
41100
41101
41102
41103
41104
41105
41106
41107
41108
41109
41110
41111
41112
41113
41114
41115
41116
41117
41118
41119
41120
41121
41122
41123
41124
41125
41126
41127
41128
41129
41130
41131
41132
41133
41134
41135
41136
41137
41138
41139
41140
41141
41142
41143
41144
41145
41146
41147
41148
41149
41150
41151
41152
41153
41154
41155
41156
41157
41158
41159
41160
41161
41162
41163
41164
41165
41166
41167
41168
41169
41170
41171
41172
41173
41174
41175
41176
41177
41178
41179
41180
41181
41182
41183
41184
41185
41186
41187
41188
41189
41190
41191
41192
41193
41194
41195
41196
41197
41198
41199
41200
41201
41202
41203
41204
41205
41206
41207
41208
41209
41210
41211
41212
41213
41214
41215
41216
41217
41218
41219
41220
41221
41222
41223
41224
41225
41226
41227
41228
41229
41230
41231
41232
41233
41234
41235
41236
41237
41238
41239
41240
41241
41242
41243
41244
41245
41246
41247
41248
41249
41250
41251
41252
41253
41254
41255
41256
41257
41258
41259
41260
41261
41262
41263
41264
41265
41266
41267
41268
41269
41270
41271
41272
41273
41274
41275
41276
41277
41278
41279
41280
41281
41282
41283
41284
41285
41286
41287
41288
41289
41290
41291
41292
41293
41294
41295
41296
41297
41298
41299
41300
41301
41302
41303
41304
41305
41306
41307
41308
41309
41310
41311
41312
41313
41314
41315
41316
41317
41318
41319
41320
41321
41322
41323
41324
41325
41326
41327
41328
41329
41330
41331
41332
41333
41334
41335
41336
41337
41338
41339
41340
41341
41342
41343
41344
41345
41346
41347
41348
41349
41350
41351
41352
41353
41354
41355
41356
41357
41358
41359
41360
41361
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392
41393
41394
41395
41396
41397
41398
41399
41400
41401
41402
41403
41404
41405
41406
41407
41408
41409
41410
41411
41412
41413
41414
41415
41416
41417
41418
41419
41420
41421
41422
41423
41424
41425
41426
41427
41428
41429
41430
41431
41432
41433
41434
41435
41436
41437
41438
41439
41440
41441
41442
41443
41444
41445
41446
41447
41448
41449
41450
41451
41452
41453
41454
41455
41456
41457
41458
41459
41460
41461
41462
41463
41464
41465
41466
41467
41468
41469
41470
41471
41472
41473
41474
41475
41476
41477
41478
41479
41480
41481
41482
41483
41484
41485
41486
41487
41488
41489
41490
41491
41492
41493
41494
41495
41496
41497
41498
41499
41500
41501
41502
41503
41504
41505
41506
41507
41508
41509
41510
41511
41512
41513
41514
41515
41516
41517
41518
41519
41520
41521
41522
41523
41524
41525
41526
41527
41528
41529
41530
41531
41532
41533
41534
41535
41536
41537
41538
41539
41540
41541
41542
41543
41544
41545
41546
41547
41548
41549
41550
41551
41552
41553
41554
41555
41556
41557
41558
41559
41560
41561
41562
41563
41564
41565
41566
41567
41568
41569
41570
41571
41572
41573
41574
41575
41576
41577
41578
41579
41580
41581
41582
41583
41584
41585
41586
41587
41588
41589
41590
41591
41592
41593
41594
41595
41596
41597
41598
41599
41600
41601
41602
41603
41604
41605
41606
41607
41608
41609
41610
41611
41612
41613
41614
41615
41616
41617
41618
41619
41620
41621
41622
41623
41624
41625
41626
41627
41628
41629
41630
41631
41632
41633
41634
41635
41636
41637
41638
41639
41640
41641
41642
41643
41644
41645
41646
41647
41648
41649
41650
41651
41652
41653
41654
41655
41656
41657
41658
41659
41660
41661
41662
41663
41664
41665
41666
41667
41668
41669
41670
41671
41672
41673
41674
41675
41676
41677
41678
41679
41680
41681
41682
41683
41684
41685
41686
41687
41688
41689
41690
41691
41692
41693
41694
41695
41696
41697
41698
41699
41700
41701
41702
41703
41704
41705
41706
41707
41708
41709
41710
41711
41712
41713
41714
41715
41716
41717
41718
41719
41720
41721
41722
41723
41724
41725
41726
41727
41728
41729
41730
41731
41732
41733
41734
41735
41736
41737
41738
41739
41740
41741
41742
41743
41744
41745
41746
41747
41748
41749
41750
41751
41752
41753
41754
41755
41756
41757
41758
41759
41760
41761
41762
41763
41764
41765
41766
41767
41768
41769
41770
41771
41772
41773
41774
41775
41776
41777
41778
41779
41780
41781
41782
41783
41784
41785
41786
41787
41788
41789
41790
41791
41792
41793
41794
41795
41796
41797
41798
41799
41800
41801
41802
41803
41804
41805
41806
41807
41808
41809
41810
41811
41812
41813
41814
41815
41816
41817
41818
41819
41820
41821
41822
41823
41824
41825
41826
41827
41828
41829
41830
41831
41832
41833
41834
41835
41836
41837
41838
41839
41840
41841
41842
41843
41844
41845
41846
41847
41848
41849
41850
41851
41852
41853
41854
41855
41856
41857
41858
41859
41860
41861
41862
41863
41864
41865
41866
41867
41868
41869
41870
41871
41872
41873
41874
41875
41876
41877
41878
41879
41880
41881
41882
41883
41884
41885
41886
41887
41888
41889
41890
41891
41892
41893
41894
41895
41896
41897
41898
41899
41900
41901
41902
41903
41904
41905
41906
41907
41908
41909
41910
41911
41912
41913
41914
41915
41916
41917
41918
41919
41920
41921
41922
41923
41924
41925
41926
41927
41928
41929
41930
41931
41932
41933
41934
41935
41936
41937
41938
41939
41940
41941
41942
41943
41944
41945
41946
41947
41948
41949
41950
41951
41952
41953
41954
41955
41956
41957
41958
41959
41960
41961
41962
41963
41964
41965
41966
41967
41968
41969
41970
41971
41972
41973
41974
41975
41976
41977
41978
41979
41980
41981
41982
41983
41984
41985
41986
41987
41988
41989
41990
41991
41992
41993
41994
41995
41996
41997
41998
41999
42000
42001
42002
42003
42004
42005
42006
42007
42008
42009
42010
42011
42012
42013
42014
42015
42016
42017
42018
42019
42020
42021
42022
42023
42024
42025
42026
42027
42028
42029
42030
42031
42032
42033
42034
42035
42036
42037
42038
42039
42040
42041
42042
42043
42044
42045
42046
42047
42048
42049
42050
42051
42052
42053
42054
42055
42056
42057
42058
42059
42060
42061
42062
42063
42064
42065
42066
42067
42068
42069
42070
42071
42072
42073
42074
42075
42076
42077
42078
42079
42080
42081
42082
42083
42084
42085
42086
42087
42088
42089
42090
42091
42092
42093
42094
42095
42096
42097
42098
42099
42100
42101
42102
42103
42104
42105
42106
42107
42108
42109
42110
42111
42112
42113
42114
42115
42116
42117
42118
42119
42120
42121
42122
42123
42124
42125
42126
42127
42128
42129
42130
42131
42132
42133
42134
42135
42136
42137
42138
42139
42140
42141
42142
42143
42144
42145
42146
42147
42148
42149
42150
42151
42152
42153
42154
42155
42156
42157
42158
42159
42160
42161
42162
42163
42164
42165
42166
42167
42168
42169
42170
42171
42172
42173
42174
42175
42176
42177
42178
42179
42180
42181
42182
42183
42184
42185
42186
42187
42188
42189
42190
42191
42192
42193
42194
42195
42196
42197
42198
42199
42200
42201
42202
42203
42204
42205
42206
42207
42208
42209
42210
42211
42212
42213
42214
42215
42216
42217
42218
42219
42220
42221
42222
42223
42224
42225
42226
42227
42228
42229
42230
42231
42232
42233
42234
42235
42236
42237
42238
42239
42240
42241
42242
42243
42244
42245
42246
42247
42248
42249
42250
42251
42252
42253
42254
42255
42256
42257
42258
42259
42260
42261
42262
42263
42264
42265
42266
42267
42268
42269
42270
42271
42272
42273
42274
42275
42276
42277
42278
42279
42280
42281
42282
42283
42284
42285
42286
42287
42288
42289
42290
42291
42292
42293
42294
42295
42296
42297
42298
42299
42300
42301
42302
42303
42304
42305
42306
42307
42308
42309
42310
42311
42312
42313
42314
42315
42316
42317
42318
42319
42320
42321
42322
42323
42324
42325
42326
42327
42328
42329
42330
42331
42332
42333
42334
42335
42336
42337
42338
42339
42340
42341
42342
42343
42344
42345
42346
42347
42348
42349
42350
42351
42352
42353
42354
42355
42356
42357
42358
42359
42360
42361
42362
42363
42364
42365
42366
42367
42368
42369
42370
42371
42372
42373
42374
42375
42376
42377
42378
42379
42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
42393
42394
42395
42396
42397
42398
42399
42400
42401
42402
42403
42404
42405
42406
42407
42408
42409
42410
42411
42412
42413
42414
42415
42416
42417
42418
42419
42420
42421
42422
42423
42424
42425
42426
42427
42428
42429
42430
42431
42432
42433
42434
42435
42436
42437
42438
42439
42440
42441
42442
42443
42444
42445
42446
42447
42448
42449
42450
42451
42452
42453
42454
42455
42456
42457
42458
42459
42460
42461
42462
42463
42464
42465
42466
42467
42468
42469
42470
42471
42472
42473
42474
42475
42476
42477
42478
42479
42480
42481
42482
42483
42484
42485
42486
42487
42488
42489
42490
42491
42492
42493
42494
42495
42496
42497
42498
42499
42500
42501
42502
42503
42504
42505
42506
42507
42508
42509
42510
42511
42512
42513
42514
42515
42516
42517
42518
42519
42520
42521
42522
42523
42524
42525
42526
42527
42528
42529
42530
42531
42532
42533
42534
42535
42536
42537
42538
42539
42540
42541
42542
42543
42544
42545
42546
42547
42548
42549
42550
42551
42552
42553
42554
42555
42556
42557
42558
42559
42560
42561
42562
42563
42564
42565
42566
42567
42568
42569
42570
42571
42572
42573
42574
42575
42576
42577
42578
42579
42580
42581
42582
42583
42584
42585
42586
42587
42588
42589
42590
42591
42592
42593
42594
42595
42596
42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
42610
42611
42612
42613
42614
42615
42616
42617
42618
42619
42620
42621
42622
42623
42624
42625
42626
42627
42628
42629
42630
42631
42632
42633
42634
42635
42636
42637
42638
42639
42640
42641
42642
42643
42644
42645
42646
42647
42648
42649
42650
42651
42652
42653
42654
42655
42656
42657
42658
42659
42660
42661
42662
42663
42664
42665
42666
42667
42668
42669
42670
42671
42672
42673
42674
42675
42676
42677
42678
42679
42680
42681
42682
42683
42684
42685
42686
42687
42688
42689
42690
42691
42692
42693
42694
42695
42696
42697
42698
42699
42700
42701
42702
42703
42704
42705
42706
42707
42708
42709
42710
42711
42712
42713
42714
42715
42716
42717
42718
42719
42720
42721
42722
42723
42724
42725
42726
42727
42728
42729
42730
42731
42732
42733
42734
42735
42736
42737
42738
42739
42740
42741
42742
42743
42744
42745
42746
42747
42748
42749
42750
42751
42752
42753
42754
42755
42756
42757
42758
42759
42760
42761
42762
42763
42764
42765
42766
42767
42768
42769
42770
42771
42772
42773
42774
42775
42776
42777
42778
42779
42780
42781
42782
42783
42784
42785
42786
42787
42788
42789
42790
42791
42792
42793
42794
42795
42796
42797
42798
42799
42800
42801
42802
42803
42804
42805
42806
42807
42808
42809
42810
42811
42812
42813
42814
42815
42816
42817
42818
42819
42820
42821
42822
42823
42824
42825
42826
42827
42828
42829
42830
42831
42832
42833
42834
42835
42836
42837
42838
42839
42840
42841
42842
42843
42844
42845
42846
42847
42848
42849
42850
42851
42852
42853
42854
42855
42856
42857
42858
42859
42860
42861
42862
42863
42864
42865
42866
42867
42868
42869
42870
42871
42872
42873
42874
42875
42876
42877
42878
42879
42880
42881
42882
42883
42884
42885
42886
42887
42888
42889
42890
42891
42892
42893
42894
42895
42896
42897
42898
42899
42900
42901
42902
42903
42904
42905
42906
42907
42908
42909
42910
42911
42912
42913
42914
42915
42916
42917
42918
42919
42920
42921
42922
42923
42924
42925
42926
42927
42928
42929
42930
42931
42932
42933
42934
42935
42936
42937
42938
42939
42940
42941
42942
42943
42944
42945
42946
42947
42948
42949
42950
42951
42952
42953
42954
42955
42956
42957
42958
42959
42960
42961
42962
42963
42964
42965
42966
42967
42968
42969
42970
42971
42972
42973
42974
42975
42976
42977
42978
42979
42980
42981
42982
42983
42984
42985
42986
42987
42988
42989
42990
42991
42992
42993
42994
42995
42996
42997
42998
42999
43000
43001
43002
43003
43004
43005
43006
43007
43008
43009
43010
43011
43012
43013
43014
43015
43016
43017
43018
43019
43020
43021
43022
43023
43024
43025
43026
43027
43028
43029
43030
43031
43032
43033
43034
43035
43036
43037
43038
43039
43040
43041
43042
43043
43044
43045
43046
43047
43048
43049
43050
43051
43052
43053
43054
43055
43056
43057
43058
43059
43060
43061
43062
43063
43064
43065
43066
43067
43068
43069
43070
43071
43072
43073
43074
43075
43076
43077
43078
43079
43080
43081
43082
43083
43084
43085
43086
43087
43088
43089
43090
43091
43092
43093
43094
43095
43096
43097
43098
43099
43100
43101
43102
43103
43104
43105
43106
43107
43108
43109
43110
43111
43112
43113
43114
43115
43116
43117
43118
43119
43120
43121
43122
43123
43124
43125
43126
43127
43128
43129
43130
43131
43132
43133
43134
43135
43136
43137
43138
43139
43140
43141
43142
43143
43144
43145
43146
43147
43148
43149
43150
43151
43152
43153
43154
43155
43156
43157
43158
43159
43160
43161
43162
43163
43164
43165
43166
43167
43168
43169
43170
43171
43172
43173
43174
43175
43176
43177
43178
43179
43180
43181
43182
43183
43184
43185
43186
43187
43188
43189
43190
43191
43192
43193
43194
43195
43196
43197
43198
43199
43200
43201
43202
43203
43204
43205
43206
43207
43208
43209
43210
43211
43212
43213
43214
43215
43216
43217
43218
43219
43220
43221
43222
43223
43224
43225
43226
43227
43228
43229
43230
43231
43232
43233
43234
43235
43236
43237
43238
43239
43240
43241
43242
43243
43244
43245
43246
43247
43248
43249
43250
43251
43252
43253
43254
43255
43256
43257
43258
43259
43260
43261
43262
43263
43264
43265
43266
43267
43268
43269
43270
43271
43272
43273
43274
43275
43276
43277
43278
43279
43280
43281
43282
43283
43284
43285
43286
43287
43288
43289
43290
43291
43292
43293
43294
43295
43296
43297
43298
43299
43300
43301
43302
43303
43304
43305
43306
43307
43308
43309
43310
43311
43312
43313
43314
43315
43316
43317
43318
43319
43320
43321
43322
43323
43324
43325
43326
43327
43328
43329
43330
43331
43332
43333
43334
43335
43336
43337
43338
43339
43340
43341
43342
43343
43344
43345
43346
43347
43348
43349
43350
43351
43352
43353
43354
43355
43356
43357
43358
43359
43360
43361
43362
43363
43364
43365
43366
43367
43368
43369
43370
43371
43372
43373
43374
43375
43376
43377
43378
43379
43380
43381
43382
43383
43384
43385
43386
43387
43388
43389
43390
43391
43392
43393
43394
43395
43396
43397
43398
43399
43400
43401
43402
43403
43404
43405
43406
43407
43408
43409
43410
43411
43412
43413
43414
43415
43416
43417
43418
43419
43420
43421
43422
43423
43424
43425
43426
43427
43428
43429
43430
43431
43432
43433
43434
43435
43436
43437
43438
43439
43440
43441
43442
43443
43444
43445
43446
43447
43448
43449
43450
43451
43452
43453
43454
43455
43456
43457
43458
43459
43460
43461
43462
43463
43464
43465
43466
43467
43468
43469
43470
43471
43472
43473
43474
43475
43476
43477
43478
43479
43480
43481
43482
43483
43484
43485
43486
43487
43488
43489
43490
43491
43492
43493
43494
43495
43496
43497
43498
43499
43500
43501
43502
43503
43504
43505
43506
43507
43508
43509
43510
43511
43512
43513
43514
43515
43516
43517
43518
43519
43520
43521
43522
43523
43524
43525
43526
43527
43528
43529
43530
43531
43532
43533
43534
43535
43536
43537
43538
43539
43540
43541
43542
43543
43544
43545
43546
43547
43548
43549
43550
43551
43552
43553
43554
43555
43556
43557
43558
43559
43560
43561
43562
43563
43564
43565
43566
43567
43568
43569
43570
43571
43572
43573
43574
43575
43576
43577
43578
43579
43580
43581
43582
43583
43584
43585
43586
43587
43588
43589
43590
43591
43592
43593
43594
43595
43596
43597
43598
43599
43600
43601
43602
43603
43604
43605
43606
43607
43608
43609
43610
43611
43612
43613
43614
43615
43616
43617
43618
43619
43620
43621
43622
43623
43624
43625
43626
43627
43628
43629
43630
43631
43632
43633
43634
43635
43636
43637
43638
43639
43640
43641
43642
43643
43644
43645
43646
43647
43648
43649
43650
43651
43652
43653
43654
43655
43656
43657
43658
43659
43660
43661
43662
43663
43664
43665
43666
43667
43668
43669
43670
43671
43672
43673
43674
43675
43676
43677
43678
43679
43680
43681
43682
43683
43684
43685
43686
43687
43688
43689
43690
43691
43692
43693
43694
43695
43696
43697
43698
43699
43700
43701
43702
43703
43704
43705
43706
43707
43708
43709
43710
43711
43712
43713
43714
43715
43716
43717
43718
43719
43720
43721
43722
43723
43724
43725
43726
43727
43728
43729
43730
43731
43732
43733
43734
43735
43736
43737
43738
43739
43740
43741
43742
43743
43744
43745
43746
43747
43748
43749
43750
43751
43752
43753
43754
43755
43756
43757
43758
43759
43760
43761
43762
43763
43764
43765
43766
43767
43768
43769
43770
43771
43772
43773
43774
43775
43776
43777
43778
43779
43780
43781
43782
43783
43784
43785
43786
43787
43788
43789
43790
43791
43792
43793
43794
43795
43796
43797
43798
43799
43800
43801
43802
43803
43804
43805
43806
43807
43808
43809
43810
43811
43812
43813
43814
43815
43816
43817
43818
43819
43820
43821
43822
43823
43824
43825
43826
43827
43828
43829
43830
43831
43832
43833
43834
43835
43836
43837
43838
43839
43840
43841
43842
43843
43844
43845
43846
43847
43848
43849
43850
43851
43852
43853
43854
43855
43856
43857
43858
43859
43860
43861
43862
43863
43864
43865
43866
43867
43868
43869
43870
43871
43872
43873
43874
43875
43876
43877
43878
43879
43880
43881
43882
43883
43884
43885
43886
43887
43888
43889
43890
43891
43892
43893
43894
43895
43896
43897
43898
43899
43900
43901
43902
43903
43904
43905
43906
43907
43908
43909
43910
43911
43912
43913
43914
43915
43916
43917
43918
43919
43920
43921
43922
43923
43924
43925
43926
43927
43928
43929
43930
43931
43932
43933
43934
43935
43936
43937
43938
43939
43940
43941
43942
43943
43944
43945
43946
43947
43948
43949
43950
43951
43952
43953
43954
43955
43956
43957
43958
43959
43960
43961
43962
43963
43964
43965
43966
43967
43968
43969
43970
43971
43972
43973
43974
43975
43976
43977
43978
43979
43980
43981
43982
43983
43984
43985
43986
43987
43988
43989
43990
43991
43992
43993
43994
43995
43996
43997
43998
43999
44000
44001
44002
44003
44004
44005
44006
44007
44008
44009
44010
44011
44012
44013
44014
44015
44016
44017
44018
44019
44020
44021
44022
44023
44024
44025
44026
44027
44028
44029
44030
44031
44032
44033
44034
44035
44036
44037
44038
44039
44040
44041
44042
44043
44044
44045
44046
44047
44048
44049
44050
44051
44052
44053
44054
44055
44056
44057
44058
44059
44060
44061
44062
44063
44064
44065
44066
44067
44068
44069
44070
44071
44072
44073
44074
44075
44076
44077
44078
44079
44080
44081
44082
44083
44084
44085
44086
44087
44088
44089
44090
44091
44092
44093
44094
44095
44096
44097
44098
44099
44100
44101
44102
44103
44104
44105
44106
44107
44108
44109
44110
44111
44112
44113
44114
44115
44116
44117
44118
44119
44120
44121
44122
44123
44124
44125
44126
44127
44128
44129
44130
44131
44132
44133
44134
44135
44136
44137
44138
44139
44140
44141
44142
44143
44144
44145
44146
44147
44148
44149
44150
44151
44152
44153
44154
44155
44156
44157
44158
44159
44160
44161
44162
44163
44164
44165
44166
44167
44168
44169
44170
44171
44172
44173
44174
44175
44176
44177
44178
44179
44180
44181
44182
44183
44184
44185
44186
44187
44188
44189
44190
44191
44192
44193
44194
44195
44196
44197
44198
44199
44200
44201
44202
44203
44204
44205
44206
44207
44208
44209
44210
44211
44212
44213
44214
44215
44216
44217
44218
44219
44220
44221
44222
44223
44224
44225
44226
44227
44228
44229
44230
44231
44232
44233
44234
44235
44236
44237
44238
44239
44240
44241
44242
44243
44244
44245
44246
44247
44248
44249
44250
44251
44252
44253
44254
44255
44256
44257
44258
44259
44260
44261
44262
44263
44264
44265
44266
44267
44268
44269
44270
44271
44272
44273
44274
44275
44276
44277
44278
44279
44280
44281
44282
44283
44284
44285
44286
44287
44288
44289
44290
44291
44292
44293
44294
44295
44296
44297
44298
44299
44300
44301
44302
44303
44304
44305
44306
44307
44308
44309
44310
44311
44312
44313
44314
44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
44338
44339
44340
44341
44342
44343
44344
44345
44346
44347
44348
44349
44350
44351
44352
44353
44354
44355
44356
44357
44358
44359
44360
44361
44362
44363
44364
44365
44366
44367
44368
44369
44370
44371
44372
44373
44374
44375
44376
44377
44378
44379
44380
44381
44382
44383
44384
44385
44386
44387
44388
44389
44390
44391
44392
44393
44394
44395
44396
44397
44398
44399
44400
44401
44402
44403
44404
44405
44406
44407
44408
44409
44410
44411
44412
44413
44414
44415
44416
44417
44418
44419
44420
44421
44422
44423
44424
44425
44426
44427
44428
44429
44430
44431
44432
44433
44434
44435
44436
44437
44438
44439
44440
44441
44442
44443
44444
44445
44446
44447
44448
44449
44450
44451
44452
44453
44454
44455
44456
44457
44458
44459
44460
44461
44462
44463
44464
44465
44466
44467
44468
44469
44470
44471
44472
44473
44474
44475
44476
44477
44478
44479
44480
44481
44482
44483
44484
44485
44486
44487
44488
44489
44490
44491
44492
44493
44494
44495
44496
44497
44498
44499
44500
44501
44502
44503
44504
44505
44506
44507
44508
44509
44510
44511
44512
44513
44514
44515
44516
44517
44518
44519
44520
44521
44522
44523
44524
44525
44526
44527
44528
44529
44530
44531
44532
44533
44534
44535
44536
44537
44538
44539
44540
44541
44542
44543
44544
44545
44546
44547
44548
44549
44550
44551
44552
44553
44554
44555
44556
44557
44558
44559
44560
44561
44562
44563
44564
44565
44566
44567
44568
44569
44570
44571
44572
44573
44574
44575
44576
44577
44578
44579
44580
44581
44582
44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
44595
44596
44597
44598
44599
44600
44601
44602
44603
44604
44605
44606
44607
44608
44609
44610
44611
44612
44613
44614
44615
44616
44617
44618
44619
44620
44621
44622
44623
44624
44625
44626
44627
44628
44629
44630
44631
44632
44633
44634
44635
44636
44637
44638
44639
44640
44641
44642
44643
44644
44645
44646
44647
44648
44649
44650
44651
44652
44653
44654
44655
44656
44657
44658
44659
44660
44661
44662
44663
44664
44665
44666
44667
44668
44669
44670
44671
44672
44673
44674
44675
44676
44677
44678
44679
44680
44681
44682
44683
44684
44685
44686
44687
44688
44689
44690
44691
44692
44693
44694
44695
44696
44697
44698
44699
44700
44701
44702
44703
44704
44705
44706
44707
44708
44709
44710
44711
44712
44713
44714
44715
44716
44717
44718
44719
44720
44721
44722
44723
44724
44725
44726
44727
44728
44729
44730
44731
44732
44733
44734
44735
44736
44737
44738
44739
44740
44741
44742
44743
44744
44745
44746
44747
44748
44749
44750
44751
44752
44753
44754
44755
44756
44757
44758
44759
44760
44761
44762
44763
44764
44765
44766
44767
44768
44769
44770
44771
44772
44773
44774
44775
44776
44777
44778
44779
44780
44781
44782
44783
44784
44785
44786
44787
44788
44789
44790
44791
44792
44793
44794
44795
44796
44797
44798
44799
44800
44801
44802
44803
44804
44805
44806
44807
44808
44809
44810
44811
44812
44813
44814
44815
44816
44817
44818
44819
44820
44821
44822
44823
44824
44825
44826
44827
44828
44829
44830
44831
44832
44833
44834
44835
44836
44837
44838
44839
44840
44841
44842
44843
44844
44845
44846
44847
44848
44849
44850
44851
44852
44853
44854
44855
44856
44857
44858
44859
44860
44861
44862
44863
44864
44865
44866
44867
44868
44869
44870
44871
44872
44873
44874
44875
44876
44877
44878
44879
44880
44881
44882
44883
44884
44885
44886
44887
44888
44889
44890
44891
44892
44893
44894
44895
44896
44897
44898
44899
44900
44901
44902
44903
44904
44905
44906
44907
44908
44909
44910
44911
44912
44913
44914
44915
44916
44917
44918
44919
44920
44921
44922
44923
44924
44925
44926
44927
44928
44929
44930
44931
44932
44933
44934
44935
44936
44937
44938
44939
44940
44941
44942
44943
44944
44945
44946
44947
44948
44949
44950
44951
44952
44953
44954
44955
44956
44957
44958
44959
44960
44961
44962
44963
44964
44965
44966
44967
44968
44969
44970
44971
44972
44973
44974
44975
44976
44977
44978
44979
44980
44981
44982
44983
44984
44985
44986
44987
44988
44989
44990
44991
44992
44993
44994
44995
44996
44997
44998
44999
45000
45001
45002
45003
45004
45005
45006
45007
45008
45009
45010
45011
45012
45013
45014
45015
45016
45017
45018
45019
45020
45021
45022
45023
45024
45025
45026
45027
45028
45029
45030
45031
45032
45033
45034
45035
45036
45037
45038
45039
45040
45041
45042
45043
45044
45045
45046
45047
45048
45049
45050
45051
45052
45053
45054
45055
45056
45057
45058
45059
45060
45061
45062
45063
45064
45065
45066
45067
45068
45069
45070
45071
45072
45073
45074
45075
45076
45077
45078
45079
45080
45081
45082
45083
45084
45085
45086
45087
45088
45089
45090
45091
45092
45093
45094
45095
45096
45097
45098
45099
45100
45101
45102
45103
45104
45105
45106
45107
45108
45109
45110
45111
45112
45113
45114
45115
45116
45117
45118
45119
45120
45121
45122
45123
45124
45125
45126
45127
45128
45129
45130
45131
45132
45133
45134
45135
45136
45137
45138
45139
45140
45141
45142
45143
45144
45145
45146
45147
45148
45149
45150
45151
45152
45153
45154
45155
45156
45157
45158
45159
45160
45161
45162
45163
45164
45165
45166
45167
45168
45169
45170
45171
45172
45173
45174
45175
45176
45177
45178
45179
45180
45181
45182
45183
45184
45185
45186
45187
45188
45189
45190
45191
45192
45193
45194
45195
45196
45197
45198
45199
45200
45201
45202
45203
45204
45205
45206
45207
45208
45209
45210
45211
45212
45213
45214
45215
45216
45217
45218
45219
45220
45221
45222
45223
45224
45225
45226
45227
45228
45229
45230
45231
45232
45233
45234
45235
45236
45237
45238
45239
45240
45241
45242
45243
45244
45245
45246
45247
45248
45249
45250
45251
45252
45253
45254
45255
45256
45257
45258
45259
45260
45261
45262
45263
45264
45265
45266
45267
45268
45269
45270
45271
45272
45273
45274
45275
45276
45277
45278
45279
45280
45281
45282
45283
45284
45285
45286
45287
45288
45289
45290
45291
45292
45293
45294
45295
45296
45297
45298
45299
45300
45301
45302
45303
45304
45305
45306
45307
45308
45309
45310
45311
45312
45313
45314
45315
45316
45317
45318
45319
45320
45321
45322
45323
45324
45325
45326
45327
45328
45329
45330
45331
45332
45333
45334
45335
45336
45337
45338
45339
45340
45341
45342
45343
45344
45345
45346
45347
45348
45349
45350
45351
45352
45353
45354
45355
45356
45357
45358
45359
45360
45361
45362
45363
45364
45365
45366
45367
45368
45369
45370
45371
45372
45373
45374
45375
45376
45377
45378
45379
45380
45381
45382
45383
45384
45385
45386
45387
45388
45389
45390
45391
45392
45393
45394
45395
45396
45397
45398
45399
45400
45401
45402
45403
45404
45405
45406
45407
45408
45409
45410
45411
45412
45413
45414
45415
45416
45417
45418
45419
45420
45421
45422
45423
45424
45425
45426
45427
45428
45429
45430
45431
45432
45433
45434
45435
45436
45437
45438
45439
45440
45441
45442
45443
45444
45445
45446
45447
45448
45449
45450
45451
45452
45453
45454
45455
45456
45457
45458
45459
45460
45461
45462
45463
45464
45465
45466
45467
45468
45469
45470
45471
45472
45473
45474
45475
45476
45477
45478
45479
45480
45481
45482
45483
45484
45485
45486
45487
45488
45489
45490
45491
45492
45493
45494
45495
45496
45497
45498
45499
45500
45501
45502
45503
45504
45505
45506
45507
45508
45509
45510
45511
45512
45513
45514
45515
45516
45517
45518
45519
45520
45521
45522
45523
45524
45525
45526
45527
45528
45529
45530
45531
45532
45533
45534
45535
45536
45537
45538
45539
45540
45541
45542
45543
45544
45545
45546
45547
45548
45549
45550
45551
45552
45553
45554
45555
45556
45557
45558
45559
45560
45561
45562
45563
45564
45565
45566
45567
45568
45569
45570
45571
45572
45573
45574
45575
45576
45577
45578
45579
45580
45581
45582
45583
45584
45585
45586
45587
45588
45589
45590
45591
45592
45593
45594
45595
45596
45597
45598
45599
45600
45601
45602
45603
45604
45605
45606
45607
45608
45609
45610
45611
45612
45613
45614
45615
45616
45617
45618
45619
45620
45621
45622
45623
45624
45625
45626
45627
45628
45629
45630
45631
45632
45633
45634
45635
45636
45637
45638
45639
45640
45641
45642
45643
45644
45645
45646
45647
45648
45649
45650
45651
45652
45653
45654
45655
45656
45657
45658
45659
45660
45661
45662
45663
45664
45665
45666
45667
45668
45669
45670
45671
45672
45673
45674
45675
45676
45677
45678
45679
45680
45681
45682
45683
45684
45685
45686
45687
45688
45689
45690
45691
45692
45693
45694
45695
45696
45697
45698
45699
45700
45701
45702
45703
45704
45705
45706
45707
45708
45709
45710
45711
45712
45713
45714
45715
45716
45717
45718
45719
45720
45721
45722
45723
45724
45725
45726
45727
45728
45729
45730
45731
45732
45733
45734
45735
45736
45737
45738
45739
45740
45741
45742
45743
45744
45745
45746
45747
45748
45749
45750
45751
45752
45753
45754
45755
45756
45757
45758
45759
45760
45761
45762
45763
45764
45765
45766
45767
45768
45769
45770
45771
45772
45773
45774
45775
45776
45777
45778
45779
45780
45781
45782
45783
45784
45785
45786
45787
45788
45789
45790
45791
45792
45793
45794
45795
45796
45797
45798
45799
45800
45801
45802
45803
45804
45805
45806
45807
45808
45809
45810
45811
45812
45813
45814
45815
45816
45817
45818
45819
45820
45821
45822
45823
45824
45825
45826
45827
45828
45829
45830
45831
45832
45833
45834
45835
45836
45837
45838
45839
45840
45841
45842
45843
45844
45845
45846
45847
45848
45849
45850
45851
45852
45853
45854
45855
45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
45869
45870
45871
45872
45873
45874
45875
45876
45877
45878
45879
45880
45881
45882
45883
45884
45885
45886
45887
45888
45889
45890
45891
45892
45893
45894
45895
45896
45897
45898
45899
45900
45901
45902
45903
45904
45905
45906
45907
45908
45909
45910
45911
45912
45913
45914
45915
45916
45917
45918
45919
45920
45921
45922
45923
45924
45925
45926
45927
45928
45929
45930
45931
45932
45933
45934
45935
45936
45937
45938
45939
45940
45941
45942
45943
45944
45945
45946
45947
45948
45949
45950
45951
45952
45953
45954
45955
45956
45957
45958
45959
45960
45961
45962
45963
45964
45965
45966
45967
45968
45969
45970
45971
45972
45973
45974
45975
45976
45977
45978
45979
45980
45981
45982
45983
45984
45985
45986
45987
45988
45989
45990
45991
45992
45993
45994
45995
45996
45997
45998
45999
46000
46001
46002
46003
46004
46005
46006
46007
46008
46009
46010
46011
46012
46013
46014
46015
46016
46017
46018
46019
46020
46021
46022
46023
46024
46025
46026
46027
46028
46029
46030
46031
46032
46033
46034
46035
46036
46037
46038
46039
46040
46041
46042
46043
46044
46045
46046
46047
46048
46049
46050
46051
46052
46053
46054
46055
46056
46057
46058
46059
46060
46061
46062
46063
46064
46065
46066
46067
46068
46069
46070
46071
46072
46073
46074
46075
46076
46077
46078
46079
46080
46081
46082
46083
46084
46085
46086
46087
46088
46089
46090
46091
46092
46093
46094
46095
46096
46097
46098
46099
46100
46101
46102
46103
46104
46105
46106
46107
46108
46109
46110
46111
46112
46113
46114
46115
46116
46117
46118
46119
46120
46121
46122
46123
46124
46125
46126
46127
46128
46129
46130
46131
46132
46133
46134
46135
46136
46137
46138
46139
46140
46141
46142
46143
46144
46145
46146
46147
46148
46149
46150
46151
46152
46153
46154
46155
46156
46157
46158
46159
46160
46161
46162
46163
46164
46165
46166
46167
46168
46169
46170
46171
46172
46173
46174
46175
46176
46177
46178
46179
46180
46181
46182
46183
46184
46185
46186
46187
46188
46189
46190
46191
46192
46193
46194
46195
46196
46197
46198
46199
46200
46201
46202
46203
46204
46205
46206
46207
46208
46209
46210
46211
46212
46213
46214
46215
46216
46217
46218
46219
46220
46221
46222
46223
46224
46225
46226
46227
46228
46229
46230
46231
46232
46233
46234
46235
46236
46237
46238
46239
46240
46241
46242
46243
46244
46245
46246
46247
46248
46249
46250
46251
46252
46253
46254
46255
46256
46257
46258
46259
46260
46261
46262
46263
46264
46265
46266
46267
46268
46269
46270
46271
46272
46273
46274
46275
46276
46277
46278
46279
46280
46281
46282
46283
46284
46285
46286
46287
46288
46289
46290
46291
46292
46293
46294
46295
46296
46297
46298
46299
46300
46301
46302
46303
46304
46305
46306
46307
46308
46309
46310
46311
46312
46313
46314
46315
46316
46317
46318
46319
46320
46321
46322
46323
46324
46325
46326
46327
46328
46329
46330
46331
46332
46333
46334
46335
46336
46337
46338
46339
46340
46341
46342
46343
46344
46345
46346
46347
46348
46349
46350
46351
46352
46353
46354
46355
46356
46357
46358
46359
46360
46361
46362
46363
46364
46365
46366
46367
46368
46369
46370
46371
46372
46373
46374
46375
46376
46377
46378
46379
46380
46381
46382
46383
46384
46385
46386
46387
46388
46389
46390
46391
46392
46393
46394
46395
46396
46397
46398
46399
46400
46401
46402
46403
46404
46405
46406
46407
46408
46409
46410
46411
46412
46413
46414
46415
46416
46417
46418
46419
46420
46421
46422
46423
46424
46425
46426
46427
46428
46429
46430
46431
46432
46433
46434
46435
46436
46437
46438
46439
46440
46441
46442
46443
46444
46445
46446
46447
46448
46449
46450
46451
46452
46453
46454
46455
46456
46457
46458
46459
46460
46461
46462
46463
46464
46465
46466
46467
46468
46469
46470
46471
46472
46473
46474
46475
46476
46477
46478
46479
46480
46481
46482
46483
46484
46485
46486
46487
46488
46489
46490
46491
46492
46493
46494
46495
46496
46497
46498
46499
46500
46501
46502
46503
46504
46505
46506
46507
46508
46509
46510
46511
46512
46513
46514
46515
46516
46517
46518
46519
46520
46521
46522
46523
46524
46525
46526
46527
46528
46529
46530
46531
46532
46533
46534
46535
46536
46537
46538
46539
46540
46541
46542
46543
46544
46545
46546
46547
46548
46549
46550
46551
46552
46553
46554
46555
46556
46557
46558
46559
46560
46561
46562
46563
46564
46565
46566
46567
46568
46569
46570
46571
46572
46573
46574
46575
46576
46577
46578
46579
46580
46581
46582
46583
46584
46585
46586
46587
46588
46589
46590
46591
46592
46593
46594
46595
46596
46597
46598
46599
46600
46601
46602
46603
46604
46605
46606
46607
46608
46609
46610
46611
46612
46613
46614
46615
46616
46617
46618
46619
46620
46621
46622
46623
46624
46625
46626
46627
46628
46629
46630
46631
46632
46633
46634
46635
46636
46637
46638
46639
46640
46641
46642
46643
46644
46645
46646
46647
46648
46649
46650
46651
46652
46653
46654
46655
46656
46657
46658
46659
46660
46661
46662
46663
46664
46665
46666
46667
46668
46669
46670
46671
46672
46673
46674
46675
46676
46677
46678
46679
46680
46681
46682
46683
46684
46685
46686
46687
46688
46689
46690
46691
46692
46693
46694
46695
46696
46697
46698
46699
46700
46701
46702
46703
46704
46705
46706
46707
46708
46709
46710
46711
46712
46713
46714
46715
46716
46717
46718
46719
46720
46721
46722
46723
46724
46725
46726
46727
46728
46729
46730
46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
46741
46742
46743
46744
46745
46746
46747
46748
46749
46750
46751
46752
46753
46754
46755
46756
46757
46758
46759
46760
46761
46762
46763
46764
46765
46766
46767
46768
46769
46770
46771
46772
46773
46774
46775
46776
46777
46778
46779
46780
46781
46782
46783
46784
46785
46786
46787
46788
46789
46790
46791
46792
46793
46794
46795
46796
46797
46798
46799
46800
46801
46802
46803
46804
46805
46806
46807
46808
46809
46810
46811
46812
46813
46814
46815
46816
46817
46818
46819
46820
46821
46822
46823
46824
46825
46826
46827
46828
46829
46830
46831
46832
46833
46834
46835
46836
46837
46838
46839
46840
46841
46842
46843
46844
46845
46846
46847
46848
46849
46850
46851
46852
46853
46854
46855
46856
46857
46858
46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
46878
46879
46880
46881
46882
46883
46884
46885
46886
46887
46888
46889
46890
46891
46892
46893
46894
46895
46896
46897
46898
46899
46900
46901
46902
46903
46904
46905
46906
46907
46908
46909
46910
46911
46912
46913
46914
46915
46916
46917
46918
46919
46920
46921
46922
46923
46924
46925
46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
46940
46941
46942
46943
46944
46945
46946
46947
46948
46949
46950
46951
46952
46953
46954
46955
46956
46957
46958
46959
46960
46961
46962
46963
46964
46965
46966
46967
46968
46969
46970
46971
46972
46973
46974
46975
46976
46977
46978
46979
46980
46981
46982
46983
46984
46985
46986
46987
46988
46989
46990
46991
46992
46993
46994
46995
46996
46997
46998
46999
47000
47001
47002
47003
47004
47005
47006
47007
47008
47009
47010
47011
47012
47013
47014
47015
47016
47017
47018
47019
47020
47021
47022
47023
47024
47025
47026
47027
47028
47029
47030
47031
47032
47033
47034
47035
47036
47037
47038
47039
47040
47041
47042
47043
47044
47045
47046
47047
47048
47049
47050
47051
47052
47053
47054
47055
47056
47057
47058
47059
47060
47061
47062
47063
47064
47065
47066
47067
47068
47069
47070
47071
47072
47073
47074
47075
47076
47077
47078
47079
47080
47081
47082
47083
47084
47085
47086
47087
47088
47089
47090
47091
47092
47093
47094
47095
47096
47097
47098
47099
47100
47101
47102
47103
47104
47105
47106
47107
47108
47109
47110
47111
47112
47113
47114
47115
47116
47117
47118
47119
47120
47121
47122
47123
47124
47125
47126
47127
47128
47129
47130
47131
47132
47133
47134
47135
47136
47137
47138
47139
47140
47141
47142
47143
47144
47145
47146
47147
47148
47149
47150
47151
47152
47153
47154
47155
47156
47157
47158
47159
47160
47161
47162
47163
47164
47165
47166
47167
47168
47169
47170
47171
47172
47173
47174
47175
47176
47177
47178
47179
47180
47181
47182
47183
47184
47185
47186
47187
47188
47189
47190
47191
47192
47193
47194
47195
47196
47197
47198
47199
47200
47201
47202
47203
47204
47205
47206
47207
47208
47209
47210
47211
47212
47213
47214
47215
47216
47217
47218
47219
47220
47221
47222
47223
47224
47225
47226
47227
47228
47229
47230
47231
47232
47233
47234
47235
47236
47237
47238
47239
47240
47241
47242
47243
47244
47245
47246
47247
47248
47249
47250
47251
47252
47253
47254
47255
47256
47257
47258
47259
47260
47261
47262
47263
47264
47265
47266
47267
47268
47269
47270
47271
47272
47273
47274
47275
47276
47277
47278
47279
47280
47281
47282
47283
47284
47285
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296
47297
47298
47299
47300
47301
47302
47303
47304
47305
47306
47307
47308
47309
47310
47311
47312
47313
47314
47315
47316
47317
47318
47319
47320
47321
47322
47323
47324
47325
47326
47327
47328
47329
47330
47331
47332
47333
47334
47335
47336
47337
47338
47339
47340
47341
47342
47343
47344
47345
47346
47347
47348
47349
47350
47351
47352
47353
47354
47355
47356
47357
47358
47359
47360
47361
47362
47363
47364
47365
47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
47386
47387
47388
47389
47390
47391
47392
47393
47394
47395
47396
47397
47398
47399
47400
47401
47402
47403
47404
47405
47406
47407
47408
47409
47410
47411
47412
47413
47414
47415
47416
47417
47418
47419
47420
47421
47422
47423
47424
47425
47426
47427
47428
47429
47430
47431
47432
47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
47447
47448
47449
47450
47451
47452
47453
47454
47455
47456
47457
47458
47459
47460
47461
47462
47463
47464
47465
47466
47467
47468
47469
47470
47471
47472
47473
47474
47475
47476
47477
47478
47479
47480
47481
47482
47483
47484
47485
47486
47487
47488
47489
47490
47491
47492
47493
47494
47495
47496
47497
47498
47499
47500
47501
47502
47503
47504
47505
47506
47507
47508
47509
47510
47511
47512
47513
47514
47515
47516
47517
47518
47519
47520
47521
47522
47523
47524
47525
47526
47527
47528
47529
47530
47531
47532
47533
47534
47535
47536
47537
47538
47539
47540
47541
47542
47543
47544
47545
47546
47547
47548
47549
47550
47551
47552
47553
47554
47555
47556
47557
47558
47559
47560
47561
47562
47563
47564
47565
47566
47567
47568
47569
47570
47571
47572
47573
47574
47575
47576
47577
47578
47579
47580
47581
47582
47583
47584
47585
47586
47587
47588
47589
47590
47591
47592
47593
47594
47595
47596
47597
47598
47599
47600
47601
47602
47603
47604
47605
47606
47607
47608
47609
47610
47611
47612
47613
47614
47615
47616
47617
47618
47619
47620
47621
47622
47623
47624
47625
47626
47627
47628
47629
47630
47631
47632
47633
47634
47635
47636
47637
47638
47639
47640
47641
47642
47643
47644
47645
47646
47647
47648
47649
47650
47651
47652
47653
47654
47655
47656
47657
47658
47659
47660
47661
47662
47663
47664
47665
47666
47667
47668
47669
47670
47671
47672
47673
47674
47675
47676
47677
47678
47679
47680
47681
47682
47683
47684
47685
47686
47687
47688
47689
47690
47691
47692
47693
47694
47695
47696
47697
47698
47699
47700
47701
47702
47703
47704
47705
47706
47707
47708
47709
47710
47711
47712
47713
47714
47715
47716
47717
47718
47719
47720
47721
47722
47723
47724
47725
47726
47727
47728
47729
47730
47731
47732
47733
47734
47735
47736
47737
47738
47739
47740
47741
47742
47743
47744
47745
47746
47747
47748
47749
47750
47751
47752
47753
47754
47755
47756
47757
47758
47759
47760
47761
47762
47763
47764
47765
47766
47767
47768
47769
47770
47771
47772
47773
47774
47775
47776
47777
47778
47779
47780
47781
47782
47783
47784
47785
47786
47787
47788
47789
47790
47791
47792
47793
47794
47795
47796
47797
47798
47799
47800
47801
47802
47803
47804
47805
47806
47807
47808
47809
47810
47811
47812
47813
47814
47815
47816
47817
47818
47819
47820
47821
47822
47823
47824
47825
47826
47827
47828
47829
47830
47831
47832
47833
47834
47835
47836
47837
47838
47839
47840
47841
47842
47843
47844
47845
47846
47847
47848
47849
47850
47851
47852
47853
47854
47855
47856
47857
47858
47859
47860
47861
47862
47863
47864
47865
47866
47867
47868
47869
47870
47871
47872
47873
47874
47875
47876
47877
47878
47879
47880
47881
47882
47883
47884
47885
47886
47887
47888
47889
47890
47891
47892
47893
47894
47895
47896
47897
47898
47899
47900
47901
47902
47903
47904
47905
47906
47907
47908
47909
47910
47911
47912
47913
47914
47915
47916
47917
47918
47919
47920
47921
47922
47923
47924
47925
47926
47927
47928
47929
47930
47931
47932
47933
47934
47935
47936
47937
47938
47939
47940
47941
47942
47943
47944
47945
47946
47947
47948
47949
47950
47951
47952
47953
47954
47955
47956
47957
47958
47959
47960
47961
47962
47963
47964
47965
47966
47967
47968
47969
47970
47971
47972
47973
47974
47975
47976
47977
47978
47979
47980
47981
47982
47983
47984
47985
47986
47987
47988
47989
47990
47991
47992
47993
47994
47995
47996
47997
47998
47999
48000
48001
48002
48003
48004
48005
48006
48007
48008
48009
48010
48011
48012
48013
48014
48015
48016
48017
48018
48019
48020
48021
48022
48023
48024
48025
48026
48027
48028
48029
48030
48031
48032
48033
48034
48035
48036
48037
48038
48039
48040
48041
48042
48043
48044
48045
48046
48047
48048
48049
48050
48051
48052
48053
48054
48055
48056
48057
48058
48059
48060
48061
48062
48063
48064
48065
48066
48067
48068
48069
48070
48071
48072
48073
48074
48075
48076
48077
48078
48079
48080
48081
48082
48083
48084
48085
48086
48087
48088
48089
48090
48091
48092
48093
48094
48095
48096
48097
48098
48099
48100
48101
48102
48103
48104
48105
48106
48107
48108
48109
48110
48111
48112
48113
48114
48115
48116
48117
48118
48119
48120
48121
48122
48123
48124
48125
48126
48127
48128
48129
48130
48131
48132
48133
48134
48135
48136
48137
48138
48139
48140
48141
48142
48143
48144
48145
48146
48147
48148
48149
48150
48151
48152
48153
48154
48155
48156
48157
48158
48159
48160
48161
48162
48163
48164
48165
48166
48167
48168
48169
48170
48171
48172
48173
48174
48175
48176
48177
48178
48179
48180
48181
48182
48183
48184
48185
48186
48187
48188
48189
48190
48191
48192
48193
48194
48195
48196
48197
48198
48199
48200
48201
48202
48203
48204
48205
48206
48207
48208
48209
48210
48211
48212
48213
48214
48215
48216
48217
48218
48219
48220
48221
48222
48223
48224
48225
48226
48227
48228
48229
48230
48231
48232
48233
48234
48235
48236
48237
48238
48239
48240
48241
48242
48243
48244
48245
48246
48247
48248
48249
48250
48251
48252
48253
48254
48255
48256
48257
48258
48259
48260
48261
48262
48263
48264
48265
48266
48267
48268
48269
48270
48271
48272
48273
48274
48275
48276
48277
48278
48279
48280
48281
48282
48283
48284
48285
48286
48287
48288
48289
48290
48291
48292
48293
48294
48295
48296
48297
48298
48299
48300
48301
48302
48303
48304
48305
48306
48307
48308
48309
48310
48311
48312
48313
48314
48315
48316
48317
48318
48319
48320
48321
48322
48323
48324
48325
48326
48327
48328
48329
48330
48331
48332
48333
48334
48335
48336
48337
48338
48339
48340
48341
48342
48343
48344
48345
48346
48347
48348
48349
48350
48351
48352
48353
48354
48355
48356
48357
48358
48359
48360
48361
48362
48363
48364
48365
48366
48367
48368
48369
48370
48371
48372
48373
48374
48375
48376
48377
48378
48379
48380
48381
48382
48383
48384
48385
48386
48387
48388
48389
48390
48391
48392
48393
48394
48395
48396
48397
48398
48399
48400
48401
48402
48403
48404
48405
48406
48407
48408
48409
48410
48411
48412
48413
48414
48415
48416
48417
48418
48419
48420
48421
48422
48423
48424
48425
48426
48427
48428
48429
48430
48431
48432
48433
48434
48435
48436
48437
48438
48439
48440
48441
48442
48443
48444
48445
48446
48447
48448
48449
48450
48451
48452
48453
48454
48455
48456
48457
48458
48459
48460
48461
48462
48463
48464
48465
48466
48467
48468
48469
48470
48471
48472
48473
48474
48475
48476
48477
48478
48479
48480
48481
48482
48483
48484
48485
48486
48487
48488
48489
48490
48491
48492
48493
48494
48495
48496
48497
48498
48499
48500
48501
48502
48503
48504
48505
48506
48507
48508
48509
48510
48511
48512
48513
48514
48515
48516
48517
48518
48519
48520
48521
48522
48523
48524
48525
48526
48527
48528
48529
48530
48531
48532
48533
48534
48535
48536
48537
48538
48539
48540
48541
48542
48543
48544
48545
48546
48547
48548
48549
48550
48551
48552
48553
48554
48555
48556
48557
48558
48559
48560
48561
48562
48563
48564
48565
48566
48567
48568
48569
48570
48571
48572
48573
48574
48575
48576
48577
48578
48579
48580
48581
48582
48583
48584
48585
48586
48587
48588
48589
48590
48591
48592
48593
48594
48595
48596
48597
48598
48599
48600
48601
48602
48603
48604
48605
48606
48607
48608
48609
48610
48611
48612
48613
48614
48615
48616
48617
48618
48619
48620
48621
48622
48623
48624
48625
48626
48627
48628
48629
48630
48631
48632
48633
48634
48635
48636
48637
48638
48639
48640
48641
48642
48643
48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
48657
48658
48659
48660
48661
48662
48663
48664
48665
48666
48667
48668
48669
48670
48671
48672
48673
48674
48675
48676
48677
48678
48679
48680
48681
48682
48683
48684
48685
48686
48687
48688
48689
48690
48691
48692
48693
48694
48695
48696
48697
48698
48699
48700
48701
48702
48703
48704
48705
48706
48707
48708
48709
48710
48711
48712
48713
48714
48715
48716
48717
48718
48719
48720
48721
48722
48723
48724
48725
48726
48727
48728
48729
48730
48731
48732
48733
48734
48735
48736
48737
48738
48739
48740
48741
48742
48743
48744
48745
48746
48747
48748
48749
48750
48751
48752
48753
48754
48755
48756
48757
48758
48759
48760
48761
48762
48763
48764
48765
48766
48767
48768
48769
48770
48771
48772
48773
48774
48775
48776
48777
48778
48779
48780
48781
48782
48783
48784
48785
48786
48787
48788
48789
48790
48791
48792
48793
48794
48795
48796
48797
48798
48799
48800
48801
48802
48803
48804
48805
48806
48807
48808
48809
48810
48811
48812
48813
48814
48815
48816
48817
48818
48819
48820
48821
48822
48823
48824
48825
48826
48827
48828
48829
48830
48831
48832
48833
48834
48835
48836
48837
48838
48839
48840
48841
48842
48843
48844
48845
48846
48847
48848
48849
48850
48851
48852
48853
48854
48855
48856
48857
48858
48859
48860
48861
48862
48863
48864
48865
48866
48867
48868
48869
48870
48871
48872
48873
48874
48875
48876
48877
48878
48879
48880
48881
48882
48883
48884
48885
48886
48887
48888
48889
48890
48891
48892
48893
48894
48895
48896
48897
48898
48899
48900
48901
48902
48903
48904
48905
48906
48907
48908
48909
48910
48911
48912
48913
48914
48915
48916
48917
48918
48919
48920
48921
48922
48923
48924
48925
48926
48927
48928
48929
48930
48931
48932
48933
48934
48935
48936
48937
48938
48939
48940
48941
48942
48943
48944
48945
48946
48947
48948
48949
48950
48951
48952
48953
48954
48955
48956
48957
48958
48959
48960
48961
48962
48963
48964
48965
48966
48967
48968
48969
48970
48971
48972
48973
48974
48975
48976
48977
48978
48979
48980
48981
48982
48983
48984
48985
48986
48987
48988
48989
48990
48991
48992
48993
48994
48995
48996
48997
48998
48999
49000
49001
49002
49003
49004
49005
49006
49007
49008
49009
49010
49011
49012
49013
49014
49015
49016
49017
49018
49019
49020
49021
49022
49023
49024
49025
49026
49027
49028
49029
49030
49031
49032
49033
49034
49035
49036
49037
49038
49039
49040
49041
49042
49043
49044
49045
49046
49047
49048
49049
49050
49051
49052
49053
49054
49055
49056
49057
49058
49059
49060
49061
49062
49063
49064
49065
49066
49067
49068
49069
49070
49071
49072
49073
49074
49075
49076
49077
49078
49079
49080
49081
49082
49083
49084
49085
49086
49087
49088
49089
49090
49091
49092
49093
49094
49095
49096
49097
49098
49099
49100
49101
49102
49103
49104
49105
49106
49107
49108
49109
49110
49111
49112
49113
49114
49115
49116
49117
49118
49119
49120
49121
49122
49123
49124
49125
49126
49127
49128
49129
49130
49131
49132
49133
49134
49135
49136
49137
49138
49139
49140
49141
49142
49143
49144
49145
49146
49147
49148
49149
49150
49151
49152
49153
49154
49155
49156
49157
49158
49159
49160
49161
49162
49163
49164
49165
49166
49167
49168
49169
49170
49171
49172
49173
49174
49175
49176
49177
49178
49179
49180
49181
49182
49183
49184
49185
49186
49187
49188
49189
49190
49191
49192
49193
49194
49195
49196
49197
49198
49199
49200
49201
49202
49203
49204
49205
49206
49207
49208
49209
49210
49211
49212
49213
49214
49215
49216
49217
49218
49219
49220
49221
49222
49223
49224
49225
49226
49227
49228
49229
49230
49231
49232
49233
49234
49235
49236
49237
49238
49239
49240
49241
49242
49243
49244
49245
49246
49247
49248
49249
49250
49251
49252
49253
49254
49255
49256
49257
49258
49259
49260
49261
49262
49263
49264
49265
49266
49267
49268
49269
49270
49271
49272
49273
49274
49275
49276
49277
49278
49279
49280
49281
49282
49283
49284
49285
49286
49287
49288
49289
49290
49291
49292
49293
49294
49295
49296
49297
49298
49299
49300
49301
49302
49303
49304
49305
49306
49307
49308
49309
49310
49311
49312
49313
49314
49315
49316
49317
49318
49319
49320
49321
49322
49323
49324
49325
49326
49327
49328
49329
49330
49331
49332
49333
49334
49335
49336
49337
49338
49339
49340
49341
49342
49343
49344
49345
49346
49347
49348
49349
49350
49351
49352
49353
49354
49355
49356
49357
49358
49359
49360
49361
49362
49363
49364
49365
49366
49367
49368
49369
49370
49371
49372
49373
49374
49375
49376
49377
49378
49379
49380
49381
49382
49383
49384
49385
49386
49387
49388
49389
49390
49391
49392
49393
49394
49395
49396
49397
49398
49399
49400
49401
49402
49403
49404
49405
49406
49407
49408
49409
49410
49411
49412
49413
49414
49415
49416
49417
49418
49419
49420
49421
49422
49423
49424
49425
49426
49427
49428
49429
49430
49431
49432
49433
49434
49435
49436
49437
49438
49439
49440
49441
49442
49443
49444
49445
49446
49447
49448
49449
49450
49451
49452
49453
49454
49455
49456
49457
49458
49459
49460
49461
49462
49463
49464
49465
49466
49467
49468
49469
49470
49471
49472
49473
49474
49475
49476
49477
49478
49479
49480
49481
49482
49483
49484
49485
49486
49487
49488
49489
49490
49491
49492
49493
49494
49495
49496
49497
49498
49499
49500
49501
49502
49503
49504
49505
49506
49507
49508
49509
49510
49511
49512
49513
49514
49515
49516
49517
49518
49519
49520
49521
49522
49523
49524
49525
49526
49527
49528
49529
49530
49531
49532
49533
49534
49535
49536
49537
49538
49539
49540
49541
49542
49543
49544
49545
49546
49547
49548
49549
49550
49551
49552
49553
49554
49555
49556
49557
49558
49559
49560
49561
49562
49563
49564
49565
49566
49567
49568
49569
49570
49571
49572
49573
49574
49575
49576
49577
49578
49579
49580
49581
49582
49583
49584
49585
49586
49587
49588
49589
49590
49591
49592
49593
49594
49595
49596
49597
49598
49599
49600
49601
49602
49603
49604
49605
49606
49607
49608
49609
49610
49611
49612
49613
49614
49615
49616
49617
49618
49619
49620
49621
49622
49623
49624
49625
49626
49627
49628
49629
49630
49631
49632
49633
49634
49635
49636
49637
49638
49639
49640
49641
49642
49643
49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
49663
49664
49665
49666
49667
49668
49669
49670
49671
49672
49673
49674
49675
49676
49677
49678
49679
49680
49681
49682
49683
49684
49685
49686
49687
49688
49689
49690
49691
49692
49693
49694
49695
49696
49697
49698
49699
49700
49701
49702
49703
49704
49705
49706
49707
49708
49709
49710
49711
49712
49713
49714
49715
49716
49717
49718
49719
49720
49721
49722
49723
49724
49725
49726
49727
49728
49729
49730
49731
49732
49733
49734
49735
49736
49737
49738
49739
49740
49741
49742
49743
49744
49745
49746
49747
49748
49749
49750
49751
49752
49753
49754
49755
49756
49757
49758
49759
49760
49761
49762
49763
49764
49765
49766
49767
49768
49769
49770
49771
49772
49773
49774
49775
49776
49777
49778
49779
49780
49781
49782
49783
49784
49785
49786
49787
49788
49789
49790
49791
49792
49793
49794
49795
49796
49797
49798
49799
49800
49801
49802
49803
49804
49805
49806
49807
49808
49809
49810
49811
49812
49813
49814
49815
49816
49817
49818
49819
49820
49821
49822
49823
49824
49825
49826
49827
49828
49829
49830
49831
49832
49833
49834
49835
49836
49837
49838
49839
49840
49841
49842
49843
49844
49845
49846
49847
49848
49849
49850
49851
49852
49853
49854
49855
49856
49857
49858
49859
49860
49861
49862
49863
49864
49865
49866
49867
49868
49869
49870
49871
49872
49873
49874
49875
49876
49877
49878
49879
49880
49881
49882
49883
49884
49885
49886
49887
49888
49889
49890
49891
49892
49893
49894
49895
49896
49897
49898
49899
49900
49901
49902
49903
49904
49905
49906
49907
49908
49909
49910
49911
49912
49913
49914
49915
49916
49917
49918
49919
49920
49921
49922
49923
49924
49925
49926
49927
49928
49929
49930
49931
49932
49933
49934
49935
49936
49937
49938
49939
49940
49941
49942
49943
49944
49945
49946
49947
49948
49949
49950
49951
49952
49953
49954
49955
49956
49957
49958
49959
49960
49961
49962
49963
49964
49965
49966
49967
49968
49969
49970
49971
49972
49973
49974
49975
49976
49977
49978
49979
49980
49981
49982
49983
49984
49985
49986
49987
49988
49989
49990
49991
49992
49993
49994
49995
49996
49997
49998
49999
50000
50001
50002
50003
50004
50005
50006
50007
50008
50009
50010
50011
50012
50013
50014
50015
50016
50017
50018
50019
50020
50021
50022
50023
50024
50025
50026
50027
50028
50029
50030
50031
50032
50033
50034
50035
50036
50037
50038
50039
50040
50041
50042
50043
50044
50045
50046
50047
50048
50049
50050
50051
50052
50053
50054
50055
50056
50057
50058
50059
50060
50061
50062
50063
50064
50065
50066
50067
50068
50069
50070
50071
50072
50073
50074
50075
50076
50077
50078
50079
50080
50081
50082
50083
50084
50085
50086
50087
50088
50089
50090
50091
50092
50093
50094
50095
50096
50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
50111
50112
50113
50114
50115
50116
50117
50118
50119
50120
50121
50122
50123
50124
50125
50126
50127
50128
50129
50130
50131
50132
50133
50134
50135
50136
50137
50138
50139
50140
50141
50142
50143
50144
50145
50146
50147
50148
50149
50150
50151
50152
50153
50154
50155
50156
50157
50158
50159
50160
50161
50162
commit 1ece6e6fd3faaae3f6c6d434497eb04235939dc3
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Sep 18 20:43:14 2017 -0600

    be more aggressive about removing and ignoring .mdwn files

commit b12e982259817328e348f1aaa91c5c824891e7b9
Merge: b1cf0dab e87d56b6
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Sep 18 20:35:00 2017 -0600

    Merge branch 'master' into branch-1.8

commit e87d56b665ca30a3e5920c23cd60c99b84341aa2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 18 18:51:51 2017 -0700

    Update release version and date
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a54b3330574dd130540e482a06a3f8d7ca652b6c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 18 18:43:00 2017 -0700

    Update docs for 1.8.2 release
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d0c1ebc43a9c5bb0a3503d33978a5e7bc87057fe
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 18 18:51:18 2017 -0700

    Add short section on accelerometer calibration

commit 60cadbc85949adf464be16a5cf8ce2c24d67bedf
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 18 14:40:37 2017 -0700

    altos/telegps-v2.0: Enable USB connect monitoring
    
    Disable radios when plugged in to USB to save power and avoid being
    noisy.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6e4c104c28952f2010c7b1cbc9ce59e148ab2d8f
Merge: 63eeaada 4f2cbe0c
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Sep 18 16:01:43 2017 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 63eeaada85cb9ddccb0fa9b2d751cc8f46399d9c
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Sep 18 16:01:21 2017 -0600

    production TeleGPS v2.0 use a 16Mhz crystal for the SOC

commit 4f2cbe0c537c9f417aae310cc3b89f84e0915103
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 18 09:57:41 2017 -0700

    altoslib: Avoid crashing when computing stats for empty flight logs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b9a00856aa4cf55ae4a143288058094ef8061134
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 18 09:57:06 2017 -0700

    telegps: Fix up TeleGPS UI bits after accel cal changes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 95952059bbb50b5f22460418df003a87c8bd3271
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 12 15:47:43 2017 -0700

    test/ao_flight_test: Show recorded pyro firing
    
    Can compare with computed values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 28a2db68e4806383cfaa7075d454c35cade9633a
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 17 12:41:50 2017 -0600

    publish support for TeleGPS v2.0

commit ad61e277069217d98400e884d3c173357d2343ed
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 14 10:51:18 2017 -0600

    deal with cheap BT dongle that shows multiple copies of unit in lescan output

commit 5666a3c9427324ad8f92e21c5f9017436b36a82a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 12 14:02:11 2017 -0700

    altosuilib: Make steps in accel cal default button
    
    This way you can just hit return through the process.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 441056b01abcf9287f61f425cf29fc4b1603c619
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 12 13:43:06 2017 -0700

    altos/test: Handle new eeprom file format. Give up on telem files.
    
    Parse eeprom config using libjson-c, then read the hex values into a
    giant blob.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit be44d33f5e94b8c4180adb275ec83cc70852db48
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 12 13:41:11 2017 -0700

    altos: Fix debug printf in ao_pyro for state >=
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 10d14146ef84fbe4670454bc0996854a4066cfea
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 12 13:40:06 2017 -0700

    chaoskey: Wait for input data to stabilize before using it
    
    The ADC data takes a while to start working after power on; wait for
    the range of input values to look reasonable before using the data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8284ba8bf78aade8f9d8f711cfefe2010ce81066
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 12 13:38:36 2017 -0700

    doc: Add forward reference from 'idle' description to idle entry steps.
    
    This provides a reminder that entering idle mode takes specific steps
    which differ between models.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8960cb525ef43c2262c7854b9a6f08237b3ea05b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 12 13:37:24 2017 -0700

    altosui: Handle missing GPS when graphing mega/metrum data
    
    These have GPS, but if we never get a valid packet, then there won't
    be any final position to display.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a4dfaf25954134dbdc7229e2de39d4a4c049f285
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 12 13:37:06 2017 -0700

    altosui: Remove debug printfs in FC config UI
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bc1cc0db1251e351d862dffbf618d0ce926c389d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 12 13:36:24 2017 -0700

    altosdroid: Display serial, call, freq in tracker list
    
    This makes the list a lot easier to find entries in when it gets long.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4151c30e1294c0dda3aa02e7ac23b9616f25a4d0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 12 13:35:25 2017 -0700

    altoslib: Make receive frequency available in telem data
    
    This lets AltosDroid record which frequency each station was heard on.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d84f5e576e83a2b965d0e9752a9bbef100954815
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 12 13:34:23 2017 -0700

    altoslib: Remove debug stack dump from AltosState
    
    An empty AltosState is allocated when parsing JSON data; it's not a
    mistake.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b48966c3121e1b5d4a659bebcad595d6f1ec5ee5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 12 13:33:13 2017 -0700

    altoslib: Correctly parse IMU cal data
    
    Was trying to match 'IMU call along' instead of 'IMU cal along',
    causing the line to not match and losing the IMU accel cal values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f607a882a50aa6cd9e8e3e74cbaa5bcc1b5fa4a4
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 6 08:37:12 2017 -0600

    ao-tools/ao-chaosread: Add -Wall -Wextra, clean up results

commit 558a143315f0345b79cc4f22aa4b643fedcded9c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 11 23:42:53 2017 -0400

    altosui: Accel calibration UI
    
    Provides a GUI for re-calibrating accelerometers
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c9a742db2497d07079f3d4bf383c6246cf80507c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 31 20:32:05 2017 -0700

    Bump to version 1.8.1.1/android 16 for altosdroid
    
    AltosDroid 1.8.1 got released before the latest fix for not storing
    frequency preferences was made. Make a 1.8.1.1 with a new android
    release number for that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6e85a8244389bffab0744be8dfa90b706f829083
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 28 15:09:14 2017 -0600

    need to capture .bin file for telebt-v4.0 loader

commit ccf7ad5a31604e98b34bf16e3da6afb264ad1291
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 28 14:01:54 2017 -0600

    a few tweaks to the Releasing document based on experience with 1.8.1

commit b1cf0dab1e28433e06ab02cec033951ea0149ea3
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 28 12:05:17 2017 -0600

    releasing 1.8.1

commit b68c0482d4fae8eb54cde1df0e4bcf4c5d272bad
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 27 22:49:09 2017 -0700

    Version 1.8.1
    
    Android version 15
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit abe100385cedf2b0734191611d97e794805d0ef4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 27 22:48:46 2017 -0700

    doc: Update for 1.8.1
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4775b1d9b50a8732d66a0ad3b73ff74901a8cb7f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 28 00:15:43 2017 -0700

    altos: Don't compute filtered average of height error when HAS_ACCEL
    
    We only use this for baro-only devices to avoid firing drogue charges
    at mach transitions; we trust the combination of accel+baro to do the
    right thing when available.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dacd4c70700041a018b1f8ba47f22071b9600eaf
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 28 00:10:04 2017 -0700

    altoslib: Fix freq preference loading
    
    Allocate throw-away freq array to get the class pointer.
    Add null-ary AltosFrequency constructor for JSON code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f5f37ac7fb71d3059f639b39315712f90e9bfd6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 27 17:37:10 2017 -0700

    altosui: Make --oneline show drogue deploy speed
    
    Also remove some commented out values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd72c9144b207b12150eb6a7ffb012f217f37374
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 27 17:35:49 2017 -0700

    altoslib: Compute speed at entry to each state
    
    Useful to have drogue/main deployment speeds
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9537a21b6ddb73b9f086858dad9a7b9d05279741
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 27 17:34:49 2017 -0700

    altoslib: Fix parsing of old TM log GPS sat data
    
    Attempting to fetch sat data from wrong byte led to array bounds
    exception.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 92b689bfd78a96ba56f0e1022ba68b7384a9b9b6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 27 17:34:07 2017 -0700

    altoslib: Allow for missing product when checking for mma655x inverted
    
    If there's no product, assume we've got some ancient log file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6e244a73d8c2a475416480f83328b7d363693402
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 27 17:33:38 2017 -0700

    altoslib: Remove debug printf for gyro adjust
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f5642db4e03856b1f2ffeae6570fcf35fb7d93fb
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 27 17:32:27 2017 -0700

    altos/test: Fake baro data for flight 12 serial 2093
    
    This flight had a baro spike due to an accidental drogue charge firing
    but is otherwise quite useful when testing for various mach delay
    effects, so fake out the data during that spike.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bef7c37d1c986cd477367c0c015be61368a788d2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 27 17:30:15 2017 -0700

    altos/test: Integrate raw accel to provide speed for comparison
    
    This can provide a useful visualization of the 'true' vs 'kalman'
    speed value, as the kalman is necessarily delayed due to the model
    assuming constant acceleration.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2dce02efd54ad4051f1ddb94048696e8677dd225
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 27 17:04:27 2017 -0700

    altos/test: telemetrum baro data is inverted before being written to eeprom
    
    No need for the test code to invert it during replay
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ea6fe21d78744d7e6225a56c369d54f7cd956767
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 26 19:16:47 2017 -0700

    altos: Don't eliminate baro above mach speed, just trust it less
    
    Instead of completely eliminating the baro sensor above mach speed,
    just derate it a bit so that the accel will dominate for speed
    computation and keep the device from false-triggering across mach
    transitions.
    
    When we completely ignored the baro sensor above mach, and the flight
    spent considerable time in that speed range, then the estimated height
    could be far from the real value. When the estimated speed dropped
    back down and the baro values were brought back into the computation,
    then the resulting rapid shift in estimated speed could trigger
    accidental apogee detection.
    
    By mixing in a bit of baro data even above mach, we keep the estimated
    height closer to the baro value and prevent this error, at least in
    flights measured so far.
    
    The flight known to have this problem is:
    
            2015-09-26-serial-2093-flight-0012.eeprom
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 12ef994a24eb996458092dc35c671d6b824b1576
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 27 16:57:13 2017 -0700

    altos: Eliminate separate height error filter for accelerometer devices
    
    We don't use the error value in flight for those models anyways; it's
    only useful on baro-only hardware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f972000642f9c9835a0b7d14155d4c5695455d94
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 26 19:15:59 2017 -0700

    altosui: Add --oneline mode to briefly summarize flights
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 465bb7242f39f6f8489e5fd52ce88031106c1c76
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 26 19:15:07 2017 -0700

    altosuilib: Add "Huge" font size
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3dde7f4d05414ac4907c91c68c88cc1d06233605
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 26 19:14:10 2017 -0700

    micropeak: Track font changes in raw data display
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cf20e213f39fb24f15e0ac94307c2d138fcadecb
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 24 16:45:54 2017 -0700

    altos: Perform time comparisons using 16-bit arithmetic to handle wrap
    
    Subtracting two 16-bit unsigned values to perform time comparisons
    yields mystic results unless we carefully cast that to int16_t.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 43e2275250d9c91560a770942f3c06a8f74ed501
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 12 01:37:07 2017 -0400

    install: Add 'fat-install' target
    
    This uses the existing --with-fat-dir option and instead of installing
    everything to that directory, creates a normal ikiwiki hierarchy of
    files including .mdwn files, whacked release notes html files and all
    of the appropriate packages.
    
    One stop shopping for adding the release to the web site.
    
    Attempted to update Releasing file to match.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fccfa54bb3b746cecfcdc1fd497cf736bbfe3ef3
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Aug 12 00:23:27 2017 -0400

    releasing 1.8

commit dbcb68f684a96d13efeb9993685f61b27b45e7dc
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Aug 12 00:21:43 2017 -0400

    update docinfo file for 1.8 release

commit dfb9568866ba250a02039cc3429d5ca0603a60d9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 12 00:10:23 2017 -0400

    Note that telebt 4.0 files need to go to altusmetrumllc dir
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6b083e90d5b8de215f2f303f18b5c4ac9185622d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 12 00:06:48 2017 -0400

    Bump version to 1.8
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 243c1e519d41b45765d4edf5f608655d6ab01eff
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 12 00:06:26 2017 -0400

    doc: Add 1.8 release notes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7b67dcdd90317845261e51a1adb2404dcb0f2507
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 12 00:05:50 2017 -0400

    altosui, telegps: Add TeleBT v4.0 firmware to app packages
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5fdce5b4a70ae59f8ac1ca10d9fadbbbd62412f3
Merge: f1bbf1bd 2a3db289
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 11 23:45:25 2017 -0400

    Merge remote-tracking branch 'origin/master'

commit f1bbf1bd18d52a084af714a022b12bfc3c76374c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 11 23:40:41 2017 -0400

    ao-bringup: Allow dfu_util to "fail" while flashing chaoskey
    
    Sometimes it isn't happy about the exit status, but if the device
    comes up and works OK, we don't care.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fbe87bd18308cab62eda6d5e956a8618095ed33b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 11 23:39:13 2017 -0400

    altoslib: Set time in state for KML output correctly
    
    Use new computed state_time value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c7b34e6691b632199bc7802c2e4dea4de992578e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 23 16:49:26 2017 -0700

    libaltos: Test both bluetooth and USB APIs with cjnitest
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 52bbfa9cd46ca27a4de937e89d48246a4e94c8a6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 23 16:47:40 2017 -0700

    altos/test: Fix AES key format in test code
    
    Use temp variable instead of stepping on the AES name.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9eaf917707287af57c2dadfc82d6d415b0964329
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 23 16:46:24 2017 -0700

    altos/test: Fix printf format for int64 arithmetic test
    
    Use 'long long' and %lld for 64-bit values when printing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 198a3d4d5f51de5c0f0413299582479cde4e177f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 23 16:37:27 2017 -0700

    altosui: Rename AltosConfig -> AltosConfigFC
    
    Now the class name says that this configures the flight computer.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c7c2fc2d85414fefda0a7948a6c4e38f65140861
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 23 16:38:09 2017 -0700

    altosui: Adapt to flight stats time value changes
    
    There aren't state time values anymore as those don't work when you
    have multiple motors. Instead, 'boost_time' is when the rocket left
    the pad and 'landed_time' is when it touched down. Use these new
    values in the --summary output.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2a3db28953f5cd981c519a917cdcd9f48dcb08e9
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jul 21 17:49:21 2017 -0600

    add TeleBT v4.0 to the list of stuff we build

commit 04560a7cd6a64e742954a2d0fbd7563e2c310402
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jul 21 17:46:55 2017 -0600

    ignore more build products in telebt-v4.0 tree

commit c8dbcaf69cd538a31ab6e2b568237ae7c8656a9a
Merge: 0cbfa444 ea3b5815
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jul 21 17:44:03 2017 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 0cbfa444a9f9159cb509bb47ca5590fc1d709f64
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jul 21 17:43:38 2017 -0600

    clean up telefireone name references

commit 3a1512b605a81ebee23cc6b7980b709a54cb43c9
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jul 21 17:42:54 2017 -0600

    rename existing turnon_telebt script, create a new one for v4.0

commit ea3b5815b27005b2f4c3034715f656d28ea8534e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 21 16:16:55 2017 -0700

    libaltos: Add btle test program
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 545bdc1f8046b08e237307d97d0044ddae9095b8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 21 16:14:31 2017 -0700

    altos/test: Add EasyMini test mode
    
    Use baro-only mode, parse easymini logs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2969f0af52dfbdea7593b208e510c7b17227064c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 21 16:09:55 2017 -0700

    altoslib: fix adjustment of landed time
    
    Push landed time out if we computed silliness.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 30b308ad0189b4aa9dd5cc7ee876b55fee355a56
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 21 16:05:45 2017 -0700

    Set version to 1.7.1 for TeleBT firmware build
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b923e25a8a49dda40e62070dd2df6ff9130d4b38
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 27 23:39:16 2017 -0700

    altos/telebt-v4.0: Use HW flow control to BT module
    
    Now that the stmf0 HW flow control works...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e64438271e481ca9f9eeb0ce2b1f9eca071b7ad4
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 27 23:37:49 2017 -0700

    altos/stmf0: Initialize UART RTS/CTS before turning it on
    
    If you try this after the UART is running, it won't work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 46ff12a88136d3c274610255a918870aff9328cd
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 27 23:36:05 2017 -0700

    altoslib: Deal with multiple motors in flight stats
    
    Combine boost/fast/coast sections when computing ascent stats.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 13abb6739ae9be5a8733724c5d9b3f714f32bea4
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 27 21:37:50 2017 -0700

    altoslib: Fix comments in AltosQuaternion and AltosRotation
    
    Especially the nested comment which borked the compile
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5a174f4a2caae97b5038eb92ab85303e736b7c2e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 27 21:33:36 2017 -0700

    altosdroid: cal_data is no longer public from AltosState
    
    Use cal_data() method instead.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6dbb362b2d1df4d8c2d301e90624aceef8051ef5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 22 10:10:06 2017 -0700

    altoslib: Clean up quaternion and rotation interfaces
    
    Export euler to quaternion (instead of half_euler).
    Provide angles to rotate rather than rates and time.
    Add comments to quaternion and rotation code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ea7e236e75452e27f3af6730a0542850851eb23d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 20 11:19:40 2017 -0700

    altos/rn4678: Add BLE support
    
    This just means ignoring the BLE connect status message.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0da4e201041a4420f273c2e0cda77eea78099518
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 20 11:18:41 2017 -0700

    altoslib: Make cal_data private in AltosDataListener
    
    This way we can create it as needed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a61217f0a6d0ef48b6471f632c4600255867e831
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 13 10:58:57 2017 -0700

    altoslib,altosuilib: Bump library version numbers
    
    The API and ABI have changed a bit since 1.7
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e2fe220efe2ba375ddd925747a630c30c17d3bef
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 13 10:50:37 2017 -0700

    altosuilib: Rename AltosGraphNew to AltosGraph
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3f9b6d23e4e33a58c179f45ffd42211ab327d8c6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 13 10:47:54 2017 -0700

    altosuilib: Rename AltosUIGraphNew to AltosUIGraph
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e4f1fa544f1cb21070c9d79c81ebae0fb71d77db
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 13 10:46:03 2017 -0700

    altoslib: Rename AltosEepromNew to AltosEeprom
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0e586ab3604bb695c36ae86c95f533197522fc65
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 13 10:38:13 2017 -0700

    altoslib: Remove old AltosEeprom.java code
    
    No longer in use
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 672889659fb2c1a63f5ef199173719a606a9f343
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 13 10:35:39 2017 -0700

    altos/telebt-4.0: Add dependency on RN4678 header
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cd8b22bef0a88ed6881036b4c6718a4e33c55d41
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 13 10:34:03 2017 -0700

    altos: Add timeout to RN4678 status message code
    
    If we see the start of an RN4678 status message, but then output
    pauses, assume that this isn't the start of a status message and flush
    the pending data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 172d6cec981b50d4d5ff0f3d3bbd4377d55f57c8
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 12 21:47:05 2017 -0700

    altosuilib: Don't display pad, last location in flight stats without gps
    
    Check stats.have_gps before displaying pad and last known location values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5eb91267348b0992414521520eda5c3a65e23ea7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 12 21:46:11 2017 -0700

    altoslib: Set time for TeleMini v1.0 eeprom analysing
    
    Need to take the computed tick time and tell the listener what time
    that cooresponds to.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ee221ddf00f631a5f9d5d93468bfc697a26e4cfe
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 23:13:07 2017 -0700

    altosui, telegps, altosdroid: say ground distance, not total range
    
    Ground distance is more useful in predicting recovery than total range.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cb1e757d4d486d04af0219b3f36ad17ee8095110
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 23:10:49 2017 -0700

    altoslib: Initialize new imu/mag values. Remove stale imu/mag objects.
    
    AltosState no longer has imu and mag objects, instead it just holds
    the values now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 247fa1c669f987830540e618bf263b08284118df
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 22:52:56 2017 -0700

    altosui: Display current altitude in monitor idle Pad tab
    
    This was attempting to use 'pad' values even though monitor idle
    doesn't have them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 03ec3e4c2247b6520c728b34805ad500be547a25
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 22:50:57 2017 -0700

    altoslib: Remove unused 'ground_rotation' from AltosState
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97b42b7cd676232f13354798726f3087fa7177d5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 22:50:28 2017 -0700

    altoslib: Flush igniter fire command
    
    This makes the igniter fire without a multi-second delay.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5c4e473ef5d13da9c2f356702cb8767b55aa2137
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 22:49:46 2017 -0700

    altoslib: Hook up idle monitoring data again
    
    The API for idle monitoring changed, but these modules hadn't been
    fixed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 27131ec7abda875595c61be0b151b73eb28afab9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 22:47:53 2017 -0700

    altoslib: Fix labels in AltosIMU to match source data
    
    IMU bits arrive with X/Y/Z labels and are converted to the correct
    axes as they leave this object.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 43f8470dc66392dae4770882bfc6ad25b1d75436
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 22:47:02 2017 -0700

    altoslib: Keep time series in AltosFlightSeries array sorted
    
    This makes using the graph way easier.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3fa1eadb91eea001342d2d357d7aaf661e8a2a5d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 22:46:01 2017 -0700

    altoslib: Handle EasyMini v2.0 ADC values
    
    Different from EasyMini v1.0
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9454756f54312381927cb9faf1c4a6f5d8271034
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 22:43:57 2017 -0700

    altos: Create separate log format for EasyMini v2.0
    
    The ADC in the STM32F0 is different than the LPC, with a range of
    0-4095 instead of 0-32767.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ffbacb4ba9fc52de18bc54eb0d4b9e4f015ad1a4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 22:42:25 2017 -0700

    altoslib: Missing config values now AltosLib.MISSING, not zero or negative
    
    Also fix AltosConfigData.java
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8da38e5217f366a7da24a8af4a5ca620fad35df3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 22:39:53 2017 -0700

    altoslib: Adapt to Mag sensor value ordering changes
    
    The HMC5883 sensor data is ordered x, z, y. Relabel everything to
    match that to preserve compatibility with existing firmware. With the
    data correctly ordered, fix the labling of the axes along, across and
    through.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2a05849c3bf8c1617409237be48802dd6fc6255b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 22:34:11 2017 -0700

    altos: HMC5883 output order is X Z Y
    
    Re-label everything to have the correct names. This doesn't actually
    change the code at all, so the eeprom and telemetry is all compatible.
    
    Matching changes on the host side will be required to actually process
    the data correctly, of course.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fed48732828c85ae56106cd72c5aeaaad47c552f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 22:31:17 2017 -0700

    altos: Update sensor data atomically
    
    Read data into a temp variable, block interrupts, then update the
    published value.
    
    The bug is easy to see with the HMC5883 which has to byte-swap the
    output of the chip, and hence can occasionally get caught with the
    wrong byte order data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 171adbe7db8520f5ff52a5fe2c54fe165c6f91f8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 11 16:11:09 2017 -0700

    altoslib, altosuilib, altosui, telegps: Missing config values now MISSING
    
    Config values that didn't apply to the current product used to get set
    to -1, but now they're set to AltosLib.MISSING to be consistent with
    the rest of the code. Deal with this in the UI bits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit af6ce9a142d001f3b9b83cf6527f4dc848e94d48
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 8 20:39:06 2017 -0700

    altoslib: Compute 'vertical acceleration' for eeprom files
    
    This uses the computed orientation to find the portion of the measured
    acceleration which is vertical and then shows that in the post-flight
    analysis graph.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 32de85691f2e4ed1430a259e05a514ad820b32d9
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 8 20:37:58 2017 -0700

    altoslib: Compute orientation from eeprom data files
    
    This was lost in the AltosFlightSeries transformation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4c5acb57d7ac1abec7bb4cda9dc88c2a19767a2d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 16:53:43 2017 -0700

    altoslib,altosuilib: Remove stale source files
    
    These aren't built any longer
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b3cd7590f35babc346ba245d32d6290f22b2a13f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 16:53:03 2017 -0700

    altoslib: Check for valid pad alt before computing GPS height series
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93ec97cbae5a16d971b9e757c167bef9a5a80629
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 16:52:28 2017 -0700

    altoslib: Add status back to AltosFlightSeries for CSV export
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8ec59ee5a6dda114ff55a4af4669842eed5ef79a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 16:15:17 2017 -0700

    altoslib: Don't record radio status values in flight series
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4b07adb395f2949dc76275d87b8af10430badb4b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 16:14:53 2017 -0700

    altoslib: When no boost tick is found, just use first tick in file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 78b4bf77fca96bef2cce443ad4c9544ae83f0acc
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 15:52:17 2017 -0700

    altoslib: Reset transient AltosCalData values before processing data
    
    Values in cal_data which are used to hold intermediate results need to
    get reset back to their initial values before processing a series of
    flight data again.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dcf533d5befffa4c9c872f3c3d21d11ffeb61307
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 15:51:56 2017 -0700

    altoslib: Don't record 'pad' state in FlightSeries
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9748d267b80e42ca52f9221900bb58602759a8d2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 15:28:29 2017 -0700

    altosuilib: Set graph title to include product/serial/flight info
    
    Better than "Flight"
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9a92ccbd3e5ce640875b614ff14d549cccc2036c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 15:27:45 2017 -0700

    altoslib: Only compute state stats for recorded states
    
    Missing states shouldn't get stats; they 'didn't happen'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4161d9e9e5b4cbd71ec6d982d26ea566a69726c3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 15:26:51 2017 -0700

    altoslib: Clean up gps series logging
    
    Create each gps series only when data are avaiable.
    Compute gps height series shen series is finished.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8d6376c673af4648d494c1be71ad40380667bd25
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 15:26:11 2017 -0700

    altoslib: AltosFlightSeries ignore missing accel/pressure
    
    missing accel often comes from invalid cal data; easier to check here.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 15e3f2dae15e41a8501e3e1d221536751af15f94
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 15:25:35 2017 -0700

    altoslib: Remove debug printfs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 355bb4669da05d202054b8265695e9878fd612c2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 15:21:53 2017 -0700

    altoslib: Ignore invalid accel cal values
    
    When both are the same, something is wrong.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bd7dd6f5adbe25708ba0276444196964f66b3c4a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 14:42:30 2017 -0700

    altoslib: Check for empty gps height series
    
    When the gps height series is present but empty, there won't be a max value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1b91ba98395a431385c9af5de77b2892fd6ccc43
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 14:41:42 2017 -0700

    altoslib: Use first pressure value if no ground pressure available
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e0f25bcb8c036330e80c1254ab67f0bf323a4a98
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 14:33:28 2017 -0700

    altoslib: Handle eeprom tick wrapping
    
    Need to deal with eeprom files with tick values that cross the 16-bit
    barrier.
    Use 'wide_tick' to order eeprom record.
    Remeber 'prev_tick' to order cal data time sequence.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c075227c3a3c7714fe6f9d48c14dafaf4fed8e5e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 14:03:51 2017 -0700

    altosuilib: Display product/firmware version in stats table
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 18f1dd64fe4ad94cbe292fffdc25167ae68c6611
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 14:02:51 2017 -0700

    altoslib: Adjust boost/landed time in flight series for display
    
    Makes the presented values match those used in the stats computation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2c2eb1a15e745bb67721a1e3d84fb2fc0ce64eb1
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 14:02:11 2017 -0700

    altoslib: Add constants for speed/accel filtering
    
    With an eye towards letting the user pick.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit da914cd72411af8c36af05b13c11b9093c8a378c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 14:00:15 2017 -0700

    altoslib: Create data file open helper in AltosLib
    
    Use InputStream everywhere, instead of Reader.
    Create private string input stream as java one is deprecated.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9e1295ff74d03f940fc68e6795bf30687162a440
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 28 13:58:05 2017 -0700

    altoslib: Extract a few more values from config to cal_data
    
    Make it possible to display model/version data in the flight stats table.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e4407afb514437ccd8db79ae29c6fa203140fa07
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 27 23:42:52 2017 -0700

    altoslib: Recover from a couple of API changes
    
    Nothing serious.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c0af53c03d7945f7400496216ee259d73fb04843
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 27 23:35:02 2017 -0700

    micropeak: Use altoslib/altosuilib flight analysis bits
    
    Remove custom graph and stats bits and share bits with altosui.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9e17d3be199d14473d8a7f9b899c290518b879a6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 27 23:34:18 2017 -0700

    altosuilib: Remove 'cal_data' param from AltosGraphNew constructor
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a1d76d5568f8386c52704d69507132de23ea591f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 27 23:33:37 2017 -0700

    altosuilib: Make AltosFlightStatsTable neater
    
    Elide missing data, change titles when data are simpler
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c87ba4b243a9fd838a3c97cc6a95cceb450a6ba5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 27 23:33:07 2017 -0700

    altoslib: Provide consistent cal_data from idle and replay readers
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c9e82a5929a836bc61b464507badef2df5e9d4d0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 27 23:32:29 2017 -0700

    altoslib: Return AltosTimeValue from min/max funcs
    
    Allowing the user to have both value and time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ce82ea72009f7c9ac09be08aec154aec606d3c9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 27 23:31:48 2017 -0700

    altoslib: Publish boost_time and landed_time from AltosFlightStats
    
    Nice to be able to use these when displaying data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3516eeb77048736470de2cc2ca03985efd228d29
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 27 23:30:54 2017 -0700

    altoslib: Allow for other tick sizes
    
    Use 1/100 sec by default, but provide for MicroPeak which uses a
    different step.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9329cb607e36843385e92b677f095c451d50297c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 27 23:30:13 2017 -0700

    altoslib: Change how speed/accel are computed from pressure
    
    Filter *then* differentiate. This works way better that doing things
    in the other order.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 855a7d243a5a85728a7b23fdfe9485d4ecaf71cf
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 27 16:12:31 2017 -0700

    telegps: Get telegps application working again
    
    Many minor API tweaks
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b6b5c64f93fa56bcb22ea1c4279e4f754e6e6f1c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 27 00:27:04 2017 -0700

    altosdroid: Deal with AltosState changes
    
    cal data split out from altos state.
    altos state needed to have no-arguments constructor for JSON code.
    Also messed with voice to make it stay quiet during app startup.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8b4dcca73c65e87462d5f8d08dbc025aa8cf08a6
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 26 19:05:51 2017 -0700

    altoslib: Use cal data temp gps for telemetry data too
    
    This avoids bouncing the location data during flight
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 612756291c7fb68d337c3be2e8197d39e31f3b5c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 26 18:47:18 2017 -0700

    altosui: Remove debug printf.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0f32d1a2e2fb5989d124189a7eb1156a00b0ad8f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 26 18:46:46 2017 -0700

    altoslib: Trim stale bits of AltosState
    
    Much of this is now in AltosCalData.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 21d864206043d2a6048cd859295623bad4d99365
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 26 18:46:00 2017 -0700

    altoslib: Preserve old GPS data during operation
    
    This avoids having the lat/lon values blank out when the GPS receiver
    looses lock.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3d29882f5c70e627b0bbfe42c0a31d6cb5f6b6bf
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 26 18:22:02 2017 -0700

    altoslib: Get KML export working again
    
    Even annotate the states with avg speed/accel for fun.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fd738d47bbc46d36698350d5450abe1125d990a3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 26 17:14:29 2017 -0700

    altoslib: Make sure AltosFlightSeries is filled in before use
    
    After all of the raw data is captured, the derived data needs to be
    computed by calling the 'finish' function.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit af3c7938f24dcf5ffbce024ed596655b26282cf1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 26 17:13:43 2017 -0700

    altosui: Remove --cat mode
    
    Wasn't documented, didn't do much useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa0300f11fe5b7f1d3e548e29dc809b803aa1f7a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 26 00:51:37 2017 -0700

    altoslib: Make AltosReplayReader start synchronously enough to track states
    
    The Altos UI needs to see 'pad' state and then 'boost' state so that
    it will automatically switch tabs during the flight. When reading from
    eeprom files, the only way that is going to happen is if the reader
    thread waits until the UI has definitely seen 'pad' state, which we do
    by simply delaying the reader thread until after that has happened.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2e82051a6aaaccf1e8a242f9c8141e4167e652d2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 26 00:20:17 2017 -0700

    altoslib,altosuilib,altosui: Get stats and replay working again.
    
    Stats are really easy with all of the data in memory.
    Replay takes a special thread to run the data and dump it into a
    single state.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 222158581887b5f9e8b9843d14321c313fa023fa
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 25 22:36:05 2017 -0700

    altoslib/altosuilib/altosui: More work towards using AltosFlightSeries for analysis
    
    Graphing and CSV seem complete now; stats still missing lots of stuff.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4d497c1be534e2b206edec3c096198c8ea64cebe
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 25 17:29:31 2017 -0700

    altosui: Adapt to AltosFlightSeries for data analysis
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e6eb659b0e984515a33b3ddabfe8325742a952da
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 25 17:26:49 2017 -0700

    altosuilib: Adapt to AltosFlightSeries data processing plan
    
    Replace use of list of AltosState with AltosFlightSeries to improve
    data analysis.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f26cfe417c6977cf1e7e75a4f050e25f64d41859
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 25 17:24:14 2017 -0700

    altoslib: Do data analysis on raw values rather than AltosState
    
    Use AltosFlightSeries instead of a sequence of AltosState records when
    processing saved data. This provides a better way of doing filtering
    and plotting.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7600116a191b3ac252a0f716d200d0e0b3500987
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 23 14:53:55 2017 -0700

    altoslib: Don't store computed telemetry fields
    
    These values are only needed once, so there's no reason to save them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit abcedc4b49ce77607ef95abf69479dc1d2c1b76d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 22 14:36:46 2017 -0700

    doc: Add telegps outline
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e8794ab1d512418e312a1a779777119e20dc8c38
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri May 12 12:58:18 2017 -0600

    add thrust as a graphable time series type

commit bbe0c2e0a3216f40f49af34b756330ba28d7c7e1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 12 00:01:14 2017 -0700

    altosui: Hacks to plug into the new graph stuff
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 96de483d745ea0ef95326de2847a2534f7057846
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 11 17:16:56 2017 -0700

    altosuilib: Start creating new graph interface that takes time series data
    
    Replace the AltosState interface so the graph can get better data, and
    can be used for more stuff.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 258808d296aeadaf150fa9b07e9c99a6bf1ca7c8
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 11 17:14:51 2017 -0700

    altoslib: Create new abstraction underneath AltosState for recording values
    
    Provides a way for the graph API to see raw data values, instead of
    those cooked by AltosState.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a9aa2d3558c77eb444223eaa747c75916bc7bac1
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu May 11 12:14:41 2017 -0600

    altoslib: include TimeSeries code in build

commit 81eaca2eac0b51a0017379187e042729b87e5f4d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 10 15:18:13 2017 -0700

    altosuilib: Add time series subclass with data for generating a plot
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a50c8b40319c5d176d40a816111edd9a8dd48bc9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 10 15:16:34 2017 -0700

    altoslib: Add initial time series functions
    
    Provides the basis for offering a sequence of time/value datasets for
    graphing instead of using AltosState.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e37f9719745b7fba5bfb1b1517ce7b70efa7a3a2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 19 21:36:01 2017 -0700

    altos/telebt-v3.0: Add send_packet command
    
    Useful for doing host-based RF protocols.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6e3b7206f9ab2f76089553d7c881a96e0204a4a3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 19 21:35:05 2017 -0700

    altos/telebt-v4.0: Remove HAS_POLLCHAR
    
    This isn't being used anymore.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cbec54fc682774f096dc2e43ef9a4796be123341
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 19 21:31:52 2017 -0700

    ao-bringup: turnon_chaoskey: search for ao-usbload in PATH
    
    Don't assume it's in /usr/bin
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2cf4d76745713051c6ee9cf8d4b386c25f822433
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 19 21:30:29 2017 -0700

    altos/telefireone-v1.0: Fix confusing defines about config storage
    
    USE_INTERNAL_FLASH is about storing config data in internal flash, and
    should be on for telefireone.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 65fd7b23b1a8861afd74e4e42ce1918c059fbff1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 15 12:13:35 2017 -0700

    altoslib: Set default accel cal for old TeleMetrum v1 files
    
    Before we stashed the config data in the log file, altoslib had to
    "known" what the accelerometer calibration values should be set
    to.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2fd949bb29d94b1a762ff707c98a8498ea508bb2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 15 12:12:57 2017 -0700

    altoslib: Set default log format to FULL until we learn different
    
    Ancient log files don't even have a product name in them, so we'll
    guess TeleMetrum v1.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 404ee357d59ef4732068ec0e56a9c93ac885ea0f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 15 12:11:31 2017 -0700

    altoslib: Mark AltosConfigData fields as MISSING until set
    
    Instead of using -1 or 0 randomly, use MISSING consistently.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d0053c5e2cc7b75b642ff4727a1ef874d323db9d
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon May 15 10:16:33 2017 -0600

    re-brand current telefiretwo product as telefireone

commit ab50a1467bac0234062bc8c0a17783f1730aa981
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 15 08:59:52 2017 -0700

    altos/ao_rn4678: Send '$$$' for new devices. Fix name setting code.
    
    New devices won't respond to the cmd pin we have configured, so get
    them to command mode by sending the $$$ string. Somehow I'd botched
    the name setting code and hadn't caught it as I hadn't tried a new
    device...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f132a22995235f3002e4a2bb8771c9b5738efb30
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 15 08:58:21 2017 -0700

    altos/stmf: Fix up serial port flow control configuration bits
    
    Compute whether any sw/hw flow control is in use.
    Compute whether hw flow control is in use as a separate value.
    
    These make the code a bit easier to follow.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2536640b852feff41975d2da50befdda91ee6303
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 13 15:24:20 2017 -0700

    libaltos: Add support for TeleBT-v4.0 bluetooth channel change
    
    The RN4678 in TeleBT v4.0 uses channel 6 instead of channel 1.
    There is code in the linux bits which discovers this value, but that
    crashes when run under java for unknown reasons.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 91c2af9ac1387842a5fdc61dbc9e26e04de2cdd0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 13 15:21:40 2017 -0700

    altoslib: Handle TeleBT v4.0 battery voltage
    
    The device reports raw ADC values, which mean AltosLib needs to
    translate them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7e0857120b8633c22603a9f59c5519e5a92759e9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 13 15:19:25 2017 -0700

    altos/telebt-v4.0: Hook up RN4678 module
    
    We've switched from the BM70 to this module which offers a virtual
    serial channel over both BT and BTLE.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6442e2ad6af4b337348aa2ce25abc91c05765826
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 13 15:17:41 2017 -0700

    altos: Add RN4678 Bluetooth module driver
    
    This works much like the old BTM module, but supports both bluetooth
    and bluetooth LE. I've poked at it briefly over BTLE to see that it
    appears to have the right name, but haven't attempted to communicate
    over BTLE yet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9c6727d39cc1feae3bd0504bcbc910ae832e3651
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 12 01:35:52 2017 -0700

    Use SDP to locate the service channel on Linux
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5ad767dd6b6c8d99bbe4b688e8cdbc230e01a7dc
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 10 14:47:15 2017 -0700

    altoslib: Another bit of altoslib for the old eeprom stuff
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0080e61e5f2e20ce45041e29dc039d042aa7f76e
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu May 11 11:27:30 2017 -0600

    have AltosGraph use new AltosPressure to get imperial_units working

commit 9d05af2147c0eb6dc63c4d4dc1d9a3c31f480aef
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 27 15:27:49 2017 -0600

    initial tests made using Terry's stand with a 2500psi sensor

commit f753ad3b9d0f3dc9794e5dd097063aab6cf9bdc4
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 27 12:57:49 2017 -0600

    telefiretwo: don't try to record pre-burn sensor values in FLIGHT record

commit 7e2b92ccb56b713fd18af5769156331ead8dc7ed
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 27 15:21:53 2017 -0600

    have git ignore ao-bringup/cal_values

commit 238e56e0f6ab2f623e0faf25298b38dc3a4aff74
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 10 22:19:38 2017 -0600

    telegps: use new eeprom reading code

commit 0641326842bffbf4b3ae69459ca540131cb64e59
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 9 02:31:04 2017 -0700

    altoslib: Remove older eeprom handling code
    
    The new code appears to work in minor testing; time to try it all the time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 17e20a6d2dab1f4bd1375bfd9e1c5230ee2c1119
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 9 02:11:25 2017 -0700

    altoslib: Save eeprom data in new .eeprom format
    
    A chunk of json for the config values followed by hex numbers for the data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e311cefae19d7dc71fb10e9a943daa8e2313c8f8
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 9 00:22:35 2017 -0700

    altosui: Use new eeprom reading code
    
    This just means using different file opening functions, which then
    get matched by AltosEepromFile and sent off to the new eeprom code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c00a80f040de85be18c9d5150cb0661e08158c3d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 9 00:20:23 2017 -0700

    altoslib: Hack up AltosEepromFile to support new eeprom code
    
    Redirect when asked to read an eeprom file using the "Reader" type.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e14b0ea82420e769cdf9ffd621b7f8d4944ef44d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 9 00:19:51 2017 -0700

    altoslib: Compile AltosForce and AltosPressure
    
    Useful if you want to actually use these.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e67a5c6ffa7174d66e985483fab4bf52ccaea5ca
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 9 00:19:05 2017 -0700

    altoslib: Add new eeprom management code
    
    Generic .eeprom file parsing, simpler per-type eeprom data extraction.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 44c0cecabb3a815dbf7f52e6b2dad364cc72b60c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 9 00:17:40 2017 -0700

    altoslib: Add set_config_data to AltosState
    
    Initialize all config-data related state values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d3c1ce741c54c5640b7e1b07d86be1ce0951944b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 9 00:17:11 2017 -0700

    altoslib: Add empty constructor for AltosPyro for JSON
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c17b78e60c340c8a3e3d6f9b875667c66216647a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 9 00:16:36 2017 -0700

    altoslib: Add Ms5607 constructor that just takes config_data
    
    Use for making Ms5607 from eeprom files.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d97c4d2f6de2981c2efd7bfbc9f5f9649987b854
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 9 00:14:33 2017 -0700

    altoslib: Add AltosForce and AltosPressure units
    
    Useful for TeleFireTwo.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 975751b604784e86b2ddb944a72b55ca3f14cf63
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 9 00:13:16 2017 -0700

    altoslib: Hide members from json by prefixing with __
    
    This lets some structures which would otherwise recurse (and crash)
    get converted to json, assuming the hidden members aren't relevant.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 08da6f2100c0241c70554427e53b7e237dfda16c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 4 22:09:31 2017 -0700

    altos/telemini-v3.0: Use dbg connector pin 5 for force bootloader
    
    This works way better than attempting to use the beeper pin.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 178d7c0aa32267ea71be2ccff146ea6ff990d7dc
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 4 22:07:51 2017 -0700

    altos/telemini-v3.0: Add 'recovery mode' on PA14 (pin 6 on dbg header)
    
    Connect this pin to GND (pin 3) and TeleMini will come up with N0CALL
    at 434.550MHz using the original frequency calibration. Helps recover
    from accidental mis-configuration.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3b4e3189211801c6f8f41c5d08c5a8551f28976c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 4 22:06:16 2017 -0700

    altos: Move 'ao_force_freq' to ao_config.c
    
    Instead of having to add it to each product using this variable.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e76d543a203f210683cb77df2b9bbff1a9f4b381
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 4 22:04:57 2017 -0700

    altos: Make CDC ACM 'line coding' public
    
    This allows other systems to see what baud rate the host has requested.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a84bc1bd8dd19d47709614b0c2639958d09fbf7e
Author: Miguel Benavidez <miguelbenavidez1145@gmail.com>
Date:   Thu May 4 11:29:33 2017 -0700

    altoslib: Fix MS5607 raw data to pressure conversion function
    
    The MS5607 sensor provides raw 24-bit ADC outputs to the host along
    with calibration constants necessary to convert those into temperature
    and pressure values. The datasheet has a flow chart indicating how to
    perform this computation. There are two parts of the algorithm which
    adjust the result based on the ambient temperature, temperatures below
    20°C get one compensation factor and temperatures below -15°C get an
    additional factor.
    
    The ground station version of this function mistakenly applied the
    second compensation factor for all temperatures below +15°C. The
    result was that the pressure computed on the ground when the measured
    temperature was between -15°C and +15°C was incorrect, resulting in
    altitudes which were several hundred meters off in some situations.
    
    This can be seen when displaying any .eeprom (or .mpd) data
    files for flights with temperatures in that range. The datafiles
    themselves are not corrupted, only the display operation.
    
    This is not seen for telemetry data, where the pressure and associated
    altitude is computed in the airframe using the correct algorithm.
    
    Thanks much to Miguel and the rest of the Vanguard School TARC team
    for identifying the problem and providing this fix.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 643f7508233f492a86f541b4f4fb20531b306ae0
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 3 11:47:33 2017 -0600

    altos/telebt-v4.0 Set CPU clock to 48Mhz instead of 96Mhz

commit a6e1010f7519c5d1243e8950df6f022576152a87
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 2 11:49:21 2017 -0700

    altos/telegps-v2.0: Disable external serial port to save ROM
    
    We'll have to rewrite some of the serial code to avoid sucking memory here.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 475940cb8032c76622c64dd0bd30f31c0b0f6cf4
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 2 11:35:18 2017 -0700

    altos/stmf0: Add code to use SoC flash as storage
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit de36a1e1a2e568dd606000f169fef111e8c08b15
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 30 17:42:23 2017 -0700

    altos/telegps-v2.0: Reorder initialization sequence
    
    This tries to be a bit more logical about the board initialization
    sequence, starting with the OS, then the support hardware, internal
    drivers, external drivers and finally services.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9a10a209749d1f375d02ce9af68ccbb0b3a91ba2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 30 17:41:21 2017 -0700

    altos/telegps-v2.0: CC1200 CS is PA1, not PA5.
    
    Also remove some unneeded config of an additional pin for MCU wakeup,
    which the CC1120 needs but the CC1200 does not.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 99c5c47d9288721a1fe009698393c67dd36a16fb
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 30 17:40:26 2017 -0700

    altos/telegps-v2.0: GPS chip is connected to serial 2, not serial 1
    
    Turn on serial 2 and use it for GPS.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ace97885c4924de049ff20a40fd9ec234b6577b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 30 17:39:54 2017 -0700

    altos/telegps-v2.0: Remove some unneeded defines
    
    HAS_MS5607 and HAS_RADIO_RECV aren't useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0f883aa1b1a1db61113489c260f44c09d5216bc7
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 30 17:39:03 2017 -0700

    altos/telegps-v2.0: Battery ADC input is on PB1, not PA0
    
    Rewire as needed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 979a1b8d80189e56745316da3de9288ee32e102c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 30 17:38:21 2017 -0700

    altos/telegps-v2.0: Set CPU clock to 48MHz instread of 96MHz
    
    Turns out the CPU doesn't run well at that speed. Who would have guessed?
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 671e00f9fa75d75b5f15d8cc558a46a9651690fa
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 30 17:37:45 2017 -0700

    altos/telegps-v2.0: Adjust LED config
    
    The LED is green, not red. Use it for panic and GPS lock.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ec963d358895ae46af63d2a6e9a32bdfb4d631c0
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 30 17:35:28 2017 -0700

    altos/kernel: Allow TeleGPS v2 to scale battery in telem
    
    TeleGPS v2 uses the STMF0 processor instead of the LPC11, which means
    the ADC range is different. As the raw ADC value was getting sent to
    represent battery voltage in the config packet, we need to scale that
    for the different processor. This patch allows that to happen.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 34fda7bff76d59bcfbcec6a44275829c45e42189
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 30 17:34:08 2017 -0700

    src/kernel: Add GPS lock blink LED to tracker code
    
    Blinks an LED briefly once every three seconds when GPS is locked.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c02adbdd8f41c1aa1fdf4748c910d23e5485108f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 28 00:08:51 2017 -0700

    altos: Build MicroPeak-v2.0 by default
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 217d77dadbef4192d2f32e290a5c5f50159f2e0d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 28 00:07:03 2017 -0700

    altos/micropeak-v2.0: Add initial MicroPeak v2 support
    
    stm32f042 processor replaces the attiny85 and adds USB support along
    with more storage.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 65bb93f69b2f420281b67d62a9ee3cf30874fb7c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 28 00:05:01 2017 -0700

    altos/stmf0: Add support for HSI clocked applications
    
    And allow application space to be limited to less than available flash.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d197adf353ec5503c72a4554aca2a463bb685932
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 28 00:04:33 2017 -0700

    altos/stmf0: Fix HSI clock rate.
    
    It's 8MHz, not 16MHz
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2b3c79e9d88c9bb0b5aca4bc20fa942ebcfe40fc
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 28 00:04:14 2017 -0700

    altos/stmf0: Make sure systick is off before programming
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac3fc7da669f58c7abd25b0ca8cc425238b84217
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 28 00:02:54 2017 -0700

    altos/stmf0: Compute serial baud rate registers at runtime
    
    This allows the system clock to vary at runtime, instead of requiring
    a fixed value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7d4f7880b0934c208df65cea8b0f549f32f1c7d2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 28 00:02:02 2017 -0700

    altos/micropeak: Update ao_micropeak.h for MicroPeak v2
    
    Allow different sample times, add constant for MicroPeak v2 log files.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4896582922ba5227da031c762221c8c7eafc2415
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 28 00:01:18 2017 -0700

    altos/micropeak: Use existing ao_ms5607_current variable
    
    Instead of defining another.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4d4675cbadcb0ab9df8f6d5155797dca400315c0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 28 00:00:11 2017 -0700

    altos: Add header file for ao_report_micro.c
    
    Defines the functions in this file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 75c26a26e905e3d4f141badfcb6ec6995ed58213
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 27 23:59:27 2017 -0700

    altos: Add 100ms constants for baro Kalman filter
    
    MicroPeak v2 uses this rate.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8c755f52db40bb845ab236ff400f35888053e616
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 27 23:52:29 2017 -0700

    altos: Adapt micro log to MicroPeak V3
    
    Allow use of regular serial API for sending data.
    Allow application to specify different storage size.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2245d9e3178404a49a6787656319fa13f0cc1a51
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 27 23:51:21 2017 -0700

    altos/ms5607: Allow applications to not use the normal data ring and thread
    
    MicroPeak V2 has tasks, but doesn't want to use another thread just
    for the MS5607.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6813f48fe02ecc5902f386234535ea76af71a764
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 27 23:50:12 2017 -0700

    micropeak: Add MicroPeak V2 to the download code
    
    Add the MicroPeak V2 sample rate so the timing values are correct.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a59c3afa23e876362dc8c80559015ce361627f05
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 25 23:56:41 2017 -0700

    Fake thrust data as accel for now

commit 07956b102bd4b7e4dd0ec20e0a4fbe3779acfdd9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 25 21:27:40 2017 -0700

    ao-bringup: make turnon_telemini search for ao_usbload on $PATH
    
    I've uninstalled the altos package as it has a version of ao-usbload
    which is too old for telemini.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2b014fe9fa64e7aead586bc682251346d000c8cc
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 25 23:06:34 2017 -0600

    telemini-v3.0: make git ignore build products

commit b662ca4edd67a2e1e5712f97fb1ce909f19af625
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 25 23:01:53 2017 -0600

    ao-tools/ao-makebin: have git ignore built object

commit bd489b96b060c8276bd7709ac55c306aad02374c
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 25 23:00:34 2017 -0600

    telebt-v4.0: make git ignore products of build

commit 6ed63dfbf0a0205df17afb2ea54afad441a69604
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 25 22:58:00 2017 -0600

    telegps-v2.0: slow down radio chip spi speed

commit 08d73614c0c0859bc097c1d7d423bac4cf313512
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 25 22:28:28 2017 -0600

    telebt-v4.0: slow down SPI speed to radio chip

commit 16f171350619b9d3da614625e27c092b144c3097
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 25 22:26:12 2017 -0600

    telebt-v4.0: turn off pin remapping in the flash loader, too

commit 514c05c287f0be390cfdf3491169c830cad8bfe7
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 25 22:12:42 2017 -0600

    telebt-v4.0: don't need the USB pin remapping flag

commit 1f723d31312be6dea3ef46e265c17c4d361d7099
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 25 22:10:41 2017 -0600

    telebt-v4.0: add ao_send_packet

commit 30e6e087b639c6d7ec75f21ba8c6fcf6ad50fffe
Merge: b2a5118d 75881968
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 25 22:04:22 2017 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit b2a5118dededd1ed6b1326e82168214cb0b24821
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 25 22:03:56 2017 -0600

    telebt-v4.0: initial creation of firmware for new product, no BT yet

commit 75881968ffb6bfd4e920cac4aa15d8d188eda119
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 17:06:01 2017 -0700

    altos/nucleo-32: Add lisp save/restore
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97cf9df882291b9e494b2f64f84eb37357a6ab31
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 17:01:43 2017 -0700

    altos/telegps-v2.0: git ignore make results
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a324ce39bb7abadc70785a6fdce449c9441f87b2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 17:00:10 2017 -0700

    Ignore ao_lisp_test

commit 7064aa67189108c4ade3d2e7eac9a704b7849626
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 22:26:31 2017 -0700

    Update releasing to add more firmware bits
    
    Also, document what is needed to get a new product into the build
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f0f69ab309869e914536d674d49d68a8dd31b080
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 22:25:57 2017 -0700

    altosui: Add TeleMini v3.0 and EasyMini v2.0 firmware to windows package
    
    Sigh. This can't easily be done from Makefile.am
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8b9557f7946703888be97633cf3e54216c652f30
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 22:25:14 2017 -0700

    altos/ao-bringup: Switch turnon_easymini to v2.0
    
    Not planning on buildin more v1.0 boards
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0d685ac0916229c23a299b11dad48af749eb27ea
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 22:01:04 2017 -0700

    altosui: Ship telemini v3.0 firmware
    
    Even though we don't provide a cable for reflashing yet
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d7d1452d03bcfb14990546d57d9d858ae3135008
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 21:59:16 2017 -0700

    altos: Add telemini-v3.0 and easymini-v2.0 to default altos build
    
    Make sure they get built for releases
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 41d5bb89973c7a358d08c538f1b52c45b0bbec30
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 21:56:14 2017 -0700

    altos/easymini-v2.0: Add EasyMini v2.0
    
    Like EasyMini v1.0, but with the STM32F0 processor instead of LPC
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 43cf1991f042e50fb6ec0b037f6d212436e3d31b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 21:54:25 2017 -0700

    altos/telemini-v3.0: Fix license
    
    Was GPL2, switch to GPL2+
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e0be779ac401f063b968aaac9460c972a728d309
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 21:32:02 2017 -0700

    altos/stmf0: Not all timer configurations use AF2
    
    Allow applications to select other configurations.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 202d556241d56ec4a27f202575d6945dc09f9e03
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Apr 24 20:04:37 2017 -0600

    add telemini-v3.0 to list of binaries we stach in LLC repo for production use

commit ef7fbbfa308918ebae5d2499aabccc6562a80dfa
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Apr 24 19:46:05 2017 -0600

    two more places where telemini-outline.pdf filename needs to be updated

commit 9c95bed92a45741e6c1ad0ab4941f13370b77648
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 15:47:08 2017 -0700

    Bump to version 1.7
    
    TeleMini v3.0 support
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3544c33c2f386fb292de9e74982717a002f37440
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 17:11:03 2017 -0700

    altoslib: renamed AltosSensorTMini2, but didn't update AltosIdleFetch
    
    Because Java found the old installed version of this library. Thanks!
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5914231bfe8220a92dde17901b952e919a40d568
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Apr 24 17:18:10 2017 -0600

    update copyright year in docs

commit 8e5b4359050701513a807131564ae54f2e6b919b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 16:40:46 2017 -0700

    altos/ao_pad.c: Use #if HAS_LOG instead of #ifdef HAS_LOG
    
    TeleFire v0.1 defines HAS_LOG to 0.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c57a5c018e4bd0a0033c8759132a648977bf45f7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 24 15:59:23 2017 -0700

    doc: Errors in the TeleMini v3.0 updates found by Bdale
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b6b58aa2fbae1e7782b5a0b700544efe319fe34e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 22 22:04:31 2017 -0700

    altos: Move old AO_LAUNCH defines to cc1111/ao_launch.h
    
    These were getting accidentally used by ao_pad.c
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cd291d38b92b31c3612e6de6cdf4e5988fc01c12
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Apr 23 00:02:47 2017 -0600

    allow multiple tests to be logged on telefiretwo without rebooting

commit d75351c5a07241bcbb951758796b4f639ace6b1f
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 22 23:42:23 2017 -0600

    implement static test start and stop protocol for telefiretwo+telebt

commit 6cfd9411026d536b5b75098b8c9ec3ceb3d945aa
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 22 23:02:53 2017 -0600

    eliminate spurious close braces

commit e3b30d4bd6faf68c885791fb87229558cc1157a6
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 22 23:01:44 2017 -0600

    add static test start and stop commands to radio protocol for telefiretwo

commit e5e0ce18b2ae684896a6d7d0a4c10269199d95b5
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 22 23:01:26 2017 -0600

    enable logging support in telefiretwo

commit e05b281e6d1a7a4fa92d52f2491f27266045df96
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 22 17:20:41 2017 -0600

    cobble up a command to toggle logging on/off on TeleFireTwo

commit db12c17e9538bd82f2c2bf21357887ee7d894a1c
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 22 16:59:03 2017 -0600

    a stab at turning on rudimentary logging for telefiretwo

commit 6804ead7f7e54ff34b257e10e381dc52d5a61b06
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 22 15:55:48 2017 -0700

    altoslib: Add TeleFireTwo eeprom support
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 359e2d6eca5258f4fabc59772f1320e195a7397c
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 22 16:36:18 2017 -0600

    fleshing out logging for telefiretwo

commit 439a51ed503b74c1739cf150cdc91685653deed0
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 22 15:45:52 2017 -0600

    enable spi flash on telefiretwo

commit ffc90fa3f932aef4dd85147817949aa9474b6d26
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 22 11:38:08 2017 -0600

    fix TeleFireTwo product name in ao-list output

commit 4682323a4bf147b9a908f5f9104bf01ab2cf0533
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 21 23:02:57 2017 -0700

    altos/stmf0: Pull beeper pin low when beeper is off
    
    This avoids having the pin float and pick up noise from any adjacent
    signals, like TeleMini's radio.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eb1c2bf5244840049c0a58e0ceecfcd9f5c290dd
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 21 22:24:00 2017 -0700

    doc: Finish updates for v1.7
    
    Scrub all TeleMini references and make sure they're fixed for v3.  No
    'emergency' mode yet.  No reflashing yet.
    
    Add v1.7 release notes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5849ee6c09669e6d2e6940a76bcb5cc23178fc68
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 21 21:32:26 2017 -0700

    altos/lpc: Really fix aes entry in lpc vpath
    
    I added another entry instead of fixing the existing one. Not ideal.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c833c93e812936125cfe9532523ea36b5046e58d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 21 18:16:45 2017 -0700

    Replace turnon_telemini with v3 version. Add test-teleminiv3
    
    Prepare for TeleMini v3.0 release.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8978687dc2ae90e4005a8f7d598940b7df6a4359
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 21 18:08:25 2017 -0700

    doc: Update TeleMini v3 photos to production unit
    
    Replace prototype photos
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 86a54146b58be86c58fb45386c7abcfa0bb11677
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 21 17:15:05 2017 -0700

    alots/stmf0: Fix vpath entry for AES directory
    
    Mis-placed )
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 64ac93f5495db7a8b06f1eb4fe4eb2418125d792
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 21 17:06:23 2017 -0700

    altos/lpc,altos/stmf0: Use -n flag to work around link editor issue
    
    Something changed in the link editor which makes it complain about 'no
    space for program headers' on LPC and STMF0 builds. Somehow, adding
    the '-n' flag to the linking step fixes it. It doesn't appear to break
    the build, so I guess it's ok?
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 77c76e429074a53c1c5230a7b5e665d1715b296f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 21 17:04:28 2017 -0700

    altos/telemini-v3.0: Remove vestiges of the pre-USB code
    
    Pre-USB telemini v3 designs had a separate firmware load for radio
    calibration. Now that we've got enough USB to perform flash/cal/test,
    we don't need that other firmware load, so we can remove the remaining
    Makefile remnants of the calibration load.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit adb842b64b04a7d70e543bad7ae59807d549e85a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 21 16:40:58 2017 -0700

    altos/lpc: Add (void *) cast to fix alignment warning
    
    The -Wcast-align warning is generated when this cast is not present.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 51ce352d179835ca08e4cf9326e9e77d6b972fb7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 21 09:18:48 2017 -0700

    altos/lpc: Fix up Makefile definitions
    
    vpath reference to aes was busted.
    WARN_CFLAGS needs -Wcast-align.
    Wrap AO_CFLAGS.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ec319edd2cda321d7542784b997acd0da040fa3d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 21 09:17:18 2017 -0700

    ao-test-baro: Be more lax about altitude checks
    
    High pressure here today and the altimeter is reading -69m. Allow down
    to -100m when testing baro values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7db49a2052ec905cdc02f626c0933ca6889d64a4
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 19 23:08:56 2017 -0700

    altos/telemini-v3.0: Add flash loader
    
    Now that telemini has USB, use the boot loader to make it easy to
    update firmware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d1ba276c6e54564f82920f65bf4c19df85c9ea56
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 19 23:08:06 2017 -0700

    altos/telemini-v3.0: Update to production hardware
    
    Removed LEDs. Added USB. Flipped lots of pins around.
    
    This appears to make telemini work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93983730a6628a2a85b6fc543df236b35d501ee9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 19 16:00:24 2017 -0700

    altos/telebt-v3.0: Add LCO bits for testing
    
    Add the USB commands for LCO testing to TeleBT v3.0
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 944d8466a31842c34304b77364d632e259238018
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 19 14:19:28 2017 -0700

    altos/telefiretwo-v0.2: Add AO_CC1200_SPI_SPEED
    
    Needed for products with different SPI speed options.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1e7143e5d448cd05c355f4a323ae4892b02022ac
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Apr 19 15:08:15 2017 -0600

    add new ADC channels for telefiretwo

commit 6e699fa4971668bbe569d2a0e2ed9f891877d140
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 18 16:47:43 2017 -0600

    need top level Makefile too

commit 9fa46346d576081f99860cad96c91bcf63233649
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 18 16:47:05 2017 -0600

    builds, loads, runs, not very useful yet

commit 207403e53cc80b0649ce3c004f97d8e1dad824c8
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 18 16:33:27 2017 -0600

    copy telefiretwo-v0.2 to start firmware for v1.0

commit f69d85e2b32370ab68e2725e739417cad6d7a590
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 13 21:48:46 2017 -0600

    telegps-v2.0: Remove fec_tx code and ADC logging.
    
    This gets telegps-v2.0 to link.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e561ae43a734d870470e36c41232482bd5f398f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 13 21:47:14 2017 -0600

    altos/stmf0: Split up rom load in altos.ld to make linker happy
    
    The linker isn't happy when the .ld file tries to add text, the .exidx
    and .rodata segments in the same block. Split them up for success.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a5c8b8c59f99108233d99ceceb6f85315694e4b1
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 13 21:18:58 2017 -0600

    cortexelf-v1: Fetch data at TPB rising when MWR or MRD are low
    
    This should get the right value at least.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3390c62b6d0761764ec5249d72bda33b984a8f90
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 13 21:16:52 2017 -0600

    altos/telegps: Inherit LDFLAGS from lpc make specification
    
    Somethings messed up with cortex-M0 linking, and this isn't helping as
    it overrides the LDFLAGS coming from the architecture.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f18793efb1fbfd17963b9146fae084f2b843d7a3
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 13 19:36:49 2017 -0600

    initial cut at telegps-v2.0 firmware

commit eb0b2b4e9f56d1d6fc2b06e39c8372dfcdf3b1f5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 9 13:03:50 2017 -0700

    cortexelf-v1: Initialize key matrix code
    
    This gets the hex keypad working.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6efa53bafda18313742849a6c4992f09c3e403c3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 9 12:59:07 2017 -0700

    cortexelf-v1: Bump SPI pin speed to 40MHz to for sdcard. Fix VGA DMA.
    
    Tell the DMA code to leave the DMA engine enabled so the VGA output
    can use it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c97b4c65d66078a4e187b782669e6b36ee92d30c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 9 12:56:59 2017 -0700

    altos: Use MP switch in cortexelf boot loader for force loader mode
    
    Provide a way to get to the boot loader on the cortexelf board by
    turning the MP switch on.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9e80b8bd10433ecc6ebe7c295e16b62b3883987d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 9 12:55:34 2017 -0700

    altos: Escape lisp REP loop with () input
    
    Provide a way to get out of a lisp read-eval-print loop that can be
    easily input from the keyboard.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 83c1e4e8ca684f555cba252efd3882f811d8e154
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 9 12:54:57 2017 -0700

    altos: Document a few more SPI mode bits in VGA driver
    
    Just comment changes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 24cd5dd33ccf65c1b277911c460a89ec2b52e421
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 9 12:53:34 2017 -0700

    altos: Drive row low instead of high in matrix driver
    
    Driving it high won't work all that well as we're looking for zero bits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a68fb412589819980759d49565a084b23eee8b8f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 9 12:51:49 2017 -0700

    altos: Place AS1107 in 'normal' mode at end of init sequence
    
    This makes sure the device is out of reset mode while initializing,
    and then placed in normal mode to turn on the display.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 04d4b17635fc9395c70aa0840971c00082f509ba
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 9 12:48:54 2017 -0700

    ao-elftohex: Add conditions for skipping ELF sections
    
    Skip sections with size 0, or which are of type SHT_NOBITS or which
    don't have the SHF_ALLOC flag set.
    
    This avoids crashing on sections which don't have any data to copy.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 86d5119f19b5f3131d224982e011fd233b48aa22
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 4 16:05:15 2017 -0700

    cortexelf-v1: More 1802 noodling
    
    Add code to track the address and data displays, change how 1802 pin
    tracking works
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 301b724d2169f4ac46d921f518455c783e1dd894
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 4 16:04:25 2017 -0700

    stm: Add more mask-based GPIO controls
    
    Lets cortexelf do more things with groups of pins, rather than one pin
    at a time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 71e430bb39fc97e543778f7bc1f1bef554ba8b75
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 4 16:03:36 2017 -0700

    altos: Allow programs to enable SDCARD debugging if desired
    
    Provides for per-application control over SDCARD debugging
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4eced9224f40e48d7057352b3424c18025f43f25
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 4 16:02:46 2017 -0700

    altos: Disable FAT commands unless requested
    
    This are debugging commands; don't provide them unless requested
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d4ff161e89d852c07934704ea2cbea20a48259a7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 4 16:00:56 2017 -0700

    telegps-v0.1: Hack up for SDCARD debugging
    
    Disable everything not SDCARD related for debugging.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 920b70fd5f6b78461c7ebae6b1e6490a0e050bc2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 4 15:59:56 2017 -0700

    altos: Define CC115L spi speed in each product
    
    Different SoCs have different SPI speeds available; have each product
    specify the speed to use instead of trying to use 4Mhz everywhere.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 280eefc8f86e90e742c536a074d7284cce03af15
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 3 11:41:51 2017 -0700

    cortexelf-v1: Add pin definitions for 1802 connections
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0197157a295d848bac65cf7f4457dd5a99af24e3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 3 11:37:21 2017 -0700

    stm: Add a few more GPIO functions to make dealing with the 1802 easier
    
    ao_gpio_set_mask and ao_gpio_get_all
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 89c8e0299504e66fc416a778055958cff467e008
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 3 11:36:52 2017 -0700

    cortexelf-v1: Make bit flipping array constant
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 47004dfe8ee8c8b31085b066d3d0fd5142fd49da
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 3 09:36:00 2017 -0700

    cortexelf-v1: doodling with 1802 bits
    
    Just some random ideas about how to manage the 1802
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5bb9cf38c84663713c178f54b684d40b6c00b11d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 20:33:49 2017 -0700

    cortexelf-v1: Add bit flipping array generator
    
    Someone hooked up the data lines between the systems backwards, so we
    get to swizzle the bits in software.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8c1478b55f5dbe9711b31a34d4f5e3563f1f42d2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 19:32:17 2017 -0700

    cortexelf-v1: Hook up hex keypad using matrix input driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 79215de60d3e11b4abd1ecd2fa9575a323b76754
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 19:31:45 2017 -0700

    altos: Allow buttons to be high when pressed rather than low
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 09f8710eb320f37f20dda8c635497c2b505d25e2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 19:30:57 2017 -0700

    altos: add button matrix driver
    
    Scans the matrix once per clock tick queuing events for changed keys.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 17ec1c510ccc42bbc387940b5805f452697f78d6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 17:39:26 2017 -0700

    cortexelf-v1: Hook up AS1107 in test mode
    
    Provide a 'L' command to display values
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cc1b56faa88c75c9c86af89c77d7f1349573b7b0
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 17:39:05 2017 -0700

    altos: Add AS1107 LED display driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1bc48b075f76bfef258f516549573429b24f284c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 16:37:42 2017 -0700

    cortexelf-v1: Add buttons
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8284d3639cd24e2fa0faf1e35e7276ba35a24f8f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 16:22:28 2017 -0700

    cortexelf-v1: Add serialblather command.
    
    This reads from stdin and dumps it to both serial ports until you type ~
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6fb817f218a69b28973b0d059d71809717b1e2d1
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 16:17:33 2017 -0700

    lisp: Fix up lisp build so projects can get ao_lisp_const.h built as needed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3ce663875d69739cc2d43fcd88b22820cd9d6500
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 15:56:17 2017 -0700

    stm: Use common flash wait loop instead of inlining
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1f5f0638f283fbb784021873c649109d4ed0257c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 15:53:17 2017 -0700

    cortexelf: Add lisp interpreter
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 54c76d48924fecc2aeabbc352c553822a87f9d19
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 15:40:03 2017 -0700

    cortexelf-v1: Use new memory map to access all flash and ram. Add fat.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7b031d5a86213364196b67f7e3f92865da8adbf9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 15:28:45 2017 -0700

    cortexelf-v1: Hook up serial consoles for debugging
    
    This will make playing with serial ports easier for now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 62b0228aed5191c8d769f9f34143a13036e210a7
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 15:18:34 2017 -0700

    cortexelf-v1: Fix clock to drive VGA at 640/480. Add sdcard, remove others
    
    VGA requires the CPU to run at 24MHz.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 637d522c6a15b47051103ccc3626be3206a7a2df
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 2 15:04:09 2017 -0700

    cortexelf-v1: Add ps/2 and vga with graphics
    
    Start hooking up devices with known drivers.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9f451db9889cd578c3032356fd2aa4b5ed45878d
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Apr 2 15:47:31 2017 -0600

    capture pnpservo makefiles too

commit bc150497de8539827177805c7f4430c67ca6762f
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Apr 2 15:47:14 2017 -0600

    makefiles too

commit 66b06332dadd83c309bbfe02240b7a071fd57ff2
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Apr 2 15:41:56 2017 -0600

    initial skeleton of CortexELF support

commit d318b5cfc1a0312697739576d35cc1a190d88849
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 1 12:23:24 2017 -0600

    first rough cut at skeleton of code for pnpservo .. altos boots and runs

commit 190cdaa5cb18e78caeeaaaaed6a9d304e939eb6b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 5 22:42:37 2017 -0800

    doc: Rename telemini doc file from telemini-v1.0.inc to telemini.inc
    
    This file now contains information on both TeleMini versions.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7bb4dbab45f98dd5fd85d9daf12d27b153c0ef3a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 5 22:33:36 2017 -0800

    ao-tools/ao-flash-stm: Use openocd instead of st-utils
    
    openocd upstream and debian package can both flash stm32l processors,
    so use that in preference to st-flash.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f004eaa2c26b4c61a8c3de2c0667a4e9865e704d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 2 13:37:12 2017 -0800

    ao-tools/ao-flash-lpc: Adapt to current openocd LPC support
    
    Openocd 0.9.0 has generalized the lpc11xx support for all lpc11xx
    processors, not just the lpc11u14. This replaces the specific
    lpc11u14.cfg with the general lpc11xx.cfg file.
    
    Unlike the build we were using, this doesn't adjust the
    'verify' command to adapt for the checksum which gets added during the
    flashing process. Hence, we disable verification and trust that if the
    flash loader works to load the OS, it's fine.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 59aaac44e3e164b326518b324b52d115fbb76fca
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 1 14:01:59 2017 -0800

    telemini outline svg had wrong version number

commit b5a42665d7811707b6bd4a67d7d8e6532daa29e4
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 1 13:53:36 2017 -0800

    Add initial TeleMini v3 docs
    
    Uses pictures of the prototype.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d1c2a5729da00be9d393015bbaa2d2f58e936d84
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 20 17:34:43 2017 -0800

    altos/nucleo-32: Update lisp files, add beeper support
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d1956000ba2e6260977aa669475d3ff725578b55
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 20 17:32:09 2017 -0800

    altos/lisp: Not quite ready to start making it look like scheme yet
    
    Lots more code to write before these symbols can be exposed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9603d737e9ea58217ff2c2dd7c350c7a29fba980
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 20 17:29:15 2017 -0800

    altos/stmf0: Support timer 2/3 for the beeper
    
    Tested on timer 2, all four channels.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 003e9479ad4364d9f7acf189b35f32ccdfd43be0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 20 16:51:09 2017 -0800

    altos/stmf0: Support tim1 beeper channel other than 3
    
    ch1 was broken and ch2 didn't have any code at all.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3c3f5e316c0c2464568db883d50881f5b898abac
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 20 17:33:37 2017 -0800

    altos/telemini-v3.0: Add beeper defines needed for more general beeper code
    
    The beeper code now wants to know which timer, port and pin are in use.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dc4bee9600be22531fd3c5bec15f712eb2e7ed2d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 20 12:18:58 2017 -0800

    altos: Add stm-vga demo project
    
    Uses the VGA and PS/2 drivers to provide an interactive console.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0eadc2d50417408beebd50e4a0e7e12430ed67ef
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 20 12:16:27 2017 -0800

    altos/stm: Add draw and lisp to make search paths.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c296acd643698d0128e2f58f91a9cfeea63f580a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 20 12:21:39 2017 -0800

    altos: Add console driver using VGA and PS/2
    
    Provides an interactive text console.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c1d52178ce63ebdc44c83d1bca5027942e2d778c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 20 12:19:42 2017 -0800

    altos: Add PS/2 keyboard driver
    
    Interrupt driven, includes standard US keymap.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6b39d3093c3b87689717bb03988d160473c53c64
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 20 00:04:27 2016 -0800

    altos: Add VGA driver for STM32L processors
    
    Generates vsync/hsync using timers and pixel data using the SPI port.
    320x240 video using 640x480 mode and a 24MHz "pixel" clock.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1301d576d9bface4cc625e4a4187401f93f54444
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 20 12:17:42 2017 -0800

    altos: Add bitmap drawing code
    
    Includes solid fills, text and lines.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a487d2fcba57141f6b083d5612c76bac5ad1ac7c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 20 12:15:45 2017 -0800

    altos/stm: Add nvic priority register fields. Add more TIM234 defines.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 80fd7f7bef5320ce86048d74dc4a72e1ec361120
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 20 12:14:10 2017 -0800

    altos/stm: Make i2c code handle PCLK1 of 24MHz
    
    Just adds the necessary defines to the code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 72ea90d28817549c4343d2fea03a4c951f849cbe
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 20 12:12:43 2017 -0800

    altos/stm: Allow DMA channels to be hijacked by other code
    
    This lets code which needs finer control over DMA to use the channel
    without interference, and leaves the DMA engine running so that it can.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5dc5e2e238f8c1a8ca35d85ec046124afa9385ad
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 10 14:45:25 2017 -0800

    altos: Allow for console to be used for stdio
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e6fb0f13ba230ad9ce86cfa7f56491a0a3bd4b3d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 10 14:43:07 2017 -0800

    altos/avr: Avoid warning about unused args in stdio_put and stdio_get
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 839eadbc8e5694842eb498c6e47cfbf08ba8fbf4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 20 02:59:40 2016 -0800

    altos/stm: Allow use basepri instead of primask for masking interrupts
    
    This allows for high priority interrupts (priority 0) to run, even
    when other interrupts are blocked. Code executing in such interrupt
    handlers must not attempt to control task execution as that will race
    with the scheduler.
    
    Select this by defining AO_NONMASK_INTERRUPT in ao_pins.h.
    non-maskable interrupt priority is AO_STM_NVIC_NONMASK_PRIORITY
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 088ddbb177efc8be2fc467524dc1668553080d3b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 20 20:54:10 2016 -0800

    altos/stm: Interrupt priority is in the upper bits of the priority mask
    
    Because the STM32L only offers 16 priority levels, the bottom four
    bits of each priority mask are not used. All of the interrupt priority
    settings in the system were using values < 16, making them all
    effectively the same. Fix that by moving them into the upper 4 bits
    and using symbolic constants everywhere.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 992eee8e0b4c6c774f3355af107fb422019ff4e5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 20 20:56:01 2016 -0800

    altos: Don't wait while idle if trying to minimize interrupt latency
    
    Keeping the scanout running reasonably means keeping interrupt latency
    constant, and that requires leaving the CPU running. Don't wait for
    interrupts when the system is running in this mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f0c187dd6479996b83f85b6decf303ec0fc70fe5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 6 09:10:23 2017 -0800

    ao-tools/ao-usbload: Pad image with 0xff instead of random bits
    
    Clear the temporary block to 0xff before copying in the target data so
    that any unused bytes end up being left at 0xff instead of inheriting
    whatever data was in the block before.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 61f729567ff6355ab52c3e83399761103022a41a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 17 20:57:38 2016 -0800

    altos/cc1111: Remove unneeded initialization in ao_timer.c
    
    The timers are all stopped when the chip boots, so no need to stop
    them. This saves some text space, allowing the current code to (just
    barely) fit.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1029a6e4a61b20698e00e29fc0c8c3877f1e7b0f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 19 17:36:04 2017 -0800

    altoslib: Add TeleMini v3 support
    
    eeprom, telemetry and monitor idle. This is just like TeleMini v2,
    except the ADC ranges are all difference as the voltage dividers are
    different and the ADC itself has a different range.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5c272d8e50d0b23f31a6a9ebdad81fc514936222
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 19 17:40:28 2017 -0800

    altos/telemini-v3.0: Swap main and apogee sense pins.
    
    These were just hooked up wrong in the software.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 59ac667c4ae14e0fa699fb0f398d31763a237646
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 19 17:39:21 2017 -0800

    altos: Split out TeleMini v3 log/telem labeling
    
    Allow the ground software to know which TeleMini version is in use,
    even though they are very similar with only ADC values differing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c75736c9cd8f869c257a3024efda843cf0edf2a3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 18 22:56:49 2017 -0800

    altos/telemini-v3.0: Finish initial turn-on
    
    TeleMini v3.0 is nearly working; there are some ADC issues still, and
    lots of altosui work left to decode the new telemetry packet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit efdeb402d04e7f04ad4bd2764f8f1ca7270b3dff
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 3 06:52:57 2017 +0100

    altos/telemini-v3.0: Update to second prototype version
    
    Separate radio xtal means we run the processor at 48MHz.
    Fix the battery monitoring voltage divider resistor values.
    Disable most of the code until we've got the radio working.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97c814bc12893bee40f9dc38fabbaa69e0dc6aed
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 28 15:35:48 2017 -0800

    altos: Initial TeleMini v3.0 code
    
    For first prototype, which attempted to use the SoC clock for the radio.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b94fe9915b33283df6b86bcdc96ceada1fc71ce6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 19 17:42:05 2017 -0800

    altos/stmf0: Add adc and beep support for TeleMini v3.0
    
    Note that the ADC code is running very slowly as required by the high
    impedance dividers on the TeleMini v3.0 pyro circuits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1dc31a46f1d1adfdeab444664e581a780d995bf7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 18 22:49:34 2017 -0800

    altos: Require SPI speed to be declared for cc1200
    
    The cc1200 can't run SPI faster than 10MHz, so make sure every device
    picks a SPI clock slower than that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0bf267a6e2d401c8bd6a06d995e3d000777d622a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 18 22:55:41 2017 -0800

    altos: Allow applications to define LEDs for ao_report.c
    
    In case they don't have both a red and green LED.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cf10239e5485a101fcd7a12b28be927af94d577a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 18 22:54:35 2017 -0800

    altos/stmf0: Allow projects to not use the USB boot loader
    
    Let applications define HAS_BOOT_LOADER on their own if desired.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3770a5f527cb6d519ce22fe91e0cc4078bf72661
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 18 22:53:03 2017 -0800

    altos/stmf0: Complain if the SPI configuration isn't complete
    
    If the pin usage values SPI_1_PA5_PA6_PA7 or SPI_1_PB3_PB4_PB5 aren't
    defined, then the speed values for the pins aren't going to get set
    correctly, which results in erratic SPI behaviour.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f85997eb53779e637dca697d0d96da7d1235fa80
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 3 06:51:11 2017 +0100

    altos/stmf0: Allow apps to leave interrupt vectors at 0
    
    TeleMini v3.0 doesn't need a boot loader, so we'll have the app run
    its interrupt vector right at the bottom of the address space instead
    of copying it to the bottom of ram and reconfiguring the chip to use that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f43c3ad0c643f714c523e513bdc8585c6d5a4050
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 18 22:46:29 2017 -0800

    ao-bringup: test-chaoskey needs to use the SerialNumber dmesg line
    
    I had a locally hacked kernel which was reporting the serial number
    along with the device name. Instead of depending on that, just look
    for the regular SerialNumber report which is in all kernel versions
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a21c7b5156e428a4f8e029fdb652c8ca1c63823b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 3 06:47:32 2017 +0100

    ao-bringup: Allow serial number on turnon_easymega cmdline
    
    This makes it a bit quicker to do a batch of them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 51edc29f5ba758ef8ba4fdd5f53fdabc6a31c98a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 28 15:33:53 2017 -0800

    altos: Eliminate printf format warning with long vs int
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d96224c2fdc535d08de23aec30d62d4ada9fb8d3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 22 15:29:13 2017 -0800

    altos/chaoskey: use both halves of the CRC
    
    When pulling 16 bits from the 32-bit crc, instead of just using the
    low bits, xor the two halves together. This appears to even out the
    number of zero and one bits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bc076747f6cc00508aef909a3a5bd3edf8c9bd66
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 18 12:14:59 2017 -0800

    altos/lisp: Start adding scheme symbols
    
    Migrating to something more like scheme
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9c85c9d60334edc2af65a47124873e94e0ff1e9c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 10 14:47:03 2017 -0800

    altos/lisp: Add casts to keep the latest GCC from whinging
    
    Something about alignment issues.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 399ba0a62422f71ff9669ba03b6a058bb2981c27
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 10 14:45:59 2017 -0800

    altos/lisp: Tell compiler that the two lisp memory pools are aligned
    
    Otherwise, it will generate unaligned accesses to things fetched from
    them. Sigh.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 30d6b241447cb922b9316e86817f6e31eb973eed
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 20 01:41:59 2016 -0800

    altos/lisp: Clean up hanoi.lisp demo a bit
    
    No serious changes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 329f76d5e2732ab1c1b10223842d7816275c7e8b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 18 23:37:44 2016 -0800

    altos/lisp: Move stack recursion check after null check
    
    Don't crash when printing null stack this way.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1999b2c915bd5b7df70cffa7777e411d3032d2d5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 18 22:57:22 2016 -0800

    altos/lisp: Include memory stats for test program
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 129e07ccc9b8a33491a905a91ca6c5b0509aba9c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 18 22:53:36 2016 -0800

    altos/lisp: Cleanup some DBG defines
    
    Get rid of the remaining duplicate defines.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2c80fea1936ff956df127b43e65139afec3929a0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 18 22:52:53 2016 -0800

    altos/lisp: Share binary search for memory chunk between mark and move
    
    Save some text space.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1b1bc92e6781c563e3d3b117b9cda2dddccc44de
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 18 22:52:10 2016 -0800

    altos/lisp: Add builtin 'collect'
    
    Collect memory, return amount free.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c3a4d7721f0f5d082336b8cc9c9d765ad2f7d17e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 18 22:41:46 2016 -0800

    altos/lisp: Sort frames by atom
    
    Fortunately, the collector always retains the relative order between
    addresses, so we can sort based on the atom address itself. This
    reduces the time spent looking for names in larger (e.g. global)
    frames.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8f833f31f625526a5f1e9a1bd561733b5bb2bcaa
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 18 21:17:54 2016 -0800

    altos/lisp: Build new ao_lisp_stack.c into test and lambdakey
    
    Helpful to include the new source file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 35424031747b41b1125e715a975f1679b89fc27a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 18 21:16:11 2016 -0800

    altos/lisp: bounds check in move_map plus binary search
    
    This makes move_map faster by skipping all addresses which aren't
    changing.
    
    Also changed the interface from address to offset to avoid computing
    the offset multiple times.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 85db6d68a273859482e036b60fec7e2b84e9c262
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 18 21:15:33 2016 -0800

    altos/lisp: Empty lambda body is not an error
    
    It's not very exciting, but it's still legal
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ecef616599d5ec4fd5d42e67d0dc779a0630079b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 18 21:14:47 2016 -0800

    altos/lisp: Use poly stashes for stacks
    
    Saves some memory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4c812b8c903bd7e689572f8800ecc092af9cfe18
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 18 21:12:50 2016 -0800

    altos/lisp: Make DBG settings global
    
    This avoids having different values in different files, which wasn't useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e600fc409c577eec02af612a36431c477a9c875e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 18 19:04:05 2016 -0800

    altos/lisp: Add continuations
    
    This provides call/cc and makes 'stacks' visible to the application.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2cc8ca2b781be0a6e7ce14405eb4611bc00a3a3e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 17 18:45:31 2016 -0800

    altos/lisp: Take advantage of implicit progns in hanoi demo
    
    Remove extra progn wrappers now that cond, lambda and while all
    support implicit ones.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 11c79167cdd56015bbd1645db2d4394dcb4f0fbb
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 17 16:52:30 2016 -0800

    altos/lisp: have 'while' return the last body value
    
    Instead of always returning 'nil', let while return the last body
    value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9126ae10b3c5acf0055caa31b1f08215675af784
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 17 16:51:34 2016 -0800

    altos/lisp: Take advantage of implicit progn in ROM code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eaa528e4e62ba1d9765888760d387303487b2e01
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 17 16:08:15 2016 -0800

    altos/lisp: Make lambda, cond and while all have implicit progns
    
    This lets all of these execute more than one sexpr, returning the
    value of the last.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ffaf73407bcdf6bc4120c90212de4a2f52cf7991
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 17 16:07:42 2016 -0800

    altos/lisp: Compile ao_lisp_make_const -no-pie
    
    Makes debugging easier
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 51bdee662fdfad1937c576daadd2e5eacac17905
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 17 16:06:55 2016 -0800

    altos/lisp: Fix uninitialized values in ao_lisp_make_const
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 84732aebd10c293101727ba567bfc733dc30efca
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 17 16:06:05 2016 -0800

    altos/lisp: Dump globals on error
    
    Useful for debugging
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 05ac336ea954c0f5eefabdefb0c8c5747be3fd32
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 17 16:05:29 2016 -0800

    altos/lisp: Fix error atom name in ao_lisp_length
    
    Cut&paste error.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2ce7ab37df07b3c1ea1ca9befc06477e3b6cdeac
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 17 16:04:38 2016 -0800

    altos/lisp: Remove some stale frame debugging checks
    
    No-one sets frame->_num to 0xff to hit these
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d37945f1404043e6bd287ce7ad7a57bc3289609b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 16 14:59:08 2016 -0800

    altos/lisp: Clean up hanoi.lisp comments.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bcf5eb5825b1217d74f117b02d09b4ce4b007beb
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 16 14:12:59 2016 -0800

    altos/lisp: Eliminate compiler warning about array bounds at -O3
    
    Using ao_lisp_pool - 4 caused the compiler to whinge about computing
    an address outside the bounds of the array. Sigh. Restructure the code
    to do the adjustment-by-4 in the integer computations instead of the
    pointer ones.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a5ef084659205700aab33e81d20fb89833c03249
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 16 14:00:38 2016 -0800

    altos/lisp: binary search for chunk in collect
    
    Speeds up collect a bit
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9f19cb10cd12f86b12d0599bab5c2ee351d814ae
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 16 13:59:54 2016 -0800

    altos/test: Disable position independent executables
    
    This makes debugging programs so much harder

commit a7fcf80e22e70516d0b2da314fb17ced20a3f775
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 16 13:47:49 2016 -0800

    altos/lisp: Allow empty defun bodies
    
    This allows for (defun foo())
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit daa06c8dedc6dc1cf21936ee2769d9d25f0567bd
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 16 13:19:20 2016 -0800

    altos/lisp: Optimize chunk searching in collect
    
    Note range of existing chunks to exclude objects outside.
    Only look at chunks which have been set to reduce loop cost.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c8f9db184cc929ebde845730a6d4b7864e423a84
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 16 12:34:14 2016 -0800

    altos/lisp: Add incremental collection
    
    Realizing that long-lived objects will eventually float to the bottom
    of the heap, I added a simple hack to the collector that 'remembers'
    the top of the heap the last time a full collect was run and then runs
    incremental collects looking to shift only objects above that
    boundary. That doesn't perfectly capture the bounds of transient
    objects, but does manage to reduce the amount of time spent not moving
    persistent objects each time through the collector.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8406ddf8f0bd5453d6213973daed35991f80972a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 15 20:37:59 2016 -0800

    altos/lisp: Make hanoi example output a bit prettier
    
    Make the towers symmetrical instead of lopsided. Much nicer looking.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 472ecec64213e6c37b588d69ca2e8efd5e9abe36
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 15 20:25:03 2016 -0800

    altos/lisp: remove nth from hanoi.lisp
    
    It's now in ROM.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5161f6d78647591cc7ab8774a04edbc68a09f689
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 15 20:24:33 2016 -0800

    altos/lambdakey: Strip out unused code
    
    Make space for more lisp bits!
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac0f7768659e288338bf452b4248ae3572ea2f7d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 15 20:22:54 2016 -0800

    altos/lisp: Take advantage of multi-arg macros. Add more ROM funcs
    
    Added nth, or and and.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1a00bf4ac12a6505d4b23d94e99b4b46bf679020
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 15 20:21:47 2016 -0800

    altos/lisp: Allow macro/nlambda/lexpr to have multiple args
    
    Entries from the params are bound to the formals with whatever
    remaining formals there are bound to the last argument as a list.
    This makes writing functions a bit easier.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5c1fa73f159de9d9839e8619494c26931521d2d4
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 15 20:20:14 2016 -0800

    altos/lisp: Do better checking for un-evaluated macros in ROM
    
    Need to look at immediate lambdas as well, and also deal with
    recursive functions by checking for recursion at each atom
    dereference.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 881161fe1c5fb0e2b1220c30572eb2c45bedbafe
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 15 20:18:59 2016 -0800

    altos/lisp: re-use small frames
    
    This saves a pile more use of the allocator by noting when frames have
    not been referenced from another frame and freeing them when they go
    out of scope. Frames with references are left to the allocator to deal
    with.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 994adc7a47cbf3cbf6041eca7430273f8018de08
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 15 10:32:36 2016 -0800

    altos/lisp: remove duplicate 'length' lambda from hanoi example
    
    This function is now a builtin.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 41175ff82bc0e35c99c60b49aa62944a12917157
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 15 10:18:12 2016 -0800

    altos/lisp: Get lambdakey and nucleo-32 building again
    
    Remove exti from the build list to make things fit.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 974717eb9dad105c9897ee24f953d98d57eaec77
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 15 09:55:22 2016 -0800

    altos/lisp: Evaluate macros once, then smash them into place
    
    This assumes that macros are all pure functions, which should be true
    for syntactic macros.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b3b5bd2c14cfcde6c551a87ee6da08a53f1e4bc6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 14 23:04:05 2016 -0800

    altos/lisp: Add license to hanoi demo
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 13a4d451b903d08e52005bcf531efa8de351bf2b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 14 21:27:41 2016 -0800

    altos/lisp: Improve hanoi demo
    
    Repaint in place, without first clearing. This makes the updates a lot
    clealyer looking.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 74ff0c6fd6c41cdaa054dcdb3d05c7d333bc24ff
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 14 21:27:03 2016 -0800

    altos/lisp: Show number of collect calls in ao_lisp_test
    
    This helps tune the allocator
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5557f6b87a9b8bc9716de8191f2062a772a6ae6c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 14 21:25:38 2016 -0800

    altos/lisp: Cache freed cons and stack items
    
    Track freed cons cells and stack items from the eval process where
    possible so that they can be re-used without needing to collect.
    
    This dramatically reduces the number of collect calls.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ce549b2c11e6b2571590021e1c0503d8a6e7a702
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 14 19:55:36 2016 -0800

    altos/lisp: Simplify GC a bit by only marking the head of each object
    
    We don't need to mark the whole object now as we're getting
    information about where objects are by walking the tree each time
    around the loop; ao_lisp_busy is only useful for terminating the walk
    now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ddb4b8d90478ae324aa207a7541352c1ac9451ee
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 14 18:45:12 2016 -0800

    altos/lisp: Change GC to do moves in batches of 32
    
    This should make it quite a bit faster than doing one at a time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit affcf6ffc08313151541993ee543bfe390165e81
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 23:38:03 2016 -0800

    altos/stmf0: Add a comment about the requirements for using ao_flash_stm
    
    Need HSI clock and the flashing functions loaded in ram.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 30db58ade19ec69272a8c39c2f13d7919ca491a9
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 23:36:22 2016 -0800

    altos/lambdakey: Get save/restore working
    
    Need the HSI clock running for the flash hardware to work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 33aeffc123af1f9063969acf585f1caac885ced4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 23:34:54 2016 -0800

    altos/lisp: Append a CRC to the saved image to validate on restore
    
    The CRC is actually of the ROM bits, so we can tell if the restored
    image relates to the currently running code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8f2d60b4c029bffaa559bd1f31f5b15230dfa674
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 21:18:50 2016 -0800

    altos/lisp: Add save/restore to ao_lisp_test
    
    Allow testing of the save/restore code under Linux.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dba374516ed396633659dec571b6a44b03da8ad1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 21:16:09 2016 -0800

    altos/lisp: Add save/restore infrastructure. Needs OS support to work.
    
    This sticks a few globals past the end of the heap and then asks the
    OS to save the heap. On restore, the heap is re-populated by the OS
    and then various global variables reset.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 29c890b4599b3bbdbd09a5915ea68a63f4e0a9ac
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 21:11:13 2016 -0800

    altos/lisp: Make sure memmove only happens once per object. Other GC fixes
    
    The memmove may be overlapping, so make sure it happens only once by
    just checking whether move_size has been set, rather than looking at
    ao_lisp_moving; that doesn't get set when moving a noted cons as that
    still needs to be walked at a later time.
    
    Fix up the various looping move functions to all use the same
    pattern. Atom was busted.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d46ca67f93e9ecbc4d8c051c3fbdead85490b690
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 21:07:09 2016 -0800

    altos/lisp: Make ao_lisp_ref and ao_lisp_poly non-inline
    
    These functions are pretty large and end up consuming quite a bit of
    space if inlined everywhere they are used.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 00827a0ffe30938c26be216369fd2d8f8946d2c4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 00:28:57 2016 -0800

    altos/lisp: Share mark function for mark and move
    
    These two operations both wanted to walk the referenced objects;
    sharing is caring.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f7e2431f5d1f7c1782ed6e774ccfc70fb4c87cf
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 00:28:31 2016 -0800

    altos/lisp: add length, pack, unpack and flush
    
    lots more builtins
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f5a36c15f894803f8804bbc3daf105eed53d5ff6
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 10 23:31:10 2016 -0800

    altos/lisp: Add towers of hanoi example
    
    Uses vt100 escape sequences to animate the display even.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7da6bfc195fad97e3afc576c609897c131fd4d8c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 10 23:29:21 2016 -0800

    altos/lisp: Deal with memory compation in the middle of operations
    
    Handle memory compaction in places where we've got pointers into the
    heap across an allocation operation. Either re-compute the values from
    managed global references or add new roots across the allocation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 137898e3431d887e75b09d8c1ce57297a1558e43
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 10 23:28:26 2016 -0800

    altos/lisp: Improve lisp test program UI
    
    Add a prompt for stdin, read from other files on command line before
    stdin.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 92cdc0cf0e80c1ff3f31cce20fc2b9bda86e3638
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 10 23:25:56 2016 -0800

    altos/lisp: Make read() return eof atom on end of file
    
    Also make it an exception to hit eof in the middle of an sexpr.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fb710f7f4f24f74ac3d45fcc423803384d986bb2
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 10 23:24:11 2016 -0800

    altos/lisp: use regular read-eval-print loop for make const
    
    No need to open code this sequence of operations.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c7d7cdc2318a97534c4c1f9c6fd2b51644be729d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 10 11:30:55 2016 -0800

    altos/lisp: add progn, while, read and eval
    
    Progn as a builtin will help with tail-recursion.
    while provides for loops until tail-recursion works :-)
    read and eval are kinda useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 417161dbb36323b5a6572859dedad02ca92fc65c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 9 16:22:43 2016 -0800

    altos/lisp: Clean up OS integration bits, add defun
    
    Provide an abstraction for the OS interface so that it
    can build more cleanly on Linux and AltOS. Add defun macro.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0ee44c8e4bf5dabe6a97bf76b366c8b767c387f8
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 9 11:13:58 2016 -0800

    altos/lisp: macros appear to work now
    
    Needed an extra stack frame to stash the pre-macro state. This
    simplified macro processing quite a bit; a macro now just evaluates
    the function and then sends that result to be evaluated again.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 794718abc62f4610495fe2bd535a2b67bc46573c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 9 09:14:50 2016 -0800

    altos/lisp: working on lexical scoping
    
    Not working yet
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cb4cdb115ad83ae0d75eb58e68f561d20279f027
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 6 21:47:31 2016 -0800

    altos/lambdakey-v1.0: Tweak memory allocations
    
    With non-recursive GC, more memory is available for the heap
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6e5c1308ce33a864095eae02e7db18b0e043ab6e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 6 10:53:46 2016 -0800

    altos/lisp: convert GC to non-recursive
    
    Use a boolean array to note cons cells which would otherwise recurse,
    then loop until that array is empty.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d8cf97fe22acefab40d7bb321138e46d4483fef7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 5 17:53:15 2016 -0700

    altos/lisp: more GC issues. add patom
    
    Use global ao_lisp_stack instead of local stack so that gc
    moves of that item work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 286d07d83bd7ff361e5a904c151a75e5a9c8b071
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 5 15:12:05 2016 -0700

    altos/lisp: make sure stack->formals_last gets moved during GC
    
    Failing this leads to broken formals chains
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3366efb139653939f053c1fe4aba352ba3b66c94
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 5 14:51:58 2016 -0700

    altos/lisp: Change GC move API
    
    Pass reference to move API so it can change the values in-place, then
    let it return '1' when the underlying object has already been moved to
    shorten GC times.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6fc1ee0f7adc6fcb3e850bcbaabc1db705314234
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 4 16:51:12 2016 -0700

    altos/lisp: get builtin macros working again
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c9456362c8bad8cd9be717f591f2d0841f88eb50
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 4 16:31:34 2016 -0700

    altos/lisp: Start rewriting eval as state machine
    
    Ad-hoc code was incomprehensible and I couldn't make 'cond' work, so
    I'm starting over.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c48bda3625fc507134da7b4af87a634e8eb3715b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 3 21:51:26 2016 -0700

    altos: Add lambdakey
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 77db0e8162cd01c2b42737b3d71b38cea942484f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 3 21:49:50 2016 -0700

    altos: Add lambda support to lisp
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 11cb03b1d336ee90c422be27588f57be573a9546
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 2 22:56:01 2016 -0700

    altos/lisp: Separate out values from atoms
    
    This enables changing values of atoms declared as constants, should
    enable lets, and with some work, even lexical scoping.
    
    this required changing the constant computation to run
    ao_lisp_collect() before dumping the block of constant data, and that
    uncovered some minor memory manager bugs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9e1a787f8828fb7b750ad3310c89a89536ea5286
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 2 14:18:54 2016 -0700

    altos/lisp: add set/setq and ' in reader
    
    Along with other small fixes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8362393a621ea78a96e7f65f602f4bfc7bbd1158
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 2 14:18:31 2016 -0700

    altos/stmf0: Add lisp to include directories
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit caba623cb013b73e1f0ca369edf98e0376bec41a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 2 14:14:23 2016 -0700

    altos/kernel: Make ao_cmd_readline public. Return char from ao_cmd_lex.
    
    With these two changes, the readline function can be used by other
    code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d2408e72d1e0d3459918601712b09860ab17e200
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 1 21:14:45 2016 -0700

    altos/lisp: Change lisp objects to use ao_poly everywhere. Add const
    
    This makes all lisp objects use 16-bit ints for references so we can
    hold more stuff in small amounts of memory. Also adds a separate
    constant pool of lisp objects for builtins, initial atoms and constant
    lisp code.
    
    Now builds (and runs!) on the nucleo-32 boards.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e2f4d25cd6f6f3787d4ee99264732d5b2ce23d4c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 31 18:53:09 2016 -0700

    altos: Add lisp reader

commit 56d46ceaa1413415f25e47e81036426132f99924
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 31 16:43:44 2016 -0700

    Add first lisp bits
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2cfcc622c94d87cdbee099f457b7d63cb2fcbc71
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jan 25 12:21:29 2017 -0700

    use elf, not ihx

commit 4ae8eeb426ef60105ec8e53e289739e5a8ae5dae
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jan 25 12:00:20 2017 -0700

    stop using /usr/share for binaries in remaining turnon scripts

commit f2c7bb5879ba22df05fd1e39f01ea692313306fd
Author: Richard Hughes <richard@hughsie.com>
Date:   Tue Jan 10 17:15:24 2017 +0000

    altos/chaoskey: Add a metainfo for the ChaosKey
    
    This provides the information necessary to reflash chaoskey using
    standard Linux device firmware tooling.

commit 89ecc32b90565ace078c4a84d4406a4d1f86821a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 17 20:58:36 2016 -0800

    altos/arm: Align data so that gcc 5.4 doesn't do byte-accesses. Add -Wcast-align
    
    Gcc 5.4.1 tracks alignment of data through assignments, so that a
    uint32_t pointer which comes from byte-aligned uint8_t data:
    
    extern uint8_t foo[];
    
            uint32_t        *q = (void *) foo;
    
    Fetches and stores through this pointer are done bytewise. This is
    slow (meh), but if q references a device register, things to bad very
    quickly.
    
    This patch works around this bug in the compiler by adding
    __attribute__((aligned(4))) tags to some variables, or changing them
    from uint8_t to uint32_t. Places doing this will now be caught as I've
    added -Wcast-align to the compiler flags. That required adding (void
    *) casts, after the relevant code was checked to make sure the
    compiler could tell that the addresses were aligned.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f650211f9e99e1d3d0ae13ae559dd1c082f71545
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 12 16:44:47 2016 -0800

    altos/stm: Make ao_usb_set_address static. Saves a bunch of text space
    
    I'm sure this makes the function end up in-lined, which saves enough
    text space to fit the flash loader in ROM again.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d46698a01ed4903d36635b34867bfc4bb8fbafc6
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 17 22:17:20 2016 -0800

    ao-bringup: Improve EasyMini turnon and test scripts
    
    Wait less time before trying the test script.
    Have the test script wait for the device to appear. And then use
    colors to help make the results clear.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5e24d637a8af09bf64beb7fcf7be4c13eee76a43
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 9 19:42:42 2016 -0700

    altos/test: Fix tests
    
    A couple of fixups for ao_flight_test to dump pyro info only when
    running in debug mode, and to change the aprs testing
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e3d8ad6de7d2dfabe45a285b27f465ba68844f05
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 30 19:08:14 2016 -0700

    altos/nucleo-32: Add basic support for STM32F042 Nucleo-32 board
    
    This hooks up the LED, USB and the USART.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 148f6e0a107d9e88509958700351794f2f971312
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 30 19:06:20 2016 -0700

    altos/stmf0: Add USART support
    
    The STM32F0 usart can be operated much like the STM32L usart, but the
    registers are all moved around.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 26f2727eac0cca8930dde9d757bc094f73801859
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Oct 2 17:19:14 2016 -0600

    augment TeleDongle turn on script to support serial number on command line

commit 66d4b5ea4031193e3c79ebdabeb381aae46fe93b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 22 03:23:34 2016 +0300

    Update pdclib to version using arm-specific 'ar' program
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2c1ab416728c942ddf176f881f025840ada6bf93
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 5 22:25:07 2016 -0600

    Fix release note html to remove xml bits
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4fdf8ca9ca1cd5a84b03bd7a03c5806af64b413d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 5 20:55:17 2016 -0600

    Remove pyro wizard file from master
    
    This isn't done yet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 89b8b2ee98e8d329559f54058c574ba9122ced8e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 5 20:46:05 2016 -0600

    Bump version to 1.6.8
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a37b687670dd1ccb0274e5fe6bf6145c4fc5acc8
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 5 20:45:12 2016 -0600

    altosui: Don't ship TeleMetrum v3.0 firmware (yet)
    
    We haven't finished this yet, so don't deliver firmware for it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 45084fd04326b979f349870f09ff9af1b3155cbe
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 3 21:02:35 2016 -0500

    Add 1.6.8 release notes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9279b0cd52333a846b57af890f708ebb364b62b7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 3 01:21:34 2016 -0500

    altos/stm: Set SPI slave DMA priority to HIGH/VERY_HIGH
    
    Set spi slave DMA priority MOSI to HIGH and MISO to VERY_HIGH. Slave
    SPI doesn't have the luxury of slowing down when the system is busy,
    so provide it maximum memory bandwidth to try and keep up with the
    master.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d80995c4535a3655ca1b9ca674d6839cfef84c4e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 3 01:20:20 2016 -0500

    altos/stm: Set i2c recv DMA to HIGH
    
    Make sure receive DMA is higher than any TX dma so that
    it always runs in preference.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit af2eefbed43e56885a7321319d69b7be17354cdd
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 3 00:55:19 2016 -0500

    altos/stm: Set MISO DMA priority to HIGH to avoid OVR
    
    When the MISO DMA priority is too low, and the processor gets busy,
    it's possible for SPI input to overrun the processor, which causes the
    MISO DMA to get out of sync and never finish. Set the MISO DMA
    priority to HIGH to avoid this.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4fc5cfa2c63c43ab0a9ef7e0cc6832fb1c163bd6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 3 00:53:44 2016 -0500

    altos/stm: Create funcs to set SPI DMA parameters
    
    Instead of having nearly duplicate versions of the SPI DMA
    configuration calls, create helper funcs that do most of the work so
    that the SPI API funcs are shorter and clearer.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1710a4921d4f408300c7d5adf0e83d08cc86be20
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 3 00:52:12 2016 -0500

    altos/stm: Make ao_spi_duplex out pointer const
    
    Provides a bit better typechecking opportunities for this function.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5d913dde1fa58cbcb5edbc88405180e37ba0dbcd
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 2 23:40:03 2016 -0500

    Bump version to 1.6.7.1
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 30e8f003381c30434058905f53f5a219ac5feb4f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 2 23:36:36 2016 -0500

    ao-tools/ao-cal-freq: Re-open usb device each try
    
    Instead of trying to re-use the same file descriptor, close and
    re-open the device each time around the loop to avoid getting stuck
    when calibrating TeleMega boards.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3ea30c1909b3ae23918ea6d0a53d2c4065b08763
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 2 23:34:47 2016 -0500

    ao-tools/ao-usbload: Fix -f flag, remove debug hacks
    
    The code to validate the usb id and product name had some debug hacks
    left enabled, which caused it to fail. The short -f version of the
    force flag was also not getting parsed correctly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dfaabc1ca3aaad0d249283308b06d3e0567f0c59
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 2 23:33:27 2016 -0500

    ao-bringup/turnon_telemetrum: serial on cmd line. Loop on accel fail
    
    These make the script easier to use
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8bbef0c7039f4a0c6ac368fd994c2e52d84d293c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 2 16:13:25 2016 -0500

    altosui: Deal with connect failure in AltosConfigTD
    
    When the USB connection times out, abort any pending operations and
    clean up the thread correctly. Also, deal with the serial line being
    closed by checking for null.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b2d013aef5b76ff527e8174dff7f6ffe0dfaefae
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 31 21:27:10 2016 -0600

    ao-tools/ao-cal-freq: --verbose option has no parameter
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 08923aa0cf31ae7bd73b66b4d1cd81fae4241ff0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 31 21:25:59 2016 -0600

    ao-bringup: telemega allow serial on command line, loop on accel fail
    
    Allow the serial number on the turnon_telemega command line, instead
    of reading it.
    
    When accel cal fails, loop waiting for it to succeed instead of
    continuing blindly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ab75ab10564c4d5d05719c382a3b71585cd70710
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 29 09:27:53 2016 -0700

    altos/cc1120: remove unused status from ao_radio_fifo_write_stop
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 462039c769f2db9328b04759807c30691f2b96c2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 14 15:57:39 2016 -0700

    ao-usbload: Check target device name to avoid mis-flashing
    
    Instead of blindly loading firmware, go get the old device's name and
    make sure it matches the new firmware.
    
    Add --force option to allow this to be overridden.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c62816a00b9aa40879a2ea98da2d10667e09b704
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 14 15:55:13 2016 -0700

    ao-chaosread: Parse -i and -b options
    
    Need to pass the single-byte verisons to getopt_long
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit af1d41e32fc04d5897fd2dc736391d263af48727
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 22:40:41 2016 -0700

    Bump verison to 1.6.7
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 46b1234140c04dbfac22be0fdf80be96506b6948
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 22:39:16 2016 -0700

    altos/stmf0: Switch ADC fast to ADC clock
    
    Using this slower clock eliminates sampling problems with the ADC and
    cleans up the chaoskey raw data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 48088d1d6a66c5d5271b52191367f07b09626b29
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 4 09:54:16 2016 -0700

    altos: Flash all LEDS during power on
    
    This tests the LEDS to make sure they all work on the following devices:
    
    easymega-v1.0
    telebt-v3.0
    teledongle-v3.0
    telemega-v1.0
    telemega-v2.0
    telemetrum-v2.0
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 71e3a59e42c284fde8ac2767abd029230ed86e07
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 4 09:52:05 2016 -0700

    ao-bringup: Add colors to chaoskey test result reporting
    
    This makes them show up nice and bright in the terminal window.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bc920c80ef447a5bcdf8165b69fb28b8f63609df
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 16:35:36 2016 -0700

    Bump to version 1.6.6
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 165868999f45f4572ff2585fcb3986974a5bbd5c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 16:52:39 2016 -0700

    ao-bringup: Use released files for chaoskey turnon
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c4926a69d6e72a035197b3d617c62893a7ea1861
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 16:30:15 2016 -0700

    ao-bringup: Test chaoskey using dieharder
    
    This uses a subset of the dieharder tests which run in reasonable time
    and don't appear to emit false negatives on a regular basis.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d52cb9dac725206ba7b2d26818c84f134d5bf183
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 16:53:17 2016 -0700

    ao-chaosread: Eliminate double-free when serial match fails
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3bdc9028502c766d1c8ddb4f0dedba4bbc22384e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 16:28:17 2016 -0700

    ao-chaosread: Add --infinite and --bytes options
    
    The --infinite option keeps writing data.
    The --bytes options pulls out bits 1-8 which should provide 8 true
    bits of entropy.
    
    This combination allows ao-chaosread to be fed directly into dieharder
    to validate the hardware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 826ad792389150ea8d80e341cb8ea023db83c9a2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 16:26:49 2016 -0700

    altos: Use standard FIPS testing for chaoskey
    
    Check to make sure we aren't repeating a block coming from the
    unwhitened source, which is the standard online FIPS test for RNGs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1934468e96ea9d179abf6e3e728b6b14ce793f46
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 16:53:50 2016 -0700

    altos/stmf0: Clean .bin files from flash-loader dirs
    
    The .bin files are what the DFU utility uses to flash the boot loader
    using USB.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 782013d0ff2c9f076952c0e172bfcb7016699d5f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 16:32:43 2016 -0700

    altos/stmf0: Hook up clock output support
    
    This was used to try and not have two xtals on telemini, but failed
    because the provided clock has too much noise.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 99753673a4a97423300427e276bf550ae5353842
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 16:31:41 2016 -0700

    altos: Make telelcotwo control two boxes instead of two pads
    
    telefiretwo is now a single pad box, so telelcotwo needs to switch
    between boxes instead of pads on the same box. Do this by re-purposing
    the pad arming switches into a box selector and arming switch.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit be84201495fa3cabd699012e57e797355e2bd792
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 27 21:28:34 2016 -0700

    altos: Add 'ao_button_get' to button driver
    
    This returns the current state of the button; useful to check what the
    value is at startup.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a6701283af7ed2b3016a910d6edbe4a5e8304581
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 16:33:52 2016 -0700

    altoslib: Add a 'seconds' method to AltosGPS
    
    This computes the time in seconds since the epoch from GPS time
    information.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 647690dbe084d188ba3973da631871a65f2dc50d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 27 13:29:20 2016 -0700

    altos: Stop building cc1111-based telemini v2.0 firmware
    
    This product never worked, so stop insisting that it actually build.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fe13426daff08f2beface2c1906f9a6184f6b987
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 27 13:26:22 2016 -0700

    altos: Don't switch to flight 0 when log fills in flight
    
    If the log is full at startup, we want to transmit flight 0 to let the
    ground station know. However, we don't want to switch to flight 0 in
    flight, so save the initial telemetry flight number (0 or the real
    flight number) at startup and use that throughout the flight.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 71ddb973ff75680e78fbbef7978ab3893c367629
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 27 13:24:57 2016 -0700

    altos: Expose cc1200 radio test functions for telemini bringup
    
    This exposes the cc1200 radio test function so we can load special
    test firmware in telemini to do the radio cal as it has no USB to
    perform that interactively.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 59874a062543c61d164089e8b31f55a9b860c0b1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 27 13:23:06 2016 -0700

    fixup for interleave

commit 2507b9f29d25f77de249103805087a704069c625
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 27 13:17:51 2016 -0700

    altos: Don't access cc1120 SPI bus during recv after abort has started
    
    When the receive timeout happens, the radio may still interrupt while
    the SPI bus is getting shut down. If this happens, the interrupt
    handler shouldn't touch the SPI bus at all as it may well be turned
    off, which would cause the receive function to wedge waiting for a spi
    byte transfer to happen.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 17adfd7939ff697afa96f7207a3fe17b6af789bd
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 27 12:24:27 2016 -0700

    altos: Keep telemetry and command output from interleaving
    
    When monitoring telemetry, the frame needs to be sent together on one
    line, not split with the output of a command (like 'a') mixed in.
    
    Use a mutex for products with monitoring to keep command output and
    telemetry output each on separate lines.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1667cb8e8b702b05fc3ec39ee49029885df64a4a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 2 20:00:01 2016 +0200

    altos: Add STM32F0 beep and SPI byte API.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f39bee8875a0595b3d7ec7f5575d1e5eeb7544ec
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 12 21:06:23 2016 -0700

    altosuilib: Show indicator when they switch from invalid back to valid
    
    The 'hide' value wasn't getting reset to 'false' each time the state
    of the indicators was checked, so indicators would get hidden and then
    never shown again.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit efd91febfa9bebd2f03508b2240916551450f831
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 12 21:06:05 2016 -0700

    Bump version to 1.6.5.1 after 1.6.5 release
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 639d8b3c4353ee25a0536e01653f3a86feb90ad5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 12 15:53:47 2016 -0700

    altos: Add telemetrum v3.0
    
    Like Telemetrum v2.0, but with cc1200 instead of cc1120
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1085ec5d57e0ed5d132f2bbdac1a0b6a32c0ab4a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 5 18:03:49 2016 +0200

    Switch from GPLv2 to GPLv2+
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cd97128e30c47edfcc71f7d872cbdad14867934c
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 5 10:21:29 2016 +0200

    remove debian/ from master branch, it should live only on the debian branch

commit a439ee4ac0398f70209292d015c5b82cd58d1d9f
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 5 00:48:07 2016 +0200

    updates made during 1.6.5 release process

commit 65ed2f588ca596fe9aa559bebd590a2a11b9859b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 3 12:00:10 2016 +0200

    doc: Build 1.6.5 release notes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d60133c65b4592f0f8c832135664a8e0c922b4f0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 2 22:52:38 2016 +0200

    Credit Chuck Haskin for helping fix the SPI bug.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 14e73d89d7dbb44e9ffab2820aefb693b6e8ef24
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 2 22:08:58 2016 +0200

    Bump to 1.6.5. Add preliminary release notes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8a6a95bb24517af00717fd377bad82ddb2289cf0
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 30 20:43:03 2016 -0700

    altos/cc1111: Remove 'show tasks' command
    
    This saves space on cc1111 parts.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d2e286f66d2b15df128ffe9b40a201242fc4a10a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 29 14:22:32 2016 -0700

    Bump to testing version 1.6.4.2
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a04830a636a71808ea8ef5ac5dfa59d6978d9f3b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 29 18:41:24 2016 -0700

    altos: Use FIFO_THR pin for cc1120 transmit buffering
    
    Instead of reading NUM_TXBYTES, set the FIFO_THR pin to indicate when
    64 bytes are available in the buffer.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit caf3fc2628c13ff38ffbaabda8aa8d146cda748e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 29 18:33:56 2016 -0700

    altos: Leave USB enabled in flight with -DDEBUG=1
    
    This leaves the command line available for diagnostics when debugging.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c6c250711355ae8060e956e786702be250ef4527
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 29 12:55:30 2016 -0700

    altos/stm: clean up ao_exti_enable
    
    Was computing (1 << pin) twice for no good reason.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a35424cd48205af89ba023db979959dc75b06706
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 29 12:54:31 2016 -0700

    altos: Make task list output more useful
    
    Add the timeout value and task id
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6c022e094f6f3c551355742a6f9c3deb6e554fe1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 29 16:07:22 2016 -0700

    altos/telemini-v2.0: Remove show tasks command
    
    There's not enough memory for this command, and it isn't necessary.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 349a63aeed6cdeb89bf18c7b2e2c40782c79cc00
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 29 12:52:37 2016 -0700

    altos: Make ao_delay(0) not wait forever
    
    ao_delay() is implemented on top of ao_sleep_for, and ao_sleep_for
    uses the timeout value of 0 to indicate an infinite timeout. Calls to
    ao_delay for 0 ticks would unintentionally hit this case and end up
    waiting forever.x
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3b3a24f5f39a1b72cc8947c33b609f454b46aff8
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 29 12:49:16 2016 -0700

    altos: cc1200: use FIFO threshold pin output for APRS buffering
    
    Instead of polling the device for fifo space, just use the available
    pin configuration to figure out if there is enough space for a single
    APRS buffer. Then set the APRS buffer size to match the fifo threshold
    setting in the chip so that we know we can write the whole APRS buffer
    once the pin says there's space.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 658d8be170f9aea683fe62b68368736a177411a5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 28 17:03:34 2016 -0700

    altos: Add debug check for irq block when editing task queues
    
    List manipulation operations are not atomic, so interrupts need to be
    blocked while changing them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 30eb5d2fa77e036690170e7057fa9df669375ae5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 28 18:40:46 2016 -0700

    altos/drivers: Use more reliable byte interface for CC1120 reception
    
    This replaces direct register access with function calls to allow that
    code to respect the hardware requirements.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 61ad8e5bf428246ac89cad7cb9a1edf2ef735fd5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 28 18:39:31 2016 -0700

    altos/stm: Add better byte-level SPI api
    
    This provides inline functions for sending and receiving individual
    bytes, and setup/finish functions to wrap them in. This make the byte
    sending respect the SPI hardware interface requirements.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5866d191cee56949ccab4c154a14604e83163d42
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 28 18:37:49 2016 -0700

    altos/stm: Clean up spi_enable/disable_index functions
    
    These had an extra level of switch nesting for no good reason.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5ab4a8b911e254dc829b61cb0abc9fd0b46b84b3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 27 23:25:01 2016 -0700

    altos/stm: move spi execution to common ao_spi_run
    
    This regularizes SPI hardware use and ensures that the device is
    turned off after it has been used and that the status register is back
    to 'normal' the next time through.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 69791ef235161fef404f682fd6955e7eed8dc125
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 27 23:26:20 2016 -0700

    altos: Add STM SPI debugging
    
    This dumps out the SPI hardware state and history of SPI operations
    when compiled with -DDEBUG=1. Without that, this patch does nothing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f418584d4d225827e08f56de86055eb3f074f8d1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 27 17:26:19 2016 -0700

    altos: Add STM DMA debugging
    
    This provides a command that shows current DMA operations when
    compiled with -DDEBUG=1. Without that, this patch has no effect.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2e60cd22f6789c94343e6432822cedab028dc1ba
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 28 18:25:44 2016 -0700

    altos/stm: Change ao_spi_send_sync definition to take const source
    
    Provides for a bit better error checking.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 21a29c7452398e0cca0fb90f99fa42a2a0684668
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 28 17:15:27 2016 -0700

    altos/stm: Add more SPI status register bits
    
    These weren't the original version of the docs that we had.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 785d2697376ebd20531d22441a60c41bd927b42a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 28 17:12:48 2016 -0700

    altos/stm: use 0xff for dma mutex value for allocated mutexes
    
    DMA channels which are 'allocated' can't be shared. Instead of using
    the value '1' in the related 'mutex', use 0xff which won't match any task.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0dec7d0885970a7d73468dd77220bae78e161b40
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 28 17:11:38 2016 -0700

    altos/stm: remove ao_dma_abort
    
    This function isn't used anywhere.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 974aaf73cbb720f1b1183cc239001528b6c7a5b9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 28 17:09:00 2016 -0700

    altos: Move comment in ao_sleep_for next to related code
    
    The comment got moved to the wrong place
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a7e0bb5eb661cfde31c383d605cb9cb8ca568bc7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 28 17:04:59 2016 -0700

    altos: Block interrupts while waking tasks sleeping on timers.
    
    Interrupts may not be blocked in the timer ISR, but they need to be
    while walking the pending timer list and moving tasks back to the run
    queue.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 40abb0d1e2f43a60ffa34b055ebb913ee3e20faf
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 28 00:07:23 2016 -0700

    altosui: Deliver firmware for Tmega 2.0 and TBT 3.0 for Windows too
    
    1.6.4 added Tmega 2.0 and TBT 3.0 firmware to linux and mac, but
    neglected windows.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5b7e81628437389014fdd39e323a6f0176e02ba6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 27 23:28:28 2016 -0700

    Mark testing version 1.6.4.1
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6d15cf1580563aea90e9c47f5b268c9c7bb9ba26
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 24 12:07:36 2016 -0700

    altosdroid: Deal with multiple installed android SDKs
    
    Use the latest SDK's zipalign
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3374a9069618658a33af54472d8670e3086af1e0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 24 12:06:32 2016 -0700

    ao-tools/ao-chaosread: Document length (-l) option
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca59786b5022f592f6516a3ac54708789db14c94
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 20 10:19:32 2016 -0700

    Bump android version to 13
    
    Need to update the maps API key in the package
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 10fa950cb9fee0ba28adfc5ead108657655bb289
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jun 22 15:01:09 2016 -0600

    switch libgtk-3-bin build-dep to gtk-update-icon-cache, closes: #825455

commit ed6eb010614b5b27757619fc629d7330fc8c4122
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 17 10:18:20 2016 -0700

    doc: Add install-html script
    
    This script strips the XML-ish bits from html files so that ikiwiki
    can parse them correctly
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit afe74c067a31ce420d0d4cdac2069c1d258a5114
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 17 08:58:06 2016 -0700

    Bump version to 1.6.4
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0c5a1bea3ffa7c4b6b1503733e33911cbfcb3e80
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 17 08:54:19 2016 -0700

    altoslib: Stop reflective JSON class walk at Object instead of null
    
    Android has classes above Object which are all tied together which
    cause the object walking to fail in pretty spectacular ways. As Object
    has no interesting fields, that serves as a fine barrier to the super
    class walk and works on both android and real java.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 383dec4449f8160c06804fba06290e7a07335934
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 17 08:27:12 2016 -0700

    altosui: Print filename before attempting to parse in --summary mode
    
    Any problems handling the file are easier to debug if the filename is
    visible above the error message.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e8250fcb267a34fbbd8b88c6dcc8eec419bbcc68
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 17 08:26:31 2016 -0700

    altoslib: Add back some JSON exception debugging printfs
    
    These make it possible to figure out where the JSON code went wrong.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a46df4f69984e3ef0064c2b211438c8d8ffaab68
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 17 08:17:57 2016 -0700

    altoslib: Add construction for remaining primitive array types to JSON
    
    AltosCompanion has an array of ints, which was missed until I tried a
    telemetry file with companion data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1ed6a3fb6356415c0d57ce2ce556435c6ff06e73
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 17 08:17:15 2016 -0700

    altoslib: Add null constructor for AltosCompanion
    
    This lets it be used by the JSON code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1dce20f7eee56166ac61798ca26eeb323dc8f012
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 17 00:52:38 2016 -0700

    altoslib: Get rid of manual JSON encoding stuff
    
    Now that the reflective JSON stuff is working, we can delete all of
    the manual code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7175774c4f60ed3efd54417f2035b50ea0108c7b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 17 00:02:05 2016 -0700

    altoslib: Improve AltosState save/restore debugging
    
    When save/restore generate different values, write out the two
    versions to one.json and two.json for easy comparison.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8df6afe843e184e98e5d965cee3af562dfa30a3b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 17 00:01:15 2016 -0700

    altoslib: Use reflection JSON code for frequency preferences
    
    This replaces the non-reflective JSON code with reflective code, which
    is much shorter.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93de1d7ec841c55f5a1a63d34b422780a6fbe3c3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 17 00:00:09 2016 -0700

    altoslib: Add JSON-based object saving/restoring code
    
    This uses Java reflection to construct JSON strings for
    most Java objects.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2a1b7c6c509d4d19de21abf02b63aeacba269d13
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 16 23:59:06 2016 -0700

    altoslib: Add null constructors to AltosQuaternion and AltosRotation
    
    These will be used in the reflection-based JSON code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f7e2f7f430e612c682bf55478860054ce94b995f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 15 22:52:08 2016 -0700

    altoslib: Remove AltosHashSet code
    
    Everything has switched to JSON now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1b5ea911049a8afae6af475a4a2bf62a6e3aa57b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 15 22:40:27 2016 -0700

    altoslib: Switch preserved state format to JSON
    
    This is much easier to debug than the icky strings with backslashes everywhere.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1de8b6c340cec0b5a327392686c5a4e00f201e98
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 15 22:39:31 2016 -0700

    doc: Updates to 1.6.4 release notes.
    
    Note USB fixes for host reboot and other changes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f28db1102685c87b9f4278268f7e91f5df18374a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 15 22:38:32 2016 -0700

    altosui: Don't open command window when --graph is provided
    
    When the user explicitly asks to open a graph, don't bring up the
    command button window too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2a4d741872449b5332f28e018fa3acc53ed7d891
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 15 22:37:39 2016 -0700

    altosuilib: Track open frames, exit when none remain
    
    This will let us not have the altosui window open by causing the
    application to shut down when the last frame closes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 04c6f4c54ac10f6464ffb8cab2186ac2b2eafb00
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 15 22:36:35 2016 -0700

    altosui: Remove missing items from --summary output
    
    Check all values for MISSING before printing them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7fd28830b6f7a20b35d85a92047ccb94c965fe29
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 15 22:33:55 2016 -0700

    altosdroid: Auto save freq changes on 'ok'
    
    Add any pending changes in the edit entries to the frequency set when
    the user selects 'ok'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 96eb350d3dfc83f6dfb31bbab1427f9206acde79
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jun 12 09:23:36 2016 -0600

    extend "ok" temp range to 40C, since battery charger on bench can drive temp above
    35C at times in Bdale and Robert's production testing

commit eee7fa303fb0d80ac5d7b9c5a86af60333f61951
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 11 22:17:01 2016 -0700

    altos/stmf0: Remove ao_usb_free
    
    This can't work without a lot more effort.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1704d27248f1845c545ec61cf1bad58bf41189af
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 11 22:16:12 2016 -0700

    altos/stmf0: Rework the sram allocation to save a few text bytes
    
    Boot loaders were going over 4096 bytes of ROM. I suspect we'll need
    more serious work soon.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 36a08dc89ece6e2a2f0f69e3b31da17d66ceb2e2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 10 14:40:26 2016 -0700

    altos/cc1115l: Reduce trace buffer size
    
    A 32-element trace buffer is all the larger we can fit in teledongle.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7d21ff641a7bc35318f0f637589eabb5bb6c5152
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 10 14:39:25 2016 -0700

    altos/stm: Handle USB reset in STM32L usb driver
    
    Just like lpc and stmf0, deal with the host resetting the bus while
    rebooting by restoring all usb-related data to the initial values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 54f8d53584d0a902676b441cd122c01cd54f2283
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 10 14:33:50 2016 -0700

    altos/lpc: Handle USB reset by resetting internal state
    
    Just like stmf0, this clears internal state at USB reset time so the
    driver can survive host OS reboots.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 36ba97fabbed2f2a4a89da5be221c630ea3ff66f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 9 22:06:30 2016 -0700

    stmf0: Do not send more data than requested for GET_DESCRIPTOR
    
    When Linux boots, it asks for only the first 8 bytes of the device
    descriptor; we must limit the amount of data sent back to that amount
    or USB will get wedged.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2970de9f92243b11d3beef56f3b1df3ef3579b95
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 9 22:05:24 2016 -0700

    stmf0: Clear all USB state when resetting chip. Wakeup all sleepers
    
    When USB is reset, but the board is not power cycled, all of the
    internal USB state needs to be reset, and any tasks blocked on sending
    or receiving packets need to be awoken so they can go wait for USB to
    start running again.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 55c8e5aff2cc7b941503a04970f7d368261af52a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 9 22:03:45 2016 -0700

    telegps-v1.0: Document how SN 1959 was fixed
    
    SN1959 was fixed by jumpering pin 8 to pin 10 so that the DONE_INT_PIN
    could be switched from PIO 2 to PIO 4 as pin 8 appeared to have failed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4d57c8b87f29f23beb0d88f1cef179209b1c5992
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 5 09:17:12 2016 -0700

    altosuilib: Only display map debugging when serial_debug is enabled
    
    This keeps the application quiet for most users.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f982248573c1b646ac53fde980a60ada5404f6aa
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 27 20:30:18 2016 -0700

    altosuilib: Fill preload map on site or lat/lon change
    
    This loads the map view with the selected area when the site entry is
    changed or the user hits return in the lat/lon fields. This lets you
    see the target launch site without having to load the whole preload set.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f5944ba4eb3f419f8cad461872d048b5adf7b566
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 26 14:33:44 2016 -0700

    doc: pad/idle indicator table was busted
    
    I stuck a pile of extra '|' characters in the table by mistake.
    
    Reported-by: Stan <stanleyosmith@gmail.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0d966b74f756e88e5dffa92400b105f540429262
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 24 23:44:50 2016 -0700

    altosuilib: Rename AltosUIMap*New.java to AltosUIMap*.java
    
    This code isn't really new anymore...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 59a9bdd73b580a9c934a574be7bf45c5033e14b5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 24 23:40:47 2016 -0700

    altosuilib: Have map preload respond to units and font size changes
    
    Just add suitable listeners so that the display updates when
    preferences change.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7b5521966119fcc290591bf1b397506ef44cedea
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 24 23:40:03 2016 -0700

    altoslib: use miles for distances > 1000ft.
    
    This makes both the map line and the other distance displays use miles
    for distances greater than 1000 feet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1ea855f95772a8a394407e0070be1ed9cc0f6650
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 15 13:59:12 2016 -0700

    telegps: Add monitor idle mode
    
    This monitors directly connected devices. No support for doing monitor
    idle using packet mode, as TeleGPS doesn't support that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit df276262900551a5eecd94903eefe9a264b161ec
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 15 13:58:41 2016 -0700

    telegps: Use log_space when flight_log_max is missing
    
    TeleGPS has this, but not flight_log_max
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9287122edc0e2dec6b2542f4cc8cb9cf2900bb33
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 15 13:57:28 2016 -0700

    altoslib: Add AltosIdleReader
    
    This provides an AltosFlightReader interface for monitor idle mode,
    making that easier to provide in TeleGPS
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3c4278a29082a2af5911e22e59f8f52549f549e3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 15 13:56:21 2016 -0700

    altoslib: Add log_space to AltosState
    
    TeleGPS doesn't have flight_log_max value, but does have log_space
    which we can use for the same thing in monitor idle mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f484216e72f81decb2aaa7289d6f69678990b7af
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 15 13:55:12 2016 -0700

    altoslib: Set version and log space from AltosIdleFetch
    
    Just more data for monitor idle mode
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 29123a60272777916e5aae08369d0f03c2f135b6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 15 13:53:38 2016 -0700

    altoslib: Allow empty values in AltosHashSet representation
    
    Check for value termination before appending the first character.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b1a90adac9f6e2a609ce1ccd6749462bb5c9adbe
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 12 23:33:53 2016 -0700

    altoslib: Store saved state in version-independent format
    
    Use AltosHashSet for AltosState so that AltosDroid doesn't lose
    tracker information when the application is upgraded.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b13037fad0905c5933d1ff579122ba1357b02eea
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 12 19:13:05 2016 -0700

    altoslib: Store common frequencies in library version-independent form
    
    Serializable Objects in java are very specific to the class being
    serialized. As we bump the name of the library on a regular basis to
    note API/ABI issues, this mean a saved a Serializable object in
    the preferences database will fail to load across library version
    upgrades.
    
    The saved tracker state and saved common frequencies were the only
    objects saved in this form; this patch adds infrastructure for writing
    objects in a version-independent form, and then adds support for
    saving frequencies in that form.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2f4903f903223312d0a3a03dfd413059f24a07f5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 12 19:10:19 2016 -0700

    altosui/telegps/micropeak: Handle both MULTI_LIB and non-MULTI_LIB builds
    
    On x86 systems with -m32 and -m64 compilers, both libaltos32.so and
    libaltos64.so are built. Otherwise, we should use libaltos.so
    
    altosui only dealt with libaltos32.so and libaltos64.so, so it only
    worked on MULTI_LIB systems. telegps and micropeak only used
    libaltos.so, so they wouldn't work correctly on multi-lib systems.
    
    Fix all of them to work either way.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 64ed56fe3132faa8585c9cd7b0261ac85f70a7bd
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 12 18:05:14 2016 -0700

    Automatically run 'git submodule update' if necessary
    
    This makes sure pdclib exists by updating for the all and
    all-recursive targets
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97adfff4cfb67c17a96f3ff46606b4e439422b01
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 12 12:14:03 2016 -0700

    Bump java library versions
    
    Prepare for 1.6.4 release
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3450efdf8bd736a33900493eeda348ec2dacf7e8
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 12 12:13:45 2016 -0700

    Bump android app version
    
    Prepare for 1.6.4 release
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ba84b9c908d5909ea5a148c249709b21640f1eac
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 11 23:31:53 2016 -0700

    telegps: Adapt to distance units switching changes
    
    'show_units' is no longer available; use 'parse_units' instead
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2ec7e14f0104e3a227ff566fa2fc1f6286ddd9d0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 11 12:48:10 2016 -0700

    altoslib: Get rid of AltosMap from AltosMapLoader
    
    Cleans up the loader API and eliminates a AltosMapTile for every chunk
    of map data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ab905d2f7d8929080042cfd16cc418ea5792c3cb
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 11 12:43:51 2016 -0700

    altosdroid: make disconnect stick past pause/restart
    
    Clear the active_device preference on disconnect so we don't reconnect
    anytime the service gets activated.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0a50669b1fde3e3c1cbc08c4836613b58ead219b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 11 10:47:31 2016 -0700

    altoslib: Clean up map file and url handling
    
    move it all to AltosMapStore.java
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 471091d0fddf09ed69df75e4f2fdd92e5f57b9c5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 10 23:13:14 2016 -0700

    doc: Start update for 1.6.4
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b2710128a715a109745ec40553a3d4149a7f49ab
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 10 23:04:23 2016 -0700

    altosuilib: Don't flicker missing voltages when changing units
    
    For some reason, a value of MISSING -1 was getting used, which caused
    displays to light up briefly with a weird value when switching between
    metric and imperial units.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 895cb58a6cd7424ee63c24d791b5988f41f85d31
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 10 23:03:45 2016 -0700

    altosdroid: Rate limit map loading pacifier
    
    Just like in altosui.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c5f49d0ac254047f13c6c1ecfb5520eff72109ac
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 10 23:02:09 2016 -0700

    altoslib: Allow map preloading to be aborted
    
    Close the map preload dialog and it would be nice to stop loading map
    bits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2e551e7c5f82a7e35d39e8f73e8e526e5484cd5d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 10 22:50:23 2016 -0700

    altosuilib: Rate limit map loading pacifier updates
    
    Just updating the pacifier was consuming a huge amount of CPU. Update
    no more than once every 100ms.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 42021d9fdc6f7a74cc9b20ebf3cf60b4c5f4ea82
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 10 22:49:04 2016 -0700

    altoslib: Remove some debug printf calls
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 60f4d69592c440ab7bb67a04f4c07fc7279d2c20
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 10 22:46:58 2016 -0700

    altoslib: Switch distance from m/ft to km/miles for large values
    
    This adds lots of infrastructure to deal with making the unit used
    depend on the value itself, and then uses it only for distances.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a6da23335e6e5864387c7a22946f80f51056a4f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 10 12:29:14 2016 -0700

    Add TeleMega to spec list. Add TeleGPS RF output.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d92ca1cd4dfbacebd7aa1bbcfc671daee35dc808
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 10 12:28:51 2016 -0700

    Publish firmware with keithp-fat
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a371253bb5fc25e34d87507dc9b814530f4e28f6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 9 17:57:12 2016 -0700

    altosdroid: Check for closed before writing/reading bluetooth
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c57d86f6c9b56e90c986f460f93663a3e16cdf7a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 9 17:56:28 2016 -0700

    altosui/telegps: Ship firmware for new hardware
    
    TBT v3.0 and Tmega v2.0
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f078235803a80403014b3e54039fd2d0e0704367
Merge: 04759ddd c457c827
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon May 9 15:52:38 2016 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 04759dddeb29e4de9f7e6b3673dc06c633fa2369
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon May 9 15:52:21 2016 -0600

    process updates made during 1.6.3 release cycle

commit c457c827a7445098ba5effd410de754ff5c65843
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 9 11:48:42 2016 -0700

    Bump version to 1.6.3.1
    
    Post 1.6.3 release
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b25785ee0afebaf516b8a1b8d08d36fbdadd74ca
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 9 11:33:48 2016 -0700

    altos/cc1111: Use SW to drive UART RTS pin
    
    Can't get the hw to work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1216c0ccece4ca1492967a341c5d01e9e5068ed8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 6 17:10:14 2016 -0700

    Ignore some built files for 1.6.3
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ce4c8a8ad57515e851207b0a82f3af791bb30d3e
Merge: aa9630c3 320e312d
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri May 6 17:49:30 2016 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit aa9630c30ee09bf358e77bf47ed0815a19237fca
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri May 6 17:49:09 2016 -0600

    add beep to TeleMega turnon script

commit 320e312db36fb6519a0bb1530d79595af18cdc86
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 6 16:46:57 2016 -0700

    windows: Change install to look for browser in a different place
    
    The windows registry is a mystery.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e0081f7ba6fc9f1e4484d3e291fd30065ad5b620
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 5 02:25:52 2016 -0700

    altoslib: Fix map preloading callbacks, run in separate thread
    
    The map storage and tile callbacks were muddled together. Create
    clearly separate states for map data and have status updates be
    delivered when registering for new status events so that registration
    is sufficient to track the state without an explicit call to get the
    current state.
    
    Run the map tile creation in a separate thread so that even checking
    status of files on disk runs out of the UI thread.
    
    These fixes serve to make the pacifier update more smoothly, and also
    not over/under count tile loading so that the loading actually
    completes when all of the tiles are loaded.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 13179f614a99cad3016832ac1b365eaa4208c10f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 4 23:56:44 2016 -0700

    micropeak: Change order of windows install so that java detect works
    
    I have no idea why this matters, but if you run the FTDI script before
    trying to detect java, then the javaw.exe program isn't found and java
    detection fails.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 85191fe911a5ea4af384bff9b2ed9986679cd9fd
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 4 21:13:31 2016 -0700

    doc: 1.6.3 release notes note TeleBT rts/cts and TM 2.0 monitor idle fixes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 541996f95f9e26299618dbb79e723b82a52afd31
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 4 21:12:46 2016 -0700

    doc: Update AltosDroid chapter for 1.6.3
    
    New menu structure, idle mode and frequency configuration
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b540f6f5b034f33b8e1d1c3b91e2403a56479caa
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 2 16:19:39 2016 -0700

    altos: Make sure AO_MMA655X_INVERT is declared where needed
    
    Add #define AO_MMA655X_INVERT 0 to existing products which didn't
    declare it at all. This will make sure the value is set correctly for
    each new board.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0b0b359cbce6b818257b44b2a6aee0edcbaee40d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 2 16:13:53 2016 -0700

    altoslib: Deal with TeleMetrum v2.0 MMA6555 being inverted
    
    Dumping the MMA655X data with the 'A' command provides the raw sensor
    value. On TM v2.0 boards, the sensor is inverted, and all of the
    firmware uses the inverted value except for the 'dump the raw data'
    command. As a result, MonitorIdle was using the un-inverted value and
    displaying mystic values.
    
    I've fixed this in the ground station code by checking the product
    name and conditionally inverting the value (4095 - value) for
    TeleMetrum v2.0 products. Unknown products will generate a warning
    dialog on AltosUI so we'll catch places where we've failed to add a
    new product name.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1a797f5fd5d25ba635fd79ad7604763253caabf2
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 30 18:38:42 2016 -0700

    publish AltosDroid in keithp-fat target
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 59466c1c2dbf95c427c2bb52304049eaac4d124f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 30 18:37:05 2016 -0700

    altoslib: Flush during set_state. Don't store listener state.
    
    The listener state wasn't used anyways, so don't bother storing
    it. Also, flush the state during set_state, which actually causes the
    state to be written out.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4219fd7720caeec196bf6cb1b4cf78c8fadaf3cd
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 30 18:33:25 2016 -0700

    altoslib: Correct stats for flights without a real landing
    
    The landing time was miscomputed when the flight ended without
    entering the landed state, as when the recording terminates at
    apogee.
    
    This led to an uncomputed average boost accel, so that is now checked
    separately from max accel (which is done over the whole flight, not
    just boost).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9734f1198429dc8939eebf48b6e6acc1cef96485
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 30 18:30:16 2016 -0700

    altosdroid: max height is a height, not a speed
    
    Was using the wrong units in the flight tab
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7695da327ff8861a858b6695f4849fa1399548d8
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 30 08:46:52 2016 -0700

    Revert "altos/stm: Run scheduler code on interrupt stack"
    
    This reverts commit 6a9546413d6a236c010e806b50506d870961d074.
    
    This causes the device to stop reliably handling interrupts.

commit 7db1cba64a2f6c80c5fe6e3073a0ff65be9c04c1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 29 21:49:43 2016 -0700

    doc: Add idle mode info to 1.6.3 release note
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ec20e2f72460010c4f59e6d59775671260e01026
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 28 12:29:16 2016 -0700

    altoslib: Make AltosPreferencesBackend abstract. Add set/put Serializable
    
    This lets us add functionality to this directly, such as the new
    serializable APIs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3c7b68b8a513b611500dfd734182e1a2e7bdd40c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 27 01:40:47 2016 -0400

    altosdroid: Add configurable frequency set
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02f47fa98536eb0ecd58cd8f063600ced60e0a8a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 27 01:39:01 2016 -0400

    Fix key in AndroidManifest.xml.in
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d81f94fd5339d513de9bde5a2e19f8eca526344f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 26 21:01:44 2016 -0400

    altosdroid: Split setup functions to separate dialog
    
    Remove them from the options menu, handle all preferences through
    listeners.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 204ae5142702044eb8ad2697a55028e904067958
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 25 23:12:34 2016 -0400

    altosdroid: Add idle mode monitoring, reboot. Start igniters
    
    This adds three idle mode operations -- monitor idle, reboot flight
    computer and test igniters. The igniter test isn't quite wired up.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 565404599fe9edf9ba16aec348eeb19ea31af743
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 25 18:50:58 2016 -0400

    altos: Clear packet queue when starting packet master
    
    This avoids overfilling the packet buffer when
    disconnected. Applications using packet mode shouldn't expect that
    output be saved across master sessions.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c816bea3536d025568dab313d7c8944a56ba0801
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 25 18:49:45 2016 -0400

    altos/telebt-v3.0: Flip CTS/RTS pins for BT module
    
    These are wired backwards, so ask that the right pins be used, which
    requires switching to software control of the pins.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 27319e4edbc503f193475b437fa5fe2937d47cbe
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 25 18:48:47 2016 -0400

    altos/stm32l: Add support for software-driven HW flow control
    
    This allows applications to request that the flow control bits be
    driven from software rather than hardware, permitting more flexible
    pin configuration.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7c9a111ac1c88467ce28e03b4a9d3eabc9d7015b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 19 23:53:27 2016 -0800

    altos: Use TXE instead of TC for serial on STM32l
    
    Using TXE allows for full-speed communication, rather than waiting for
    each byte to be transmitted before inserting the next into the queue.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eee2ca7fa7fd77be8ca5806cad7e250053465048
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 25 11:47:45 2016 -0400

    Debug bits for telebt

commit a995d73838c8e7ec5126e563baa2e59d5e071b28
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 22 19:15:51 2016 -0400

    altoslib: Don't try to drag lines around until map is loaded
    
    When the transform is null, it's hard to draw lines.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a5373e2f9d2f1af211aa98029d448aeb518b45ce
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 22 19:15:05 2016 -0400

    altoslib: Report exceptions caught while opening launch sites URL
    
    This just dumps them to stdout, which helps debug on Linux at least.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6bca0ed8183b85e5825eb0f4093dcd749592faf3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 22 19:00:46 2016 -0400

    altoslib: Use feet per second for imperial speed
    
    This is more useful during descent than miles per hour...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f49fd5d2be68de97ebe65fa4f6484746e91dd677
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 22 18:53:32 2016 -0400

    altosdroid: Run even without Bluetooth
    
    This lets us view old state information on USB-only devices, or when
    the bluetooth device can't be enabled.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ea89feedd4185a5f583fa8ddf33a2ec0906e0dc0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 22 18:52:42 2016 -0400

    altosdroid: Redraw offline map when my location changes
    
    Update the map view even if there isn't any current telemetry data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 39af826ce9032e339929eb7917b1d29c87d03f69
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 22 17:32:10 2016 -0400

    altosdroid: Track device location in app, not telemetry service
    
    This means we get location even if there isn't a telemetry device
    connected, making it possible to walk to old device locations
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b3f0c4d5c4ab8288db5fcabb0e848627031c4fd1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 22 17:31:49 2016 -0400

    Bump version to 1.6.3
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 57c1320962ad08d52e89d39bd5852f8d228dd872
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 21 22:37:35 2016 -0400

    altosdroid: Can only use message once
    
    And here I thought re-using the message was clever. That generates a
    nice exception and crashes the program.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4d4a39b569d7982405748b961b93dcd33e59b833
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 21 21:32:50 2016 -0400

    Add preliminary 1.6.3 release notes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 565d8f22c23c7c6c6817d11ef1ca02e70ba5d2ae
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 20 20:27:47 2016 -0400

    libaltos: Fix for Mac OS X El Capitan
    
    USB enumeration for serial devices changed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f10fbff6758dfcfbeeeb224f8ab02fa107aae5f6
Author: Justin Vreeland <vreeland.justin@gmail.com>
Date:   Thu Apr 21 08:30:10 2016 -0400

    Fix java class differing only by case
    
    OSX and Windows cannot handle files with names differing only by
    case.  When these files are present in either there's a constant
    unfixable change viewable in git status and git diff.
    
    Since this code can be run and compiled on both platforms
    names different only by case should be avoided.
    
    Signed-off-by: Justin Vreeland <vreeland.justin@gmail.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c989237366ada094cdc817f50b7f58bbcf5b377a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 21 21:11:29 2016 -0400

    Prepare for new Android release by updating version number
    
    10->11
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 18b10ddf0e713431cb3e1065e62b0e6f597ce9d7
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 21 21:12:06 2016 -0400

    AltosDroid play store keys have moved, update configure.ac
    
    The actual build files were already updated, but the configure.ac bits
    which detect that they are available were not.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 21d176f161b90f18f236ef887cef9676d712eee3
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 21 21:12:40 2016 -0400

    Update java library version numbers
    
    Prepare for 1.6.3 release.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4db6074bb15c66bd23c513e1e41b408e5408cff8
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 23:19:59 2016 -0400

    altos: avoid mixed declarations and code in ao_task.c
    
    sdcc can't handle this.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 09acb6821ab490d69f679a195e70acb4a71ba342
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 23:18:46 2016 -0400

    altoslib: switch from keySet() to keys() in altos map tiles
    
    Android appears to not have the keySet() API in the same way that
    regular java does, so use the alternate older keys() api instead.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 49c3e3dffe748d0d155d4876efcaf7d39e1cc8e3
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 23:17:50 2016 -0400

    altoslib: Make AltosGPSSat implement Serializable
    
    This is required to save state values in AltosDroid.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 45bcf595d0a6a6001459f7f2055cd15e4839550b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 23:17:01 2016 -0400

    altoslib: Add debugging to AltosPreferences.state() etc
    
    This let me find why AltosDroid was losing the last state information
    for each target.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 90ba010aaa84a7d8b93c63543568a16ab0cb5984
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 23:15:26 2016 -0400

    altosdroid: Don't set target location if lat/lon is MISSING
    
    Otherwise, we get a nice pointer to some random location on the planet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fd0ca040a5cccae18145bd29b3e4c09f14df3865
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 13 06:14:33 2016 -0700

    altos/telefiretwo-v0.2: Change alarm names in comment
    
    The PCB is labeled 'A' and 'B'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3abc0fc5e4484d862709501133d35563aa0c25fa
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 13 06:11:44 2016 -0700

    altos/stmf0: Fix external interrupts
    
    Missing a reserved address in the registers broke everything nicely,
    but the priority values were also wrong - stm32f0 exposes 8 bits per
    priority, like the stm32l, but it uses only the top two bits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 14fecd672807982ce6232fa3b4bdce0aebe132e8
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 6 22:32:36 2016 -0700

    Add TeleFireTwo v0.2 project
    
    This is much like TeleFireTwo v0.1, with only one pyro channel and
    added siren and strobe
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 70e46100acf597014ce54cf3b642254ce1cba59b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 5 23:45:52 2016 -0700

    altos/telelcotwo: Add idle timeout
    
    Puts TeleLCOTwo in a low power state (drawing about 80µA) after a
    timeout (default two minutes) to keep from killing the battery if the
    device is left turned on.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aef5049cf8311927fada922730f85f31c8ddf177
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 25 20:46:40 2015 -0800

    altos: Use simpler debounce logic for buttons
    
    Instead of waiting for a while after the transition to decide if it
    has stuck, signal the event right away and then ignore other
    transitions for the debounce interval.
    
    This seems to work just as reliably, but has the benefit of
    eliminating button latency at press time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4c2a7503373c0584de77f9b0e5632a58ab8bbd1f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 25 11:26:34 2015 -0800

    altos: Add ao_lco_two.c; alternate LCO interface code
    
    The LCO interface is likely to end up very device specific as the
    interactions depends on the input devices. Here's a version for
    TeleLCOTwo, which has two arming switches and a firing button.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 26023cfbf7e117114a4d62b7dbfc0f907efdfb47
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 21 21:52:31 2015 -0800

    altos: Fix telefiretwo .gitignore
    
    Was ignoring the wrong built files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 11f8ab90d2267715010e652d709beec363f74ed5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 21 21:50:43 2015 -0800

    altos: Add TeleLCOTwo firmware
    
    The LCO side of a two-channel launch controller setup.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e6bad553009704af69b08b4a22fb5eb8ac6921f8
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 21 21:48:37 2015 -0800

    altos: Support pad/lco boxes with fixed box numbers
    
    This allows for a configuration without adjustable box numbers on
    either end of the link, simplifying the UI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93100ae8d4c8bd8fd6bdeff2cdc87b613c5d8058
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 21 21:47:10 2015 -0800

    altos: Allow for pad boxes with different sensor configurations
    
    This allows for a pad box without a resistor from power to each
    FET. That resistor is needed to detect welded relays, but in a
    solid-state system, that's not a possibility.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2038dd2cfed5bbf049144172e3f7436b6cd3a55
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 17 19:54:23 2015 -0800

    altos: telefiretwo-v0.1 bits
    
    Get this board running.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 26ce7a9a213bdd35a13937054988e7b8fa749632
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 17 19:30:35 2015 -0800

    altos: Add pad support for new telefire versions
    
    Makes the voltage divider values configurable, and allows for pyro
    channels that don't have the resistors necessary to check for a stuck
    relay.
    
    Also supports STM32L processors with wider GPIO registers, and uses
    the new ao_gpio_set/clr_bits functions to fire igniters rather than
    cc1111-specific code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 553c89f8c64398cb1a815b1fa248980cd3f62ef8
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 17 19:29:36 2015 -0800

    altos: Support telefire products in cc1200 driver
    
    Need to disable the pad code while testing the radio.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b8a19e83b7b1b8e2a1fcbdd58e41f9f974ae28ff
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 13 06:16:01 2016 -0700

    altos/detherm: Add servo driver
    
    This just provides commands to test the servo with.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cfb91ec7ef6ef485d813af96a0f206bb7a2204dd
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 5 22:03:37 2016 -0700

    altos/detherm: Add ms5607 to detherm
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8da29480a2fdf890d553b30eab58fc884210c1a5
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 23 23:15:16 2015 -0800

    altos: Add easy mini plotting helper in test code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e3f0c5eb8e5d57cbd8882587477d1381e2a83226
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 17 19:27:42 2015 -0800

    altos: Add ao_gpi_set/clr_bits functions
    
    These set or clear a group of bits in a single GPIO register all together.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 097c156b13ae975c742f294b46429e8ff14c365b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 2 22:41:06 2016 -0700

    altos/stmf0: Add pwm and exti drivers
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0f227683e29062224a612c4a2ab5c8b2fc166059
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 2 22:40:23 2016 -0700

    altos: Add detherm product
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eeceee3520fae66b35a9a9b39c866c1c2e3b0c9a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 2 19:44:06 2016 -0700

    doc: Note that EasyMega and TeleMega report A-D continuity
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f95c781bc16d332ea5442590521074396d6981ae
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 2 19:43:32 2016 -0700

    altos/stmf0: Support HPE clock source
    
    Allows the use of crystals instead of requiring USB.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9f9d77b6d025d8285e362e53a8f728ec47adb234
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 2 19:42:44 2016 -0700

    altos/stmf0: Add SPI driver.
    
    This also changes the DMA interface a bit so we can select for
    interrupts on only the interesting channels.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f5e6caab78f4ca0e5c8a2d96ef53b8752d64f4b3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 2 19:41:21 2016 -0700

    altos: Use mini logging for detherm, just without ADC
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6ead4c570a264afdc4e45eed6e87bf541668be6f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 2 19:40:19 2016 -0700

    altos: Add Detherm log format (easymini without ADC)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0ee235e1126f34987522fe852ba6ab3ac92d6cfd
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 2 19:39:07 2016 -0700

    altos: Allow for flight hardware without any ADC values
    
    Detherm has no ADC connections, so we don't need to disable the ADC
    when going to landed state.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7348cc4736c9a94f9ad299edd78199b544d0e95a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 24 19:25:33 2016 -0600

    altos: Add one-byte SPI output routine for LPC and STM cores
    
    This allows for SPI output at interrupt time, one byte at a time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b31c6fd153825ae5ad0fcea7189472af1a9cffff
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 24 19:28:16 2016 -0600

    altos/lpc: Add fast timer
    
    This offers a faster timer callback for higher-precision operation
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a86d98b708d84c6e0b85cb950e3f1ee16cfc56f5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 26 15:59:26 2016 -0700

    altos/stm: Allow apps to define different stack size
    
    While 512 bytes is a reasonable size, sometimes apps don't have that
    much stack space.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4fa71ecf168e275b24534a5a20e3dd4e178c7bbd
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 26 15:54:24 2016 -0700

    altos/stm: Validate current task SP in interrupt by looking at PSP
    
    We use a separate stack pointer for task code, which means we can
    verify that it is in range in any interrupt handler. This adds checks
    for the task stack (under #ifdef DEBUG) that run in ao_wakeup as well
    as at every timer interrupt.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a9546413d6a236c010e806b50506d870961d074
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 26 15:49:59 2016 -0700

    altos/stm: Run scheduler code on interrupt stack
    
    This provides a bit more room for tasks on their stack
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 55db3b3e8addaa2dc0af50470d3bc8c25cb57df3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 21 22:28:39 2016 -0600

    altosui,telegps: Do not allow radio calibration to be edited
    
    This leads to sorrow for almost everyone. If you want to edit this,
    use a terminal program.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c61014914c80ad0dba72224109d9b147bb343562
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 26 15:57:59 2016 -0700

    altosuilib: Control map debugging output with Serial.debug
    
    This uses the same debug control as the serial output to monitor map downloading
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4f8a325949ed3cece4b646c808ad68677b16d1b6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 26 15:57:21 2016 -0700

    altoslib: use env var LAUNCH_SITES to override default URL
    
    This makes it easier to debug new launch site data before uploading.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2fc47e7052a08de464f08d890e222afd7dec75d8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 20 23:11:49 2016 -0700

    libaltos: Fix warning in linux libaltos code
    
    Just returned the wrong name of the value
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4dddf0a9134690d94217ad12bc7372683276f8ba
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 20 22:01:07 2016 -0700

    altosuilib: Note that Windows now supports Bluetooth
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 054f2896b98a14051e0b818090f2de178bb77283
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 20 21:54:08 2016 -0700

    altosui: Delay between polling for igniter status in Fire Igniters
    
    This gives a remote like time to report the full status instead of
    sending another request before the reply has been processed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1594691ea88ca84634eea237ac8137a5bdc19f5c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 20 21:52:53 2016 -0700

    libaltos: Add Windows BT support. Split into separate source files.
    
    Add Bluetooth support to Windows. Split libaltos into separate files.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit afba05c41f30c9273668d5ed71e0dc8c1ca53141
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 11:17:46 2016 -0700

    ao-bringup: Use dfu-util to install flash loader on chaoskey
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4635203e9be530f53b697ac0349838916e146983
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 11:16:59 2016 -0700

    altos/stmf0: Construct .bin files for flash loaders
    
    This builds a .bin file which can be used with dfu-util instead of
    using openocd to load the initial flash loader.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f393482ec47e857db654fa071d4df95e98dab381
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 11:15:57 2016 -0700

    ao-tools: Add ao-makebin
    
    This constructs a raw binary or DFU format file for use with dfu-util,
    which can be used with a bare STM processor to load code before the
    boot loader is available.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1d7f88bf7521fa6d301da072f95f97fa42d9d247
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 10:52:03 2016 -0700

    ao-tools/lib: Add ao_hex_image_cat function
    
    This takes two images and constructs a third containing the union of
    the contents along with 0xff bytes for any area between them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e738dff6dec4685b8712d3e96742971fa39c8f1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 10:51:20 2016 -0700

    ao-tools/lib: Remove trailing whitespace from ao-elf.c
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 45d61b79665197ff99f415cda7bd5907830233e9
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 10:50:32 2016 -0700

    ao-tools/ao-dump-up: Remove spurious flight state strings
    
    MicroPeak doesn't have flight states like this...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 25cdbf15e7284eb963070b28dd886aa299af6487
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 10:48:49 2016 -0700

    Change how we detect and install java
    
    Detect by finding 'javaw.exe' in the current path and extracting the
    version from the program itself.
    
    Install by simply opening the web browser to java.com and letting the
    user install it themselves.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a7c7e10b3bbfbdf9667d071634cdd6fdf12a1f85
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 10:17:24 2016 -0700

    altos: Expose fast timer API from kernel/
    
    This allows multiple SoCs to provide the same driver interface
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d1af180c2d2a2caf1e13f00d83f2b86ba26de27f
Author: Bart Massey <bart@cs.pdx.edu>
Date:   Sat Mar 5 17:38:19 2016 -0800

    altos: Fixed timing of panic display LED to be readable
    
    When we don't have a beeper, there's no way to signal a 'warble' for
    panic. So, elide that bit.
    
    Second, panic can't use the scheduler and timer because those may not
    be running (or may have failed), and so it uses a delay loop. Add a
    configurable scale value to the panic loop so that the LED blinks can
    be read. For stm32f0 devices, scale that by the sysclk value to
    automatically make them of reasonable length.

commit 20d9286402b7da74fef9b7c98e79d13671f6c82b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 6 15:05:51 2016 -0800

    libaltos: Add unistd.h to get defines for various syscalls
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ad07578d04926cb4b96c40a446c47ad3f9bad7df
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 6 15:04:23 2016 -0800

    libaltos: jni_md.h moved to linux subdir in Java install
    
    Add the linux subdir to CFLAGS to find it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7cb388a33104fd78c8cb1fa08a6f114e3e1e372d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 5 14:37:40 2016 -0800

    altos/stmf0: Fix build without second USB IN endpoint
    
    The code for the second IN endpoint was using the wrong ifdef.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 99d3248a390379cfabf821ea4a195072799861eb
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 2 14:36:31 2016 -0800

    ao-tools: Add ao-chaosread
    
    This reads from the raw descriptor to help validate the hardware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 88ee4ac0c91e12a02cc1954ffad0fd8603e24e55
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 2 14:01:00 2016 -0800

    ao-bringup: Switch to v1.0 for chaoskey
    
    Not going to build any more v0.1 boards. Also, chaoskey now uses the
    unique ID for a serial, so we don't need to provide a serial number.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3a355d5c84e9d975897fa69a103952a1f1558947
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 2 14:00:06 2016 -0800

    altos: Add ChaosKey v1.0 product
    
    Much like ChaosKey v0.1, just different SoC package and a few wiring changes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 05fcb717bfc44aba3c1cfd43281e323505a46402
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 2 13:54:58 2016 -0800

    altos/chaoskey: Add another USB endpoint to read raw data
    
    This replaces having the single output switch based on a pin value and
    allows us to box the device and still fetch raw data.
    
    For now, this will use a special libusb2 program, ao-chaosread, to
    pull bits as I haven't figure out how to make linux provide two
    /dev entries for one USB device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 05354b8fee6a9af05d66bb7f4761f597da038fdd
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 15 15:26:00 2016 -0800

    altos/chaoskey: Use SoC device ID as serial number
    
    To make manufacturing these devices tractable, we don't want to
    require a custom firmware load for each device, but we still want a
    unique serial number. Fortunately, the SoC provides a 96-bit ID which
    we can use.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5637c1b2fd7232842245af1437e33b5bb1583c7d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 15 15:24:35 2016 -0800

    altos/stmf0: Use device ID as usb serial number if requested
    
    This exposes the hardware device ID (which is unique per-chip) as the
    USB serial number, avoiding the need to create a custom ROM image for
    each device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e4006444d3d7b0c499139f58f13353988d38dbb4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 15 15:23:15 2016 -0800

    altos/chaoskey: Encode both hardware and software versions in product ID
    
    We have no other way of reporting the software version, so just encode
    it in the product ID.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit afef70bb8f31075de364ddf713f3ccf1d9c6361d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 15 14:04:04 2016 -0800

    altos/stmf0: Fix location of device_id register
    
    Copied from stm32l and never fixed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0bae4b25882983cd0b7950b3e80b6d93a72f0847
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 8 19:15:31 2016 -0800

    altos: Another fix for non CDC-ACM devices
    
    Need to set the bInterfaceNumber for the actual interface to zero when
    there isn't an INT interface before it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e36117ccbf7cbe3704c6b44d3ad429e720a1e16c
Author: Bart Massey <bart.massey@gmail.com>
Date:   Mon Feb 8 18:55:28 2016 -0800

    Clean up stmf0 adc init.
    
    This better matches the documented cal sequence.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5ce26345784459f5864ef59c96c8aa633d2ddf64
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 7 22:30:27 2016 -0800

    altos/stmf0: Add missing ao_gpio.c
    
    This contains the code for power managing the GPIO pins
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bab082605e3fca6b6d11447c45cd948ddfe74bb9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 7 22:28:34 2016 -0800

    altos: Add simple stats test to TRNG code
    
    This detects broken hardware by making sure the standard deviation in
    the raw values used to compute each buffer is at least 128.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 147f0df6a29b37fbfb0824ecd276482f0eecb397
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 7 15:33:42 2016 -0800

    altos: Delay TRNG ADC long enough for HV supply to stabilize
    
    Looks like it takes about 70ms for the supply to start running right,
    so delay after powering it up for that long.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1473f9234ffd34d8f37bc489dfc9fc4d7f1b3eed
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 7 00:15:47 2016 +1100

    altos/chaoskey-v0.1: Add power management and change USB classes
    
    Enable power management.
    Expose only a single IN endpoint.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 235198b85f1583d2792c7028decace61d1b4229e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 7 00:14:22 2016 +1100

    altos: Add power management to TRNG driver
    
    Support suspend/resume of the TRNG power supply, delaying after resume
    to wait for it to stabilize.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2ad756bd1b63a2c8450edd7001628b92279fd1b8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 7 00:10:57 2016 +1100

    altos: Allow USB drivers to skip CDC-ACM -specific descriptors
    
    For devices not providing the standard CDC-ACM interface, let them
    skip the various descriptors and interfaces to provide a more limited
    set of capabilities.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a5607aad694c01c01c48229172b289f005a1b6bb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 6 22:51:32 2016 +1100

    altos/stmf0: Add suspend/resume support
    
    Allow USB suspend to suspend USB, GPIOs and master clock.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 36c6d74048283d27c890054814eee2cb39b7cbb7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 6 22:47:23 2016 +1100

    altos: Add power management APIs
    
    This provides sequenced suspend/resume functionality, allowing modules
    to register for power management at configuration time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fbb07cf50ba7fa278d1f8201ef376ec12480e9aa
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 19 23:55:52 2016 -0800

    altos/stmf0: Allow projects to specify non-default stack size
    
    512 may not be suitable for everyone.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1d7463befc18f415d8982f04e52729d3bf5b95a9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 19 23:55:32 2016 -0800

    altos: remove blank line in stmf0/ao_timer.c
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 35407e664886bed21dcef7764843aac03be8490c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 28 13:58:43 2016 -0800

    altos/chaoskey: Delay ADC reading for 250ms at startup
    
    This lets the HV supply stabilize before we start sampling values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2d3202de9a5847923f72afe2969eb7ccd7342c7
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 28 00:14:36 2016 -0800

    altos/chaoskey: Add support for flipping between raw and cooked bits
    
    Plug the 'force bootloader' thing onto the board while it's running
    and it will generate raw bits instead of running them through the CRC
    to whiten. Useful for validating the raw hardware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02fd767ab60a9957faa2bff29c62ed954abc34e7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 19 18:30:57 2016 -0800

    src/chaoskey-v0.1: Add HV enable support
    
    Turn on the HV supply when the OS starts.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e5be0be35f724507d7efff48339a297df73d2641
Author: Robert Garbee <robert@gag.com>
Date:   Sat Jan 16 10:19:47 2016 -0700

    fix argument to ao-cal-freq so devices other than /dev/ttyACM0 work

commit 6a7644a0d179e1eb7d665123157ad76c956e524a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 21:39:38 2016 -0800

    Releasing: Copy TeleMega v2.0 bits to Binaries
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 64adfbbb80c90dfe244179d81beaef8a84ed8bd6
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jul 16 14:47:10 2015 -0600

    process updates from 1.6.1 release

commit aebdcaf37eafbc13cce695fe65a455e49c6108c3
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jan 10 19:06:19 2016 -0700

    one more time, with feeling .. this time, I've updated pdclib

commit 73ce3f73526edfabccd3b98e6e67de6d82a84b63
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jan 10 18:58:31 2016 -0700

    submodule madness

commit cbec66452ecd01bbd5aebf6f98443d5e0540f5d2
Merge: 4043e070 81b8f4da
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jan 10 18:29:07 2016 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 81b8f4da612b527915f68f632fbd94a46bc1795f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 17:22:35 2016 -0800

    doc: Remove extraneous 'first off' from legal paragraph
    
    Not helpful (bdale)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a00f186a06f22638882f43f49fa0c03ea387eac
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 17:13:56 2016 -0800

    doc: Remove telemini v2.0. Add telemega v2.0
    
    Reflect hardware we've actually shipped.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6cbf93995d90fc4790eb77bcaa233742857fe052
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 17:01:57 2016 -0800

    doc: fix typo in using external active switch circuit section
    
    the -> then (bdale)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3547e65eecbe7bd4e16dc6f2048b7a69f29d05ff
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 16:59:37 2016 -0800

    doc: Update copyright year in altusmetrum doc
    
    And note that this need to be checked for each release in RELNOTES
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4043e0707cdc77158f709c19dd134f92b4604270
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jan 10 17:45:45 2016 -0700

    modify release procedure to reflect Keith setting version in confgure.ac

commit 2f35e0ba52f538ea1061bfff5bbd772b8a241386
Merge: 86ccbac1 3fdaf745
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jan 10 17:44:03 2016 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 86ccbac16f5cd0be4a4c11260816b4799cda46f2
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jan 10 17:43:34 2016 -0700

    modify bringup scripts to handle TeleMega v2.0

commit 3fdaf745f98f42f1ec4ae7cc682f47be8d8568eb
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 14:37:05 2016 -0800

    Bump version to 1.6.2, altosdroid to 10
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ebe009b9c7c2f4de3405479f800a33b449fcbb1e
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jan 10 17:41:38 2016 -0700

    now building for m4, too

commit ff9c034dc942ec4bc5cc30cc593ea2165e143d55
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jan 10 17:38:26 2016 -0700

    new build dependency on asciidoc

commit a66e57e0e92cdbd3c6a10b835c50f55647c07351
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 15:56:21 2016 -0800

    altos: Switch PWM constants to end up exposing µsec
    
    This changes the constants so the clock runs at 1MHz, making the step
    1µsec each. Then make the period 20000 steps, or 20ms for a 50Hz
    frequency as before.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e29bcd07819415ebe44e22536305e9c51d9ae4c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 15:44:08 2016 -0800

    altos: Set TeleMega v2.0 PWM to support servos
    
    Typical servos use a 50Hz signal with less than 10% duty cycle. Set
    the divider to 10 and the range to 64000 to provide a reasonable level
    of detail down in the low range.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 54c20f1caf7f2e09284a9839cfa854d71f5634a2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 11:44:17 2016 -0800

    Add release notes for 1.6.2
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7041c386cdf37716f8daf0bc1a9204db620e3de9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 12:30:34 2016 -0800

    Update java library versions
    
    altoslib is API incompatible with 1.6.1 release due to altos.state updates.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b560b20cc7d4d5ac219613b29707f7cb8a018273
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 12:30:11 2016 -0800

    altoslib: Remove debug message from AltosMap
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 88671454e931ea5e5946438df3c437493e2356c8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 12:21:24 2016 -0800

    Elide flight computer info from APRS section of TeleGPS manual
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit efd6cd5682be3d0cead71ecfa00f37428b64785f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 12:15:50 2016 -0800

    Elide pyro channel information from EasyMini docs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4344bf3de532f54e0185421975c3c8dff1ac8bc2
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 9 21:33:23 2016 -0800

    altos: Insert inter telemetry-packet delay
    
    The receivers take some time to reset the radio between packets, so
    make sure we don't send back-to-back telemetry too quickly by delaying
    after sending each telemetry packet.

commit fe8b7ab9dd1949c53af8f09f08679bdf0280c104
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 9 16:28:53 2016 -0800

    Switch TeleMega v2.0 to CC1200 radio chip
    
    That's what we're using, after all
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0fd370af8bc8842000415c4d182d84b4bf6f90fa
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 25 23:27:45 2015 -0800

    altos: Set AO_PWM_TIMER_SCALE for telemega-v2.0
    
    This is needed to configure the PWM timer correctly
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 742f7c834bb5d651d2bebf2069d4e8facc33390d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 25 23:20:29 2015 -0800

    altos: Get stm32l pwm driver working
    
    Fix the CCMR1_OC1PE and CCMR2_OC3PE values.
    Disable clock when no PWM outputs are running.
    Fix the apb1enr value for the timer.
    Set ARR value to PWM_MAX - 1 -- ARR is off by one.
    Sets the GPIO pins to 40MHz bandwidth for sharper edges.
    
    Tested on EasyMega, but that code is not included as it breaks the
    companion protocol.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8aa0ab9fe9ca41f6d520d388973164bc0c599a06
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 24 00:28:59 2015 -0800

    altos: Add TeleMega v2.0, including PWM driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a1b760d0a01e7087bcc214fcd395541fbf268fe8
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 23 10:18:24 2015 -0800

    ao-tools/ao-dbg: Stop using sigvec
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f28d59ddf3e1b763ce5757f572e79085963818e9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 14 00:01:05 2015 -0800

    doc: Remove some bogus bits from am.css
    
    Just commented out stuff which had a nested comment and was thus invalid
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 19f700f1c99d2f3dcd8775cc629037312d853ee1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 13 23:36:02 2015 -0800

    doc: Construct html index for documentation
    
    This gets uploaded to keith's machine as an easy way to see what's available.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 688c5ee98565a25e77c8618e1957ed3b8eff5a56
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 13 23:17:11 2015 -0800

    doc: Try a different trick for asciidoc build issues
    
    asciidoc creates temp files in the current directory using basename of
    the source filename. Doing html and pdf builds in parallel causes
    chaos as a result. Fix this by having the pdf target build both
    serially, and then have the html target just depend on the pdf target.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 992c0eab6275cec7d5035b99952537fd7ece2ed4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 13 22:55:35 2015 -0800

    doc: Split out EasyMini into a separate manual
    
    EasyMini uses a tiny fraction of the overall system software;
    splitting the manual out makes it a lot smaller.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b030dfb3df859b3b3cb9c666394f315edcd11f49
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 13 20:59:25 2015 -0800

    doc: Reformat html versions a bit
    
    Color more text black, including toc. Add a bit of space around the
    toc. Make paragraph labels bold.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6260ee1419ba5c122939b28e3e8fc6f8ecf48928
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 13 20:58:58 2015 -0800

    doc: Move pad beeps table to usage chapter
    
    This places all of the sound information in one place.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2133c235af9511a42b65b239c6fcbeafa0e6d272
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 13 20:58:08 2015 -0800

    doc: Provide more actual links instead of just chapter names
    
    Replace 'see chapter "foo"' with 'see <<foo>>' so that a link is
    created to directly go to the relevant text.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 87cb41dfa07153b4dc44f723c65888945b3a11b1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 13 20:56:45 2015 -0800

    doc: Reformat 'Using MicroPeak' section
    
    Use labeled paragraphs to make the steps stand out.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4c1206a47431c7d873228fdd7328e1b9ac93a390
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 13 19:45:02 2015 -0800

    Break out common pieces from TeleGPS and AltusMetrum
    
    This creates shared files for portions of the TeleGPS and AltusMetrum
    manual to avoid duplicating text between the two.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ef2ba847ca53a8ddfcddd4e51a0dd43c45161c85
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 1 21:05:20 2015 -0800

    doc: Add product logos to books
    
    This places the product logo on the title verso in pdf form, and above
    the TOC in html form.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8642690da76a86736b97026e2a259d8cbad26262
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 1 06:20:27 2015 -0800

    altosui: telemini outline pdf changed name
    
    It's now telemini-outline.pdf, just like the other outline files.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c877ecce7b67272eb6dcba50a58b59cd1cbfa5ab
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 1 05:43:59 2015 -0800

    doc: verbose mode for a2x

commit 13d03ee8ba3a300ef2a3a380b60f08dbe37793b0
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 1 05:08:27 2015 -0800

    doc: Make pdf titles less ridiculously large
    
    Instead of having them grow at 20% per nesting level, use 10% instead.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 553d9041b52cbb88662fcc5e6a277ce43bd151cd
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 1 04:23:56 2015 -0800

    doc: Get images and tables all centered and labeled
    
    A bunch of images were using image: instead of image:: and some images
    and tables were missing titles.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit edcb80f25875200a73269045db71c1579b0c2c82
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 1 04:22:27 2015 -0800

    doc: Split revhistory to separate file for html docs
    
    This avoids having the revhistory clutter the top of the document.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1c0f2cd7cbd8fa1360d6b18a1bf8ac0707634aa4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 1 04:20:18 2015 -0800

    doc: Place html book contents on left side of page with separate scrollbar
    
    This lets the user see the toc while browsing the document
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2816b305fc9e18a1190e392d43ff489936f10f0
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 1 04:18:34 2015 -0800

    doc: Switch to free fonts. Publish fonts with docs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5b782c8f45ed6c34ed0e7f1aff6ac298c9a879ff
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 31 23:54:26 2015 -0700

    doc: Minor makefile cleanups
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 22f399b13fbbc980315a1f6a9f5616586b680d77
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 31 23:36:03 2015 -0700

    doc: Convert telemetry and companion docs to asciidoc
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 14ad137fd14707bc7b45a3512a4a6f81915ca1c1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 31 22:40:13 2015 -0700

    doc: Convert AltOS doc to asciidoc
    
    It's still pretty stale, but at least it isn't in docbook?
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ce297f14ff54d230d01fb6dedaafca571e8b836b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 31 21:34:42 2015 -0700

    doc: Finish converting docs to asciidoc format
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9aed128dc0aab5d49e1b3264c864a6c3e929bffe
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 31 14:54:20 2015 -0700

    doc: Add titles to all figures
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ef958cbb51a04079e2a4833917ccef57ae5a2ee
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 29 20:32:58 2015 -0700

    doc: Add updating firmware and using am products asciidoc bits
    
    This finishes the asciidoc transition
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 41aca78e3f7c17433e3c77cd3c596bbf8acab7cb
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 29 18:38:46 2015 -0700

    doc: Add asciidoc version of Altos Droid manual
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5ddf9525f94f38c20327d1f2b43917e43519b949
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 29 18:14:38 2015 -0700

    doc: Add asciidoc version of altosui chapter.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit adfbccfeb551c9d0315116912e7255a173fc3103
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 29 16:49:00 2015 +0900

    doc: Lots more conversion from docbook to asciidoc
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c5fd0eaa786a122580ba9a3ef7bfc0f2cfd8263b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 29 15:50:31 2015 +0900

    doc: Add asciidoc telemini v1.0
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8cf466d7a767a20387a8d9d6ec81ee00af3fe4a7
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 29 12:12:15 2015 +0900

    doc: Start doc transition to asciidoc
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c1ca80318102af122cb7b5380331e37795280761
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 13 13:52:32 2015 -0700

    doc: Force FOP to read images from doc directory
    
    Looks like something changed and fop is now reading from the directory
    containing the source file. xmlto places that source in /tmp, making
    all relative URIs fail. Fix this by creating a fop configuration file
    directing it to load relative to the doc directory and then pass that
    through xmlto.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0ae116dd8779fd0594d443a735e7b6834ea9b713
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 10 14:10:59 2015 -0700

    telelco: Fix pad reset to one on radio signal loss
    
    The pad number was getting reset back to one when signal was lost,
    causing pad one to get fired in this case even when already set to arm mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6659d08c41d89e4aa3d5e849c066a91bb09f2dd7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 21 07:03:30 2015 +0100

    Create directory on keithp.com when uploading devel version
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 926522c6791c2a5529ea24ebd67eea45350e3526
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 21 07:01:19 2015 +0100

    altoslib: Keep downloading when a parse error occurs
    
    Eventually, we'll hit a block with no valid data and give up. Until
    then, keep going in case the flight computer glitched and wrote bad data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 431c713389dc819d2433d893c898ff82c7941722
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 21 06:32:52 2015 +0100

    altoslib: Clean up remaining direct AltosState.state users
    
    This value has been hidden to avoid having it written accidentally;
    there were a few more bits of code using it though.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c1dec3bec0789e8934a6e13fd117931ba468b318
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 21 06:27:26 2015 +0100

    Bump release number to 1.6.1.1
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0f8272852b12cf7a349cd9fd07f17c55cdb335a1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 21 06:25:49 2015 +0100

    altoslib: Make sure .eeprom download file is flushed on exception
    
    Flush and close the eeprom file even if an exception occurs to make
    sure that contents of the file aren't lost.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a81d028dc62a0a624051fc3c9debb9687fda931e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 21 06:00:36 2015 +0100

    altosuilib: In display thread, set new state synchronously
    
    When replaying telemetry, received_time gets set by both the
    telemetry reader (when the file is initially read) and by the replay
    reader (as the telemetry is processed). Because these two events are
    separated by the time it takes to play the file, the second time is
    the one we want for figuring out how long since the last telemetry
    packet. However, if we set the global state when pulling the state out
    of the telemetry reader, and then the replay reader pauses for a long
    time, then the voice output thread sees the intermediate time value
    and thinks that it has been a long time since the last packet was
    received and reports that the rocket may have crashed.
    
    Fix this by just holding the read state until it has been passed by
    the replay reader and had the received_time set to current time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f61c2b73f3b63aa9c3f0fbccede89c71580089ba
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 13 22:27:10 2015 -0700

    altosdroid: Add minus sign and decimal point to lat/lon input fields
    
    Some android devices always have change-sign and decimal-point keys
    visible, but some do not. Make sure they're available for lat/lon input.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9dae5f76c5691dc94c02839eb1321426f96f2134
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 13 22:24:47 2015 -0700

    altos/telelco: Adjust drag race UI
    
    Enter/leave drag race is done by rotating the box selector knob
    to a new 'dr' position and then holding down the firing button; this
    avoids a potential accidental firing if you somehow don't realize
    you've armed the box before selecting drag race mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 618f7ac8f31941fcbb3ed91829de69c0f0be8e0b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 12 20:41:37 2015 -0700

    altoslib: Rotation off by factor of two
    
    The rotation computation was off by a factor of two when converting
    the rates to a quaternion (the quaternion needs to be half of the
    actual rotation amount). This ended up presenting a tilt angle of
    twice what it should be.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0afa07d3c1dcb5e301fcb8b4edfecdd961662478
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 12 19:20:49 2015 -0700

    altoslib: Hide 'state' member and use accessor function
    
    Someone was smashing the state to 'landed' when no packets had been
    received for a while. Found that by making it impossible for anyone
    outside of AltosState to change the value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7064bc685aebeef07711e525dea4d5fbe33d235b
Merge: ea1d2415 dda3f459
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Sep 29 00:46:42 2015 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit ea1d24151cf76ae8f2368673317b66958e2508c4
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Sep 29 00:45:27 2015 -0600

    add automatic Bluetooth functionality check to turnon_telebt

commit dda3f459eaff8d4e41cb44584c8ef77b8e2b3b1c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 29 17:29:00 2015 -0700

    altos/telelco: Add drag race UI
    
    With the unit disarmed, press and hold the fire button for five
    seconds to enable drag race mode.
    
    The display will show 'dr' for five seconds and beep five times to
    indicate that drag race mode is enabled. The decimal points in the
    display will all be displayed as an additional visual aid. Once every
    five seconds, it will beep.
    
    With drag race mode enabled, you can select a box/pad pair and press
    the 'fire' button to add it to the drag race group. For the current
    box, all members of the drag race group will have their continuity
    LEDs blink slowly. There will be no indication of continuity in this
    mode; you'll want to check that before enabling drag race mode. If you
    want to de-select a member of the group, just press the fire button
    again. Each time you push the fire button, it will beep out the pad
    number added or removed.
    
    Arm the box and you will not be able to add or remove members from the
    drag race group. Firing will simultaneously fire all members of the
    drag race group.
    
    To disable drag race mode, press and hold the fire button for two
    seconds. It will beep twice and turn off the decimal points in the display.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 55c1be449ef7ce389a3d94686051d272c858bee4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 29 13:21:19 2015 -0700

    altos/telelco: Infrastructure changes for drag racing
    
    This makes the lco management code support arming multiple pads and
    firing all of them at once. The UI code does not expose this yet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2839796ca5ace5f0c79643afc1a868893246b621
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 29 13:20:16 2015 -0700

    altos: Provide direct segment driving interface for LCD displays
    
    This exposes a simple bit-mask for setting the seven segments instead
    of just allowing hex-decimal values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 368f87918547f89e7eb2a92990621e75e07a3b25
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 29 13:18:46 2015 -0700

    altos/telefire: No reply for ARMED. Ignore time for FIRE.
    
    This will let us do drag races by letting the LCO arm multiple boxes
    and fire them all with a single command.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f491eec1b950e4ad35a535db254a27a3dd2ad430
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 20 23:02:04 2015 -0700

    altos: Add HAS_COMPANION to new boards with companion connectors
    
    Thanks much to Rob Derstadt for discovering this bug!
    
    TeleMetrum v2.0, TeleMega, EasyMega, TeleBalloon v2.0 all have
    companion connectors and yet HAS_COMPANION was not defined. This
    disabled companion telemetry packets on these products, but otherwise
    didn't have any effect.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b4064bf63bb95c58d74869f4ff3e440370d64692
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 20 10:51:11 2015 -0700

    ao-telem: Add companion packet telemetry data printing
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 73dd2e2c73c42f6ce949b4aa7992f63610962c37
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 20 10:50:30 2015 -0700

    altoslib: Add companion telemetry data support
    
    This got lost in the great telemetry rewrite
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eaab49ab1859ebe236a201f93b5352e67aa7ed2b
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Aug 16 17:43:32 2015 +0200

    apply wrap-and-sort to control files

commit 909b048a4797b2477279750a77a82c6f5f2776d0
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 7 20:52:48 2015 -0600

    turnon script for TeleBT v3.0

commit 9e40f97b013256650364a2a7be96d7d2216ed778
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jul 31 10:47:08 2015 -0600

    add a paragraph about TeleBT battery charging to AltosDroid chapter in documentation

commit 773b23c48f67564eec83fc3ee085862c547ad160
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 28 01:34:25 2015 -0600

    move turnon_teledongle to new cal-freq code

commit 87c8bb3956897830da1f7aaca2990a9571767b73
Merge: 643c2fb0 d6445b37
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jul 16 07:54:35 2015 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit d6445b3739ac2c5dd040efdb97317a6b2a48044a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 15 18:31:05 2015 -0700

    Bump Java library versions
    
    Avoid problems if you have an old version of the library installed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 643c2fb03833d658320f476ef731bbb06fe3cc31
Merge: e41786fb 271f56a4
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jul 15 16:43:50 2015 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 271f56a41c7e785b0fab7e572325df842d104277
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 15 11:41:03 2015 -0700

    Bump configure.ac versions to 1.6.1
    
    And set android version to 9
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3cb5b31a534ab0c987667f37c976a5cd589d42a5
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 15 11:40:24 2015 -0700

    doc: Update for 1.6.1
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7338719414ec2c34235c368a55934be0765661c1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 22:33:07 2015 -0700

    Bump version to 1.6.0.4 (android version 8)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 52dc7dc5a791f3e7e307ae11f5c6a20b5bf71ba6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 22:31:47 2015 -0700

    altosdroid: Cleanup Makefile.am
    
    Avoid re-creating library symlinks.
    Make builds depend on resource files too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c4af5cb233013b35d6763f5adf8d11b47f847111
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 22:17:16 2015 -0700

    altosdroid: Clean up tab layout
    
    Fuss with weights and gravitys, then add some wrapping layouts to get
    things looking reasonable on small and larger screens.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e41786fb384892961a6547e17812a24314ce9623
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Jul 11 22:59:34 2015 -0600

    add debian branch spec to vcs-git: line in control so Debian tools work right

commit 251263f72a1c189aac709d3d0410eb916a9f66d6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 20:37:16 2015 -0700

    altosdroid: Add 'Auto' to map tracker list
    
    Add an 'auto' menu entry when selecting trackers from the map.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2997c9720f58b2955925e4e99c11a6ec302114a9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 20:36:18 2015 -0700

    altosdroid: Note time at startup to avoid flipping trackers
    
    Need to set the initial 'switch' time in onStart to avoid flipping
    between trackers before we've done any other 'switching' action.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2a85f273e33a316bd044c4c8dce17c19633cffe6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 20:21:34 2015 -0700

    Generate Android version info from configure.ac
    
    This avoids having version data in two places.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ed682ca39496849b6c0d6bdf81bee6263864895f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 19:55:43 2015 -0700

    altosdroid: Add other igniter status, various other layout changes
    
    Show the first four igniters (A-D) in the pad tab. Make pad and flight
    layouts look a bit better
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 84021b8e0ab9262262345ce47671c3c0c6c43566
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 19:54:36 2015 -0700

    altosdroid: Don't disconnect from bluetooth onStartCommand
    
    If we've already got a bluetooth connection running, don't slam it
    shut when the UI starts up again.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bdc953e26ac2dd67021f905807324c6a02e49690
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 19:54:07 2015 -0700

    altosdroid: Remove a debug line in AltosVoice
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 51bf46248ca7ee3c817e62274b7366258c9f87cf
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 19:53:06 2015 -0700

    altosdroid: Pop up menu of nearby trackers on map click
    
    This lets the user select one of potentially many overlapping
    trackers, and also makes it clear when the current tracker is being
    changed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b64ab2a8a25b0c22443bc77829c7f35b4f1c2455
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 19:17:40 2015 -0700

    altosdroid: Keep speaking even when screen is off
    
    Move the voice and telemetry disabling calls from onStop to onDestroy
    so that a stopped application only leaves off updating the screen, and
    not the voice bits as well.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d015cfc1499a263549f52d46e9e5b934fcb94f53
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 19:15:08 2015 -0700

    altoslib: Preload maps based on distance rather than number of tiles
    
    This lets you get the specific area requested at all zoom levels,
    rather than having further detail only at lower resolution zooms.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit afa37e4667ace42c1f43b01b613e639772cfeb75
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 19:13:37 2015 -0700

    altoslib: Convert longitude from distance in AltosMapTransform
    
    This computes the longitude cooresponding to a specific distance at a
    specific latitude.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1b6f3de0a547fa452d5c40775bcf59c49b229e5e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 19:11:48 2015 -0700

    altoslib: Limit simultanous map tile downloads to 128
    
    Before this change, every tile requested would get downloaded at the
    same time. With moving to distance-based offline map loading radius
    values, the number of tiles at closer zooms was in the thousands,
    overwhelming the network.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b313a5a3d5aba89330c0e20eeac00cc571828953
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 19:10:44 2015 -0700

    altoslib: Make earth size constants public
    
    This lets other code share the values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a9bc364ecc69d9085146a39198f0671de164eb2e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 19:09:28 2015 -0700

    altoslib: Make AltosMap floor/ceil static. Check transform in paint
    
    This avoids crashing in paint when no transform has been set yet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 002c523fae9369f0261c28f33152289d965d406b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 25 18:40:21 2015 -0700

    telegps: Add receiver battery to Status display
    
    Makes it a bit cramped, but it's useful to have if you're using TeleBT.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3d508b66c2a15286bb9af88e4d92209463e0725d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 25 18:35:07 2015 -0700

    altosui: Correctly show/hide receiver battery value
    
    Override the hide() test function which has the listener_state
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f76d5e4fc2ed1e0d79c096cc89793d671ecb78c3
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 25 18:33:46 2015 -0700

    altosuilib: Receiver battery voltage lives in listener_state
    
    The code to detect whether to show or hide this entry was using
    functions that weren't given the listener_state and hence returned
    MISSING all of the time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7c0f66bf64f410415afaff1b5c8e1443512b7a57
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 25 18:31:29 2015 -0700

    altoslib: Support TeleBT v3.0 battery voltage conversion
    
    TeleBT v3.0 uses an STM32 instead of a cc1111, so it needs a different
    voltage computation from the raw ADC value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ee1b0bd05bedb8a5a631cc79c77fde8fd920ac38
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 25 18:42:29 2015 -0700

    altos/telebt-v3.0: Report battery voltage correctly
    
    There was an extra %d, and an extra ':' in the output, making the UI
    not parse the voltage correctly
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6ecd75a7abb5fcee440f7672082013088634680b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 25 12:23:04 2015 -0700

    altoslib: Don't crash if dragging a map view without any tiles
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 06908e377b7b932bfe3f6dfc840a0a13340f32ce
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 25 12:22:04 2015 -0700

    altosdroid: Class of offline map view widget changed
    
    Switch around AltosViewPager to match.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 71d924288d45b09ae655d06df9780ba286e3f3be
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 24 12:02:22 2015 -0700

    altosdroid: Display direction in map view
    
    Use direction in map view when available, otherwise use bearing
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c7067f14359d25a8275f2b09e7b30c06c0424dbb
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 23 22:40:11 2015 -0700

    altoslib: Fix replay to run in realtime again
    
    At some point, this got sped up to 10x normal speedx
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3e7588e382c70e467b1f328fcfb6bc38a6b79ac7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 23 22:22:06 2015 -0700

    Bump version to 1.6.0.3
    
    Mark the release of 1.6.0.3 altosdroid
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3ce5e24fefaddaa74eadba4722e904354c871387
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 23 22:21:45 2015 -0700

    altosdroid: Update version numbers in manifest
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d9f96c45d0a3099e9e5fd3c75cc27f9415fcaf55
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 23 22:21:30 2015 -0700

    altosdroid: Mark tab-dependent voice output as done
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aed8d3ee2561bbec59b9684fb2042186191302ca
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 23 22:04:47 2015 -0700

    altosdroid: Make sure flight voice output always starts with 'speed'
    
    This resets the flight-mode voice output state back to start again
    each time the flight tab is selected
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b1b41e0823a60769e7d2d806f4d97ae043d7dae3
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 23 22:00:33 2015 -0700

    altosdroid: Make sure whole flight state is spoken even when no-one is moving
    
    This eliminates the case where much of the flight state wasn't
    reported if the tracker or receiver weren't moving.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f275e73f42e0aaf1760da99fb93c394320aafb84
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 23 21:47:06 2015 -0700

    altoslib: Typo slipped into AltosState.java
    
    Oops.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bfa6cd8934b993bd4a67cfc7a4eeecf9b11915ef
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 23 21:39:09 2015 -0700

    altosdroid: Change voice output around
    
    This makes the voice output depend on the current displayed tab; where
    the 'recovery' and 'map' tabs get the same value.
    
    Pad
    
            Reports igniter and GPS status changes
    
    Flight
    
            Report flight state changes and max height after apogee
            Report current speed, height and bearing/elevation/range once
            every 10 seconds while the rocket is in motion.
    
    Recovery
    
            Report distance and bearing when the location of either the
            tracker or the receiver changes by more than 10m, but not more
            than once every 10 seconds.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a761b34ed8fc64435f5a49623f4a5c55e2dda33a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 23 21:37:25 2015 -0700

    altosdroid: Define strings for the tab names
    
    Use these everywhere instead of replicating the same name; might
    reduce errors.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 56146cd379e1319b7adcf8e22cdda55f771e11be
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 23 21:35:43 2015 -0700

    altosdroid: Show direction to target in recover tab
    
    This takes the bearing to target and current direction of motion (from
    the Android API) and computes a turn amount and displays that so you
    don't have to know which way is north when walking towards the rocket.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 60b8bea12edb954e6140a92c8412364c9581e3c2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 23 21:38:37 2015 -0700

    altoslib: Use a longer filter for descent values
    
    This makes descent speeds almost useful, a huge improvement
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1513693602c2a4cab0783833d1844c066edabb71
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 22 23:21:05 2015 -0700

    altosdroid: Fix line drawing to old tracker location
    
    Selecting an old tracker would often fail to switch the bearing line
    as it was using the map data instead of just using the local data for
    the relavant tracker.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 87d2ab135b493486162d33ff172eba1f44dc0ce5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 22 21:04:01 2015 -0700

    altosdroid: Mark four-tab change done
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fb0bd0ec18088ef01549cdb96243d591f618e32b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 22 20:59:17 2015 -0700

    altosdroid: Allow tracker selection from online map widget
    
    Need separate tracker selection code for online maps
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2b6768ed32d7be444c49caa40d30b520177bb22a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 22 20:43:23 2015 -0700

    altosdroid: Switch to four tabs (pad/flight/recover/map)
    
    Ascent and descent were almost the same; no reason to have both.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0f56903774d9e8bb033dfc0af6945e8ddc1d3065
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 22 20:08:05 2015 -0700

    altosdroid: Select tracker by clicking on map
    
    This lets you pick a  tracker from the map, rather than having to use
    the menu.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a959c1926048d1b96a06aa291131afd7c8e771c7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 22 18:41:01 2015 -0700

    altosdroid: Get rid of on-line only maps tab
    
    The offline tab did both, so delete the online one and replace it with
    the offline one.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 18fe64cf2648568dd0bde5acd7b627f1ddb6917e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 22 18:26:34 2015 -0700

    altosdroid: Display online/offline maps in same tab
    
    Make the map portion switchable between online and offline maps,
    leaving the rest of the tab alone.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ee656c9d41238ab2c56859a03fe6b8ce8ff2df4e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 21 10:34:00 2015 -0700

    altosdroid: Add map source preference
    
    Not hooked up yet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9af72a2e629779833ff1787bbfc2ddc8b9d88bba
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 21 09:37:05 2015 -0700

    altosdroid: Show receiver battery voltage in the 'pad' view
    
    Helpful to determine when the receiver battery is getting low
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4fbe9d5a1f56178a737ede6b31e8d01a02a7543f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 21 09:36:20 2015 -0700

    altosdroid: Use AltosMap set_zoom_centre
    
    This keeps the center of the zoom gesture pinned to the screen.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 08e4e291d32bdb3ac3271a85190d277b1874d277
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 21 09:35:28 2015 -0700

    altosuilib: Use AltosMap set_zoom_centre instead of in-line version
    
    Shares the same function with altosdroid this way.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e0c318cdd32b3c3fed5099c754aea3ebc6186a0f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 21 09:34:29 2015 -0700

    altoslib: Add set_zoom_centre to AltosMap
    
    This zooms around a specific point, keeping it at the same place on
    the screen.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b8bdb432aacc1a273ee484a29a24b3768c274db6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 20 11:58:08 2015 -0700

    altosdroid: Multiple tracker support for google maps
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c72e18fa1713b6e1aa7906210e79dd6354d2390f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 20 11:57:29 2015 -0700

    altosdroid: Stack map markers with newest rocket on top
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0f40284c554aaadc71a598de8f1c5fe64ea387e1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 20 11:58:45 2015 -0700

    altosdroid: Support for sorting rockets by age
    
    Now we can just sort rockets so that the top-most shown is the newest
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit de785b409e404a5296a7ff2037f52f3029536f28
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 20 11:57:10 2015 -0700

    altosdroid: Remove debug
    
    Just noise at this point.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b2ad3b1ef59fe6e51c8c544f215c33f3b48c3aeb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 20 11:55:44 2015 -0700

    altosdroid: Switch trackers automatically when changing freq or baud
    
    This works by switching trackers when we receive telemetry newer than
    the last time we changed the frequency configuration.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4a33336b8f468c5b0f2e14c0ee0242c9a24a8b90
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 20 11:54:20 2015 -0700

    altosuilib: Allow for no transform in map mouse wheel function
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3882e358b6f2970cb1afebcf2a71da34a57002df
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 20 11:53:24 2015 -0700

    altoslib: Clean up map tile removal
    
    Remove them while walking the hash table, rather than creating a list
    to remove.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0cc03210d5d53d12604688f294b6ca39e3a025de
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 20 09:35:26 2015 -0700

    altoslib/altosuilib: Fix equals methods, add hashCode
    
    Whenever we use a class as a HashMap key, that class needs to override
    the equals(Object) and hashCode() methods. Otherwise, the hash table
    won't work right.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5568c30f0a4fe346b8ed58934c23653064427d65
Author: Keith Packard <keithp@aimi.keithp.com>
Date:   Thu Jun 18 17:37:35 2015 -0700

    ao-bringup: Make turnon_easymega run without 'make install'
    
    Use relative paths for all altos tools
    
    Signed-off-by: Keith Packard <keithp@aimi.keithp.com>

commit 6cf27ddd5e84824610d6a0bcbb81ba4626b71409
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 18 17:12:41 2015 -0700

    ao-bringup: Use local versions of tools instead of /usr/bin for turnon_easymega
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3e5521070564e9a184f3b781dad9d39cdd963510
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 18 16:56:19 2015 -0700

    ao-bringup: Fail turnon_easymega if accel cal fails
    
    This prevents a failing board from being reported as good
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6683146168216aacdc0842934cec1fb48ea03518
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 17 00:12:06 2015 -0700

    telegps: use new AltosUIFrame constraint helper
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c71abc5c29025eb57fc78968a4ccf8c34cb3a6f2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 16 23:49:45 2015 -0700

    micropeak: Update mac/windows FTDI drivers
    
    Use latest FTDI drivers.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1098f7502a603a9cf80ad950f53a2c2abdf7ec93
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 16 23:43:53 2015 -0700

    altosuilib: Create grid-bag helper functions in AltosUIFrame
    
    This eases the burden of creating suitable GridBagConstraints values
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cdeefaba7d5ef69f28e5dfb152c5f185f8b85f2e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 16 23:42:59 2015 -0700

    altosuilib: Show state.product if state.device_type isn't set
    
    MonitorIdle doesn't get the device type, only the product.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 469be0a57dc9932c26f9c38986d22f6e8b2fd6ed
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 16 23:42:22 2015 -0700

    altoslib: Remove debug output from AltosMap
    
    It's just annoying now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 76532162d63239b00a51dd0ff6b1356b07b62d2d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 16 23:41:51 2015 -0700

    altoslib: Expose public function to set state.product
    
    Just adds a setter function for this value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5cacce8099bfc4fa4019538ac88be00bd2023865
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 16 23:40:34 2015 -0700

    altoslib: Let the application disable the link cancel dialog
    
    This lets the application control whether to pop up the cancel dialog
    when the link isn't working.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 75682a5a18f28acf8f4a61a0d45dad461218186e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 16 23:38:07 2015 -0700

    altoslib: Set product for idle monitor
    
    This lets the UI show the product name
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c46c2c5767c6e909fa58587e6c864a4fbaa9fa20
Merge: 39f43616 6cb7d76c
Author: Robert Garbee <robert@gag.com>
Date:   Sat Jun 13 17:40:59 2015 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 39f4361675aa13899864f427a33d4aa48be56cd2
Author: Robert Garbee <robert@gag.com>
Date:   Sat Jun 13 17:40:16 2015 -0600

    add beep when test completes

commit 6cb7d76c3fbe32b442713e358654d07b2506897e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 6 20:37:53 2015 -0700

    altosdroid: Resource changes needed for multi-tracker mode
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 78df1d5213c402780fa2ce7e062c64cf5a01c45f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 6 20:37:27 2015 -0700

    altosdroid: Note recent changes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c813c2c8f71017a686128e06b5178fc99ece251c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 6 20:36:18 2015 -0700

    altosdroid: Add multi-tracker support
    
    This lets you view multiple trackers in the offline maps tab (online
    maps not done yet), saves state of each tracker to preferences.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f79d569dfe333621d63a1d4001c85a88f736ad58
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 6 20:35:32 2015 -0700

    altoslib: Add preferences for saving/restoring multiple flight states
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 64ca3d2e7d2b23aedfdf98ef8ebd760bd3291534
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 6 06:00:43 2015 -0700

    ao-tools: Add missing ao-cal-freq man page
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 55753ac8b4b73ec58cb6ef874acc8d606193c5e7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 5 22:52:51 2015 -0700

    ao-bringup: Do telegps freq cal before testing GPS
    
    This lets the GPS get some time to see sats while we're messing with
    the radio frequency calibration.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 527700623cc369cc58e15c29dc1ee374fa4efeb7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 5 22:52:21 2015 -0700

    ao-bringup: Use new ao-cal-freq program for cal-freq script
    
    Remove shell script bits that were unreliable.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b9797aa9b6ca38db79c22e4dcefc6efc8a148599
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 5 22:17:02 2015 -0700

    ao-tools: Create ao-cal-freq
    
    Create C-based frequency calibration program to replace shell script
    which isn't reliable.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7c75ec6e11a9287b2360bb62ef4ddb4f0e2083c7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 2 12:48:42 2015 -0700

    altosdroid: Highlight age in red when older than 10 seconds
    
    This lets you quickly identify stale data
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a533ea525620f194fd89fedad043659bb433d71b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 31 23:09:18 2015 -0700

    altosdroid: Switch from custom title to standard Holo theme
    
    This gives us the menu button, which is awfully useful on devices
    without a hardware version...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0beb02f1848e34892cca6e34ba83d6ca836d6df2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 29 09:49:30 2015 -0700

    altoslib: Require 'debug' hook in AltosMapInterface
    
    This lets the map users redirect debug messages as appropriate
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4f1c4dddbce7b4e8673173f1690f79ba60e72ba2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 29 09:43:58 2015 -0700

    altosdroid: use 'show' to set new tab contents in onResume
    
    Hook onResume so that newly created/recreated tabs get current
    contents. The set_visible hook isn't sufficient for that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 625c496987c2d320a51f3d27f8f00bde17b46a78
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 29 09:42:58 2015 -0700

    altosdroid: Missing call to super.onDetach from TabMapOffline
    
    Causes an exception when you shut down the application.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 50e709a4088f3d6846fd66cbe9b8c437b3f9c88b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 28 22:13:39 2015 -0700

    altosdroid: Split out AltosMapView into separate file
    
    This lets us use the regular layout configuration bits in the .xml
    file instead of needing to patch the map object into the display. That
    was causing problems when re-entering the map tab as the map view
    would somehow end up with a zero width.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2e424f8dc2886aa475e6ddb21457eba08f768b16
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 28 22:12:26 2015 -0700

    altosdroid: Add 'Current Location' as an option when preloading maps
    
    This lets you load maps around your current location, in case your
    favorite launch site isn't in the list.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4315b91d7afc2391e3f7444906ac226500bf1345
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 28 22:08:51 2015 -0700

    altosdroid: Save selected map type in AltosDroid object
    
    The map tabs may not have been created when the map type was selected,
    so save the desired type in the main application object.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 41028472fd2e7e0209125e76b94e551f9d10f89c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 28 22:06:55 2015 -0700

    altosdroid: Disable debug output on release builds
    
    We generate an awful lot of debug spew to the log; presumably that's
    not helping performance, so lose that for release builds.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e2d54de24df37baa5ff3837334d97f726934ec25
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 28 22:05:36 2015 -0700

    altosdroid: Look for zipalign in the new place too
    
    This build tool moved for some reason...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 85013045ca505096064aaf45c312b158d0263d2a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 28 01:05:18 2015 -0700

    altosdroid: Add map types and map preloading UIs
    
    This adds an ugly dialog to select which maps to preload, and also
    adds the ability to display other map types.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ba698c2cc48677735046d0881df9c180674e4082
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 28 01:01:23 2015 -0700

    altoslib: Pass all map loader params to set_load_params
    
    Add zoom and map type to the param list so we don't call set_zoom and
    set_maptype separately, which only causes lots of extra image loads to
    get started unnecessarily.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c63617415553d97f9be2f19b94365b53d4480c68
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 28 01:00:47 2015 -0700

    altosuilib: Eliminate extra MapCache in AltosUIMapPreloadNew
    
    Use the cache from the map.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ff01fb7275973cdbfd976d3b4e638c6235108121
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 28 01:00:22 2015 -0700

    altosuilib: Get rid of AltosUIMapNew.set_load_params
    
    This isn't needed anywhere.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b49b74847ad55e14d1dbf2872ebbe313147e9fd3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 27 23:14:09 2015 -0700

    altosuilib: Switch to altoslib map loading code
    
    Remove the map loading code from the UI bits and use the new altoslib
    version instead.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3b4e6da65158a434905dc652e46c69d2c38cea7f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 27 23:12:34 2015 -0700

    altoslib: Add map loading helper class
    
    This adds the AltosMapLoader class, which iterates over a sequence of
    zoom levels and formats to get local copies of a desired launch site.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ccd557c846eed37328d6799f36e61308bcbb678a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 27 23:11:58 2015 -0700

    altoslib: Provide toString method for AltosLatLon
    
    Makes printing them easier.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 756f501593365b80cfa6f7ca871da3291bbde67a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 27 22:43:53 2015 -0700

    altoslib: Start with map empty
    
    Don't load images from 0,0 for no good reason; wait until someone sets
    a desired lat/lon
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ccba2bb2f193ffd6c3a3d934a46bc06466b4b258
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 27 15:31:25 2015 -0700

    altosuilib: Use altoslib site list loader
    
    Removes the custom version and uses the shared code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 519d477cb752d9cdba78a4daa32b1f547bf889b4
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 27 15:30:29 2015 -0700

    altoslib: Add AltosLaunchSite bits
    
    This asynchronously fetches the list of available launch sites from
    the standard location and notifies the caller when finished.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 103a50db50be55c2293468d273dd94472dd89d94
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 26 23:05:49 2015 -0700

    altosdroid: Place icons on screen instead of drawing path
    
    This makes drawing a bunch faster, and locating stuff on the screen easier.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2509b664df6a13e6ae9e6753dc9fa0d696a4f6c7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 26 23:05:11 2015 -0700

    altosdroid: Centralize debug printf code
    
    Create AltosDebug to hold the debug code, use it everywhere.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bca342577740a9d04b8419ecadcff582e77f1e61
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 26 23:02:43 2015 -0700

    altosdroid: Move pause before reopening bluetooth into connec thread
    
    This avoids stalling the UI while waiting for TBT to boot.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7975d088a4ac44c0943134fa41d0e3b88f50b98f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 26 19:47:04 2015 -0700

    altosdroid: Add offline map tab
    
    It's not very fancy yet, but it does zoom and pan, and show the path
    of the rocket with a line.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f822b84d8c25159ff113fef6a419b6e18e87a87a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 26 01:04:00 2015 -0700

    altosuilib: Get rid of AltosUIVersion.java
    
    It's been moved to altoslib/AltosVersion.java
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4895f443e4a748de2677e51869f20c05d265c944
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 26 00:56:17 2015 -0700

    altosuilib: Remove old map bits
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f41fe2291891b28327c332098bdc601bc75fc4c0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 26 00:46:21 2015 -0700

    altosuilib: Use new map code for map preload UI
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cd0f4de98ea709e5f070d5f1337658590d2004a1
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 26 00:33:02 2015 -0700

    altosuilib: Add AltosUIImage.java
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 501fa41111b93cc213a1114a33612858e1e93ab5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 26 00:29:53 2015 -0700

    altoslib/altosuilib: Get new Map display code running in altosui and telegps
    
    Looks like the display is all hooked up. Still need to replace the
    preload UIs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cb23b992be8ba40c97d8988c134a814a13ccd58c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 25 20:34:05 2015 -0700

    altoslib/altosuilib: Update library version to 7
    
    So many ABI/API changes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 68effc6e39f731a2d7bbe2963999c1e785118897
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 25 20:33:28 2015 -0700

    altoslib: More frobbing with new map bits
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 00aca369c4070901e0400f291d5f269b5fb8015c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 25 20:10:37 2015 -0700

    altoslib: Get new abstract mapping code compiling
    
    Not useful yet, but at least it compiles now?
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6ca2c42061b3c0160bf0137c9cd65989c522b826
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 25 16:35:23 2015 -0700

    altoslib: Build AltosVersion.java in configure.ac
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dcbd87bc685924a6587a5f4dae47d34f417601b0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 25 16:26:01 2015 -0700

    altos/telelco: Show box voltage with pad knob instead of firing button
    
    Turn left past '1' and see the firing box battery voltage instead of
    pushing the firing button with the box disarmed. This seems like a
    safer UI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 91f617d450c187500593d1ae785958187f68ca14
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 25 15:49:21 2015 -0700

    altos/telelco: Display telefire battery voltage
    
    When the firing button is pressed while unarmed, show the telefire
    battery voltage in the display.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a54aac3361b7bd18f111e5ba06fb89015504b8a4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 25 15:47:46 2015 -0700

    altos: Add telelco v0.3 (v0.2 with cc1200 instead of cc1120)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b268351aee44de959dcc4c792189c10a00428fe
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 25 13:23:54 2015 -0700

    telefire: Report telefire battery voltage over telemetry link
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0e76cb2a7d5db24b6cecdccb6fb8d5bf5527fadf
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 24 17:28:07 2015 -0700

    altos: Only set CMAC RSSI value on valid packet received
    
    This ignores spurious packets for the purpose of showing the RSSI
    value in telelco/telefire, avoiding warning about 'low RSSI' when the
    radio receives noise.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e7c25e3ba04b1e9f8e6fa31e2d464fe96a074dad
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 24 17:25:25 2015 -0700

    telefire: Make 'good' RSSI value configurable
    
    Different radios will have different 'good' RSSI values, so let each
    product configure it, leaving the default set to -90dBm, which is
    a solid signal value for the CC1111.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 29edc37a8de56cb6eb028e3bf3f56aa70f109eba
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 21 13:49:28 2015 -0700

    altoslib: Create display-independent map support code
    
    This takes the swing-specific map code and creates a generic version.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 59a28811cb19d315b483df296145a2769c445f80
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 19 10:25:05 2015 -0700

    Flip version to 1.6.0.2
    
    Tag a version for development builds
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f3ddaae82215e365726f2a62a3dc46bfb29eb1b5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 19 10:23:09 2015 -0700

    micropeak: Use fast load mode by default in -load script
    
    Speed up flashing in default config
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eac71f2b871357ff69581c713059a3741a82a932
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 19 10:22:10 2015 -0700

    microsplash: Add 'publish' target to Makefile
    
    This dumps the resulting binary and -load script into the Binaries
    directory of the altusmetrumllc repo
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dba00b3d9102db99592f5822a703e64d98ace8bb
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 19 10:17:01 2015 -0700

    altos: Support 32MHz xtal on cc1200
    
    I ended up building some cc1200-based boards with 32MHz xtals, so just
    make this an option when building the driver.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fcb523cd083503591fa1277648e5deb258bbbaf4
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 19 10:16:10 2015 -0700

    doc: Clarify what 'after motor' means
    
    Note that this means after motor burn-out, not after motor start.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b67e6ae8ce34ef119da96b442776bb3d78b4f874
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 19 10:14:43 2015 -0700

    ao-dump-up: Add --wait option to make testing µPusb easier
    
    The --wait option hangs around until a suitable device appears, so
    that you can test a pile of µPusb devices without needing to
    constantly interact with the command line.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2b57158737f85c7009658b3e923c66794f01bbdf
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 19 10:12:52 2015 -0700

    altosui: Remove un-implemented --fetchmaps argument
    
    This has been stubbed out for a while, so just remove it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3e5e9333420ede74d998556c1bbd5888e8ff75ae
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 19 10:09:22 2015 -0700

    altoslib: Expose locale and non-locale floating point parsing functions
    
    UI bits use locale-specific floating point formats, so parsing those
    needs to use the locale. Network-based data, like .kml bits need to
    use non-locale-specific parsing code, so now we've got both APIs
    available, and each used as appropriate.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3fbf0a29a1b8a67b90ef965ee3e2e972c0ec33a1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 18 10:52:24 2015 -0700

    altoslib: Use Locale.ROOT for KML export
    
    This avoids locale-specific number formatting, which breaks
    googleearth when importing the resulting file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1cc1900e13d79e0451587439c23bbb062d86cee3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 27 22:29:45 2015 -0700

    altosdroid: Fix tab label height problems
    
    With a newer android API versions, we can set the indicator to a View
    instead of just a string. This lets us wrap the desired string in a
    TextView and show just that for the indicator, making it exactly the
    right size.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7bfa8841b65707d629b425b306ec4cc3acfc156c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 27 21:20:22 2015 -0700

    altosdroid: Add USB support for TeleDongle/TeleBT
    
    This lets AltosDroid use a USB-connected receiver as well as Bluetooth devices.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 356617a3476e237311b8bbcefd6beda8271b120d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 29 12:10:47 2015 -0700

    windows: Use new windows stub to launch applications
    
    This avoids needing to locate javaw on the system while also making
    the registry entries less fragile.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fe76229618643f0af7eae965e7a8fc6c70410d27
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 29 12:08:42 2015 -0700

    icon: Convert windows stub into launcher program
    
    Instead of an empty windows stub that exists only to hold icons, add
    useful code that allows it to find and run the related java
    application. This also adds more resources to that application to
    provide more information to Windows too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b1b69c8b73cbffb56c688f6a968d144b642cdff2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 20 15:09:20 2015 -0700

    altos/stmf0: Have fast ADC ring buffer code use wrap-around
    
    Instead of requiring that the whole set of returned values fit
    precisely in the ring, allow for wrap-around so that we can fetch an
    odd number of ADC values. The previous version required that the fetch
    amount always be a factor of the ADC buffer size.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 43b4044dc71d44cb25be6397b4d66fd792580eed
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 19 01:12:24 2015 -0700

    altos/chaoskey: Set USB VID/PID to 0x1d50/0x60c6
    
    These are allocated from the OpenMoko USB vendor ID page and offer a
    more 'official' number than from using the 0xfffe space.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c3321bd9f73c89686fe983a8d99f4e54fa91550e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 19 01:11:33 2015 -0700

    altos: Add the ability to configure a different USB vendor ID
    
    ChaosKey will use an OpenMoko vid/pid, so we need the ability to
    configure a different USB vendor ID for each product.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fce4e6926de7cb5ef6ea64a8db134c442b86153b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 10 09:35:02 2015 -0600

    ao-tools/ao-list: Show devices that have no TTY
    
    chaoskey doesn't advertise itself as a modem, so the kernel doesn't
    allocate a tty device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ce99807ef942de54a3f934d321baf3c3d26442bb
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 10 09:34:01 2015 -0600

    altos/test: Support old telemega eeprom file formats in ao_flight_test
    
    The old eeprom format used different stoarge for the accel calibration
    data, which doesn't matter to this code, but the change in the format
    value does.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f92be7e22150b2de4c899e687d3bbfc1eb842f9e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 10 09:32:20 2015 -0600

    altos/test: Make aprs test code compile again
    
    Adding the compressed/uncompressed config option broke the APRS test harness.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 46f2a759dc21ebf3a7bf7e0566903fc1e7364719
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 10 09:30:53 2015 -0600

    ao-tools/ao-mega: Clean up formatting of pyro status messages
    
    There was an extra newline and missing space.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2c4ebe9b4b392531cd1a5bbafc4ddc38a9391af5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 10 09:29:52 2015 -0600

    altosui: Add map to MonitorIdle display
    
    Nice to be able to verify that maps are working by using this mode,
    instead of needing to use flight monitoring.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dec8de9c642fea1df924a667a4779a6c6c8c3453
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 7 16:53:58 2015 -0800

    altos/stmf0: Need ao_exti.h for pin configuration
    
    Flash loader uses pin configuration to set up GPIOs for boot selection
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e53a5da5a8921829a3bb290e7c051950a66ab75
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 7 16:40:30 2015 -0800

    altos: Add makefile for chaoskey flash loader
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 601f33f5e2f833fed9ab10b24a9df91905d7f766
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 7 12:38:08 2015 -0800

    altos: Build chaoskey by default
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f3406f38d71d0c9b55c9a3ae2356a778328509a9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 7 12:36:57 2015 -0800

    altos: Add .gitignore for chaoskey
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4862bec43b29264c361950700f935604f41b840b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 7 12:33:36 2015 -0800

    doc: Update telemetry docs to include new packet formats
    
    Add TeleMega TeleMetrum v2 and companion data packet formats.
    
    List which radio parts each product uses.
    
    Document modulation parameters for new data rates.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cdd7ad469728fde178c69b9c99d70d6e0ab3f12d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 7 10:18:57 2015 -0800

    altosdroid: Deal with bluetooth connection failures better
    
    Remember when we've closed the bluetooth connection so that we stop
    operations, including reporting connection status messages or even
    starting a connection attempt.
    
    Pass the AltosBluetooth object back in connection status messages so
    that TelemetryService can tell when messages from closed objects get
    delivered. There's a queue between the two, so the above fix catches
    most of these instances, but not all of them.
    
    Stick a delay during reconnect -- if the TeleBT device is getting
    power-cycled, it will need a few seconds to reconfigure the device at
    startup, if AltosDroid manages to connect during that time, the
    configuration commands will be ignored.
    
    Unlock the AltosBluetooth device while we connect so that cancel
    calls will actually work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d446c90dab0aca7e501a0228f24c210758d84a1d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 2 22:23:22 2015 -0800

    altosui/telegps: Change from variable-units snuck into master
    
    show_units_name(double) only exists on the variable-units branch...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bef7c89dac68956a94ae386fa6b87165ab6cb484
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 2 21:16:06 2015 -0800

    altos: Missing pad field in TMv2 data packet
    
    The normal ARM padding would have filled this in correctly, but it's
    best to be explicit about the structure.
    
    This also adds a test to make sure the resulting telemetry declaration
    is exactly 32 bytes,
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3b133656df4698ceb7af5902711edf9253a29227
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 2 21:11:33 2015 -0800

    altos: Wait for BT disconnect before sending command
    
    If AltosDroid manages to connect to the BT module before we've
    configured it, we won't be able to talk to it as we can't force the
    module to ignore connection attempts. Wait for AltosDroid to give up
    and let us configure the device. Eventually, we'll manage, if
    AltosDroid's delay interval is longer than the time it takes to
    configure the unit.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 112f528755b6c8a2f6eef3bfec21fac981ffb44f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 2 21:08:44 2015 -0800

    ao-tools: Add ao-flash-stm32f0x
    
    This new script uses openocd to flash stm32f0x parts
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ff3c27e3b842107680dc48084f71eb8c63f1bcab
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 2 21:06:51 2015 -0800

    altoslib: Round frequency when configuring radio
    
    This makes sure we set the right frequency, instead of being off by
    1kHz on a regular basis...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e637367e8b940e1642a07b3b7c99147561de9cf1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 2 21:06:02 2015 -0800

    altosui/telegps: Add config option for APRS format
    
    Allow configuration of APRS compressed/uncompressed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2614d20b324ab215ef22f178e3635d48e757fa9b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 2 21:02:31 2015 -0800

    altos: Make APRS format (compressed/uncompressed) configurable
    
    This provides a choice of compressed vs uncompressed when sending APRS
    packets to deal with receivers that still do not have support for the
    more useful compressed format.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0724cc334a3bd8d81bbd4641d90a7e4040330efe
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 28 16:06:23 2015 -0800

    altos/usbtrng: Split out random number generating code to separate driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bd18bc5a42fcecfb710477371b9f62610a1ea640
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 28 16:04:00 2015 -0800

    altos: Add chaoskey flash loader
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a4c436a1c39da971b72d4302623f27af9d56cc38
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 28 16:02:17 2015 -0800

    altos: Create chaoskey product
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 476c5b87ea0901f70fe98b581ecca9afaf957607
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 28 16:00:45 2015 -0800

    altos/stmf0: Allocate USB buffers at startup
    
    This lets the extra allocations used from ao_usb_alloc_buffers be
    allocated before the first USB connection happens.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e4b415cc8f839ceae48916b5e9d78f78589186cf
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 28 16:00:17 2015 -0800

    altos/stmf0: Typo in ao_crc_stm.c
    
    Extra semicolon
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 27aef593fb4c037fdb65c9fb397829b42d72d0f2
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 28 15:59:30 2015 -0800

    altos/stmf0: Fix fast ADC interface
    
    This was configuring the hardware wrong, and wasn't keeping the output
    ring full.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ec2d758844202108b446e6b12ec1da8812ceb265
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 28 15:07:16 2015 -0800

    altos: Allow software to offer other USB interface classes than CDC
    
    This lets some boards offer non-CDC class USB interfaces so that the
    modem driver doesn't pick them up.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4af4e36cda96d053458eeb040e35886890917385
Merge: 91b1a806 106b16b4
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Feb 22 14:55:40 2015 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 91b1a80650a7dcd7c5bf819618a8cea0fceb37d9
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Feb 8 09:29:01 2015 -0700

    swap names so v3.0 is the default TeleDongle version to turn on

commit 106b16b4d5d024543d7ad8c4b4762151e253f3c4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 16 22:22:37 2015 -0800

    altosdroid: Ignore automatic tab changing while activity is saved
    
    When the activity state is saved (after onSaveInstanceState()), we
    can't update the UI until the activity is restarted or restored; that
    means any UI changes we make, like switching tabs, must deal with this
    by allowing those changes to be ignored, using commitAllowingStateLoss
    instead of commit.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e6630ac41ca0d8563cf9a0df5d4acba8192e9624
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 16 21:35:34 2015 -0800

    altosdroid: Missing file: DeviceAddress.java
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8f2d82461f3cf5da157b23ea45a2fa60d56b196b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 16 21:32:54 2015 -0800

    altosdroid: Only speak when GUI is running
    
    Create voice in onStart, stop it in onStop. This way, if some other
    application is in use, the voice won't be annoying you.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 877609a60a9f2c61c1efad8285b2a3c22f59be28
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 16 21:19:09 2015 -0800

    altosdroid: Explicitly disconnect BT on termination or 'disconnect'
    
    This adds an explicit message to the telemetry service telling it when
    to stop trying to talk to the bluetooth device. Until this message is
    received, the service will reconnect to the specified BT device.
    
    That message is sent when you 'quit' the application, or when you 'disconnect'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c51d39c7ea1153cd2d0dc02c47824a9f35b22fb9
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 16 20:57:11 2015 -0800

    altosdroid: Lots of bluetooth connection changes
    
    Appears to more reliably abort in-progress connection attempts so you
    can switch TBT devices without having the previous device in
    operation.
    
    Shows which device the connection is being attempted for.
    
    Eliminate the 10-second timer and just disable the service when the GUI
    shuts down while no BT connection is running.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b13a78e4f457f67605fc6dafc7f9733746a4f70c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 16 20:49:39 2015 -0800

    ao-bringup: Changes for telebt for keith's hacking
    
    Make the programming device auto-detect by username.
    Load binary from ~/altusmetrumllc
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2ebb4dff758058ae9512cf36518416eb69b928f0
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 15 08:57:55 2015 -0800

    altos: Remove some accidental debug printfs from ao_packet.c
    
    While fixing the cc1200 configuration, I added some debug printfs to
    this code. They were accidentally committed with the fix...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 135abf0e7c5ceb5738a0b5f68fe2be4b7abdae5e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 14 23:18:38 2015 -0800

    altos/cc1200: Adjust bit-sync configuration
    
    The default bit timing adjustment mechanism allows for only a 0.2%
    deviation from the programmed bit timing. I found one TeleMini device
    which is beyond that tolerance as it was built with an older crystal
    with more error.
    
    Switch to the more expensive synchronization mechanism which allows up
    to 2% timing error, but requires a multi-byte preamble (which we
    have). This fixes packet mode nicely.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9c75faf1ec51eb2f9a8dc9402653490143a784d9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 14 08:35:47 2015 -0800

    altos: embed ao_alarm and ao_clear_alarm in ao_sleep_for
    
    sdcc won't embed these itself, and thus consumes too much flash for
    telemetrum-v1.0
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cc64e0e9d35e01b349680159a5bbd68d059134cd
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 14 01:16:42 2015 -0800

    ao-bringup/turnon_telemini: Detect which programmer to use by $USER
    
    Bdale uses TD 100, keithp uses TD 186.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c4f9d96bdea192486f0e3f2d80b846c39a05c0ab
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 14 01:13:21 2015 -0800

    altosuilib: Detect pair programming by product name, not USB id
    
    With TeleDongle, TeleBT and TeleMetrum coming in both pair- and self-
    programmable versions, we can't use the USB id to tell them
    apart. Instead, fetch the device name and use that instead.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0e929ee2d0a3d1b1bacd36c2c3723ab860eb40b6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 14 01:11:30 2015 -0800

    altosui: Run all igniter status requests from non-GUI thread
    
    Anything run from the UI thread blocks the UI entirely; the Fire
    Igniters startup code to collect the number of pyro channels when
    building the UI was doing that from the UI thread. Switch that around
    so that the UI doesn't get built until that reply comes back, allowing
    the user to see the 'connecting' dialog, and cancel it if required.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f4c812bef76a2cd95f675cb27ea89059561ceec7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 13 23:51:10 2015 -0800

    altos: Replace ao_alarm/ao_clear_alarm with ao_sleep_for
    
    Having arbitrary alarms firing in the middle of complicated device
    logic makes no sense at all. Therefore only correct use of ao_alarm
    and ao_clear_alarm was around a specific ao_sleep call, with correct
    recovery in case the alarm fires.
    
    This patch replaces all uses of ao_alarm/ao_sleep/ao_clear_alarm with
    ao_sleep_for, a new function which takes the alarm timeout directly.
    
    A few cases which weren't simply calling ao_sleep have been reworked
    to pass the timeout value down to the place where sleep *is* being
    called, and having that code deal with the return correctly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1445725b983134d5a967dee88ef997bf15d4a422
Author: Tom Marble <tmarble@info9.net>
Date:   Wed Feb 11 08:21:27 2015 -0600

    Added continuous output option to ao-usbtrng

commit 65837616a6d073da8e3e2bf9da524a48cffb77c2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 9 07:28:18 2015 -0800

    altos/stmf0: Add ao_crc_stm.c
    
    Tom discovered that this was missing
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fa813bcb6afc851cf4029b56c19ba46a3ae578f5
Author: Tom Marble <tmarble@info9.net>
Date:   Mon Feb 9 08:35:24 2015 -0600

    Minor typo in man page

commit 26f61380ce6b4df80fa0b5a8a242cef79d5ae339
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Feb 7 22:23:38 2015 -0700

    document addition of TeleDongle to the set of ARM targets to save binaries for

commit 4231d68bae69d9a7d1f52205002db452cd5f986d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 20:42:15 2015 -0800

    Bump java library versions
    
    Lots of minor API/ABI changes; make sure people can install both 1.5
    and 1.6 at the same time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c72d83ccd207b5300a90f2e84de6c5c96642478c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 20:36:10 2015 -0800

    altosuilib: Don't offer to graph some GPS details that TM doesn't log
    
    When using a TM eeprom file, various minor GPS details are logged
    (course, ground speed, climb rate, etc). Make sure these aren't
    offered up for graphing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 426bacbbd6e0573b143e7c48d71db977e53181fc
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 20:22:19 2015 -0800

    altosuilib: Get the Eeprom download progress bar working again
    
    The eeprom download code wasn't computing the start of each state
    transition correctly, so the progress bar was snapping to the end of
    the chunk for each state.
    
    Invalid state values would snap the bar to the right side.
    
    Landed state wasn't ever seen, so the bar would not ever fill.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aea188e4227993c508c7045d02f2bc87abd4e428
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 18:10:34 2015 -0800

    doc: update 1.6 release notes with recent bug fixes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0dd733efdbb66535889aafecbba45f49266ed886
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 17:49:39 2015 -0800

    altosuilib: Set the icon and title of the telemetry scanning dialog
    
    Just need to call 'super' to get the window configured correctly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9d5a6914982a29d22103e0202735c9e01ee9e831
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 17:35:15 2015 -0800

    altoslib: Clear saved TelemetryReader state instead of resetting in ScanUI
    
    Instead of attempting to mash the saved state from AltosScanUI, just
    throw it away in AltosTelemetryReader.reset. Much cleaner, and more reliable.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cbc9ecd960d0dd27a2275b4550c30c5c88ccf5bb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 17:09:40 2015 -0800

    altosuilib: Reset telemetry state after processing it
    
    This avoids re-using stale state after switching telemetry reception
    parameters around, which otherwise generates spurious entries for the
    wrong frequencies in the scan results list.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c0ce45100dd205f59cd84465138c74d9b31df0bb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 17:08:03 2015 -0800

    altoslib: Drop telemetry packets processed while monitoring is disabled
    
    A lag between the thread queuing telemetry packets and one pulling
    them out can result in stale telemetry data being returned to the
    reader. Fix this by dropping telemetry read while monitoring is disabled.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8a2be4d36a3b116d82529805430c5fb665688267
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 15:09:57 2015 -0800

    altosuilib: Wait for product data while scanning
    
    Now that Altos only sends config information once every 5 seconds, we
    want to keep waiting for that if we're receiving packets successfully.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e70f3dca01b15b75b0b8795eb71bd12817af4800
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 14:43:11 2015 -0800

    altoslib: Mark listener as 'not running' on EOF.
    
    This adds a 'running' member to the AltosListenerState class, and when
    the replay reader reaches EOF, marks the listener as no longer
    running.
    
    AltosUI and TeleGPS now display 'done' in the 'Age' field when this
    occurs, to let the user know that the replay is over.
    
    Also make sure that the display timers are stopped when this happens,
    or when the window is closed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 08f07d0af123e1c307bc4c0c973da07fae8246b1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 14:40:17 2015 -0800

    altosui: Remove the dregs of AltosDroid load-old-telem code
    
    AltosDroid used to scan the old .telem file to return to the previous
    flight state on restart. Now it just loads the old state object
    instead, a vast improvement in performance.
    
    To do that, there were some changes in the altoslib code
    required. This patch just removes those, fixing replay bugs in TeleGPS
    along the way.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0d08c427188f7b748d9ea7651143bc843e9c2691
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 13:09:18 2015 -0800

    altos: ao_packet_getchar needs to return 'int' so AO_READ_AGAIN works
    
    With ao_packet_getchar returning 'char', AO_READ_AGAIN would get
    converted to 0xff instead of -1 on return, making ao_packet_echo
    either produce a bogus character on output, breaking command
    responses, or wedge and never exit when the link was dropped.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4a5c64bef6952f25cadebc3e1f9909a5f513e015
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 02:37:36 2015 -0800

    Update version 1.6 release notes with more bug fixes
    
    A few bugs found during release testing are notable enough to be
    included in the release notes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 211cb482e4da04dc032432abc236ef8b5a5e732f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 01:30:21 2015 -0800

    altos: Separate out ao_tracker force from dbg
    
    Allow enabling telemetry when USB is connected without also enabling
    the motion debugging output.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f9f235bce84df3a6c0261e9d256aac544f87f70f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 01:05:57 2015 -0800

    altos/lpc: Give up on interrupt-driven SPI driver
    
    There are just too many limitations in when interrupts are delivered
    to make them useful. Instead, just drive the SPI directly with the
    CPU. At higher spi speeds (6Mhz or more), it's probably faster to do
    it this way anyways.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4b52f67abd0f9ed6d8208556007d75e7ee735cf0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 7 01:05:03 2015 -0800

    altos/drivers: Increase SPI speed of CC115L to 6MHz
    
    The datasheet says that the maximum for back-to-back data is 6.5MHz.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ba22e2dbf87b139f0349f4dd8a7e6046514f5bad
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 23:50:49 2015 -0800

    altoslib: Initialize GPS data to MISSING for Monitor Idle mode
    
    Make sure any un-set values are flagged correctly for the Monitor Idle
    UI by using the init() method.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 31fd32cd75f4f22458f0dc82823934672e16b988
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 21:50:47 2015 -0800

    altoslib: Use 'stateless' for Monitor Idle
    
    This reflects the lack of flight state progression during Monitor Idle
    and ensures that the GPS 'ready' indicator will light after 10 solid
    GPS fixes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 449c6731b1977c7623dd006ec2db56f383f8d85a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 20:45:28 2015 -0800

    altoslib: Support TeleGPS for Monitor Idle
    
    TeleGPS has ADC and GPS values, so build the necessary ADC parser and
    then hook up GPS parsing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 58f06706383418ebfa56d88ba51411e6185e09df
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 20:40:05 2015 -0800

    altosuilib: Don't show 'Sats in view' for TeleGPS eeprom graphing
    
    We don't log the visible sats from TeleGPS, only the basic GPS
    info. Have AltosFlightStats track whether sat info is present, then
    use that to elide the Sats In View graph entry as needed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 35ad1833b10595564de84c88f44a214b1c134ccf
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 20:36:44 2015 -0800

    altosuilib: EEProm download from TeleGPS doesn't have states
    
    As TeleGPS doesn't have flight states, the EEProm download progress
    bar shouldn't show 'state invalid', and it should use a different
    scale for each block.
    
    Fix this by having AltosConfigData know which devices have state based
    on their log format, then mark the progress bar state limits as
    'invalid/invalid' instead of 'boost/landed'. Then have the progress
    bar use that to set a more reasonable scale for each block.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 66e7a8081c07d0d96a31ae34963d430f06dccdfb
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 04:45:17 2015 -0800

    altoslib: Store MS5607 data in AltosConfigData for use by AltosMs5607
    
    When doing 'Monitor Idle', we fetch new config data each iteration and
    pass that to each of the readers, including ms5607. Instead of
    re-fetching the config data there, just store the ms5607 parameters
    when we fetch it the first time and copy it over.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 14d524782af4f06d7f3722dcc852772ec493c2cc
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 03:36:10 2015 -0800

    Package TeleDongle-v3.0 firmware with TeleGPS and AltosUI apps
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit df47839824dd4e708c22fbf8f4a3054b9c45b9c3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 03:34:30 2015 -0800

    altosuilib: New teledongle and telebt devices are not pair-programmed
    
    Only list telebt-v1 and teledongle-v0 as pair-programmed devices so
    that newer versions go through the self-programming process
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 21ff52befb27decc4b23458315620c47d7a07b21
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 03:33:28 2015 -0800

    micropeak: Install Windows AltusMetrum driver bits
    
    Make AltOS-based µPUSB devices work with MicroPeak
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a3f26f6d0c7574b8cdaecbccd7cfe89aaeb736b0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 03:32:27 2015 -0800

    micropeak: Support both FTDI and Altus Metrum USB IDs
    
    The windows driver only returns FTDI devices when
    altos_ftdi_list_start is invoked, so we need to call both that and the
    regular altos_list_start to get all of the devices.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cc707432c6eaedb9587bb63ac570146b356b6bfd
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 03:31:07 2015 -0800

    micropeak: Fix file association registry install on Windows
    
    Need to invoke DisableX64FSRedirection before setting file association
    registry entries or Windows won't find our application.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1fc5c8625f649b43d93f23a5fa1ba16773f2d0db
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 03:03:58 2015 -0800

    windows: Look for current Java version in \SOFTWARE\Wow6432Node
    
    I have no idea what this is, but I found the Java version down in
    there...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 83d3d967f576a57285d40e77c4a17303edeef4f1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 03:03:00 2015 -0800

    Add 'keithp-fat' target for uploading temporary builds to keithp's machine
    
    This lets me quickly prepare a new test version for Windows/Mac in a
    single command.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7a7d60d72e2e742fbc364489721f356806966c03
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 6 01:29:56 2015 -0800

    libaltos: Use more SetupDi API to get Windows 7 listing devices
    
    My Windows 7 box doesn't include 'SymbolicName' in the registry, but
    SetupDiGetDeviceInstanceId *does* return something that includes
    vid/pid/serial, so use that in preference.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 98db372758470cdaf7b517d670a7ce9186c787bc
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 5 22:25:35 2015 -0800

    Update docs for 1.6
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9fac8b639d2142c90eb95771cda1f6559e987db2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 16 22:09:26 2015 +1300

    altos/lpc: Double buffer USB data transfers
    
    This allocates twice the space in the USB memory so that transactions
    can be double buffered without using separate CPU memory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>
    
    Conflicts:
            src/lpc/ao_usb_lpc.c

commit 0671b3c8c24c9f33be77a10315c4669f33c516d7
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 5 16:08:44 2015 -0800

    altos/lpc: Clean up USB endpoint access functions
    
    The USB device endpoints can have two pointers in them, but we use
    only the first. Fix the access functions to take an index as to which
    we want so that we can disable the other address registers with them
    instead of requiring open-coded access.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a01ce949611b0c18df54c3f3877a43d27699c258
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 5 15:34:05 2015 -0800

    altos/easymini-v1.0: Shrink stack to deal with USB changes
    
    Reverting the USB double buffering means using more RAM, need to
    shrink the EasyMini stack to accomodate that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2bde76fe852d7908a968168580be4cd4dc0333d6
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 5 15:01:03 2015 -0800

    altos/teledongle-v3.0: Shrink stacks to 320 bytes to fit in ram
    
    The old USB code had static in/out buffers in ram
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5bf39f674b3d5ee98b55f42562a5ba1a9328ff07
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 5 14:56:13 2015 -0800

    Revert LPC usb performance improvements
    
    There's something screwy going on, sticking garbage in the input
    buffer at boot time
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ef69872c824668146a3876f1f3d0d2e51d3e4c8d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 5 14:54:27 2015 -0800

    Revert "altos/lpc: Fix double-buffered USB changes"
    
    This reverts commit 41a0604ad1ea1a03e2db7d41731dbadf466b45db.

commit aeca3b46bc1726a06952cc2ff86f50c6d80ed1e1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Feb 4 22:55:24 2015 -0800

    ao-bringup: Add turnon_teledonglev3
    
    TeleDongle v3 uses the LPC11U14 processor which has no on-chip eeprom,
    so we must reflash the device to set the default radio calibration value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bc41ab47b928b837724f8bc6b84d0b5b47c25df3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Feb 4 20:33:04 2015 -0800

    altos: Rename teledongle-v1.9 as teledongle-v3.0
    
    No hardware changes from the 1.9 prototypes to the 3.0 final version.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dbafa16cfa897b2a5c6cf455cf8675e83eb0d7d6
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Feb 4 20:30:15 2015 -0800

    altos/telebt-v3.0: Set initial radio cal to a sensible value
    
    CC1200 uses a different xtal than CC1120, so the default calibration
    needs to change. This value hit 434.550 on SN 2407, so it seems like a
    reasonable place to start.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit be443d8d50ad8f59a74bf2f4e810a7359ff72132
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 1 16:57:14 2015 +0100

    altos/telebt-v3.0: Add monitor bits
    
    Will be useful to actually be able to receive telemetry
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6eb145d48cfcabf757093433bd2314a80e490a17
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 1 16:46:40 2015 +0100

    altos/usbtrng-v2.0: Select PA11/PA12 mapping config value
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8f9e192e9d1c6fab9843939ff9117f6bb3725943
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 1 16:44:52 2015 +0100

    altos/stmf0: Support PA11/PA12 remapping
    
    Small pin-count versions of the STMF0 can remap PA11/PA12 on the same
    pins as PA9/PA10. These are used by USB, so have the USB driver deal
    with remapping them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 466d3e977ca279f97944141fcc12c04f4f58212e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 1 16:44:07 2015 +0100

    altos/telebt-v3.0: Turn red LED off after initialization
    
    This lets the user know the device successfully initialized.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 845ae016d700c37948e053ead5f7e2778356fda3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 1 16:43:06 2015 +0100

    altos/telebt-v3.0: Fix stdio setup for BTM
    
    Make sure the BTM module is allowed to be included in stdio, but delay
    adding that until the BT link is running.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a138e05ae6241a6743ca9f64528124f5f6c8e0ee
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 1 16:42:01 2015 +0100

    altos: Always include a check for stdio overflow
    
    For some reason, the check for running out of space to record stdio
    devices was disabled when only one device was expected.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 870428a909025988a8cd834755ea166e2d1e34ca
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 1 16:39:17 2015 +0100

    altos/btm: Add fancier debug. Pull serial reset port low.
    
    Adds an interactive debugging mode to help diagnose BTM issues.
    
    Discovered that the serial reset pin on the BTM needs to be pulled low
    for the device to work correctly.
    
    Leave the bt link interrupt disabled until things are initialized.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 44a503a8cf3778cad5469c592e8ccbae58e44b97
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 1 16:36:51 2015 +0100

    altos/stm: Add ability to delay STDIO usage for serial ports
    
    Bluetooth needs to delay adding the serial port to stdio until the
    link is up and running. The cc1111 serial driver had
    DELAY_SERIAL_*_STDIN bits which have been added to the STM serial driver.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 252211e9e54a1e6f4efe2df6382ce60c909de70c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 30 14:04:50 2015 +0100

    And, also add the TeleBT v3.0 flash loader Makefile
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bfa5c70a827ac8be23ca48797edc14e13461d6ac
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 30 14:03:55 2015 +0100

    Oops, forgot the TeleBT-v3.0 Makefile
    
    git doesn't warn about files named 'Makefile' because they're supposed
    to be generated...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8ca1f234586225caea1040bc229b63491dadc1cb
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 27 20:41:15 2015 -0800

    altos/stmf0: Re-implement fast ADC code for stmf0
    
    This creates a ring buffer for ADC data so that ADC fetching can run
    in parallel with other activities.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3749426af1e900a1b3354922fdd7e8b3bfa38084
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 27 17:18:42 2015 -0800

    altos/usbtrng-v2.0: Use stmf042 hardware CRC unit
    
    Switch from software to hardware for CRC computation. I think this
    must be faster, right?
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a95d6776dea86cdc4bdc3512505ba7e75365c127
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 27 16:55:27 2015 -0800

    altos/stmf0: Add CRC driver
    
    Sets up the stm32f0 CRC hardware, exposing inline functions to access
    it. DMA access is possible, but usbtrng can't use that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 79f3434013650fe4e3d76e5eb56a10000ee34249
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 27 09:36:19 2015 -0800

    altos/stmf0: Remove remaining stm32l bits from stm32f0 code
    
    These were left over from the stm32f0 initial implementation work; now
    it's more useful to list only the bits which are valid.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bf08397202860a73417cd1711012eb3e33f308c3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 26 22:23:19 2015 -0800

    ao-tools: Add ao-usbtrng to dump RNG data for testing
    
    ao-usbtrng reads a specified number of kilobytes of random data from
    a random number generator.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ee91e1da606c8a8fade278a3aeae9c1cc9014b84
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 26 22:22:00 2015 -0800

    altos/stm: Fix typo in stm32l.h
    
    This crept in while working on the stmf0 bits. oops.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac1a58af4d281a9bc3572dc503982a94e439a4c1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 26 22:16:18 2015 -0800

    altos/usbtrng-v2.0: Add random output command
    
    Read chunks of random ADC data, do some CRC16 computations to de-bias
    and merge 4 bytes of input data into 2 bytes of output data, then dump
    that out over USB.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 729bb7a405460db8d44c9ff6ee903b28c7499a02
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 26 22:14:57 2015 -0800

    altos/stmf0: Add ADC and DMA APIs
    
    The ADC api is what USBtrng wants; a way to repeatedly read a single
    ADC input as fast as possible.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a01effc2f64c757c907e0f4937b4d3710b97bde0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 26 22:12:40 2015 -0800

    altos/stmf0: Add faster USB path
    
    This adds a way to allocate private USB buffers for sending data
    without needing to copy it again. It requires ensuring that all
    accesses are 16 bits aligned to 16 bit boundaries.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e1d5bcb1968e280b8ebdf6c8b12e8a87167fd890
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 26 22:10:47 2015 -0800

    altos/stmf0: Fix linker scripts to make ao_boot work
    
    The flash loader ended up assuming ao_boot was at the start of ram,
    while the application stuck it after the interrupt table (where it
    needs to go).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 32c68670af9f8aa690c64d64502e559c0df0c1db
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 25 19:58:38 2015 -0800

    ao-tools: Add --wait option to ao-usbload
    
    This waits forever for USB writes to complete, instead of timing out
    after five seconds. Useful when debugging the device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02b07a202839d6e68b3f0db7f8965478661db140
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 25 19:37:05 2015 -0800

    altos: Add flash-loader to usbtrng-v2.0
    
    Uses the new STM32F042 flash loading bits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit df881bce8576f091b2d8cb53b8ce8a43aeedecde
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 25 19:35:19 2015 -0800

    altos: Add self-flash support for STM32F042 processor
    
    Also moves the usual address for applications out of the way of the
    flash loader.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02e1058fa52ee7c867ea6c9031ebb9e21d14889c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 25 16:43:48 2015 -0800

    altos: USBtrng v2.0 hardware bringup
    
    Gets the USB connection running and blinks the LEDs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02f03df6d089cafae99f8ce15dcbd87f6e78d749
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 25 16:42:39 2015 -0800

    altos: Initial STMF04x support
    
    Basic clock configuration, OS support, LED and USB drivers.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0e7d1c89fea98eabca738f10cbfebec631be3bb7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 24 11:18:59 2015 -0800

    altos: Add support for TeleBT v3.0
    
    Add support to the BTM driver for non-CC1111 interrupts
    Add HW flow control to STM serial driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 41a0604ad1ea1a03e2db7d41731dbadf466b45db
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 22 21:31:45 2015 -0800

    altos/lpc: Fix double-buffered USB changes
    
    These got merged when we were down in Auckland, but before they'd been
    finished. Transmitting worked fine, but receiving was mis-configuring
    the OUT buffer size in the hardware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 291eec859606b73b43072cd2debfbb92659e0d95
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 22 20:34:43 2015 -0800

    altos: Get rid of some accidental debug code
    
    I was debugging the accelerometer calibration code and left some
    printfs in it, which made TM run out of flash space.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e05e0c6b71a1df65f188e00622e9632eb27510fd
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 16 22:09:26 2015 +1300

    Set version to 1.5.9.1

commit 2a053d3d157e00b6a6406f4f78ddb8e298b6c4b7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 22 17:27:09 2014 -0800

    altos/lpc: Switch LPC SPI driver to interrupt-driven
    
    This improves performance for SPI transfers, while allowing other
    tasks to get work done during longer SPI transfers.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 213a6604ec225e843f30244e6f94d0ebb3d27e46
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 22 17:11:51 2014 -0800

    altos: Adjust CC1200 RSSI reporting value
    
    On the test setup, we were about 13dB off, so tweak the settings to
    suit. This result wasn't tested; it's just a rough offset until we get
    a production run of TeleDongle boards back to do more systematic
    measurements.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 014dcc1f179237dc247fafa4a2cff91809260681
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 22 17:10:33 2014 -0800

    altos: Document cc115l power measured at RF setting 0x03 as -31.75dBm
    
    We built a custom TeleGPS load for radio sensitivity measurements with
    the lowest documented power level setting (0x03), and measured the
    power out at that value of -31.75dBm on the test board.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cf09ee2a4b093c56b64260c3db3f5e07143aa888
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 9 21:44:53 2014 -0800

    ao-bringup: Clear pending output before setting frequency.
    
    Maybe this will unwedge things
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5b7ec0c69343db3793c0317939b5eff1f2d04752
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 6 15:08:53 2014 -0800

    micropeak: Support µPUSB with our own USB ids
    
    This matches the new µPUSB id as well as the FTDI USB id.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7e52ef59082cb2afdba498233c429321c37a6ac3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 6 15:08:29 2014 -0800

    altoslib: Add usbtrng, usbrelay and mpusb USB ids
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7339d2379713b5b7e4c4fe6bad89ed93f9d39e82
Merge: d1f91215 b6462ca3
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Dec 6 15:39:53 2014 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit d1f9121593fe30b924223e89ef4d596b5bec2b25
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Dec 6 15:39:35 2014 -0700

    improve test procedures for TeleMega

commit b6462ca3a7e99fe390ec97f94c23d36fab8c294d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 23 18:56:40 2014 -0800

    altos/cc1200: With PQT wide open, we can't use PQT_REACHED for start
    
    Because we're allowing even signals only weakly correlated with the
    preamble through to sync detection, we can't use the PQT_REACHED
    symbol to tell when a packet header has been seen. Instead, just look
    for SYNC_FOUND.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0e3eeaf59688dac92eb3a27d589923126cb34e00
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 23 18:50:57 2014 -0800

    altos/cc1200: Open up preamble detect to improve sensitivity
    
    Increase soft decision PQT value to max (15) to ensure that we detect
    even weak packets.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eabeb76a2a9acb624ae364c4f0f315bfc3549d98
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 23 18:31:15 2014 -0800

    altos/cc1200: Wait for packet to be placed in FIFO during receive
    
    This changes the receive code to use MCU_STATUS, waiting for
    MARC_STATUS1 to indicate that the packet is in the fifo before reading
    it out.
    
    It also fixes the receive timeout code to keep receiving if the
    preamble or sync have been seen when the timeout fires. This makes
    TeleLCO able to use short timeouts during scanning while still
    successfully receiving packets.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2163f6e6b341b7840f03e89d568699b8ea186435
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 16 16:39:18 2014 -0800

    altos/teledongle-v1.8: Make this the same as teledongle v1.9
    
    Remove RSSI LED blinking, add CRC error LED
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 54f7ab842a8cba3003cd5a9deb2515151263ca2e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 16 16:38:12 2014 -0800

    altos: Allow TeleMega to be built without MPU6000
    
    Robert Braibish's board has a dead MPU6000; this fix lets the TeleMega
    firmware build without that driver so the rest of the board could be verified.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f16ea9abfaac9eee3b0935c586e383ae046d6cf5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 16 16:37:15 2014 -0800

    altosui: Remove duplicate AltosUIPreferencesBackend.java
    
    There's a copy in altosuilib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit abdf3177293c57e659017b64819c13f11c126011
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 16 13:41:27 2014 -0800

    altos/microsplash: fix .gitignore to ignore resulting binary

commit 97a321692c2e41a1d3f77fb541780ada945eff52
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 16 13:40:15 2014 -0800

    Add AltosDroid release note for version 1.5

commit 47956ac01397c0a7fafc6b0a4840113186924b2e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 16 13:17:55 2014 -0800

    altosdroid: East and West were flipped in all GPS output
    
    East is positive, West is negative
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5aae1446026a08bf8f09c56b960545eff30a8bd1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 15 22:52:42 2014 -0800

    altosdroid: Save AltosState and restore at startup
    
    Instead of re-parsing the old logfile, save the current state in the
    preferences database and restore at restart of the
    TelemetryService. This makes the state get restored even before the BT
    connection is recovered.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 52ce23327bd81e2d40a1817442e75bd6b60ffe95
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 15 22:50:31 2014 -0800

    altoslib: add AltosPreferences state save/restore interfaces
    
    This serializes an entire AltosState object and stores it in the
    preferences database for later retrieval. AltosDroid uses this to
    recover the old state data when restarting.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a488da3ca72fe0778b2d79a8cac935621d1d789d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 15 22:49:06 2014 -0800

    altosdroid: TabMap needs to expose () constructor
    
    Otherwise we get an exception at startup time for some reason.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit deda23963586eb07a32f9a3c83a0355178e19340
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 15 22:48:15 2014 -0800

    altoslib: Add getBytes/putBytes interface to AltosPreferencesBackend
    
    This lets us store arbitrary binary data in the preferences database
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e5dd00ef0014364fc059970cc020f209b3b16cf8
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 15 22:46:01 2014 -0800

    altosdroid: Don't display MISSING flight number
    
    Just check and clear the entry if we end up seeing that value
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 60edcfe410e7fa848813d6c1ed8dc9808887d041
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 15 16:03:32 2014 -0800

    altoslib: Make AltosState serializable
    
    This involved making every class it references serializable as well
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4d4fee0b0091a1b6257a06f62b1078778cdb417f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 10 14:41:17 2014 -0800

    altoslib: Missing headers for mag sensor in CSV output
    
    Kelsey Black <nmonic@gmail.com> reported that the TeleMega CSV output
    was missing the header labels for the mag sensor data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 437eba2ff27b2b7dfd0f363819b9a43ab8b28ead
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 6 20:04:47 2014 -0800

    altos: Reset interrupt flags before TX in CC1200 driver
    
    Failing to reset the flags set during interrupt leads to
    short-circuiting transmission and not a lot of packets going out.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f742824673e5e6034defdb09b66d4d56eb8d4fe
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 6 16:05:49 2014 -0800

    altos/teledongle-v1.9: Switch to NXP processor as on prototype boards
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a082d9b5ed169b9d4153885f3535987e5ae5d84
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 6 16:04:56 2014 -0800

    altos/lpc: Disable JTAG when using pins for GPIO
    
    JTAG is enabled by default, making those pins not support GPIO unless
    specifically configured.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 58db263cc835be0abb972654c2d7369718c88b37
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 6 16:04:14 2014 -0800

    altos/lpc: Declare SPI send parameters as const
    
    This matches STM
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d3dd45b060c996153ff8195bd371e9e1f3b15efb
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 6 16:02:47 2014 -0800

    altos: Use other TeleDongle LED for CRC-invalid packet reporting
    
    Instead of blinking out some fake-o RSSI indication, just blink the
    red LED when a packet with a bad CRC is received.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2313cdacefb2139bc68cd98e782c54d706af0704
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 6 16:02:07 2014 -0800

    altosuilib: GPS errors are recorded in floating point, not integers
    
    Fix the format used to present them in the info table.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2f0ff9675017655846a8abc617b4dc9a3666d0b9
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 6 16:01:24 2014 -0800

    altos: Use AO_SPO_SPEED_FAST for CC1200
    
    This asks for the fastest available SPI speed, instead of fixing it to
    8MHz, which may not be supported on every architecture.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 80a0397dde2f787fb20fd2520b274b826c68ed5a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 6 16:00:06 2014 -0800

    altos: Stop attempting to ramp power on CC115L
    
    The PA register on the 115L isn't in any way monotonic, making the old
    code broken. Just rempve it instead of fixing it; we don't ramp
    anywhere else...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2e5ffd839fe5be99359e4c86a96f03148bac698
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 6 15:58:42 2014 -0800

    altos: Declare port register type only in arch header
    
    Instead of defaulting to 8 bits, explicitly require declaration of the
    type of the port register for each architecture.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2060d6ca222a04608e598baf59757f12ea2ec70
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 6 13:27:29 2014 -0800

    Move teledongle 1.9 to 1.8; there's a new 1.9
    
    1.9 is now the lpc11u14-based form-factor prototype board.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b67556949aa080fc5e70771e972de880e44eca12
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 5 22:11:44 2014 -0800

    altos: Rename microwater to microsplash
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b0e903a76276e33f531eade42ac721c9490c6758
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 30 21:59:45 2014 -0700

    altosui: Pop up 'Connecting' dialog during Monitor Idle
    
    This was a bit harder than expected as I had to wire up a way to shut
    down the whole monitor idle window when you clicked on the cancel button.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ef00182c79bd7a56fbc5d782cb8f4aa0079bb86f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 25 21:14:25 2014 -0700

    altos: Increase CC1200 SPI data rate to 8MHz
    
    This got set to 125kHz to make debugging with a logic analyzer easier
    and never changed back to a reasonable speed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4d51570ed8776461d084726149923c5be43d622e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 25 19:56:25 2014 -0700

    altos: Fix up telemetry delay computations
    
    With RDF, APRS and telemetry all being sent at varying rates,
    computing when to send the next radio data is not as simple as sending
    telemetry and then figuring out whether to send RDF and/or APRS.
    
    Fix this by computing times for the next telemetry/rdf/aprs packet,
    and only sending each when that time has passed. Compute the delay
    until the next radio activity as the minimum time to any transmission.
    
    This also adds code to the config bits to reset the radio times
    whenever something changes that might affect which radio data to send
    next.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c831f1ffb378c20b7513d209d60cdd5dee9db85b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 25 17:44:48 2014 -0700

    altos: Perform cc1200 calibration less often. Tweak radio params
    
    This performs calibration after every 4 operations, or when the
    frequency changes. This reduces the time it takes to get to receive
    mode.
    
    This also makes the sync and preamble qualifiers more strict to reject
    bad packets.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3f7263f57b1b697d92ed6c3d62956e5bdfc11f24
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 25 11:20:44 2014 -0700

    altos: Remove old AO_SEND_ALL_BARO bits
    
    This was used for testing the original TeleMini which couldn't log
    data at full speed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ae4be19f8ab0899a879a10aec28dc381f44dd2c7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 25 10:21:30 2014 -0700

    altos: Build TeleDongle v1.9 by default
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 51ef3fad6435c0b21945d48fbbaa5a4c092c4960
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 25 10:20:07 2014 -0700

    altos: Increase PQT value for cc1200 improving sensitivity
    
    The PQT value indicates how 'good' the preamble is; higher values
    allow a lower quality of preamble to pass the test, permitting more
    packets to be decoded.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9102183b40f0b32d4fb6d24502b79a6431184310
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 25 10:17:48 2014 -0700

    altos: Sort out ao_gps_print altitude fetching
    
    ao_gps_print is used by both teledongle/telebt and the host-based GPS
    test code. The first instance uses the old internal GPS structure,
    containing just a 16-bit altitude while the second uses an
    ao_telemetry structure, which contains 32 bits split into two
    members.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cb83b5432e1320726ad496ded78cced7274618b0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 7 05:36:18 2014 +0200

    altos/teledongle-v1.9: Add remaining code to complete the project
    
    This turns the prototype board into a full teledongle
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4a3fe79266a77f8fc001117f49db1d2f14f9e6b6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 7 05:34:06 2014 +0200

    altos: Complete cc1200 driver
    
    Deal with differences between cc1120 and cc1200, including built-in
    packet support and various register changes.
    
    This now works to send and receive telemetry, as well as send APRS and
    RDF.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7fea8b245cdccc1ec77aa559433952f339676473
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 7 05:35:10 2014 +0200

    altos: Expose telemetry altitude macros even without GPS
    
    This allows for APRS testing in the new teledongle code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 484b530a16a54ca8fde412c3f466bfe7eed978cd
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 7 05:32:00 2014 +0200

    altos: Mark STM ao_spi_send as taking const pointer
    
    We don't write to this, so let it be const for type checking
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c17dff05b70d98e3193e8e68cc9599f3a30270b5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 24 19:10:45 2014 -0700

    ao-tools/ao-send-telem: Add verbose, fake and rate options
    
    Verbose dumps some data while sending packets.
    Fake sends constructed packets, once every 500ms.
    Rate sets the transmit bit rate.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e2562ee43b8558df0836217ea3a187b36e2669b3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 15 16:10:11 2014 -0700

    altosuilib: Try to detect the architecture when loading JNI lib
    
    Look at sun.arch.data.model and os.arch to try and load the right
    libaltos file the first time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 88df7cd314269fa1debe226b49b7e4e9dc238d8e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 24 21:21:19 2014 -0700

    altoslib: synchronize access to serial debug output list
    
    This list is access by both the receiver and the monitor task, so it
    needs to be locked to prevent collisions.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 221824b038bf18ca43a38c82d18b0ae9586ba565
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Oct 9 13:11:16 2014 -0600

    document pyro current limits in an appendix

commit ffda6989e856e66a1bea253e82cb70f51ada3e7a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 5 00:07:10 2014 -0700

    altos: Add prototype TeleDongle v1.9 code
    
    Lights up the hardware, sends carrier and RDF tones. A bit more cc1200
    work to be done still.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 27a467d802a80a33ea20eb5cda2558d03caa2c00
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 5 00:03:28 2014 -0700

    altos: Copy cc1120 driver to cc1200 driver and hack a bit
    
    The cc1200 is similar to the cc1120, although many registers have
    changed.
    
    This driver can send a bare carrier and an RDF tone, but does not yet
    receive or transmit telemetry data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 62628c8b429d06ee834f0b6511c430cbeaab9303
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 4 00:30:54 2014 -0700

    altos: Fix syntax error with ao_log_mega change.
    
    Missed a semi-colon.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 00ae706dab6e8fddef4c5730a17c433a022228b7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 4 00:11:13 2014 -0700

    altoslib: Compute tilt angle from eeprom data
    
    This copies the computation of tilt angle from the firmware so that
    post-flight analysis can also show the data.
    
    This change also renames all of the imu values to make them easier to
    understand:
    
            accel   gyro    axis
    
            along   roll    length of the board
            across  pitch   across the board
            through yaw     through the board.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a757fd5af53f5721a949181372548afa4757d6c9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 4 00:10:03 2014 -0700

    altosui: Update 'Imperial Units' checkbox when units change
    
    If you have two graphs running, make sure the imperial units
    checkboxes agree.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 656d8fe17532ca6c7d1d43996f187df2f14f5395
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 4 00:07:39 2014 -0700

    altoslib: Deal with new Mega log format that has 32-bit gyro cal
    
    This adds parsing for the new log format type to get all 32 bits of
    the gyro calibration data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9521dc63671b69065d27fc1ccba6d20cc90643cb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 4 00:04:39 2014 -0700

    altos: Record 32-bits for gyro calibration values
    
    The gyro ground calibration values are scaled by 512 to provide a bit
    more precision for the computations. This means they don't fit in 16
    bits, so change the format of the flight log record. Also change the
    reported format so that AltosUI has a chance of figuring it out.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 95d9248da78f86240dbe77e2c206420dc509c9cf
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 29 12:57:27 2014 -0700

    altosui: Check for map and stats table when changing units/fonts in graph
    
    AltosGraphUI wasn't making sure the map and stats tables were present
    before attempting to adjust font size and units.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 40c5535b65a75374fb1dbbd994c29324db814f5b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 29 12:56:04 2014 -0700

    altos: Handle antenna down in ao_flight_test
    
    Parse the Pad orientation config value and flip the accelerometer
    value back around in antenna down configuration.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b97a125a9f8bd9619833647a9b6aa6329103e136
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 26 22:58:13 2014 -0700

    ao-bringup: Auto-select programmer for teledongle turnon
    
    Bdale's programmer is SN 100, Keith's is SN 186. Use the username to
    figure out which one to use.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b4eba3f3a58a9c35e3699ff14405b997c1318d91
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 26 22:53:39 2014 -0700

    altos: Make sure we drop the SPI mutex when aborting cc1120 recv
    
    The cc1120 receive code is 'twisty', in that it acquires the SPI mutex
    in the middle of an interrupt handler so that it can quickly start the
    radio when the signal comes in. This means we have to be careful to
    drop that mutex in all paths which leave the receive code, including
    when the packet receive is aborted mid-way through the process.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 22661ba69b8919116092382f1f5aa0dc79d02cc9
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Sep 13 17:56:51 2014 -0600

    store cal value correctly even when we didn't need to change it

commit b0eb63205223e2982d0ded08503c3f128420270f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 13 15:59:18 2014 -0700

    altosdroid: Update notebook to reflect current status
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9dc426756742fb967fdd21e1fcec54edeb4b12ac
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 13 15:52:56 2014 -0700

    altosui: Bring up main window when doing --replay or --graph
    
    This shows the main window when replaying or graphing files so that
    you can interact with that, changing the global configuration or doing
    other stuff.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 75d5368cb2a95f3f7385952669a14765460f549d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 13 15:51:50 2014 -0700

    altosui: Fix --replay to run in realtime after boost
    
    I added the ability to rapidly replay files for AltosDroid to recover
    from a crash, but didn't change AltosUI to use realtime mode again.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 04b5cc37659b1b3d6b62f1ef17b17c0492434cba
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Sep 13 16:37:42 2014 -0600

    reflect filename changes in LLC repo

commit 93d1cedc94358ebf5c2af537a25a242f6c19954c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 13 15:23:40 2014 -0700

    altosdroid: Automatically sign the released version if the key is available
    
    Look in ~/altusmetrumllc for release.keystore and Passphrase and
    enable building and signing of the release binary.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2731486c12678a7d3bd7ec79e74a2fcaf20845bd
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 13 13:38:31 2014 -0700

    altosdroid: Update version code and name for 1.5
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e151c144fcdb1da96e715f29c049dc4869e1d53d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 13 13:00:58 2014 -0700

    Mark master branch as past the 1.5 point
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ff7c006e50515040d43399899fac26a3fe26d8a7
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Sep 13 12:31:08 2014 -0600

    updated to reflect changes from 1.5 release

commit 20d640ec504afbfdb69dba1b241d84af1e62abed
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 12 20:58:26 2014 -0700

    ao-bringup: Improve igniter testing. Add TeleMega and TeleMetrum testing.
    
    The script lets you re-try each one when they fail, which is nice if
    you're hand-holding the setup.
    
    The TeleMetrum and TeleMega tests are adapted from the EasyMega tests
    and are hooked up to the turnon scripts.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e0077866138a1e29ede7181e39f04860b866543a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 12 20:57:05 2014 -0700

    ao-tools/ao-test-igniter: Remove bogus printf
    
    This must have been left over from testing; it prints "device (null)",
    which isn't very useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6681d31929266fec9711b3d89a4f074cd2afcc6e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 12 20:56:29 2014 -0700

    ao-tools/ao-test-gps: Improve output formatting
    
    Add a newline before printing out the flags and sats at exit time
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2d045570d2cda0abde67a68506cb3fc2e119ec3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 12 17:22:37 2014 -0700

    ao-bringup: Use C version of ao-test-gps in test-telegps
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d0e597789ac298b108ea04cc1a2c999bcf14bc9c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 12 17:22:03 2014 -0700

    ao-tools: Add ao-test-gps program
    
    This waits for GPS to report lock
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit def036794f1460a5457e6b86350712c336e296d6
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 12 16:38:59 2014 -0700

    ao-bringup: Use C version of test-flash for telegps
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1630a8e458f174d6df1aa30ff30e3f02a10bdbf7
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 11 19:59:58 2014 -0700

    altosui: Ignore built .desktop file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 807e62ccebc83eb6427a63431d06effa074e5e76
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 11 19:56:13 2014 -0700

    altos: Make sure we don't beep out continuity twice in idle mode
    
    If the battery voltage report takes longer than the initialiation
    sequence, we could get to the state reporting after the state had
    switched from startup to idle. This would result in continuity being
    reported the first time through the loop. Then, as the state had
    already changed, we'd pass through the while test and go back to
    report continuity a second time.
    
    Fixed by using the state remembered before beeping out the voltage to
    decide whether to report the continuity.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d7ad490a33900a788b15d1600ebaa2a71e6f35ff
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 11 15:57:21 2014 -0700

    altos: Add smaller altitude table file to .gitignore
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ad8921b164103629b246c25860297454aa7ec6b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 11 15:56:14 2014 -0700

    altos/test: Add TMv2 test program to .gitignore

commit 0cedc27e22a9fbc9ccfe1b403c84d728bb23220d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 11 15:00:25 2014 -0700

    altos: Fix ability to disable telemetry by setting interval to 0
    
    For non-zero telemetry intervals, the radio code limits the value
    based on the data rate. However, a zero interval means that telemetry
    should be entirely disabled, so that value should be left alone when
    checking.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6dafd7bf947d892e430cd565eb92a3366abb3604
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 11 14:23:29 2014 -0700

    telegps: Was mis-configuring the 'Configure Device' dialog
    
    Make sure we show 'rate_label' instead of showing 'radio_enable_label'
    twice.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 368c7d583380b4453f432d5a965a1e4c45a92f92
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 11 14:14:07 2014 -0700

    altoslib: Stop re-loading previous flight when starting telemetry monitoring
    
    This feature is necessary on AltosDroid because there's no other UI
    for reloading an old flight. It's not useful on the desktop where you
    really just want to see new telemetry; old telemetry is availbale
    through the 'graph flight' or 'replay' mechanisms.
    
    AltosDroid uses a different class for reading telemetry data, so we
    can just remove this feature from altoslib at this point.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2ee937b603b181bb24768eb4d0e2f918a5377fd3
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Sep 10 01:29:56 2014 -0600

    use dh_installmime, which requires telling configure to stay out of the way

commit 22e68da2cb3b0b42708876f1dde52dbfd0ce4bf7
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Sep 10 00:26:10 2014 -0600

    another build dep

commit 615b69b19557a9683eeb0475b30a053a35ca51ac
Merge: a72b7683 03654934
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Sep 10 01:30:37 2014 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 036549343416183f973d00a86d897d4a368c1d6f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 10 00:03:53 2014 -0700

    configure: Add --disable-install-shared-mime-info option
    
    This inhibits the installation of the shared mime info data file and
    updating of the shared mime database. Necessary if you want to use a
    distribution-specific shared mime installation hook, like dh_installmime
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1992a1e3046a5414ce8d394e1cd8e5e6f6338d29
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 9 23:43:10 2014 -0700

    .desktop: Use %F instead of %f in .desktop files
    
    %F is a list of files, %f is a single file. All of our tools can
    handle lists of files, so make the .desktop file reflect that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a72b7683606d3e741043011c929482a0a168a5c9
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Sep 9 23:44:45 2014 -0600

    more build dependencies for processing icons

commit 1fb200d18cc385230b3af574816ec354682cc5c9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 9 23:00:14 2014 -0700

    icons: Use DESTDIR when updating mime/icon caches
    
    This is done in install-data-hook and needs to explicitly use DESTDIR
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a8c799c48a52bf13466536db627b66bfe2a435cd
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 9 09:38:03 2014 -0700

    altoslib/altosuilib: clean all versions of the .jar file
    
    When we switch libary versions, we want to remove the old ones; just
    have 'make clean' remove all versions of the libaries.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cef3be371cb3a9e481c2bd6abdf22c51953773f1
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 9 09:37:13 2014 -0700

    altoslib/altosuilib: Add EasyMega support
    
    This makes flashing find the right files, and Monitor Idle show all of
    the state data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 08a82617c53718055d97df4fa60f3e5051d65383
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 9 09:09:22 2014 -0700

    altos/easymega: Set USB PID for EasyMega to 0x0028
    
    It was using 0x0023, which is for TeleMega. 0x0028 is what's listed in
    usbvidpid.h.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9d3ab4c78f79d659ce800def77bc441c95fa15be
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 9 09:02:51 2014 -0700

    altoslib: Fix idle monitor parsing of MMA655x state
    
    There's no ':' after 'MMA655X value' in the output, and the parser
    returns 'true' on success, not false.
    
    With this, 'Monitor Idle' now reports correct accelerometer readings.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2b7ba0a5be70ae1d661afb2592ce8a6bf660c793
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 9 09:01:42 2014 -0700

    Tag version 1.4.9.3
    
    This should be the final firmware version for 1.5
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 445d61c3810154193aebbf0f08f075ac8e107baf
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 6 22:56:25 2014 -0700

    altosui: Include EasyMega firmware in fat release
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f0d2d34f84980ab45ecedae17546f4d71e020c5e
Merge: 8c212cd5 6c812f10
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Sep 6 23:42:47 2014 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 6c812f10761ec4ebf13e29ccef1d6c2c864f1158
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 6 22:28:13 2014 -0700

    doc: Update for version 1.5 release
    
    Add stuff about EasyMega and telemetry rate configuration. Update
    screen shots as needed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d83afa9320c24056469984873af0a3c70bee0962
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 6 20:44:30 2014 -0700

    altos: Scale packet master receive delay by baud rate
    
    Increase the time we wait for return packets based on the remote
    protocol baud rate.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e7515e3a88d53c50dd9b962cc8f43ce5376ccd0b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 6 20:43:32 2014 -0700

    altoslib: Increase timeouts when using low baud rate remote protocol
    
    When using 2400 or 9600 baud remote link rates, we need to increase
    the packet timeout from 500ms to much longer values to avoid annoying
    the user with timeout warnings.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 46f08f8709c538f3fee8e166598f0bb930df6e3c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 6 20:41:58 2014 -0700

    altoslib: Update local callsign/baud rate when using remote protocol
    
    We've had code to synchronously update the local and remote radio
    frequencies when doing configuration over the remote link. This patch
    adds the same code when changing the call sign and baud rate.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f395bcaa620490954d4a42de9b4870bc12bedc91
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 6 20:39:37 2014 -0700

    altos: Reduce deviation at 2400/9600 baud
    
    There's no reason to use 20.5kHz deviation at 2400 and 9600 baud, and
    if we get a better receiver, we'll want to use narrower deviation to
    have less bandwidth sucking noise into the radio. The new values are
    (nominally) 5.125kHz deviation for 9600 baud and 1.5kHz deviation for
    2400 baud.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8c212cd5bfa03f71a31d84bd0051314e77d88461
Merge: e9714e34 dd26ec2e
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Sep 6 13:41:36 2014 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
    
    Conflicts:
            ao-bringup/turnon_telemega

commit e9714e34091abe657aa1b30aeda9466331aa39c1
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Sep 6 13:40:59 2014 -0600

    tweaking test scripts

commit dd26ec2e706bdd29090759deeb90090a0e3b74f0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 6 00:39:41 2014 -0700

    altosdroid: Mark completed items as 'done'
    
    Frequency display
    Re-load data on restart
    Auto re-connect to TBT at correct freq
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 18671803d078aa798b603c67b741c3ba4374f41d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 6 00:14:26 2014 -0700

    altosdroid: Add imperial unit support
    
    Provides a menu entry to switch units, changes all value displays to
    use the AltosLib units conversion code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2b2ebd2fee46158abd1ae050cd6d1040ead849a0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 5 23:10:07 2014 -0700

    altosdroid: Update tab contents before switching
    
    Make sure the new tab contents are updated before switching tabs so
    that the user doesn't see old stuff.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 08bbb1c3de73c9aaf920b11247eae544df6eac0c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 5 22:06:21 2014 -0700

    altosdroid: Ignore TelemetryService messages after service shutdown
    
    Messages may get delivered after the service has been shut down;
    ignore those.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 101ac21f05a69bdeb07d423aa18017eca04fc47f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 4 11:28:40 2014 -0700

    altosdroid: add new TelemetryState.java
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2b03aca995b0151d7e820775f6a9d4afec462633
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 3 22:59:09 2014 -0700

    altosui: Don't mark altimeter dirty when opening pyro panel
    
    Skip setting the UI dirty when filling in the pyro firing time value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit be38fb88d11bda1ba1caca38220773d3abcede19
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 3 22:58:22 2014 -0700

    altos: Allow negative values for pyro configuration data
    
    All of the integer pyro configuration parameters may be negative, so
    parse that correctly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3842735e303f0bf6f46ed8cb659c92d8bb9bd137
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 3 22:32:49 2014 -0700

    altosdroid: Use single object to pass data to UI
    
    Instead of having separate messages for each piece of telemetry state,
    package the whole mess up in one object and send it for any
    change. This simplifies tracking within the UI by avoiding corner
    cases during reconnect.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit adc46e2f1346d98ef4f6c2351fef95fbc8ddf831
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 3 22:12:15 2014 -0700

    altos/telefire: Add firing length to manual pad command
    
    This adds an optional length of time (in 1/10s of a second) to the
    ao_pad_manual function to enable testing of igniters without needing
    to use TeleLCO.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b838a974d0dad43ff02060d8d913d9369eb20e96
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 1 18:25:00 2014 -0500

    altosui: Fix 'pad' screen for TeleGPS
    
    Don't report pad position for TeleGPS
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7735cee871d02215517cb9d91cd552f003ca6a50
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 1 18:23:42 2014 -0500

    altoslib: Catch a couple null pointers in AltosConfigTD
    
    When messing with TD, I hit a couple of paths that could try to
    dereference null pointers. Check for those.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 57f0ae384f3c206ea777dc7c93b594ae3901f354
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 1 18:21:49 2014 -0500

    altoslib: Ignore extra AO_LOG_FLIGHT records from TeleGPS
    
    TeleGPS was inserting a spurious AO_LOG_FLIGHT record each time it
    turned on, which confused altoslib quite a bit.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a4202b4180e77e2a39ca071d3b8b8256ff0fc7b5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 1 18:12:29 2014 -0500

    altos: Don't add AO_LOG_FLIGHT to existing GPS logs
    
    When appending to a TeleGPS log, don't stick another flight value into
    the log. That just confuses the ground station software.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa7dd289ee72f7a49a08ce0229c4e0e0404499d0
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 31 00:28:15 2014 -0500

    altosdroid: reload previous log file at connect time
    
    Use the saved logfile to re-load the previous state at startup time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 00a3eace5ea885205270137f190538b010fd679f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 31 00:27:54 2014 -0500

    altosdroid: Add missing preferences backend file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a5e348905a510bb2dcf6d7734f5681fb8338cd87
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 31 00:11:28 2014 -0500

    altoslib: create logfiles preference object. check link in existing_data
    
    The logfiles preference hash wasn't getting created, resulting in
    crashes.
    
    When there was no link, don't try to load existing data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bc3fbcb35090be3856284ccf4d908ebf39d02bec
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 31 00:08:33 2014 -0500

    altosdroid: Add quit. Restart. Show freq in title.
    
    Add a quit button to menu.
    When restarting, reconnect to previous device.
    When connecting, set the freq/rate to previous values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0b70ea04e807c69a987d5976ab217f9f65fb1e09
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 29 22:33:36 2014 -0500

    altosdroid: fixup fetching active device address
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0014addf3356bad1eff76cffc396fb120308646c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 29 22:08:43 2014 -0500

    altoslib: TeleMega telemetry pyro voltages are uint8
    
    Using int8 means that voltages over about 6V are reported incorrectly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 810f9a4f79b0480973d84595140d3f8948ce26d9
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 29 15:22:43 2014 -0500

    altosdroid: start restoring from log data on startup
    
    Remember which flight was last being received and reload that file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5872bd10df14b47de0e541bff16d9220af0558aa
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 29 15:12:38 2014 -0500

    altos: Make sure pyro remains valid during delay
    
    Keep checking pyro status while waiting for delay to expire to make
    sure nothing changes. Disable pyro channel if something does.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 54994d02a5ca5bb91512f31748a48a0140d3a640
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 28 19:52:30 2014 -0700

    ao-bringup: Test EasyMega boards

commit 3c9cb4836edd4811fcdbb6ebbd25eb507a2ef5b1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 18 10:57:26 2014 -0700

    ao-bringup: Use ao-cal-accel instead of cal-accel in turnon scripts
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fac03ae9762f2af95b1ce5d99894173f9d9146f0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 18 10:53:04 2014 -0700

    Add ao-tools/ao-cal-accel
    
    This C version may be more reliable than the nickle version
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b357544dd64f5b0f209c6cc6cb4fa392a2c3e1fa
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 18 11:25:32 2014 -0600

    turn echo back on after accel cal in turnon_telemetrum so rest is easier

commit 44e389c31e5958c1a050fbe0dce5d7971a9d6a86
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 17 21:03:12 2014 -0700

    altos: Add telerepeat-v1.0
    
    This uses TeleBT hardware to provide a telemetry repeater, receiving
    packets on one frequency and re-transmitting them on another.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5a51efd7f9b49ffadc91ccaf7a0d69566301c009
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 26 16:29:37 2014 -0700

    altosui: Make Windows java test "smarter"
    
    Or at least have it try more options, and then finally ask the user
    before downloading and installing java
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bb7522acf040f41740ecd059e3d5d2480b652420
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 17 20:59:45 2014 -0700

    telegps-v1.0: Provide one log and append to it
    
    Instead of creating per-flight logs, create a single log and append
    data to it each time TeleGPS is powered on. This avoids potentially
    running out of log space just because the device is powered off/on.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1530c24cc75cdf9ba87c7e153ff28bf7beb4384c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 17 20:57:16 2014 -0700

    cc1111: Wait for internal flash write to complete
    
    This ensures that we don't try to start another write too soon.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 80e20b241359452028298567c76b2f644da5ad23
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 17 20:56:22 2014 -0700

    Use -ldl when testing whether -m32 and -m64 builds work
    
    We only need -ldl, and not -lbluetooth now that libaltos uses dlopen
    on the bluetooth library
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 830f31fd6dc280e7a63ba689b7a48beff5c49072
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 17 20:55:34 2014 -0700

    ao-tools/ao-send-telem: Support sending TM v2 and Tm v2 telemetry
    
    Add state tracking so the telemetry sending code works.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 629b29b2718c174be9c811f224d0acf73fba4aff
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 17 20:54:44 2014 -0700

    altoslib: Remove some debug printfs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ef1dd370564b99da033109f2fb5f7bf29711a13f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 17 20:53:31 2014 -0700

    altoslib: Improve performance of AltosLib.hexbytes
    
    On an android device, this function was spending quite a bit of time
    calling hexbyte. Open code the conversion to improve performance.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ee9f68ec877e3e5a67179f8c8abafbccc80eb804
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 17 20:51:36 2014 -0700

    altoslib: Close serial port when AltosFlash fails to detect a target
    
    AltosDebug.check_connection raises an exception when the link fails,
    but the AltosFlash constructor didn't close the serial port in this
    case, causing the serial port to appear to be busy.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 76fd424e4624cb376ac2cf84b01b77599756680a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 17 20:50:38 2014 -0700

    altoslib: Handle link timeout in AltosDebug.read_memory
    
    link.get_reply returns null on a link error; don't crash in
    read_memory when this happens.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 935f769fee351545622e223a283fca64608ca410
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 17 20:49:27 2014 -0700

    altoslib: Parse 'Log fixed:' configuration value
    
    TeleGPS holds a single flight record and constantly appends data to it
    instead of having separate flight records on the board. It reports
    'Log fixed: 1' to let AltosLib know that the size of the per-flight
    log is not configurable.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 59dfe661fcb504f390d9726378c676f2b5b005f3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 17 20:48:23 2014 -0700

    altosdroid: Skip updating hidden UI elements
    
    Instead of updating everything in the UI, only update the visible UI
    elements to save a bunch of computation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b1f1844aa514893228080704da3b3ccf855bda1e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 17 20:46:48 2014 -0700

    altosdroid: Add telemetry rate support
    
    Provides a menu to select the receiver telemetry bit rate
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e935ebe55705cb0506aac0859583d54fd8e5ca46
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 14 19:03:29 2014 -0700

    altos: Report additional pyro channels via beeper
    
    Send a beep for each additional pyro channel, low for no igniter, mid
    for igniter. Does not change the reporting for the apogee/main channels.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c4dd29fcbbb93e991993a0aa444748dba4ee7dde
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 22 14:18:06 2014 -0700

    altos: Document which TeleFire alarm pins are which
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d8e2b661e895fc59ded002a02191dcccce75f548
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 19 22:35:30 2014 -0700

    altos: Have MicroKite just start recording at startup
    
    This avoids having MicroKite try to detect boost and has it just start
    recording data immediately.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 59976c44d1b6ee6505cfa4efd9a26ec4302f6c33
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 14 18:16:14 2014 -0600

    change easymega from v0.1 to v1.0, tweak to build on master, add to Makefile

commit 4828be0ca5252ac9cd6061209385dcd6c4c57965
Merge: 17e894d1 165b7dcf
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 14 17:08:36 2014 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 165b7dcf6fba90b15ff32b891cba4b9111c1965b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 16 17:13:25 2014 -0700

    altoslib: Handle TeleGPS files for KML export
    
    TeleGPS files had state values that couldn't be converted to colors,
    which resulted in a truncated file that wasn't much use for anything.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 17e894d1b65231d07df009bc4e8ca92864ccf790
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 15 23:15:50 2014 -0600

    update turnon tools

commit ec7ceb607f5ba7e1ed5cfd32b7a452a5f364b095
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 15 00:44:14 2014 -0700

    linux-fat: Fix up fat linux install icons, mime types and .desktop files
    
    use the standard xdg utilities to install mime type and .desktop
    files. The standard xdg icon installer doesn't handle svg icons, so we
    have to do those manually.
    
    With this patch, xfce, gnome3 and kde4 all place the applications in
    user-visible menus, display correct file icons and launch correct
    applications for our file types.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fb914d37018a585a879161483609d3c0be556d1e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 14 02:32:03 2014 -0700

    altosuilib: Fix minor scan UI nits
    
    Wasn't computing geometry correctly and overlapped the 2400 baud entry
    with the list of scan results.
    
    Was not saving the telemetry rate/telemetry style when switching to
    monitor mode, which caused the new monitor to come up with the wrong values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 54b58e925e27e87bf2903678f87b7544ee2e8167
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 14 00:46:41 2014 -0700

    Set version to 1.4.9.2

commit 9e9151c3b4bb9ce329e1b44440a7aceb9f39b9a0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 14 00:45:13 2014 -0700

    altoslib: Parse eeprom 'altitude-32' fields
    
    This lets us tell if the altimeter supports 32-bit GPS altitudes in
    the eeprom log.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0fd867f504dd7df62e95da98ded511bb7b9e4c66
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 13 20:44:39 2014 -0700

    altos/test: Build TeleMetrumV2 flight test variant
    
    Parses TeleMetrumV2 eeprom files and runs the TeleMetrumV2 flight code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 50aec54bdc35962145eff9b465f9cd7b3d9fea0b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 13 20:43:27 2014 -0700

    altos: Make ao_gps_print deal with telem containing 32-bit altitude values
    
    ao_gps_print is used with new telem packets from a few places; use
    AO_TELEMETRY_LOCATION_ALTITUDE when necessary.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6c3d09bf40f2af6e8722f33a70b41e5d94ceaf9f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 13 20:42:41 2014 -0700

    altos: Interrupt radio receive when changing data rate
    
    This aborts any pending radio receive when changing the data rate so
    that the radio can be reprogrammed to receive at the correct rate.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5d1adc6775a66633661af747bc4176e06f97630f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 13 20:41:36 2014 -0700

    ao-tools: Add a few GPS telem/eeprom constants
    
    These make it possible to encode/decode GPS data from telemetry and
    eeprom files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6c9daa4f471ac90ffce3bfe8876c9008f79a5b7f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 13 20:40:40 2014 -0700

    ao-tools: Provide altitude to temperature conversion function
    
    This takes altitude and computes the 'normal' temperature for
    that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e447e1e5c90d3fc1be9c5a1c966c7c688a87ba18
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 13 11:06:29 2014 -0700

    ao-tools: Add TMv2 and Tgps log formats to cc.h
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a60ba449ec237ad3b8dade9dcea603b349dbccb1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 12 23:52:05 2014 -0700

    altos/telefire,telelco: Add HAS_RADIO_RATE to launch system software
    
    This lets us set the rate to a lower value to improve range. 9600 baud
    works great; 2400 baud makes the initial search take a long time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fa155693282746861b227afd6cbccc83dfd1bbed
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 21:27:30 2014 -0700

    telegps: Missing function in TeleGPSConfigUI
    
    set_altitude_32 was added to the abstract class but not here.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 405626971b47d4d4031312232bf13ad3d4bace7f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 21:13:49 2014 -0700

    libaltos: typo in libaltos broke the build
    
    When converting this to use dlopen, I mis-typed the name hci_read_remote_name
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5f5b03879d9daa68a56498b45ae87a804cb1926b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 18:43:31 2014 -0700

    altosui: Don't show bluetooth UI bits on mac/windows
    
    This just confuses people into thinking that bluetooth is supported on
    those machines.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aac3fdce54233993c91d326df3732a7c448ac54a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 18:42:37 2014 -0700

    libaltos: Bind to libbluetooth at runtime on demand
    
    This lets us reliably start and run without libbluetooth present.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 59702e5ff8d0522b0aa9dcca863309eaafbcda09
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 17:27:43 2014 -0700

    altoslib: Extend telemetry heights from 16 to 32 bits
    
    Uses the GPS data and/or previous kalman data to compute the upper 16
    bits of the truncated telemetry altitude value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6dc58c63d202e918f16d5fbe9b188d422edcdd9c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 17:26:19 2014 -0700

    altosui: Fix the 'Graph' button on the landed tab
    
    It hasn't been getting enabled since the state tabs were rewritten.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 013e9ccfbe76dc46e8c69ea314950bed83d9a39f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 17:18:38 2014 -0700

    altos: Use 32-bits for flight state data (alt/speed/accel)
    
    Stores 32-bits for all of the flight parameters. Uses 64-bit
    intermediates for kalman computation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 31ae24b5da3e198e7555ea3768d3cbdec3a28a5f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 17:15:09 2014 -0700

    altos: Record pdop value in TeleMetrumV2 log
    
    There's only one byte free, so we'll record the pdop value
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 47e62bb26984f6c84660c1d0451f77c2d6ad7e5a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 17:13:09 2014 -0700

    altos: Scale DOP values by 10 in GPS drivers
    
    sky traq was scaling by 5, ublox was scaling by 100.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ed2a08c50d6b8ebcc8c1d2f15e73c1f2a1e25041
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 17:10:49 2014 -0700

    altoslib: Handle wide GPS altitude values in eeprom and telemetry
    
    Detect when the wider data is present and handle it correctly
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 34d5be68ca23e8beb05db9a480faef63ecc911d0
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 17:07:48 2014 -0700

    altos: Extend GPS altitudes to at least 24 bits everywhere
    
    Telemetry gets a special 'mode' flag indicating that 24-bit data is
    present; log files get new data and log readers are expected to detect
    that via the firmware version number.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0d044af0c5025a63026d05adcab68f265f179668
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 16:19:52 2014 -0700

    altosuilib: Allow for unitless axes in graphs
    
    DOP values have no units.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a2f44fa867b17a0f1c1ee9aa9b99ecaa102a361b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 16:19:34 2014 -0700

    altosuilib: Add GPS DOP values to info table
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 61cbad00b68d9f4f2fed7b76132433e263966952
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 16:19:17 2014 -0700

    altosuilib: Add GPS DOP values to graph
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9dafabd77676e08da4067cd405b6f03bf8d8ff85
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 16:17:56 2014 -0700

    altoslib: Ensure CSV output is consistent
    
    Scan entire flight to figure out which columns to include before
    outputing header or data. Limit data output to values which are valid.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b8fa4e9a077e8e04b922d0c434c139ad0a57ee66
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 16:15:52 2014 -0700

    altoslib: Clean up GPS DOP support in AltosState
    
    Parse out hdop/pdop/vdop from telem and eeprom. Deal with legacy
    eeprom files that have dop/100 instead of dop/10 values.
    
    Clear state DOP values to MISSING at startup
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6f2a4c610dfacbf500650db0eeeca6623bb49c5c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 10 00:26:55 2014 -0700

    micropeak/altosui/telegps: Fix icon file names
    
    The icon file names are now structured to have an organization name
    and application name component. This should avoid collisions with
    other packages when the icon files are installed in a shared
    directory, as on Linux. Within the Java .jar file, the new names need
    to be correctly referenced or we won't find them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1684291ba9a4f3bc2828e7b079ac27efcba6a163
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 8 23:47:09 2014 -0700

    altos/telemini-v2.0: Enable beep config and radio rate config
    
    use the smaller pa to altitude table to make room for the new code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d926ccfbd4596eb3f981d2fcf8f6fc6ccc427db6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 8 23:46:24 2014 -0700

    altos: Add smaller pa to altitude table for TeleMini
    
    TeleMini doesn't have space for the larger table, and the smaller one
    isn't that much less accurate at lower altitudes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1a55cbe1923280f7009c13d5eb5b2ccac89219c2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 8 23:45:10 2014 -0700

    altos/telemini-v2.0: Add memory decorations to new telemetry variables
    
    This lets TeleMini-v2.0 compile.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 95f3a2825377bdb6737446df051c069d58f42d08
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 8 23:43:31 2014 -0700

    altosui: Hide inactive altimeter configuration entries
    
    Instead of disabling them, just hide them so that entries that do not
    apply to a particular device won't get shown at all.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 78db9e350db104da87e0fe4b72aa41bf6cf45e1d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 6 20:10:21 2014 -0700

    Bump version to 1.4.9.1 -- on the way to 1.5

commit d1527a5457210eb914312cf8857bfb88982a8462
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 6 12:35:13 2014 -0700

    Add support for the "kite" micropeak variant
    
    This uses a 100m 'launch detect' altitude and logs data every 19.2s
    instead of every .192s.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f02cc3eec53e9d703837dad55ec2e6625b192588
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 5 00:16:57 2014 -0700

    telegps: Support variable telemetry rate
    
    Add combo box to monitoring window and device configuration.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit efb86669b5a74f244e2218f3385db633c36208af
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 4 23:41:16 2014 -0700

    altosui: Support telemetry data rates
    
    Add combo box to flight UI and flight hardware configuration UIs
    Add telemetry rate to the TD/TBT config dialog
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9557a24b02911a93d74ee29ce359e40266cb4fed
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 4 23:57:42 2014 -0700

    altosuilib: Add telemetry rate to Scan UI
    
    Let the user scan for multiple data rates as well as telemetry formats
    and frequencies
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 55e6558fa7cb23fb1363a86c83fbd6abf67ea324
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 2 22:48:13 2014 -0700

    altoslib: Support multiple telemetry rates
    
    Altos now supports 2400 and 9600 baud in addition to the classic 38400
    baud rate. Add support to altoslib for these as well
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 292cb8380b478542555b5f370e8252eafa2f74ac
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 5 00:04:06 2014 -0700

    altos: Rework packet receive for cc1120
    
    Instead of blocking on PQT, just set up the receiver to start going
    and when the first bit interrupt comes in, grab the SPI bus if
    possible and configure it for reception. This improves sensitivity in
    the radio by a significant amount while making the code conceptually a
    bit nicer.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e0ee2ac6bc68b73e13bf34fac3ffd4a3b79dce98
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 2 22:34:48 2014 -0700

    altos: Add telemetry rate support to CC1120 driver
    
    This supports the new 2400 and 9600 baud rates
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 91461251f3aa8e1b37a3456f8fb94ab16bc0bec2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 4 23:42:30 2014 -0700

    altos: Packet reception tuning for cc1120 driver
    
    This adjusts the cc1120 receive parameters to increase sensitivity at
    the expense of reporting many more invalid packets to the UI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8935e29e5aa9c01cd00b275a35dd7b99c00980c3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 2 22:41:20 2014 -0700

    altos: Add 2400 and 9600 baud telemetry support to cc115l driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aba1703a1cff3da001d64bf2d15a591816e3350e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 2 22:31:59 2014 -0700

    altos/cc1111: Add 2400 and 9600 baud telemetry rate support
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c20ddde2f9eb0ad8dbb982e9d0cbe91639160a34
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 2 22:30:23 2014 -0700

    altos/cc1111: Adjust receive parameters to improve sensitivity
    
    This removes the packet quality test and carrier sense tests when
    deciding whether to start decoding a packet. This lets more bad
    packets through, but the CRC check catches those and now we're
    regularly receiving packets down to -110 or even -112 dBm. Before this
    change, we'd rarely see packets as low as -105dBm
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ea5887027e7a39da2b7d84a142d74950b7a24703
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 5 00:09:25 2014 -0700

    altos: Call ao_telemetry_reset_interval when telemetry rate changes
    
    This lets the radio code adjust the telemetry packet sending pattern
    when the data rate changes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 214a38eb2b084baec526aa42016eddb954038639
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 2 22:44:07 2014 -0700

    altos: Add config support for 2400 and 9600 baud telemetry rates
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0605b5a1cdff5cfd71fc9ef3161a62d74a1124b4
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 2 22:42:10 2014 -0700

    altos: Add defines for 2400 and 9600 baud telemetry rates
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f8567a7be7ccd5dcc57ab65e63efe45e62008127
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 4 23:26:57 2014 -0700

    altos: Reduce configuration data telemetry to once per 5 seconds
    
    This data is constant, so we don't need to send it very often. Once
    every five seconds should be plenty.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 657d455a2fad36193e6b3a7037d9ba7f09ae1168
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 2 22:46:07 2014 -0700

    altos: Use TeleMetrum v1.9 board for MegaDongle experiments
    
    This configures the MegaDongle v0.1 directory to use the pin
    assignments in TeleMetrum v1.9 boards.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 48508479b0f6f8d6e73db1cae8ee8acdaba022d8
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 2 22:45:01 2014 -0700

    altos: Stop sticking cc1111 firmware in src directory
    
    This just clutters src.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 500353ec83af0da7fce3d67f2707f4725b1f50ba
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 2 22:42:43 2014 -0700

    altos: ao_rssi subsystem needs to use AO_LED_TYPE instead of uint8_t
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cb15cb8db5ef570b57f89d4e58734554542f99ff
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 4 23:22:20 2014 -0700

    altosuilib: Remove debug printfs from map cache
    
    Just annoying
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2e99ff2c99f5d4a2fa196507e794c690665ab39e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 4 23:20:51 2014 -0700

    altoslib: Preserve receiver_serial across state reset for new transmitter
    
    When the transmitter serial or flight number changes, we re-init the
    state information, but we want to preserve the receiver serial number
    so that the log file has that in the name
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d6e64790287d684cb9b70c67fa270825932cc020
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 25 13:50:54 2014 -0700

    altoslib: Disable telemetry while getting config data
    
    We're seeing some log files created without a suitable -via- number
    included. My hypothesis is that incoming telemetry is getting
    interleaved with the configuration data containing the serial
    number. This change simply disables telemetry while retrieving the
    configuration data to try and keep that from happening.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 98c3c3f7edd58358939f7dacf5b8f4c336712f5b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 4 23:38:53 2014 -0700

    altosui/telegps: Undo the frequency/telemetry menu changes
    
    Using menus for these items isn't what we want; we want to show the
    current value on the screen, which is what a combo box is for. Switch
    back to those and remove the frequency and telemetry config from the
    TeleGPS menu bar so that Mac OS X is happy.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 505c6a1f8b8d68fe6f74dcb4428c860157fae3de
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jun 25 13:37:56 2014 -0600

    note need to push the updated repo with production binaries during release

commit 75db560e2c9fbb2889db507acc93e889bf15bc2a
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jun 24 22:43:04 2014 -0600

    Windows sucks, hard .. make sure filenames are legal in .mdwn files

commit 61ca8493566d5ea0da379970ab94f80a462dd368
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jun 24 22:35:43 2014 -0600

    update Releasing file based on learnings from 1.4.1 release

commit 424112349d54bb6360403683f8012b83f49220be
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 24 20:57:29 2014 -0700

    telegps: Disable tracker config when not available
    
    Tracker motion and interval were both left enabled even when the
    device being configured didn't support them. Disable them like other
    elements.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7427f8bac7b3743ce0ab990612bf7168b95e22f9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 24 20:52:34 2014 -0700

    altosui: Don't show the tracker motion value when switching units
    
    The tracker value was left enabled when hidden; the logic for deciding
    whether to update it with new information used only the enabled state,
    not the visible state. Set both states when hiding it to keep things
    more consistent
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6cb5955ab5aa3b42a507c4a02812cb5569b8562b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 20 11:56:58 2014 -0700

    Add note about including Google maps API key
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f95b0e03c75d09e8ff4dbf9083cd3c8a30fdc4e6
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 20 11:51:11 2014 -0700

    Add 1.4.1 release notes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b2c5f7d10265794a5778546f2e3eca7d763eab56
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 24 20:31:50 2014 -0700

    Clean all .desktop files, ignore them too
    
    All .desktop files are built from .desktop.in files, so just remove
    all of them in make clean, and ignore all of them in .gitignore.
    This makes the rename less painful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d1065424d144b8dab949db7e57140ffdf244bd48
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jun 24 21:22:26 2014 -0600

    need the api key in Bdale's root too

commit bd440afc2a6e37b74fffcf1b977e149485095316
Merge: 5d4f912b a0ccab8e
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jun 24 21:17:53 2014 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit a0ccab8e4235934538a03f8be3b37aa1bbd6b144
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 24 20:15:38 2014 -0700

    altosuilib: Mark 'Configure AltosUI' window with maps key status
    
    This lets us check a build to make sure it has a maps key
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5d4f912bcc6784f975c82f7b0ed8dc360e60aae8
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jun 24 21:12:59 2014 -0600

    make sure to use Google Maps API key for official builds

commit 048ce00ea0d1d2744552942559aa1da2431ab954
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 24 18:26:04 2014 -0700

    icon: Generate altusmetrum.xpm and install it
    
    This is for the debian menu, still a required part of a debian package.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dbff6dd42f8b6fb90c8d3f07bde48a6be0bfddf0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 24 18:25:31 2014 -0700

    altosuilib: Outline map lines and distance value with white
    
    This makes the value and line visible on dark backgrounds
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ade2cc9abb8ca403a9ae5d1f9c145ab72ce94919
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 24 18:24:02 2014 -0700

    altosuilib: Make map cache size configurable
    
    Systems with sufficient memory can get smoother map scrolling by
    making the cache larger. Would be nice to do this automatically?
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97269bb90c1602a1f8c54fc7b6c34383a0370621
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 24 15:58:35 2014 -0700

    Bump version to 1.4.1.1

commit 309d91d25099bebda21e165165efa9ce86cb0a47
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 24 15:57:13 2014 -0700

    altos/ao_flight_test: Get the Tmega version compiling again
    
    A few changes broke this recently.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 443bbb09468df7c1a10f2c76996c92380d8b8c23
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 24 15:56:11 2014 -0700

    altos: Add optional debugging to print out pyro firing status
    
    This dumps pyro check failures for ao_flight_test so you can see why
    pyro charges aren't firing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0a19073649570016db28d5e2a4a225273732adb5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 22 21:13:54 2014 -0700

    ao-bringup: Use the C tools to test EasyMini
    
    I think my USB driver in the kernel is broken; the nickle versions of
    these  tools did very strange things and never worked.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fc3364de2b6cdfff53f5c38b3ae52ae5601ff3b7
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 22 21:12:37 2014 -0700

    ao-tools: Add ao-test-baro, ao-test-igniter and ao-test-flash
    
    C versions of the test programs used to validate hardware prior to ship
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6cc2d671c0e335fbedb0e97699f8f273502c6807
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 22 21:06:24 2014 -0700

    altosui/telegps: Expose configurable APRS SSID
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3f3382126bf1122b1a78abe8458af5ec112a1f95
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 22 21:05:05 2014 -0700

    altos: Make APRS SSID configurable
    
    This uses the low-digit from the serial number by default, but lets
    the user change it if desired.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca1c62ca3ea016a1a5baa4520e484c102280c3e3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 21 18:27:42 2014 -0700

    altosui: Add Ignitor tab to Monitor Idle mode
    
    Oops; missed adding this when I included it in the Monitor Flight window.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 602d6a2424a5c16e22febf6b4e6b3816022261c7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 20 00:41:17 2014 -0700

    altos/aprs: Encode last serial number in SSID. Transmit serial in comment
    
    This makes it a lot easier to tell which device is sending
    information, and to receive data from multiple devices on the same
    receiver.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3016ee5f21ec66bf9230b90ab1420b8fad628f8d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 20 00:40:10 2014 -0700

    altosuilib: Wrap radio frequency menu in JMenuBar when used in config
    
    The device config dialogs place the radio frequency menu inside a
    dialog box; it needs to be inside a MenuBar to work properly, so
    create one to hold it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1b0f56ddb2b85b68232c22a7a8b8744cb9ad76f9
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 19 14:33:27 2014 -0700

    Rename icon files to fit XDG specifications. Add file icons. Add mime types
    
    Our SVG icons now follow XDG standards by including a vendor
    prefix. The new file type icons include application-vnd.altusmetrum as
    a prefix so that they match the mime types declared.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 37856672c57f2fd91184c2391a201bbbdc48545e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 19 10:25:07 2014 -0700

    linux: .desktop files must begin with organization name
    
    The spec requires that .desktop files start with the organization
    name, so I've renamed all of them to altusmetrum-<application>.desktop
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1d773cb8921848c99f12b8cd9840cb0267b66e1f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 18 20:35:12 2014 -0700

    windows: Missed adding 'refresh-sh.nsh'
    
    This script forces windows explorer to reload icons.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7767a045d446ea2bc5fe1ec98d89274155f956c4
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 18 16:18:05 2014 -0700

    macosx: Respond to apple messages in all apps
    
    This connects the callbacks in AltosUIFrame to actually do something
    useful with them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d5bdb1c5974788b9569897435808fd01b04b0c4d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 18 16:14:44 2014 -0700

    altosuilib: Hook up apple messages to callbacks
    
    This supports open, quit and preferences. I'm leaving 'about' to the
    existing stuff until I decide it's worth the effort to create a fancy
    about dialog.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e3eab18682e77c5394918448409d383a28ba23ad
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 18 14:16:36 2014 -0700

    altosui: Ship TeleMetrum v2.0 firmware with AltosUI
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fac94c593285eacda57de257fa2be0548341b567
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 18 14:15:27 2014 -0700

    macosx: Define icons for our file types on OS X
    
    Adds definitions to the Info.plist files shipped to specify which
    icons to show for .telem, .eeprom and .mpd files. Note that the
    applications don't respond to open apple events, so double clicking on
    a file only starts the application.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5871225a0c442cf5afa41a444ff8bfb8f4002721
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 18 02:16:51 2014 -0700

    windows installer: Create file associations for Windows.
    
    This makes icons appear for the files in the file manager, and lets
    you double-click on the files to open the appropriate application.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c93c4efefee0dbf6d193466efd6761d9a1849ae9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 18 02:15:04 2014 -0700

    icon: Construct .exe files to hold windows icons for file associations
    
    It appears that creating an executable with an icon resource is the
    only way to display icons for files. Fortunately, that's not all that
    hard.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3f4e765c05ddbae83ca0c0176572cd698f285d08
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 17 20:46:33 2014 -0700

    Fix java version detection and downloading
    
    Move java stuff to a common include file, java.nsh
    
    Let any version no older than 1.6 serve by using ${VersionCompare}
    
    Use version 6 downloads as those don't require a click-through agreement.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 495e84540943cccb6d1cb965a772021f7dc5f639
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 17 00:08:03 2014 -0700

    Sign our .inf file with the comodo key. Update signing-driver
    
    I've tested this on Windows 7 and it appears to work. No idea if it
    works on Windows 8 yet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b397e4ff45f054acb1347ffa5468950febc431f7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 16 23:03:49 2014 -0700

    altos/micropeak: Add load script template
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c8078d352a7f54a4a97d25af080155d3f875536a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 16 22:49:34 2014 -0700

    java: Bump java library versions for next release
    
    Prepare for future release by bumping java versions now
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 75766b0e7ee30fb3bfbf90ecb68f7758bac6eeba
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 16 22:48:25 2014 -0700

    altosui: Fix ground station configure frequency list
    
    Fix the API to match the switch to a menu, wrap in a menu bar to make
    it work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ed38b1b596062b2232fa78a3181f6eaf5818b651
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 16 21:58:13 2014 -0700

    altosuilib: Move menu bars into the Mac OS X top bar
    
    Setting these properties causes the top menu bar to get placed into
    the Mac OS X window system menu bar
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e612693e33ef3b0e22db0656792992fa6e961ff2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 16 21:57:35 2014 -0700

    altosui/telegps: Use menus for frequency list and telemetry formats
    
    This will let us move them into the Mac OS X menu bar, as well as
    making them look a bit nicer.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6579e4cae8fea65780f1c4677f29c1fc17ca41e2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 16 15:59:09 2014 -0700

    altos/micropeak: Create a script to load firmware.
    
    The micropeak-load script flashes micropeak with firmware from
    whatever directory it is sitting in. A 'publish' target in the source
    directory copies the script and hex to ~/altusmetrumllc/Binaries
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 31beeb0882d27cbc05e28118611feec4ae43d9da
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 16 11:02:49 2014 -0700

    doc: Add instructions for flash recovery technique
    
    The flash recovery section explained which pins to connect, but lacked
    explicit instructions on how to make it work.

commit f167d348b147e89d269ad35806e39f28cf104afb
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jun 15 18:41:25 2014 -0600

    notes updated for TeleGPS and 1.4 release learnings

commit 9ab3a1de95b705783c31a7e16447f52c10b6b480
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jun 15 17:44:42 2014 -0600

    turn-on support for TeleGPS

commit b40351d5cb9802133f443d4f5150958b03b9e8f0
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jun 15 17:43:50 2014 -0600

    tagging 1.4 release

commit 97a7cbaee806965ca7c696fb02f6e1d24b026b9b
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jun 15 17:43:06 2014 -0600

    add release to revision history

commit 79c3dc334d79eacd63bbbbec046fc2c31266560c
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jun 15 17:40:27 2014 -0600

    tweaks

commit a6c61fb993d3fd15183f8755d9058f05c606c9c0
Merge: 0634119d 43848991
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 15 16:31:01 2014 -0700

    Merge remote-tracking branch 'origin/master'

commit 0634119df45bf8d8a040b47bdfc6d9801b5e069a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 15 16:24:28 2014 -0700

    micropeak: Deal with 64-bit windows
    
    Install 64-bit version of java. Install our bits in the 64-bit app directory
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b6eb1ac1b777b6c11e8f24c5ab5915b224101d40
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 15 16:16:59 2014 -0700

    Add notes about windows driver signing in the 'signing-driver' file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6277827520df4df5ecda58898e5f99035f90282c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 15 16:11:49 2014 -0700

    altosui: Ship telegps firmware
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3b5651d311d4268a130996e71afc11b508e59637
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 15 16:10:15 2014 -0700

    windows: Sign altusmetrum.inf with altusmetrum.cat
    
    This .cat file will need to be updated when we get our 'real'
    signature.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ef6998c2d052bf639f257b71baefacf3a652506f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 15 16:06:42 2014 -0700

    icon: Add drop-shadows to the SVG files; stop generating in the png versions
    
    Now everyone gets drop shadows.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 43848991defaeb7fae994101675b0056f9d9a2ed
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jun 15 17:29:49 2014 -0600

    update Releasing document to include TeleGPS firmware files in those copied

commit 90e03dfc8534fc4fc25f6a5ee9ec109b98baa238
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jun 15 17:28:02 2014 -0600

    document mounting hole size for TeleGPS

commit 44fc36b3f74386f0055eac4d9b9d201e6fff0847
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 15 16:08:27 2014 -0700

    altosui: Deal with 64-bit windows
    
    Get a 64-bit java version installed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1a563026409ccff5dea6f89e567accb09bc4b5f6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 15 14:09:09 2014 -0700

    telegps: Deal with 64-bit windows differently on install
    
    Download a 64-bit version of java as needed, install in 64-bit paths
    instead of 32-bit paths.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit abf731b3d79b66d9da62496cebf157f2888a4c93
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 15 12:39:49 2014 -0700

    windows: Rename telemetrum.inf to altusmetrum.inf
    
    Use the corporate name for this file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8073007292875169a6304824ae52039ce6564813
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 22:29:01 2014 -0700

    telegps: Include telegps firmware in windows package
    
    This was disabled when the firmware wasn't ready yet
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6cad0b783f654864f0d6d8726c74605f108db3e0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 22:23:10 2014 -0700

    altosuilib: Remove some debugging printfs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 823ef386f9dc5c5df197936f4254921f2e0282b0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 20:08:40 2014 -0700

    altoslib: AltosFlightStatsTable: another editable text field that shouldn't be
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5392ee3c5328f8384ed30a2d147e4be96075e064
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 18:51:25 2014 -0700

    altosuilib: Serialize access to async tile notify function in preload
    
    This ensures that we see each tile getting downloaded and don't
    mis-count, which would result in wedging the process
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 23708b4760250f55e8e3b1a0141df9a9ee17a936
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 18:34:09 2014 -0700

    icon: Make the icon shadows a bit less harsh
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e3318645d08dda483aced97450b344629902c4d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 18:11:28 2014 -0700

    debian: Build requires /usr/bin/convert now
    
    This is provided by either graphicsmagick or imagemagick
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 382e27de3472489f8f26c8c0868732d67754ecf5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 18:09:31 2014 -0700

    telegps/micropeak: Ship built Mac OSX icons
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 33da986161c38936cff82fe43046f0bcd5e24d8e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 18:07:39 2014 -0700

    icon: Build resolutions needed for Java bits too
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 66c4a091bb6a294f9d406e75f3634492c886d139
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 18:06:36 2014 -0700

    altosui: Build MacOSX icon from svg
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b825ea71ebcc4a8da3e339ab3e21b0ad47f2e48f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 18:02:51 2014 -0700

    icon: Build windows ico files, clean built files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4ec960b705b87b15d015abb2a9a3e23eee414f1d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 17:51:46 2014 -0700

    icon: Create all icons from .svg files
    
    Remove images from repository, leaving only the svg files and build
    instructions
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 951fda701ed31f4d8390c130215597e8f63e837e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 16:26:22 2014 -0700

    altosuilib: Make graph enable buttons be CheckBoxes instead of RadioButtons
    
    aj noticed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8e00f59be582de86cef28b33ce5523f39d3dc933
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 16:05:51 2014 -0700

    telegps: Fix Mac icon file name
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 92943bf4536d4167edd097e61de5e6b4f29130f8
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 15:44:20 2014 -0700

    micropeak: Make statistics entries un-editable
    
    Otherwise you can actually type in the various fields.x
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1fc3032d688cbb7c09c1dffde30cc815f3594e29
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 15:20:07 2014 -0700

    alotsuilib: Remove old "mega" and "mini" file extensions from data chooser
    
    We never shipped AltosUI which stored mega/mini files in different extensions
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c11b2f5caa3fbe2bc977e716ec1c3ccee9e75884
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 14:41:13 2014 -0700

    altosui/telegps: Switch to AltosUIIndicator and AltosUIFlightTab
    
    Removes replicated code across all flight tabs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f5887a3e7cf993e23dbb1e0f6b9ebece78c34413
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 14:40:24 2014 -0700

    altosuilib: Add AltosUIFlightTab class
    
    This covers most of the common functions for all flight status display tabs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8250777e6e869bcee9781691caa1f2a7cfb33b43
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 14:39:26 2014 -0700

    altosuilib: Add more options to AltosUIIndicator to suit AltosUI
    
    This makes AltosUIIndicator capable of displaying most stuff in AltosUI
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 19273a4a341342ca6b5d65cfc490d92cbf23356f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 14:38:00 2014 -0700

    altosuilib: Make sure only one thread is closing serial device
    
    Multiple closers can cause a crash by freeing the libaltos device twice
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2903f0911e79e381c6125022bb84096321c258eb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 14:37:35 2014 -0700

    altosuilib: provide getName() for AltosInfoTable
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 242e968a6982f2ceaa79780cbeec8c4e21321b44
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 14:36:49 2014 -0700

    altosuilib: In graph, show zero sats in view as 0 instead of MISSING
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c7553c54765dcc9ac532fe52aae9594b2ad5e560
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 14:36:11 2014 -0700

    altosuilib: Require all flight display classes to provide a name
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 14f0faae48849ff6f1e326a294b54c504c730bb9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 14:34:59 2014 -0700

    altoslib: When GPS disappears, set range and elevation to MISSING
    
    Use MISSING instead of bogus values so that displayers can tell what
    to do.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 451950bba9ee3b25b5d0c6e5f0b55f08a5b29f73
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 14 14:33:58 2014 -0700

    altoslib: Add units converters for latitude and longitude
    
    Makes display of these values consistent across all instances
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ae7084f5199318dc6582e212492a50cfda1cebb8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 22:36:00 2014 -0700

    doc: TeleGPS docs are complete
    
    All TeleGPS features should now be documented to some degree
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bfbabfa60f3cedd994f693867bce56aad05be02a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 22:04:57 2014 -0700

    telegps: Allow TeleGPS preferences to have a custom title and label
    
    Don't just inherit the AltosUI ones
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 536db8d03aedb45698c42418c50a46d609fc98ad
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 22:04:35 2014 -0700

    doc: Add a bunch more stuff to the telegps docs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9a6a3c34293eac6442f766e13ce148f595e891eb
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 21:26:33 2014 -0700

    altosuilib: Make map-cache per-window instead of global
    
    This consumes more memory, but avoids cache conflicts between windows
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 92895c87bc3d97bf4990f1feda0bd8b07da4c405
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 21:25:41 2014 -0700

    telegps: Shuffle menu entries around
    
    I think this makes them a bit more logical
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fb2d0c1ef98d9df3f64fb756d78392ce63a73435
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 15:54:08 2014 -0700

    altosdroid: Improve voice for TeleGPS
    
    This avoids making lots of useless voice announcements for TeleGPS
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 191ea4a7bbcb22d70c648a9ba746f1061e6f74cb
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 15:53:30 2014 -0700

    altosdroid: Don't crash when the map is touched
    
    The map 'canScroll' method was crashing when dereferencing a null
    value somewhere. Just check all of them and bail instead of crashing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3f7e885055f8a97f334e0cd3163b760b174114b6
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 15:23:30 2014 -0700

    telegps: Add status tab
    
    This includes pad-relative information, battery voltage and version information
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 876acbdc22ff93c22836f789e0b6394eb19e0da3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 15:22:25 2014 -0700

    altoslib: Correctly save firmware version in AltosState
    
    It wasn't getting cloned
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3bfba8f9dbc1627a317804713f83b9d06566d008
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 15:21:28 2014 -0700

    altoslib: Add conversion class for voltages
    
    Provide a common presentation for voltage values
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ed63b6c3d5878a59f52f4114b5b01942735805f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 15:20:20 2014 -0700

    altosuilib: Build some common classes for displaying values in flight window
    
    Right now, all of the flight displays have piles of custom code for
    displaying values. These new widgets should be able to replace most of
    that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a21dbb05fad2625d17bc2302faa96dc295e6ed7c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 00:28:38 2014 -0700

    telegps: Show flight number in monitor window
    
    This lets the user find the flight by number
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8cb41ce9a64029b611b3595c86a4a8e74b952ff4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 00:28:09 2014 -0700

    telegps: Disconnect telemetry device when closing monitor window
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fd9ae83492648c5d39f60bdcff15481efb365701
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 00:27:19 2014 -0700

    altoslib: Remove telem monitoring when closing log file
    
    If we don't remove the telemetry monitor, the telemetry device will
    still be sending telemetry, which isn't good.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 07baa7596b36cf808cd1ee26ff158b1cf8585294
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 13 00:01:46 2014 -0700

    altoslib: Call state.set_serial first for telemetry parsing
    
    If we ever get around to supporting multiple simultaneous remote
    devices, we'll need to notice that the serial changed right away
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f49540acd48292bd9f68ded647561d0e800c619d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 12 23:59:37 2014 -0700

    altos/telegps: Create new flight if current flight is erased
    
    telegps is unique in that USB may be connected while a flight is
    active and sensible things should happen. If a flight is being
    recorded and gets erased, then a new flight should be started.
    
    This is done by hooking in the flight erase code and calling out to
    the tracker code to figure out whether to switch to a new flight or not.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8117ba3553789a2bae9beb92fbe9e14e3cc79389
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 12 23:56:07 2014 -0700

    altos: Define ao_log_mutex in ao_log.c rather than every log product
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dcaaf51245b44a440ee8590512f71195c30c16ae
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 12 21:54:13 2014 -0700

    altos/telegps: Keep ring of recent GPS positions to detect motion quickly
    
    Instead of comparing only against the last logged value, keep a ring
    and start logging as soon as we move away from the furthest one in the ring.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 740d964ab82da8695c04650926afee4a0905011c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 12 21:53:07 2014 -0700

    altos/telegps: Set default log to 496kB for 4 logs
    
    This leaves space for four flight logs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 77b5c0cc7f085aa3c0fada5d4a943eeaf16cf6e0
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 12 21:52:13 2014 -0700

    altos: Show current flight number for TeleGPS
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bfdaa95cb72c833896076d4e1a4bfe61d9549fed
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 12 15:59:20 2014 -0700

    debian: Fix build depends icotool -> icoutils
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7e911c2afff78db2e385c6346c90bfcd72a8f3fb
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 12 14:34:02 2014 -0700

    altos/telegps: Don't log data when plugged in to USB
    
    We don't want to accidentally log stuff when you're just trying to
    charge the battery.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7d77d83685cbfce5323767bbfae3bd18be175ffc
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 12 14:32:15 2014 -0700

    telegps: Don't re-add frequency menu when already present.
    
    If the receiver disappears, we'll stop tracking, but won't pull the
    frequency menu down. Doing that would take a bit of work, and it
    doesn't seem worth the effort. As a kludge-around, avoid re-creating
    the frequency menu if it's already displayed when we connect to
    another device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8044eb8e23366e91c741060939baff5137f841c7
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 12 14:12:08 2014 -0700

    altosui/telegps: Reduce CPU time needed for flight displays
    
    Don't update displays which aren't shown; track hierarchy changes to
    trigger display from most recent state data.
    
    Don't update values which haven't changed; remember previous values
    and compare with new before updating widget contents.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e00ffe6ab6197ab48ba8ce3cf71a197f7215649f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 23:28:55 2014 -0700

    doc: Add TeleGPS screenshots
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c7774114f7bc62e2100c7575b1dcf3536ed56343
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 23:28:36 2014 -0700

    doc: Update altusmetrum docs and screen shots for 1.4
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1ed591c7bdf19fe54bbde1827d0717f0ae51e003
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 23:27:16 2014 -0700

    telegps: Remove 'Flight' from titles
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0495f1b5282d8f7449cbbc1dbf99d63818d7c03c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 23:26:36 2014 -0700

    altos/telegps: Build .ihx versions for TeleGPS
    
    Needed to load with java
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6f306b267f63d0f59fb77b1ce41c678042dd6802
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 23:04:46 2014 -0700

    altosuilib: Repaint map when starting line draw
    
    Starting line draw will remove any existing line, so repaint to get
    rid of it
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit efb6a3d5ed12f8061a48a66efcfe066e68eaf792
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 23:04:11 2014 -0700

    altoslib: Report GPS height when baro height is not available
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 57272609b0d2890029fdeceeca14da93cebdb471
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 21:37:23 2014 -0700

    altosui: Don't list tracker parameters when configuring altimeter
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bfc0c65c9f9ec9547d71016fc897ba35bdb414f8
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 20:36:49 2014 -0700

    altosuilib: Handle font and units changes in maps and stats table
    
    Add AltosFontListener and AltosUnitsListener bits as needed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2182c49298e0862a60dea104450d5f74dbeaeeb2
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 19:57:24 2014 -0700

    doc: Update 1.4 release notes to include a few more changes
    
    pyro firing time.
    flight erase on TeleMega/TeleMetrum v2
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d744e588b7504f314e39b1407152d11c031673c9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 19:51:37 2014 -0700

    altosui: Add pyro firing time configuration
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fcbfb3aea20e564045fc6a86f978cacabfc73226
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 18:58:09 2014 -0700

    altosdroid: Altosdroid build doesn't work in parallel, so stop trying
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c661d5de7d9c8e430211e0f97ab0bf3f09a1a543
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 18:53:42 2014 -0700

    altos: Re-enable telemini v2.0 builds
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 18b0f0966dfc4d1a716d4faea6f661bd3594bd94
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 18:53:10 2014 -0700

    altos/telemini-v2.0: Disable beep frequency config on TeleMini v2.0
    
    Not enough flash otherwise.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac5b15692874ea3f7b3814250ab49c68786aa982
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 18:51:19 2014 -0700

    altosuilib: Remove old widget-based map UI
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7a70e6fe3a11382d7f6653d19afac9ceb563db3b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 18:50:07 2014 -0700

    altos: Disable TeleMini v2.0 build for now

commit a8325483adb8d9ffda62d3f4900cf52bde70ff62
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 18:48:11 2014 -0700

    altoslib: Use GPS seconds as an additional sort key for TeleGPS eeprom
    
    Long idle periods with TeleGPS can easily overflow 16 bits of tick
    count. Using the GPS seconds provides an additional sort which will
    span the tick wrap-around.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit db2443fdbf65b65703217174303027c439124a83
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 11 18:46:47 2014 -0700

    altosuilib: Rewrite map GUI bits
    
    Use a single large Canvas and draw images on top by hand.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac33ca137551e32235cd2a0304da4b5e7af51a44
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 11:36:03 2014 -0700

    telegps: Add statistics tab to graph UI
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 73249dbf16382c91c2a220ff852a4f099fe0de3d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 11:35:30 2014 -0700

    altosuilib: Move AltosFlightStatsTable to altosuilib
    
    So that TeleGPS can share it
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9ef32b103c5c312aaa90b6546e504f2edeb1f99a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 11:34:21 2014 -0700

    altosuilib: Skip voice announcements for invalid values
    
    When height and speed values aren't available, don't say anything
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 90686853e46b7f0df9bdaf671f859819eef926e0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 11:32:57 2014 -0700

    altosui: Show "Missing" instead of huge numbers in descent/landed tabs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7bdd0deabaae38ddfecd1ea2ea8deaf9af40b2ac
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 11:31:53 2014 -0700

    altoslib: Use GPS speed/height values when other sensors are missing
    
    This lets TeleGPS report height/speed values without needing to
    customize every AltosState user to pull out GPS values when the other
    sensors aren't present.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6fc58142d2a108c91d257eb0175098bf082834f9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 11:30:36 2014 -0700

    altosuilib: Split battery graph enable out from other adc enables
    
    This lets TeleGPS just show the battery voltage values without also
    adding enable lines for the other flight computer ADC values like
    ignitor voltages.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9d39bbd22e6cde1bbb39e7b5450f297d47365769
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 10:19:43 2014 -0700

    altoslib: Check for time going backwards when replaying from file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ff13cf1359e1f4ae33b16a5867fd364993566b65
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 10:18:44 2014 -0700

    altoslib: Add new 'stateless' flight state for TeleGPS
    
    TeleGPS has no flight state, so add a new 'stateless' state for code
    to handle this case differently than any of the existing states
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 871fb4753a3b54cc2e22309e80e24dfe9cc54511
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 10:15:47 2014 -0700

    altoslib: TeleGPS no longer logs satellite information
    
    This doubles the amount of space available to log position information
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5f2029bd4e31289fb03e6af39abdbc16f8b8fa78
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 10:14:07 2014 -0700

    altoslib/altosui/telegps: Switch TeleGPS config to motion/interval
    
    TeleGPS had configurable boost-detect values; those have been replaced
    with a configurable stop-tracking motion limit and logging/telemetry
    interval value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ae1174317fc476e39077f7dc257ec08709c6b301
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 10:11:03 2014 -0700

    altoslib/altosui/telegps: Change log size configuration
    
    * Use new log-space value provided by firmware when available.
    
    * Divide that up into 1-8 flights and offer those sizes as options to
      the user instead of a fixed set of sizes.
    
    * Show how many flights each selection will store
    
    * This also checks values provided by the user
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 44ca50a2c9404c92cc887a23dfa25b335ebe6198
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 09:55:04 2014 -0700

    altos: Set TeleGPS default log size to half of avaiable memory
    
    LPC11U14 doesn't have on-chip config space, so we're consuming a block
    of external flash. As a result, only 1984kB are available for
    logging. Set the default log size to half of that to store two flights.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9d7f4fb6af0fee843191766858e39a481aeda347
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 09:52:15 2014 -0700

    altos: Simplify tracker logic, removing boost detect
    
    This removes the ao_flight_state value from the tracker code and makes
    it simply log position information when the device has moved within
    the last 10 log intervals. This also changes the configuration
    parameters to define what 'motionless' means, and what interval to
    configure the GPS receiver for, log data and send telemetry.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c5a7889a8da3da64deb0f118656784e0ee3fd511
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 09:47:04 2014 -0700

    Revert adding state to GPS location packets
    
    TeleGPS no longer has ao_flight_state
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f6d633d73a8f826cf2a3128e3e234bd11af49718
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 09:44:57 2014 -0700

    Revert "ao-tools: Parse TeleGPS state value from gps location packet"
    
    This reverts commit 428d09294ba0395fedd71346ad00fd90a4cdde97.

commit da9575fce5ff4dfe83522e290973a01c43e4661f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 09:42:43 2014 -0700

    altos: Make extra pyro channel firing time configurable
    
    This adds a 'I' parameter to set the extra pyro channel firing time
    (in ticks). This has no effect on the main/drogue channels.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 75df97b5f6ade3310618a477b685d39b7fd4666e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 09:37:43 2014 -0700

    altos: Report total available log space in version command
    
    This provides a more accurate means of determining available log space
    than guessing whether some portion of the flash chip holds
    configuration data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 998eae61ecf56dd6ead4ec6ad82c952ae84170df
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 10 09:36:59 2014 -0700

    Revert "altos: Write current flight state to GPS data from GPS drivers"
    
    This reverts commit db6003d34595fbd103d5b131912b6a797254f1c5.

commit d696b34b4823647e2e91093ba9d5a351d3a52f8a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 8 16:08:30 2014 -0700

    Revert "altoslib: Parse TeleGPS state value from GPS telemetry packet"
    
    This reverts commit d69547796caf74405f8304d23d4ae318315bbd7b.

commit 5c117621444bc13aebbc7dc618b4a56f620931ac
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 22:37:30 2014 -0700

    Bump to version 1.3.2.4

commit b33de8ba1e48d8ad0cb78f1c5692bb81da916080
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 22:25:17 2014 -0700

    altoslib: Recover battery voltage from TeleGPS configuration packet
    
    TeleGPS stuffs battery voltage in the apogee_delay slot of the
    configuration packet. Pull it out from there and stick it into the
    current state.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6950506beacb1bcd5b8e54c3935174cf800e9aed
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 22:24:08 2014 -0700

    altoslib: TeleMega uses 5.6k/10k divider for v_batt
    
    I suspect the 15 and 27 values are a 'close approximation' for integer
    work on the cc1111 devices
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ee2216af17f23781ea912caba29fbd7e4d9ff480
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 22:23:19 2014 -0700

    altos: Enable ADC for TeleGPS v1.0 battery voltage measuring
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ef85b3bc5300904ebfb878b1c7313a82b5b7aebf
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 21:57:43 2014 -0700

    altos: Encode TeleGPS battery voltage in configuration packet
    
    TeleGPS doesn't need apogee delay, so re-purpose it for the battery voltage
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d69547796caf74405f8304d23d4ae318315bbd7b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 21:13:40 2014 -0700

    altoslib: Parse TeleGPS state value from GPS telemetry packet
    
    TeleGPS adds 0x80 to the state value to signify that this otherwise
    unused byte contains the current state value
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 428d09294ba0395fedd71346ad00fd90a4cdde97
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 21:12:44 2014 -0700

    ao-tools: Parse TeleGPS state value from gps location packet
    
    TeleGPS encodes state in a spare gps location packet byte, masking in
    0x80 to signify that the state value is valid
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 23d9d37fd2a8f4b867f34e71a2b0f7cb090717c1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 21:12:09 2014 -0700

    altos: Make telegps builds depend on ao_tracker.h
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d165079b9275c69e727a1dac996ad1788c58ed40
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 21:11:33 2014 -0700

    altos: Reduce tracker GPS buffer to 4 samples
    
    We just don't have enough RAM for 8 samples.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bd9e4f30b2a491b030246943767960ab053ac94c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 21:05:01 2014 -0700

    altos: Define lat/lon sum variables as 64-bit instead of 16
    
    Oops. 16 bits won't hold position information...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 08550425fca3da73d8f16de567a2c956b85d676e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 21:02:26 2014 -0700

    altos: Use 0x80 to indicate valid state value in the GPS location packet
    
    And only set this for tracker products; other products place state in
    separate state packets
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d8b271502bfd1301b2244e3be5e8c9917a9c624a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 12:17:46 2014 -0700

    Set version to 1.3.2.3
    
    Mayhem 2014 Saturday 2014-6-7
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d550c3b3eccbb0283c588b5df69edb2e9b44b4cc
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 11:52:28 2014 -0700

    telegps: Track graph windows as one of the TeleGPS windows
    
    TeleGPS exits when the number of windows goes to zero; track graphing
    windows in addition to the usual flight monitoring windows.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9f2189e0b99aa32b788ecb4576dcb9bcc926f4e2
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 11:50:42 2014 -0700

    altosuilib: Fix crash when initializing site map cache
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 611dc26ab4a3ee303c0253698b1e12931aa3644f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 11:50:04 2014 -0700

    altosuilib: Add GPS altitude as a possible graph value
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5617919091d4c4a1e627470ddab0b45cf649f7a1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 11:49:14 2014 -0700

    altosuilib: Show GPS instead of (missing) flight data for TeleGPS graphs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e0dfa934ba76d6f913af37999e05c20e614bd3e9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 11:47:11 2014 -0700

    altoslib: Record whether flight data includes sensor values in AltosFlightStats
    
    Provide a way to elide the usual flight data from a graph for TeleGPS
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fcea12ac416b1eab11e9e8aae801358574308f73
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 11:46:32 2014 -0700

    altoslib:  Add TeleGPS log parsing code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 537db628c0223f0c1f797705a353857c696f8051
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 11:44:55 2014 -0700

    altoslib: All products with logging have the 'l' command
    
    Instead of listing products with the 'l' command, just exclude
    products that don't have logging from using the 'l' command to collect
    the number of stored flights.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d562a5d3a6dfea334a66ee74893b400bdca09315
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 11:44:07 2014 -0700

    altos: Switch TeleGPS to GPS logging format
    
    It's customized for TeleGPS uses
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d71e6a5fc68d5b9bc1d12bbfc3fd5a4d86fb12f2
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 11:41:59 2014 -0700

    altos: Update other CONFIG_EEPROM users to set LOG_ERASE_MARK
    
    All products placing config and erase marks in on-CPU EEPROM needs to
    configure the erase code correctly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 394ab536257ab58de0190b3828dd3bb897ad4474
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 11:40:41 2014 -0700

    altos: Write tracker logging from tracker thread directly
    
    Also, logs 8 pre-launch GPS packets so we can get the ground position.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit db6003d34595fbd103d5b131912b6a797254f1c5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 11:39:10 2014 -0700

    altos: Write current flight state to GPS data from GPS drivers
    
    This will be useful with TeleGPS which has no other packet containing
    flight state.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 302842ccda46a0a3d58b60d5c7fc82e05f614b0b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 11:34:29 2014 -0700

    altos: Add TeleGPS logging format
    
    This is mostly like the mega format, but places the flight state in a
    spare byte of the GPS data and writes the gps starting location to the
    flight packet.
    
    Log data is written by the main tracker thread; there's no reason for
    a separate thread given the GPS update rate and the lack of flight
    controls. This means ao_log_gps has an API to be called from there,
    rather than a thread to run.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 62aa51f0b785bea146d1e9331e6253de2d547c94
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 11:01:14 2014 -0700

    altos/telemega-v1.0: Adjust config params to make flight erase work
    
    Flight erase records are supposed to be written after the ao_config to
    eeprom in telemega. They were getting written in the middle of one of
    the pyro channel config blocks. Put a bunch of space between the two
    by making the config max 1024 bytes instead of 128 bytes.
    
    Set the log erase marker to 0x55 -- eeprom comes from the factory as
    0x00, so we use any value other than 0x55 to indicate 'unused' erase
    slots.
    
    Save space for more flight erase blocks; we've  got plenty.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5d973570ef2324b21a64477eecb0a292652ff467
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 10:54:14 2014 -0700

    altos: Clear out eeprom erase records when writing entry 0
    
    When writing config/erase to eeprom, there's no 'erase' operation as
    on-chip eeprom is writable at a byte level. As such, we can't tell
    when the erase blocks get reset when the config gets written. When
    this happens, erase block 0 gets written explicitly, so just use that
    call to trigger explicit erasing of the data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1d6ca536c688d35b3cba0a829b04b93c5124b328
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 10:09:51 2014 -0700

    altos: Allow value other than 0 for marking erased flights
    
    on-chip eeprom doesn't erase to 0xff, so let TeleMega use a different
    value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b8a29d65ec605a995de1d1ec8b110d620d2f7a87
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 10:05:21 2014 -0700

    altos: Allow AO_CONFIG_MAX_SIZE to be configured. Validate it.
    
    TeleMega config is 200 bytes. AO_CONFIG_MAX_SIZE was 128. That didn't
    work out well when logging erased flight information. Allow TeleMega
    to use a larger value (1k), and then do a compiler hack to make sure
    the defined value is at least as large as the ao_config structure.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1873d539a8f1a0e1e8ad539af5d49a77a129b928
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 7 07:41:11 2014 -0700

    altos: Move ao_tracker.c to kernel
    
    Doesn't make sense to be in product
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a79fe8144dcab10294caa4b0eac967eeb0d8e7e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 21:42:10 2014 -0700

    altos: Add telegps-v1.0 code and loader
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0e867c67c8e2c40058ae36723e06b2ce00bd0419
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 21:40:39 2014 -0700

    altos/telegps-v0.3: Remove ao_flight_number from main program
    
    We've got logging enabled now
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f830d4e9202d2a138fc9aaacb2388f94390399db
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 21:39:50 2014 -0700

    altos/telegps-v0.3: Disable APRS by default. Set log max to 1M
    
    And adjust default radio cal to be a bit closer
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cab6d80f11e07dd26b865727eb7ce4fd45be5c7c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 21:37:38 2014 -0700

    altos: Force telemetry on by default for v0.3 TeleGPS boards
    
    These don't have a USB connect indicator, so just turn on telemetry by
    default
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 102b1977c138b30c2d2592ab310f7be072130a3b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 21:36:16 2014 -0700

    altos/lpc: HAS_USB_CONNECT has been changed to mean a custom pin
    
    The LPC stuff isn't actually very useful and TeleGPS uses a custom pin
    instead, and was using HAS_USB_CONNECT to mean the same thing. That
    wasn't good.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ec3de3ac461f2380d23c5c5d948333a9a210c400
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 21:35:41 2014 -0700

    altos: Fix config to set default log size for all devices with log
    
    Not just devices with flight
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d8f84ba82bab653c041eb85f93b9dcb1083bd849
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 18:55:26 2014 -0700

    altos: Add AO_LOG_FLIGHT packet to TeleGPS logs
    
    This encodes the flight number for tracking of data files.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fe0aaf4413035f9de2c805c612c71188ec8c6f4d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 18:49:59 2014 -0700

    altos/telegps-v0.3: Add tracker task
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6160ddadeae324b4a68db800c98c339156b63076
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 18:49:01 2014 -0700

    altos: Add debug to tracker to force launch
    
    This lets us test the move from pad to drogue state
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4a29df3f9f6c4969eb01598f6917ce78c9ce37a6
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 18:47:27 2014 -0700

    altos: tracker distance computation flipped arguments around
    
    ao_distance takes (lat, lon, lat, lon) not (lat, lat, lon, lon)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b619199345256cdc456f8a0b99c0ad9335e877c7
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 18:45:18 2014 -0700

    altos: Fix tracker start state
    
    Make sure log can start by scanning existing logs
    Enable RDF by default
    Turn off telemetry until we decide whether to turn it on in the loop
    Allow TeleGPS v0.3 to run without ADC
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97dac0f66bc938940e6b49409d950a1736c92655
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 18:44:26 2014 -0700

    altos: Stick flight state in GPS location packets
    
    Useful for TeleGPS
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eebcf07950e909e4516b08c32e289a870f772793
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 18:35:45 2014 -0700

    altos: Have tracker average 5 GPS samples before moving to pad mode
    
    Avoids early GPS noise right after lock
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e063701310c1ab5b766c27f24088699aad142fbd
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 18:33:33 2014 -0700

    altos: Change tracker not-moving speed to 2m/s and document
    
    Just adjust to avoid sensing motion from GPS noise
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d7df6e8c47df35c0d27f1a2559ecc305ef28d271
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 18:31:06 2014 -0700

    altos: ao_distance was overflowing when checking for longitude wrap
    
    Need to shift everyone right one bit to fit in 32 bits
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2db2b75f8847ca0066bb19771653a65c9098ae52
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 17:24:57 2014 -0700

    altos: Allow cc115l driver to be built without radio power control
    
    TeleGPS just wants full power, so remove the configuration option
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b8201bc9ba4a5f5f0522b68493cd5e7f013fd4bb
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 17:14:28 2014 -0700

    altos: Include sensor logging task only on flight boards
    
    This lets TeleGPS use the logging infrastructure without wasting a
    task to log sensor data
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3e28d8a242955d65d8cd50dbba4cad4609e2e1ae
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 17:12:06 2014 -0700

    altos: Add tracker task for TeleGPS
    
    This replaces the flight code to monitor GPS state and switch flight
    states between startup/pad/drogue
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6e152dd5c0786a650aed8f0c09babdc93895bff1
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 17:10:28 2014 -0700

    altos: Add ao_distance.c to compute cartesian distances on the globe
    
    This is not a great circle distance, but should be good enough for
    points reasonably close together
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8e7b8b0533e03e89425296d464b7a1a26fb63686
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 16:52:36 2014 -0700

    telegps: Update icon and icon building
    
    Switch to satellite icon, build the osx and windows icons.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1bcafc452f50e518c4d86cbd6b9057c4bf7e676f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 5 16:50:29 2014 -0700

    altosuilib: Let the user hand-edit the preload map radius
    
    In case they want more than 5
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f59d69064763cfad2b4b15fd9660fd5fa21dba5e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 2 23:43:54 2014 -0700

    doc: Create release notes for version 1.4
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cd2179cb0d71749f3637cc3ee03ccc6adfd74aae
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 2 22:59:23 2014 -0700

    telegps: Trap AltosConfigDataException in telegps config
    
    This was added for pyro configuration errors in AltosUI
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5e4087cd2fbb3ac67f90cd82edaa73c1eedbf67c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 2 22:23:31 2014 -0700

    altoslib: Add missing AltosConfigDataException file

commit ace5f42b5567cff07a61b622171ac364ea8c165d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 2 22:07:39 2014 -0700

    altosui: Display error message when parsing pyro channel values fails
    
    Build an exception handling chain to get numeric parse errors
    propagated all the way back to the original 'save' command and up into
    a dialog window, including the pyro channel, field and value that were
    in error.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 206fbb99d28961ce159e3affdd5c96f5e379a603
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 2 22:06:22 2014 -0700

    altosui: Fix pyro channel value formatting
    
    Was using %6.1f for 1 and 2 fraction digit values as the
    conditional structure for figuring out which format to use was
    broken.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d20c608ce833fb8949dce527f92887775d216823
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 2 22:05:11 2014 -0700

    altos: Fetch/store only 8 bits for pyro state values
    
    These fields are uint8_t, not int16_t. Fetching and storing 16 bits is
    a bad idea.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b7abc063fb27da29cd7a717bbea15f92882bd205
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 2 22:04:11 2014 -0700

    altos: Maximum pyro configuration parameter has 4 bytes in the name
    
    "f>=" needs four bytes, not just three to store the whole string. If
    we only store three, then we never manage to compare correctly as the
    null terminating byte is missing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7385c76af46ff400b9e79a8540199be289cb57c0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 2 22:03:26 2014 -0700

    altos: Configuring pyro channels can use more than 48 characters
    
    Increase the command buffer from 48 to 128 bytes to hold the longest
    pyro configuration commands
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 177d3c0333fd4218f01e05c78cbc5f186c8e32c0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 30 17:27:10 2014 -0700

    altos: Allow sparse GPS data logging for TeleGPS
    
    When the device hasn't moved for a while, stop logging data. Start as
    soon as it moves again.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 12c408c5aa1d234fe9c946078d8a343b4fda7ebb
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 30 17:30:08 2014 -0700

    altos: Test APRS altitude encoding
    
    Verify fixed point version against naïve implementation
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a7b0a5613c8e59b4c672b21f8d0890fd5cffd4dc
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 30 17:24:51 2014 -0700

    altos: Switch APRS altitude encoding computation to fixed point
    
    APRS altitude is logarithmically encoded, so this implementation
    includes a fixed point log-base-2 function along with a bit of other
    fixed point stuff. This eliminates all floating point from TeleGPS,
    saving around 4kB of code space.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2d9842ee011139f5783a102ceb2b7f4c88b1a10f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 30 17:17:42 2014 -0700

    telegps: Add config for tracker starting distances
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 29d325f418b401f61580288b5947b0df8ac5b717
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 29 22:03:48 2014 -0700

    telegps: Fixup windows fat build harder

commit b74dfc9c2cbe14593738eb994e9163d466155326
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 29 21:48:11 2014 -0700

    TeleGPS firmware isn't quite ready, don't include in windows fat build yet

commit e60d0456f59c76ad786bc8f8065fbe84e6cae922
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 29 21:37:53 2014 -0700

    Capture windows build error messages

commit 48074131ad05b4646e5d2dcf30ba4a1d17e249f8
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 29 16:39:26 2014 -0700

    telegps: Add missing TeleGPSGraphUI.java file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca7e64a09823977e1af028e9482424e643beee68
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 29 14:40:39 2014 -0700

    Build telegps distribution bits with 'make fat'
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bf684a4c290573a3aa627fd8ddf6f6ebbe5fa057
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 29 14:36:14 2014 -0700

    telegps: Add graph display
    
    Moved the altosui graph files to altosuilib and fixed things up.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f80075be4ebb9c5fe00c24b8c7638fad23267424
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 29 14:03:58 2014 -0700

    java: Refactor AltosFlightDisplay units and font update handling
    
    Make AltosFlightDisplay explicitly implement AltosFontListener and
    AltosUnitsListener interfaces to make everyone use the same API. Then,
    actually go implement units listeners so that changing units updates
    all of the active displays immediately
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 71715337eb532a1fbe1a753240e7417d5223489f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 29 10:16:15 2014 -0700

    telegps: Add info table
    
    Move a couple of files from altosui to altosuilib, hook up the info
    table after changing it to implement the AltosFlightDisplay interface
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 13f84be8d1568a3fc2ed5eef5dcc2093c149285e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 22:53:06 2014 -0700

    telegps: Add flash device functionality
    
    Move bits from altosui to altosuilib and use those.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8ba523cd793f2263bb1acd7a5a10f8964075bdc5
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 22:45:23 2014 -0700

    telegps: Auto-connect to any base stations plugged in at startup
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c30130d0bdc18ee351eb3d02e51f70f8a05905b1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 22:06:43 2014 -0700

    telegps: Don't try to ship TeleGPS firmware yet
    
    It's not quite ready. Instead, ship TBT and TD firmware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3871b9ac036e3adfa1da089245fc7973b268c921
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 21:56:52 2014 -0700

    telegps: Add 'Info' tab
    
    This contains a summary of the tracking info, including position,
    speed and course.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4cec35564324f909dcddeb7c0d83a2daa8223042
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 20:58:01 2014 -0700

    telegps: Hook up data download dialog
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9a4c2c7fc6af922d052e23a1b99bf847fbf9b0e9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 20:48:59 2014 -0700

    telegps: Add scan UI
    
    Move scan UI bits into altosuilib, allow telegps to not show telemetry
    format options.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 82a69777c67128192b50bbf77ace0a6525f49cac
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 20:24:04 2014 -0700

    telegps: Add preferences dialog
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a7fd31842a602a8ac803d0e09efb4ffabf7a289b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 20:19:44 2014 -0700

    telegps: Add device configuration dialogs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d6c5904e2a05c8ae023a8cd954cf16c19c477d7d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 20:00:10 2014 -0700

    telegps: Use altosui's Instdrv NSIS plugin for telegps
    
    Instead of copying it, just point at it
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fe14315d4cfccf8b53d9c4b7fa79302fd36b2c9a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 19:50:52 2014 -0700

    telegps: Working towards building fat versions of telegps application
    
    Lots more of the bits necessary for windows/macosx
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 47ff6f7528e3984012e874f91ea4f5c1d68cb465
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 19:45:01 2014 -0700

    doc: Add outline of TeleGPS doc
    
    No actual content, mostly a place holder to make the build work
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e19121d5e7368ef723d4642d26c24252a386a790
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 19:44:21 2014 -0700

    Mark version 1.3.2.2
    
    Preliminary 1.3.3 version (1.4?)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2fa7785f9efdefaf0fc2fa8e0b03c85047613b84
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 16:08:30 2014 -0700

    telegps: Add first version of telegps
    
    Not much implemented yet, but a shell of the UI and the map
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b3516419981967a1c6ab956269139977ac368ca
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 16:06:14 2014 -0700

    altosui/altosuilib: Shuffle lots more code from altosui into
    altosuilib
    
    All of the bluetooth management stuff, and AltosSerial.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02e657e45e217dc483a81f28020cfe65a826e9be
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 10:43:09 2014 -0700

    Document the need for ~/altusmetrumllc/google-maps-api-key
    
    Stick this in Releasing
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b9e4bf1b51c45553879141811748e65debfc251
Author: Tom Marble <tmarble@info9.net>
Date:   Wed May 28 14:08:02 2014 -0500

    jenkins.sh: make -j 4 can fail, fix for altosui-test

commit 96ffe5bbd2a1b44ddda6cb25d37d2b0a672045f5
Author: Tom Marble <tmarble@info9.net>
Date:   Wed May 28 12:50:42 2014 -0500

    fix for jenkins.sh

commit 5eaef0c98488fa3fbd3a6494dc15e1b793eb6f94
Author: Tom Marble <tmarble@info9.net>
Date:   Wed May 28 12:38:36 2014 -0500

    add jenkins.sh

commit 324380dcf86be338c6d556b901d6889ddde97f7e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 10:31:47 2014 -0700

    altosuilib: Don't try to draw to destroyed map windows
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1e5807ef428c9a0eb88ed8a3aef40098ab347d80
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 10:27:52 2014 -0700

    altosuilib: Publish AltosSiteMap.centre. Add prefetchMaps with old API
    
    This gets altosui working again.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 52ce41952c5a3c31532fa4f0d1b3155a162b76f4
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 10:16:38 2014 -0700

    altosuilib: Update map preloading UI to include zoom and maptypes
    
    This lets you specify precisely which maps to load.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5c3991768d3cb17fc99ad32b2d6d8d11f0e37dfa
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 02:18:41 2014 -0700

    altosuilib: Remove debug printf in AltosSiteMapCache
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4a5ef9eaa8b809c56813625133120e7e91fc8e65
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 02:06:18 2014 -0700

    altoslib: When log-format is missing, use product
    
    log-format was added for 1.0; earlier log files don't include that,
    but do say which product they're from.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3773e89c47d356c4df58edc5725c33bca89b9605
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 28 00:42:24 2014 -0700

    altosuilib: Add google maps API key, configured with -with-google-key
    
    This places the actual key outside of the repository, allowing the
    user to configure the name of the file containing the key. By default,
    this pulls the key from $HOME/altusmetrumllc/google-maps-api-key.
    
    With the key present, there are no longer any rate limits to loading
    map data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e6cfa25702b3dc1d492c5f1a4d0b4ba4831d30bd
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 27 20:34:29 2014 -0700

    altosuilib: Decompress map images asynchronously and in parallel
    
    This speeds up loading map images from disk quite a bit, and keeps the
    UI responsive while that happens as well.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8e44580cbe978f1570d4d2ac13d3dd7cd470ecf7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 27 15:39:13 2014 -0700

    altosuilib: Add distance measuring line to site map.
    
    Use any modifier or button other than the left one to draw a line on
    the map. The length of the line is shown at the start of the line.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c674a20432c2cb97e5bc2a3de891f78b9e172fe9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 27 11:05:02 2014 -0700

    altos: Fake flight code changes in kernel and stm
    
    Redirects data input from local sensors to USB sourced data, leaving
    USB enabled when the computer goes into pad mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit db08e99361d82de63058d3388823f486e5fc9839
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 27 10:58:53 2014 -0700

    altosuilib: Add multiple zoom levels and content types to map
    
    Also changes the file format for hybrid, satellite and terrain maps to
    jpg to save disk space.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 535271f7312f1a88af11d4f1dbf3d405b660f26c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 25 21:14:42 2014 -0700

    altos/test: Fix ADC structure for mega, use ao_config.h
    
    This switches from hand-coding the ao_config structure to using
    ao_config.h and also updates the ADC structure for ao_flight_test_mega
    to using the same one as telemega does natively
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1894b51daceaf9fb6b49a0625e09a366985d15b6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 25 21:12:29 2014 -0700

    altos: Move ao_config declarations to ao_config.h
    
    No sense leaving these in ao.h, and it's nice to make that file smaller
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3d5db24708b37d86eac187169e2553a408dfeb83
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 25 21:11:23 2014 -0700

    altos: Make MS5607 PROM a public variable
    
    This will let the fake flight code update it as necessary, without
    creating a new interface in ao_ms5607.c
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4df84dd5d007120f54cbda380789306608f2fc46
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 25 21:08:44 2014 -0700

    micropeak: Add -Xlint:unchecked to javac line
    
    This shows missing parametric type errors
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f0216d721ed13f4d3dc608bb6ad8f83732b27c0a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 25 21:01:38 2014 -0700

    altoslib/altosuilib: Change versions to altoslib:4, altosuilib:2
    
    API has changed for these libraries, time to bump the file versions
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d63319f6f29ef714bb1d5c359c2448f63e7a4534
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 25 20:58:24 2014 -0700

    ao-tools: Add cc_usb_write function
    
    This writes raw bytes to the USB port; useful for sending binary data
    for flashing or the upcoming flight test stuff.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0a6c76fc0525d6588a1d88127f0085f13a02f1af
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 25 20:55:11 2014 -0700

    altosui/altosuilib/altoslib: Move more stuff out of autosui. Reduce site map memory
    
    Prepare to share with TeleGPS application.
    
    This also has the changes to the site map tile which cache only a few
    images and regenerate the flight path on the fly, saving piles of memory
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4ac7797d3efb9cc2d9fae88519f55e40b1050224
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 25 20:47:49 2014 -0700

    altosui/altosuilib: Cleanup -Xlint:unchecked warnings
    
    Add parametric types to avoid unchecked warnings.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b60a3689910731d9bdb8a431a3dcc9e99f961b35
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 22 18:46:58 2014 -0700

    altoslib: Move CSV/KML output code to altoslib
    
    It's sharable, so share it
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2625a464417c8475c66101757ca2c30cd6c74e0c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 21 14:02:35 2014 -0700

    altos: Add config values for tracker start motion limits
    
    TeleGPS switches from 'pad' to 'drogue' states after the device moves
    a specified distance from the initial starting point. These values can
    be configured, and this is the configuration for them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 161ae96f9ec11e2586df07c0f6d724ddc4dad76c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 21 14:00:05 2014 -0700

    altos/test: Parse mega ground data. Fix pyro parsing
    
    This gets ao_flight_test_mega working with eeprom files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 43be26603827b5930bf3e8082610cfa19b45534d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 21 13:58:54 2014 -0700

    altos/test: Get APRS generation test working again
    
    APRS now includes sat info, so we have to fake that up to generate an
    APRS test file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2a3846df381a5eeac8ec3327c770af502aaf4e76
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 21 01:37:57 2014 -0700

    altos: Don't define ao_ignite_decivolt without igniters
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit af782e92c6a0c0a6b0fc2fa52519749a88ca8fb8
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 21 01:36:40 2014 -0700

    altos: Expose ao_gps_set_rate from u-blox driver
    
    This lets applications set the desired GPS update rate to reduce power usage
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8b488bdd0f5c91be7e5aae1c8f0193e713734b14
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 21 01:35:33 2014 -0700

    altos: Fix cc115l debug build
    
    New compiler warning flags and moving to the nxp require a few minor
    changes in the code to make it work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cb228304d8df3063914ab505a530d4ea79ca027d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 21 01:34:27 2014 -0700

    altos: Allow APRS to send just battery voltage
    
    Don't require apogee and main voltages as well
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca338a897ba3237652a3ae092e660f26c9e35074
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 21 01:39:46 2014 -0700

    altos/lpc: whitespace
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0a3312e725d914bbba6355e07d2f1d2833d2d6c2
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 21 01:39:01 2014 -0700

    altos/lpc: adc code computes number of active ADC channels
    
    Don't require the application to provide AO_NUM_ADC when AO_ADC_NUM is
    computed automatically.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b278a73cb54ba2f107bf91089f87c11528f017ab
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 21 01:41:38 2014 -0700

    altos/stm: Make stm applications depend on ao_boot.h
    
    This should make sure they get recompiled when boot stuff changes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f3544daf08f38aa8e28ca214a19ab7fd47c0c802
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 16 00:00:12 2014 -0600

    altosui: Remove another beep config debug printf
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eeacc001ba089b4bf5552b8ef36e61a0a96efabe
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 15 23:57:50 2014 -0600

    altosui: Remove debug printf about beep config
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6833e466d7d77765199bf4d21437c34a4eceb044
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 15 23:46:41 2014 -0600

    altos: stm and lpc ao_boot.h were identical. move to kernel.
    
    These two files were absolutely identical, so share them by moving
    under kernel instead.x
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 211d9af507daf9a8611ed1813415bee27e3839eb
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 15 23:34:17 2014 -0600

    altos: Use explicit boot loader signal in ao_boot_reboot
    
    Instead of just "knowing" that ao_boot_loader will be passed zero when
    the application wants to get back to the boot loader, explicitly
    define the values so that both sides always agree.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0bf1c74e83fe49a11916b52596363f4dd56c522c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 15 23:10:54 2014 -0600

    doc: Document the Apogee Lockout setting
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dbb0fcf6d161a9d49fe699c37a18e4c33c409b59
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu May 15 17:20:39 2014 -0600

    include EasyMega Makefiles

commit 0948f5d96456b2e7f57ad75dfc9ef455ba197163
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu May 15 17:19:08 2014 -0600

    working?

commit 0fd608868aa03f81b2d902e1da13ee0b1ab20b78
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu May 15 16:23:17 2014 -0600

    lose the (old) easymega-v1.0 directory in favor of my fresher 0.1

commit 819f73698f57e76dca50fe4fadccebd23ffb776d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 15 09:31:24 2014 -0600

    altos: Make quadrature debounce per-pin rather than per-device
    
    Debouncing per-pin means we don't lose transitions, which makes
    counting a lot more precise.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit da13064382e9673e69cdfae6abbac253c9fc42fc
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 15 09:30:32 2014 -0600

    altos/telemini-v2.0: Enable beep frequency configuration
    
    Now that there's space for this, add it in.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 36002fc724702d34302f3cc0df593019ca8db4e0
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 15 09:29:52 2014 -0600

    altos/telemini-v2.0: Remove old baro->alt conversion table
    
    TeleMini doesn't have two baro sensors...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d0d29cc233b0d444782530fea15d957b2b4c45d7
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 15 09:28:30 2014 -0600

    altos/cc1111: Switch P1_0 from a green LED to USB pullup
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3225fb54ec1beaf6dc8553ab4f5b86bea6bdf1f3
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 15 09:27:34 2014 -0600

    altos/cc1111: Add support for CPU-driven USB pullup
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 940ec6a2d5b054f68da39945a00f4d1b36d1b318
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 13 22:46:19 2014 -0700

    altos/cc1111: Errata fix isn't needed for discontinued products
    
    And, doesn't fit in memory for some of them, so don't compile it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit feb0b5f8b28767197f87e5818812d6640c1f40e6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 13 17:30:47 2014 -0700

    altos/cc1111: Wait for xtal to be stable
    
    Errata http://www.ti.com/lit/er/swrz022c/swrz022c.pdf says that the
    xtal is stable bit is bogus and that you need to just delay for a while.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8124af8c27b2b9e446aa3a4f1da83d4db7c1ea87
Merge: 6dd7eae5 3bcf4bdd
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 12 23:21:55 2014 -0700

    Merge remote-tracking branch 'origin/master'

commit 6dd7eae5e4752d2098797e96953db8923e26835b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 12 23:20:08 2014 -0700

    ao-tools/ao-usbload: Check image flash usage against device flash availability
    
    For devices which report the range of valid flash addresses from their
    boot loader, check the loaded image to make sure it fits within that range.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8a114bac1145359f3953ce70f049a6be71df5300
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 12 23:18:41 2014 -0700

    altos/flash-loader: Check memory addresses against flash space
    
    This validates memory read/write requests to make sure they are within
    the available flash memory space.
    
    This also reports the flash base and bounds addresses in the 'version'
    command so that the loader can validate the image before attempting to
    write it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a25c34ef0a92beaa0695e0d0020eda5e26b309e2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 12 22:56:38 2014 -0700

    altos/stm: Use #define'd constants for GPIO register addresses
    
    This lets the compiler short-circuit the tests in ao_enable_gpio and
    ao_disable_gpio to save a bit of code space and time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 530894f508874f4cb3db644ca9ca679ed704f964
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 12 22:55:38 2014 -0700

    altos/stm: Figure out available flash space based on chip id registers
    
    Look at the flash size and the device id registers to figure out how
    much flash is available.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2c543be5548ccda6bd29a2a7659fcc287f7a9f07
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 12 22:54:35 2014 -0700

    altos/stm: White space fix in ao_boot_pin.c

commit 2f196323a2829f9537f3b339f19478127ffde623
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 12 22:53:07 2014 -0700

    altos/stm: Use flash address of boot loader instead of 0x0
    
    Flash is at 0x08000000, but when the chip boots, it can be at 0x0 as
    well. Use the 0x08000000 address when rebooting to flash
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a6053dfed6fc1a7f50be0c62782d0050758cd0b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 12 22:51:50 2014 -0700

    altos: Assume all LPC products will have 32KB of flash
    
    If we ever use something smaller than this, we'll need to figure out
    how to tell how much memory the device has.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d1908101241b1002fbc582b0a2c27045065a6615
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 12 22:51:16 2014 -0700

    altos: Report amount of program space available in the version command
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3af4e824938fe07fe75c6d24d9906aebfbe578f3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 12 22:50:41 2014 -0700

    altos: Add LED test command to pca9922 driver
    
    This lets you control the LEDs from the command line to test things.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 47750e236c45ab03f28fc3393996edb2bd4312e3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 12 22:49:39 2014 -0700

    ao-bringup: Use official binaries for EasyMini turnon
    
    Don't use locally built ones, use the official ones found in
    ~/altusmetrumllc/Binaries to ensure that all devices are shipped with
    known firmware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5f4a1b3e553276a4d6727c111fe290fa3690fa1e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 12 22:48:45 2014 -0700

    ao-bringup: test-baro should accept altitudes a bit below sea level
    
    Testing baro sensors on a particularly high pressure day at Keith's
    house yields altitudes down to -20m or so.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 238ddde1ffdb8521d06519306cfb76271ae552b9
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 12 22:47:55 2014 -0700

    atosui: Hide Callsign and RSSI tabs for devices without a radio
    
    When doing Monitor Idle with EasyMini, it's nice to not put fields on
    the screen which won't ever have useful data in them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3bcf4bdd3e3f3751ad9d517696b5573dd4593846
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon May 12 17:31:14 2014 -0600

    update TeleMega turn-on script and Releasing for new stable firmware home

commit cbb6f7a3abbde39163f2905badba0ae88744b104
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri May 9 12:30:25 2014 -0600

    fix copyright year

commit 8d9c79f5c162e07d57d42c6ba5825a3327a911d5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 9 00:05:39 2014 -0700

    altos: Simplify quadrature tracking
    
    Set the timer to 200Hz for a 5ms debounce interval. Then, simply look
    for transitions ending in both bits in the encoder being off, which
    indicates the the encoder is resting in a detent. If bit '2' is
    turning off, the encoder was rotated clockwise, otherwise the encoder
    was rotated counter clockwise.
    
    This is a lot more reliable, although still not perfect.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ef48e1bb73c791d731b0d2c0e5beef1539103049
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 5 23:46:34 2014 -0700

    altos: Clean up trailing whitespace in ao_pad.c
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c8ad50495e2d81209a4882dd4f82c19d9ae2ac34
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 5 23:45:30 2014 -0700

    altos: Fix byte offsets in the mega AO_LOG_FLIGHT packets
    
    Just comments, but even those should be correct
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b22dff94778b1f15a6ad1989d526b936f0fa09ea
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 5 23:43:44 2014 -0700

    altos: ublox driver always offers course data when it has a fix
    
    Set the AO_GPS_COURSE_VALID bit to signal that this part of the GPS
    data is valid.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c9d6a1fbb3148f03864df6d1ed5f6b6dccd7b383
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 5 23:41:43 2014 -0700

    altosui: Add GPS course, ground speed and climb rate to graphs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 39fbc4cb1d4c92522c90aa5e36fd62a4827d8306
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 5 23:38:44 2014 -0700

    altoslib: Parse remaining mega AO_LOG_FLIGNT and AO_LOG_GPS_TIME fields
    
    GPS fields past 'day' were not getting parsed. Ground values for the
    IMU were not getting parsed, but a false 'temperature' value was being read.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d2e6efa810b7fccc5af937386a40ae5af064bf26
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 5 23:38:05 2014 -0700

    altoslib: Add a comment to remind us to fix the IMU code to deal with calibration
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d59d6787bfe26c3b18491ece602ad6cc5cf26c42
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 3 10:58:31 2014 -0700

    altos: 8051 64 * 16 multiply function was broken for negative 64-bit
    
    It was jumping around the actual multiply when the 64-bit argument was negative.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c49e13a7807a74bb66c83cd4a2e10eb601f59e62
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu May 8 16:24:26 2014 -0600

    relay control implemented, this project is now complete

commit acaad70e3db8f0b6ae45ca8309833db57bdf5ca2
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu May 8 16:09:11 2014 -0600

    first cut of usbrelay-v0.1 support .. LEDs wiggle, not switching relay yet

commit 2dfc4bc92b11252f17103f28198a702a3fdc2b2d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 2 13:53:08 2014 -0700

    altosui: Add configuration UI for beeper tone
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 027b1470c7a2d007eaab5c8d49f772b0c7559b80
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 2 12:26:07 2014 -0700

    altos: Add configurable beep tone
    
    This lets you directly set the mid-range beep tone; the high and low
    tones remain set off of that in the same ratio as before.
    
    Note that none of the cc1111 products get this feature as they don't
    have enough flash space anymore...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8e3842660274ac4bcd7b5a78f5db215222b1c4de
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 30 22:14:37 2014 -0700

    altos: For telelco discovery packets, retry 5 times with shorter timeout
    
    A timeout of 10ms is more than enough to receive a query packet, but
    if we miss it during device discovery, it's a pain, so retry 5 times
    to make sure we find everyone.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0223fced2c6d2b9f63ede6258afae46c3f55c200
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 30 22:13:44 2014 -0700

    ao-tools: Clean up ao-sym structure an initializers
    
    Remove unused 'default_addr' field. Use named initializers when
    setting up the struct.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 35efd4e51ece706234f80c076eb7f4f70c66098d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 30 22:12:30 2014 -0700

    ao-load: Make ao_sym static to avoid collision with ao-editaltos
    
    ao-load doesn't use ao-editaltos at this point, but does share the
    same name for the symbol table. To make the linker happier, make the
    ao-load version static.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fd406000659a11862e05c22dbb20cdb738f56b01
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 30 22:11:39 2014 -0700

    ao-telem: Dump orientation field from TeleMega sensor telemetry packet
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2cf65d60e1c73dbff0badbe1ee6cb43d75bf803c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 30 22:10:29 2014 -0700

    altosui: Mark TeleMega additional pyro ignitor fired points in graphs
    
    Add markers to indicate when each additional pyro channel fires
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ecebb3902868d1d7485d2bc99ba4140c6b90567e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 30 21:30:46 2014 -0700

    altoslib: Track pyro firing state when reading mega eeprom files
    
    TeleMega records whether each pyro has been fired in the eeprom file;
    track that in the AltosState record.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5fb246fb50e262aa81ef7eb430be9782cfcf8848
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 29 19:04:30 2014 -0700

    altosui: Add extra ignitors to graphable objects
    
    List all of the available extra ignitors as possible things to graph.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f8429152e438eb72618edaf5983ae1cd5d3d4dab
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Apr 13 08:58:36 2014 -0600

    ugly hack (just make sleep longer) to work around ttyACM* discovery issue

commit 3b5c4d88671e6c511fbfb1ce6b046f558dd6c2bf
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 12 17:46:34 2014 -0700

    altos: Switch beeping to farnsworth spacing
    
    Use 17wpm/12wpm farnsworth spacing for the state reports. Leave the
    numeric reports running slowly as those require counting.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8628f7e02834a476d5cb3afa4cbf8d46a4b3c513
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 12 17:45:38 2014 -0700

    altosuilib: Make lines in graphs 2 units wide
    
    This makes the graphs a lot easier to read.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9e18c524fa2d1f648f265b3c3105f5ceacf06c10
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 11 16:40:06 2014 -0700

    altoslib/altosui/altosuilib/libaltos: Remove trailing whitespace
    
    Just cleaning up the source code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7b275ddfe20f54857d7d1abb98607c406b678090
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 11 16:31:32 2014 -0700

    altos: Add 'microwater' product
    
    This is a custom firmware spin for micropeak designed for use with
    water rockets that sets the boost detect altitude to 10m instead of 30m.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 99c729495a8cc589718607ee35d22454c6af2994
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 6 23:46:48 2014 -0700

    altosui: Disable flight log configuration while flights are stored
    
    The log code won't let you resize the maximum flight log while there
    is still data on the flight computer; the code to figure that out in
    the UI was busted, leaving users confused about why it wasn't working.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4211c59e585545817b3cac02b41bb73106d6403e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 6 22:27:37 2014 -0700

    altos: Fix nanopeak compile
    
    Nanopeak uses port B bit 3 for the LED instead of bit 4. Fix the async
    code to support arbitrary bits for the serial LED.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 350d941a825d0271933de0bfdea82d3af5744c21
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 6 20:14:49 2014 -0700

    altos: Provide stable binaries for MicroPeak
    
    Publish MicroPeak .hex file to LLC repo and install it from there,
    rather than rebuilding it locally. This ensures that the installed
    bits don't depend on local configuration of any kind.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2427eae5f3b429d302fbe14f708dcbc68c851954
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 6 19:48:07 2014 -0700

    altos: Replace C code attiny async output with inline asm
    
    Using inline asm instead of C ensures that compiler changes will not
    affect the timing of the serial data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1d943d4cade0a40723143626abf6e67f8eca9dcb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 5 18:17:17 2014 -0700

    altos: Build TeleBalloon v2.0 by default
    
    We're supporting this now, we might as well build it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c14cfb1436c988eb0a0d26d7c4d83aeccecbc8a3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 5 18:16:21 2014 -0700

    ao-bringup: Split out easymini test into separate script
    
    This lets you run the easy mini testing code without also flashing the device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9cb10d73fee0e3f36c778fd2a9c9992b87669fe2
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 5 18:14:35 2014 -0700

    altosui: Add ignitor tab for TeleMega extra ignitors
    
    Show the current state of the additional ignitors in another tab;
    there's not really room in the 'Pad' tab.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca66a035edecd7feffcd22257d3413ce0e189c07
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 5 00:28:13 2014 -0700

    doc: Document new voltage beeping at startup time

commit 18148c33540cda8cb6658724a048ffd426c1a6bb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 5 00:20:22 2014 -0700

    Bump version to 1.3.3
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0d367fc24bfd0377db6f3b00a888a18245616767
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 5 00:18:57 2014 -0700

    altos: Report battery voltage instead of S at startup
    
    This works on everything with a beeper except TeleMetrum v1.0 which
    just doesn't have enough flash space for the code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8bd732ac9cb816630f46dd269448ff8422620df8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 4 23:40:22 2014 -0700

    doc: Outline files are now generated, so don't put them in git
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca4b20f9781b1dc6974d26952973dfe0d607478c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 4 23:38:40 2014 -0700

    ao-tools: Wait for device to become ready instead of failing
    
    For some reason, USB devices take 'a while' to become usable; instead
    of bailing immediately, sit around waiting to see if the device
    becomes usable if we get an EBUSY or EACCES error.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2424c0e6fe53789dc83d1e96439dcdc13e847b07
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 4 23:37:15 2014 -0700

    ao-tools: Use 'program' command in ao-flash-lpc instead of 'flash'
    
    The program meta-command is supposed to do the whole thing, and seems
    more reliable in actually getting what we want flashed to the board.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4800497fa1fc449807ef0097cc3fed367641ae29
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 4 23:36:34 2014 -0700

    ao-bringup: Get turnon_telemini working
    
    This script now does complete testing of the board
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 24167015705ae831692b95735968b04a876f935e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 4 23:34:48 2014 -0700

    altos: Rename 'core' to 'kernel'
    
    core remains a bad name to use -- dirvish skips files (and
    directories, it seems) with that name.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bb9fdef607728cc326a82aa632e59724f272e53b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 3 00:10:19 2014 -0700

    altoslib: Missed a couple of easy mini voltage API changes
    
    Oh, and Tm was using Em conversions (which is almost right, except Tm
    doesn't have the history)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 834cd051af1b80a98678de221d3c45cb30f8bb0d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 2 23:35:36 2014 -0700

    Add easymini turnon script and helpers
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 21d584b9bf93b96a05ab374105493c0e17df320f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 2 22:04:18 2014 -0700

    altoslib: Fix EasyMini voltage computations
    
    Early Em prototypes had a 3.0V regulator.
    Early v1.0 boards measured power past the blocking diode.
    
    Deal with both conditions to try and report more accurate voltages for
    EasyMini data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit adddad0dd45f67d01487c8dd75b040ca3ab50fe2
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 2 20:36:26 2014 -0700

    altoslib: Ignore speed/accel after boost when finding maxima
    
    Large spikes in acceleration often occur with ejection charges, which
    can cause bogus acceleration and speed data to be seen. Ignore those
    for the purpose of computing the maximum values of each.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ff4deb417a460d96645fb6934890c2c195142be3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 28 23:33:25 2014 -0700

    altos: HAS_LED is useless; remove it
    
    ao_flight was trying to decide whether to turn off the red LED by
    checking whether HAS_LED was defined. And yet, none of the flight
    firmware defines that anymore, except for easymini which defines it to
    zero.
    
    Remove all uses and defines of this value, substituting AO_LED_RED in
    ao_flight.c, which has to be defined for the ao_led_off call to work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca0bf9fb2d6323d7a454e5ce04b48d11366eee67
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 16 18:12:33 2014 -0700

    Add easymega firmware
    
    A trimmed down TeleMega build with no radio or GPS, along with pin
    changes necessary for the device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7e0b549b9b30d0a1290d28b2b94025a98af6a4de
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 10 22:55:45 2014 -0700

    altosui: Hide Tilt Angle values when not available
    
    In the Ascent table, make sure the tilt angle fields are hidden when
    they are set to MISSING.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3b50e50fb814a572f7b4ea9e268a1ae150fe678c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 9 21:10:10 2014 -0700

    altos: Another missing usbtrng file

commit b5ac64bc0a6fd0fc23f39283e469c9820bdc88fe
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 9 21:08:25 2014 -0700

    altos: Missing ao_pins files for usbtrng
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 469bd376d84bf8d76faa3b726d96061d4d98b998
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 9 20:59:43 2014 -0700

    altos: Fix LPC LED driver
    
    Was using wrong types
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a4a074d690fb34af49704ac3cc4826eaf06dd9d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 9 20:58:36 2014 -0700

    altos: fix building LPC serial support for STDIO
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9671ca6c42544463fd551f81113c221265a2296e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 9 20:57:31 2014 -0700

    altos: Don't require projects to define PACKET_HAS_SLAVE
    
    Really, most don't need it, and whinging about not having it defined
    isn't useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e1e00a4b67fbdbae339219b35aefd44a1bcf9486
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 8 21:39:33 2014 -0800

    Add USB True Random Number Generator product
    
    Just basic device support
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6dad9ca543fbed3f849b01300224b1b21ef2eb08
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 8 16:25:33 2014 -0800

    Re-add LCD bits to stm-demo

commit 32f0f39a953dabe19ec92611570e4a82da8f8dce
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 8 16:25:10 2014 -0800

    Add flash loader for stm-demo board

commit 4c7da6d0ad568448c37761cd0c0108b9161a9345
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 7 21:27:26 2014 -0800

    doc: Add separate outline pdf generation
    
    This generates one-page pdf files that contain just the outline of
    each product.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8f2a85027b496451c5934eb36fcdffbd5e5da177
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 28 23:04:54 2014 -0800

    Install .desktopfile as _SCRIPTS so they are left executable
    
    .desktop files should be marked executable so that the desktop
    environment knows they are correct.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a072cbb137126e677d3ebbf0245ec4ea5aa481ad
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 28 21:16:57 2014 -0800

    altosui: Retry device enumeration after rebooting for self flash
    
    Windows takes 'a while' to include the rebooted device in the list of
    available devices, so try a few times with a 100ms delay so that we
    can avoid asking the user to select from an empty list.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac2cfb03158b4902466a72edad5dc471ee6bdb91
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 28 21:16:36 2014 -0800

    Mark development sequence to 1.3.3 by bumping version to 1.3.2.1
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 57e5d13c0577e1b0a6e8117e2d04eeda6cf0b045
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 23 17:42:08 2014 -0800

    libaltos: Link so with -znoexecstack flag
    
    This marks the library as not requiring an executable stack, which
    openjdk prefers
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 104b8bfc9b37fda175f2cb2a1e33601fbf6f48f6
Merge: 403b95ee 1edf7ef8
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Feb 20 13:23:52 2014 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 403b95ee27782309b564855b85285c9f5f5c7068
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Feb 20 13:23:32 2014 -0700

    update turnon scripts to store cal values

commit 3ef0cc28758c68e6076afa809e157a84ce3661fb
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Feb 20 13:23:20 2014 -0700

    typo fixes from Matt Kraai

commit 1edf7ef8026ac4ab698a7f99671e9348d18ffd0a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Feb 18 09:47:51 2014 -0800

    altos: Create balloon-specific load for TMv2 hardware
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ff4ae350c24b3d6ef71e29191bb719b07ab9c5bb
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Feb 18 09:46:17 2014 -0800

    altos: Make balloon code run again
    
    This fixes the balloon code so that it works with recent altos bits
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8b6f051663dd17492bece9efb9e898ef113ab414
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Feb 18 09:45:41 2014 -0800

    altos: Set reasonable accel values when !HAS_ACCEL
    
    This lets us use telemetrum log and telemetry formats for balloons
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9f6983e3d61fa5231f3d0ce33dbc5aadf946b597
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Feb 18 09:44:52 2014 -0800

    altos: Expose ao_usb_running globally
    
    This lets other bits of the code know when USB has been connected.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b9d5b273a410e315739c5c6eaa4105523056b9a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Feb 18 09:43:43 2014 -0800

    altos: Move balloon flight code to core
    
    This lets us create more than one balloon product
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 43b1797189095c402e1c35bdc317c4196e180e66
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 17 21:30:28 2014 -0800

    doc: Need to publish .svg files as well
    
    The drill templates are all .svg files that are referenced by the
    generated html.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 874d0065ecb066ee746a016876edebc7cc6e3d96
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 17 21:27:57 2014 -0800

    Re-create drill templates
    
    Using inkscape, the drill templates weren't getting printed
    correctly. Switching to hand-generated svg fixes that.
    
    The .xsl file is also fixed to really encourage the images to be
    printed at exactly 100%.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6e713f0a53d608a8855884b7a48e4e3423d8a3d2
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Feb 17 00:15:58 2014 -0700

    deliver images used in MicroPeak manual to web server, too

commit 1d421a43494cf2003ac23fb8cd21d6ae05edfac8
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Feb 17 00:10:05 2014 -0700

    update copyright year assertion in MicroPeak manual, remember during releases

commit a3ddb5906167e445f937b16fafb7f5c537852f0a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 16 18:01:10 2014 -0800

    Mark .desktop files as executable
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c860d837a0c97a091c5f47fce91bdb8beb4602d3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 16 15:53:50 2014 -0800

    micropeak: Construct linux install script
    
    Uses the same script as altosui, just edits the final path name
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 948a614a62754fd4fffd9b84ad83fd444e4f0437
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 16 15:17:40 2014 -0800

    Move .desktop and icon management out of debian dir
    
    This constructs a .desktop file from a template and installs it, along
    with suitable .svg icons, during the normal build process
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 066a01ad0b4e73fdb47b43a42c1d0b7fae81a180
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 16 14:57:38 2014 -0800

    Put altusmetrum.svg and micropeak.svg in icon directory
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 95f5a6ef52947088993d395874cf6aa502fd2503
Merge: 135b6d40 de2a6199
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Feb 16 15:53:35 2014 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 135b6d4019f584c050b3d70c11fb5bcf2c7396c4
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Feb 16 15:53:22 2014 -0700

    use svg in the .desktop file

commit 13dccd1869cdf00d4aa0df55a3ece33936cd520a
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Feb 16 15:51:32 2014 -0700

    have the cal-freq script save cal values to a file

commit de2a619900ee23911c866d5aaff63a0f9388bfc7
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 16 13:01:29 2014 -0800

    Add linux installer script
    
    Create a linux installer shell script that unpacks the archive in a
    sensible place and adds a .desktop file to the environment
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bf268354535a3a7b2e093235e5347ed2a6d809ff
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Feb 13 21:53:13 2014 -0700

    updating changelog for release

commit e53be56179f4cd93227b6bdc28c2ae60b81db57d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 9 23:47:47 2014 -0800

    doc: Update the 1.3.2 release notes to include APRS and Fire Igniter changes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d24ef4aa9429f4884548e5c9fd48d57e640f0d9d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 9 23:46:39 2014 -0800

    doc: Add remaining configurable parameters to the System Operation chapter
    
    Yes, this duplicates the section in the AltosUI chapter, but I'm not
    sure how to describe the device without talking about it in two
    places, so we might as well make both of them complete.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e76948d382cf6980c3a5b6c48405d71c8811780b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 9 22:54:31 2014 -0800

    altos: Put locked/unlocked GPS status in APRS comments
    
    Replace the 'S' (which marks the field showing sats in view) with
    either 'L' or 'U' to tell the user whether the GPS receiver is locked
    or unlocked.
    
    This also removes the colons in the comment field to shorten it. This
    makes it fit on one line of my FT1D display.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5001a0f882af53dde33fc531215944c9d727baf4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 9 22:53:05 2014 -0800

    altos: Re-send previous GPS position in APRS if lock is lost
    
    APRS radios often show only the last received APRS packet, which means
    that erasing the last known GPS position when we lose lock by sending
    0/0/0 is unhelpful. Instead, just send the last known position, and
    make sure that we send 0/0/0 before we're locked the first time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 864d1e2282ac1d241478cf663ee24112c9d3dc37
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 8 22:02:02 2014 -0800

    altos: Fixup named ADC printing
    
    Print all ADC values on one line when using named ADC values
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f750ef6f9745b15af45bb80f5b46b9e6f51796d8
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 8 20:05:02 2014 -0800

    altos: Add needed math sources to TeleGPS v0.1 build
    
    APRS requires the logf function to report altitude.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6367ab2dec718c512073f70dfab86dbd1656b1fe
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 8 20:02:54 2014 -0800

    altos: Report nsat in view in APRS packet
    
    This adds the number of sats in view (as opposed to the number of sats
    in solution) to the APRS packet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8ddbbdcdc498a19ebf4a440bbf5d73b6538e0a57
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 8 20:00:56 2014 -0800

    altos: Don't write more than 12 sat infos in ublox driver
    
    This was overwriting memory past the end of the ao_gps_tracking_data
    array, which isn't a good idea.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 324073d14ed8215b74d9df51f2229827cd4401d0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 1 00:32:43 2014 -0800

    altos/stm: Block interrupts while reprogramming flash
    
    Wouldn't work well to get interrupted...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d6d56c20465455b759f60a03fc96aa228ab9102e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 1 00:06:30 2014 -0800

    altos: Enable system timer in flash loader and prod watchdog with it
    
    This makes it possible to reflash the board without needing to disable
    the watchdog.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1d3420e51db4d1a46237e97aeb189d2a8eba7f5e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 31 17:44:45 2014 -0800

    altos: Eliminate warnings in FAT code
    
    The FAT file system code wasn't cleaned up when the warning fixes were
    done recently.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7a8adfed8fbbcaac71da9c6d54bbd3091f4d7511
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 21 10:16:35 2013 -0700

    altos: Add watchdog timer task
    
    This new task frobs a pin periodically to inform the hardware that the
    operating system is running.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 63683f91f5fe9588c1d905a572509cb674aaad68
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 23 21:36:18 2013 -0800

    altos: Add names when reporting STM ADC values
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7fdf6a6cc252c7813a857714f6088b7fd5bfab40
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 8 14:31:06 2014 -0800

    doc: Add title page image to altusmetrum.pdf
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2c70a7a49cc0e92df90ea17a870d661ca857c145
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 8 14:30:52 2014 -0800

    doc: Ignore generate template XSL file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2320b788c47757032b2874e64479ef382456c2d3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 8 14:24:48 2014 -0800

    doc: Document GPS max height addition
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8363326cd87fb1e53ad78146c0503aa476d2da89
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 8 14:24:13 2014 -0800

    doc: Update micropeak docs to include lots of pictures
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 306028b33ebed45bcf379740cc3c01c2360c51f4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 8 10:25:33 2014 -0800

    doc: Micropeak doc updates for 1.3.2
    
    New 'download' button.
    Update download instructions for new USB adapter.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 28d5239bff234cc1158a270a29c0e39067f613c3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 7 22:45:26 2014 -0800

    micropeak: Missing a couple of new exceptions when loading files
    
    The change to keep reading on invalid chars from the serial port
    exposed a couple of new exceptions from the MicroData code which the
    file loading code needs to cope with.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8d0d59c51138dc1b1bbf6933354fe9faf4d67986
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 7 22:32:17 2014 -0800

    micropeak: Keep reading until we get valid data
    
    Don't stop just because we saw something invalid on the serial line;
    let the user try again, or cancel when they get bored.
    
    However, if the serial line disappears or some other fatal error
    occurs, then do stop and put up an error dialog.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4a5b3837b460d1b6fcea99312728114c4734495a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 6 17:08:34 2014 -0800

    altos: report 0/0/0 for APRS position when GPS is not locked
    
    We were reporting whatever the GPS device sent, even if it wasn't
    reporting a valid status. That's not terribly useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9e0bda088c097ac6bcc677d7b6d00683e73a68fb
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 3 00:24:38 2014 -0800

    micropeak: Watch serial data during download
    
    This adds a text area to monitor the incoming serial data in case some
    problem occurs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0c2f28cbc1cb312d3bcc8951176d79f234a1af04
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 3 00:26:42 2014 -0800

    altoslib: Use existing unicode Charset in AltosLink
    
    Instead of making AltosLink look up the unicode charset, just provide
    it directly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7df221c42948cb42cf777b899263c8ec9067bd55
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 31 18:09:26 2014 -0800

    doc: Mention that an APRS interval of 0 disables it entirely
    
    And mention that the value is a time in seconds between APRS packets.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 230af613d372afe540c6a8860199d717eedecf57
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 30 20:54:24 2014 -0800

    doc: Replace screen captures with 'active' window ones
    
    These are the same as the previous captures, just with the titlebar
    highlighted instead of grey so that they're all consistent. These were
    also done with the gimp which makes the areas outside of the window
    (like outside the rounded corners) have zero alpha so that the white
    background shows through.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7e3088ece81ef85f3dbd4df51954bc90681d6b6e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 30 18:42:08 2014 -0800

    doc: Update screen capture of pyro config with correct names
    
    With the UI now using letters as TeleMega does, update the screen shot
    used in the manual to match
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eb9262901aff4f69fa3d2357693634cbee9bca46
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 30 18:38:01 2014 -0800

    altosui: Use letter names for pyro channels in pyro config UI
    
    TeleMega has the extra pyro channels labeled A, B, C, D instead of 0,
    1, 2, 3. Use those names in the UI to avoid confusion.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e94d785d9a1cce4eb5b3063d55e825719afb58e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 28 21:52:57 2014 -0800

    doc: Add explicit paragraph about using one battery with Tmega
    
    Just in case the factory-supplied jumper gets lost.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f4f31590518875eda40473dd2178d6976a4f86a3
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jan 28 18:21:10 2014 -0700

    use firmware in /usr/share/altos for teledongle, update telemetrum for v2.0

commit 6b70b8b6bb4e8eae8159ec966847092d0b1deab3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 24 22:43:25 2014 -0800

    altoslib: Don't lose gps_height value between GPS samples
    
    gps_height is now reliably updated whenever GPS altitude data is
    received, so don't try to reset it between samples.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ea8c9ca9dd24a026ea5bfe5a1ac70857181a88c8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 24 22:40:49 2014 -0800

    altosui: Show GPS max height in flight stats window of graph
    
    Uses the new state.max_gps_height() function.#
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e4616233f3942d2796ba6633477670a83669957b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 24 22:39:10 2014 -0800

    altoslib: Track GPS altitude values to be able to report max gps height
    
    This adds separate GPS altitude and GPS ground altitude values so that
    the AltosState object can report GPS max height.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa2edc97ac0c880e569baca453ff6302ad6da65f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 24 21:34:39 2014 -0800

    doc: Fix spelling of decelerate

commit eb3ffd06575ddd0be061aa2717c7075c823ed54e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 24 21:31:17 2014 -0800

    doc: Document flight computer wiring connections
    
    This details all of the wiring connections for each flight computer
    and explains how to wire batteries, switches and how to use external
    pyro batteries and active switches with each one.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ee480d180cbdd712ab13d39716c38aabd4678d95
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 24 10:10:00 2014 -0800

    Set version to 1.3.2 in preparation for release
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9c4674d90f9b111e1b47abb7aee714ed12fa3aa5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 24 09:35:55 2014 -0800

    doc: Add 1.3.2 release notes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 94be1e3eb9f94a59522743374d02a1f229266931
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 24 09:21:46 2014 -0800

    altos: Tmega Don't try to log info about more than 12 GPS sats
    
    The mega log format has a single packet for GPS info which holds a
    maximum of 12 satellites. Bdale managed to get 14 sats in view, which
    ended up crashing the ground station software, and also overflowed the
    gps_tracking_data structure.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd28429405498fca0788ce9c19093898c84b10e5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 23 22:16:36 2014 -0800

    altoslib: Validate TeleMega GPS_SAT log packet nsat
    
    Make sure nsat is not more than the size of the array
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit afbae4c6b7a658f690cb827acfef015e9e2da318
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jan 22 21:31:03 2014 -0700

    update notes on how to release

commit 0ef0c50536e5eb6ad3455b5828983307edbab828
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jan 22 20:53:03 2014 -0700

    freshen ChangeLog for release

commit 200137060651f48c99276c8feb0e15980a9b46be
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jan 22 20:52:09 2014 -0700

    update copyright date on main documentation file

commit 63171339c03cf9bf3d691511889223bf43024124
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 21 23:02:27 2014 -0800

    doc: Update for 1.3.1
    
    Add 1.3.1 release notes. Update screen shots. Document new functionality
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e6a73d6cbe149a930f8c4e2dac655bc3f6270013
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 21 23:01:28 2014 -0800

    doc: Fix image widths to make them all scale the same amount
    
    Hand-compute scale factors so that all images are presented at the
    same relative size as they would be on the screen.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e61c02b51e069aa58b36f59b9ca8e7c8284bc93a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 21 22:13:01 2014 -0800

    altosui: Handle serial-port startup errors in idle-monitor
    
    Trap exceptions during idle monitor startup and report them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 42922b40fc695bdaa92e3fb0b41a248f7df918d0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 21 22:01:39 2014 -0800

    altosui: Handle already-opened link in IgniteUI
    
    Must run the link open from the UI thread so that we can put up the
    in-use dialog immdiately; otherwise the UI thread is blocked which
    means the dialog never appears and the app appears to hang.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f118e33416e45ea9a2b5ede4157bd8b58ddb6ebb
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 21 21:37:18 2014 -0800

    altosuilib: Remove some spurious debug printfs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 677fcafd3816b6d8d86b2dc41b840d97b5ccbf07
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 21 21:34:58 2014 -0800

    altoslib: Fetch target device config for Fire Igniter npyro value
    
    The code was using the AltosLink config_data, which is always the
    locally connected device's configuration. When using the packet link,
    that's not terribly useful when asking how many extra pyro channels
    are available.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 13cf4000bd53ac4af66231d56e24c9eb11178a5f
Merge: 7a8551fe 99fedbf0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 21 20:59:06 2014 -0800

    Merge remote-tracking branch 'origin/master'

commit 99fedbf0ed42a5d4fa80f094576ca0260040ef5e
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jan 21 21:31:25 2014 -0700

    set version to 1.3.1 for release

commit 7a8551fe8e5f0a90cbc494842715a96f08c11900
Author: Anthony Towns <aj@erisian.com.au>
Date:   Mon Jan 20 19:38:21 2014 +1000

    altosui: rate limit map downloads

commit 0faa098f05d43eefc1fa54462401171fca5034cb
Author: Anthony Towns <aj@erisian.com.au>
Date:   Mon Jan 20 05:10:58 2014 +1000

    altosui: --fetchmaps gets same number of maps as GUI

commit aab5873c87d6ecfe0854751746f80d4bc7ebeffa
Author: Anthony Towns <aj@erisian.com.au>
Date:   Mon Jan 20 04:52:43 2014 +1000

    AltosSiteMapPreload: only load 49 maps
    
    Google Static Maps API limits queries to 50 maps per IP per minute,
    so querying a 7x7 array instead of a 9x9 array seems more likely to
    work well.

commit 7f9cda0e2531a7bba7f1b4e3b7212a62b5bec1ed
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 19 00:17:06 2014 -0800

    altosui: Make romconfig serial and radio cal fields 8 digits wide
    
    This ensure that they are wide enough to show a cc1120 calibration
    value, which is 7 digits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2b891115c95453d9002d8ef307a27e14eda145a5
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jan 17 20:55:45 2014 -0700

    set version to 1.3.0.2 for test flights this weekend

commit c33ec8207c0e5d4c855e87b2746371b19d437f7d
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jan 17 20:47:16 2014 -0700

    use firmware in /usr/share/altos for production flashing

commit cfcb127b248b62231049b6b50cf9b7edc2731f0a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 15 13:28:16 2014 -0800

    altos: Add missing ADC divider values for Tmega v1.0
    
    Somehow I left these out of the previous commit
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9001d5780a41986017bd3bbc7f8c5556b116c351
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 15 12:42:59 2014 -0800

    Ignore 32 and 64 bit cjnitest apps

commit c743eaa060080a7bd236466b93cff3abc96f405b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 15 12:40:26 2014 -0800

    altos: Report battery, apogee and main voltages over APRS
    
    This makes APRS more usable when you mute the RF audio on the HT.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cc06242e882cba462791962c199b7c89e79adc65
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 14 23:29:59 2014 -0800

    altos: Use factory calibration for all acceleration computations
    
    The ground acceleration value will vary depending on the tilt angle of
    the airframe, which will result in incorrect acceleration computations
    during flight. This also avoids accidental boost detect when moving
    the airframe around in pad mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9d812b3db418fd9816731b761a0853eb38f5a265
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 14 23:21:40 2014 -0800

    altos: Switch APRS to compressed position format
    
    This provides lat/lon/alt in fewer bytes while improving precision.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f560d5063b1339dbfb3e6723cfadb7b4c5eace25
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 14 23:18:40 2014 -0800

    doc: Ship telemini outline as pdf file too
    
    Build telemini.pdf from telemini.svg and include it in all of the
    released packages.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 06ffd8022ff5ac74274c9839d42c0c47274cb8b9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 1 22:08:13 2014 -0800

    altosui: Require both libaltos32 and libaltos64 for fat Linux tarball
    
    No sense shipping a broken tarball ever
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8bff2822c242d2878b408b9c0d8a7647108ea4b1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 1 22:02:56 2014 -0800

    libaltos: Build -m64 and -m32 for fat tarball when possible
    
    Check to see if we can compile libaltos for both 32 bit and 64 bit
    systems, and then use those when generating the linux tarball.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 95d77eaff708397d8b1e29904dc47d8ea09e8754
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 1 22:02:04 2014 -0800

    Bump version to 1.3.9.1
    
    Lots of new features; let's not release with 1.3 set
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b15bd24bbe48e338497c6257f5fe2c7fd1cbffbb
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 1 22:00:24 2014 -0800

    altosui: Handle a missing libaltos when starting up
    
    Skip a null list of devices when figuring out what to open monitor
    windows for during startup.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c35ea586b9e792c45b287924fd256928308d9a36
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 1 21:12:20 2014 -0800

    altos: Flip acceleration data consistently for orientation changes
    
    Must flip the acceleration calibration data using the same function as
    flipping the actual acceleration data or the calibration will no
    longer be valid after changing orientation. For the MMA655x, this
    means using 4095 in both places, rather than using 0x7fff for the
    calibration data changes and 4095 for the data value changes. For the
    MPU6000, this means using 0 in both places.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit afc16e805145c3e9ab4ba948f9ab1d9aa2b27afb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 28 10:18:53 2013 -0800

    altos: Add 'O' command for TeleMega orient testing
    
    Only present when HAS_FLIGHT_DEBUG is enabled, this command lets the
    user check the orientation tracking code by showing the current
    orientation and when the calibration values are reset.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9877f6b880a0e89fbfbf1a39ded94bdc1891f3d9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 28 10:17:37 2013 -0800

    altosui: Switch Graph to AltosOrient type
    
    The graph was using a private class for orient type, use the altoslib one
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa01f06acfbf029958a55f68175b6868817b333f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 28 10:16:24 2013 -0800

    altosui: Adjust info table column width
    
    Make sure the info table can show a full longitude value
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bbc4940730e6b431f1b9ccd9bbaf9faa0ffb2b1f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 28 10:15:26 2013 -0800

    altosui: Add orient to ascent and info table views
    
    This adds 'tilt angle' to both ascent and info table views
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 053d092b3dca4ebb98e97ec0fe24f5f5e1c31f88
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 28 10:13:05 2013 -0800

    altoslib: Add AltosOrient class and max_orient()
    
    This adds the class necessary to put orient into a UI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 081455dcba860f3e4df8cd66f3fe686b204034ad
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 21 08:56:00 2013 -0800

    altosui: Extend Fire Igniter to additional channels
    
    This lets the UI test fire other pyro channels on TeleMega
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9cf9a67f937185c0c0bb5b2bae4f420755965799
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 21 06:46:46 2013 -0800

    altosui: Switch from radio buttons to check boxes in pyro config. Add close
    
    First of (we hope) many review comments from Troj.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9289200ccb661b10ff892760ecbc752c7745de6b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 23:04:43 2013 -0800

    altos: Turn on -Werror for STM and LPC builds
    
    Now that the build completes with no warnings, make future warnings
    into errors.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 16b37b49985daf21ebb93b3d6ae64af67533be22
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 23:02:51 2013 -0800

    altos: Turn on warnings for LPC products too
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f578d9455eec9ea0eccd2d5e21349e274ea4281a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 23:02:21 2013 -0800

    altos/lpc: Missing */ in definition of PIO0_4
    
    Would maek using these values pretty hard.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 14790172e02d4e1624c35797f87ffd94345d54ff
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 23:00:43 2013 -0800

    altos: lpc exti setup was incorrectly testing mode
    
    Check for NOCONFIGURE bit was missing parens
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 48f996a9d65631238b4de446530f31f83acb99f5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 22:59:42 2013 -0800

    altos: cc115l driver tone_run wasn't recording number of tones
    
    This would prevent the cc115l driver from ever sending tones.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e11fcc299f4a1a0461a3442ca13f8984d76c30ff
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 22:58:10 2013 -0800

    altos: Clean up warnings for LPC products
    
    Unused varibles, functions and parameters.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4ed108fb86676daea17264d7159c2cff9ea7a6e4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 22:45:56 2013 -0800

    altos/stm: Turn on -Wextra
    
    All of the warnings for STM projects are cleaned up now
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1406a5b0721a135913a9801e9eea9e91f0a536b4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 22:45:01 2013 -0800

    altos: Add default button return value from ao_button_get
    
    This "can't" happen, but it's not unreasonable to have a default
    return value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 316d898715746a379068ac8511692bdb9da14b39
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 22:44:20 2013 -0800

    altos: unsigned value in ao_pyro_set checked for negative value
    
    No sense checking unsigned values for less than zero.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5c9172ba5681ff93d63c9c263a453d0025170045
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 22:43:18 2013 -0800

    altos: Clean up -Wextra warnings
    
    Unused variables, mismatching signed/unsigned and a few other misc
    warnings.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit db8f3426ac1cf756a2e4974ca61a5ae9048c80ce
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 22:21:23 2013 -0800

    altos: Turn on -Wall for stm compiles
    
    The warnings are all cleaned up now, leave this on by default
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b31b4622d5bd92c0cc0851818f5b595dbdb60ead
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 22:15:25 2013 -0800

    altos: Clean up some minor warnings from -Wall
    
    Unused variables, functions and labels, missing enums in switch.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 755082d36231c1b247bc0e1f13919dd9b5c362a8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 22:13:32 2013 -0800

    altos: mma655x also needs ao_sensor_errors
    
    TeleMetrum has an MMA655X but no IMU, so it needs an explicit addition
    for sensor errors.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 758acb92cccbe4b64a35a1883b42713738c90630
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 22:08:11 2013 -0800

    altos: Complain about sensor self-test errors only in idle mode
    
    When the accelerometer says to go into pad mode, don't look for other
    sensor self test errors. Only look for sensor self test errors to
    choose between idle and invalid mode. This will prevent minor sensor
    self test errors from letting the rocket fly safely.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c8b27410e45cc3d80ad4b896bffe70e9aec5e3aa
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 22:06:52 2013 -0800

    altos: 3-axis accel calibration was invalid in explicit accel cal mode
    
    When explicit Z-axis accel calibration values were provided to the 'c
    a' command, the 3-axis accelerometer calibration values would get set
    to uninitialized values. Not so helpful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2a912dcde191e2f750845c464611641a5abdc28a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 22:04:53 2013 -0800

    altos: Execute self-test on MMA655X part
    
    This doesn't check for fine calibration, just makes sure the part is
    within the broad tolerances specified by the manufacturer. The subtle fix
    here was actually getting reset working -- there was a typo in the
    bitpattern definition which caused the reset to fail, making it hard
    to self-test the part, as self-test is only valid before the part is running.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b89fb51a963635e2effe3a31f803bfc29c2c46b7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 19:44:38 2013 -0800

    altoslib: Bump library version
    
    Prepare for next release by making sure we notice that the API/ABI for
    this library has changed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8e5f3b922100f9de54b9650df14749e81b1a6562
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 19:40:31 2013 -0800

    altosui: Add imu and mag sensor values to plots
    
    Makes for a lot of potential graph elements.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f65880cf5bfcba5005c32db2b300448e585f3e45
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 19:39:40 2013 -0800

    altosuilib: Rearrange graph enable buttons
    
    Eliminate separate 'enable' radio button, provide for multiple columns
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 796cb90e3241103f79ae12565cf6f0dad21cb57c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 19:38:29 2013 -0800

    altoslib: Fetch 'orient' value from Mega Sensor packet
    
    The mega sensor packet had a spare byte to hold the current
    orientation value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 91bcfae2e64ecb2e7de1292b264910382b635aea
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 20 19:37:08 2013 -0800

    altoslib: Convert IMU and Mag sensor values to useful units
    
    Convert from raw sensor values to metric units
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2ad31bad20b20615e9d8b29088e2488fddc81ac9
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Dec 20 15:06:37 2013 +1300

    altosdroid: improve build system dependencies
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 0e3b3ce66035e8a90fd708d9a4bc01370174c9eb
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Dec 20 15:06:07 2013 +1300

    altosdroid: update to latest google play services
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 96f2ae5fc0d3bf88704d2ae1b4df5dc6aefc523b
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Dec 20 15:05:42 2013 +1300

    altosdroid: force older jarsigner signing algorithm for java 1.7
    
    (increment versionCode, re-upload to Play Store)
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit ac12e77e3dffc9e9ddb1578a38b32783ad64e940
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Dec 19 03:22:21 2013 -0700

    updated notes from 1.3 release

commit 27528961457865acc3a38b822268df6d7cb86cfd
Merge: 4006effc a31629df
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Dec 19 02:00:10 2013 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 4006effc538289c36a1563c1b717231991292c0c
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Dec 19 01:58:24 2013 -0700

    fix missing newline at end of src/test/Makefile

commit a31629dfceb5e9cf1d5c654b8bd87d575f73c34b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 19 00:58:50 2013 -0800

    altosui: Ship EasyMini firmware too
    
    Missing the FIRMWARE_EMINI define left all easy mini firmware out of
    the distribution
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bc3610d8cecbfed40c62d4dcb93fc9a4d2a7c9e3
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Dec 19 01:29:55 2013 -0700

    update ChangeLog from git

commit 701c26ed85c28ac59e338975f2a6ba6bd25f6493
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 19 00:16:16 2013 -0800

    altosdroid: bump versionName to 1.3 and versionCode to 4
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9f95ffbad918a73cfd5460d6ce037d680465c35d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 19 00:12:21 2013 -0800

    altosui: When device has no valid romconfig, set RF cal to 0
    
    This is intended to signal to the user that no valid value was found
    and that they'd best pick something sensible.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a04c1dd5df76c9127615bc797a9d9f764eec1234
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 19 00:08:50 2013 -0800

    altos/lpc: Stop sending SETUP IN when the requested size is reached
    
    The host won't keep asking for SETUP IN packets once it has received
    the amount of data requested, so check to see if we've sent that much
    and flip back to IDLE state if so.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1ab12861c3e70d7c22b27d988546a925616a0adc
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 23:27:34 2013 -0800

    altos/lpc: Reset less of the device on USB reset.
    
    This leaves most of the device configured across USB reset, which
    appears to help when sending a IN reply to the first SETUP packet;
    without this change, the IN reply would always get a length of 0,
    which is fine for SET_ADDRESS, but not for GET_DESCRIPTOR_DEVICE,
    which OS X appears to send before setting the address (go figure).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3b13cc2ca035b13582cd2e59ba7286f872f43c6e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 22:00:13 2013 -0800

    altoslib: Remove some old debug printfs for self flashing
    
    These aren't necessary anymore and just slow down flashing boards.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 408b0dea338147382e94717dab85b4a204e7bdf5
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 21:08:33 2013 -0800

    micropeak: Add micropeak man page
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2b2ba87d5f68b9e052dddd49d69341f36d777122
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 21:02:15 2013 -0800

    ao-tools: Add man pages for ao-flash utilities
    
    These aren't very wordy, but these tools are pretty simple scripts.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 39cb8c2896317b7538353be979ac99baffc14489
Merge: 2a6016cf ee427961
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Dec 18 21:53:52 2013 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 2a6016cfabc8cd56f5219871e3b3df316a639289
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Dec 18 21:53:36 2013 -0700

    update Debian standards version we claim compliance with

commit ee4279613b4757453d0d8f8afc06037c61eeb520
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 20:32:05 2013 -0800

    altos: Try IMU self-test 10 times before giving up
    
    This should keep the device from failing to boot unless the IMU is
    actually broken. Oh, and if self test does fail, this places the
    flight computer in 'Invalid' state rather than panic.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1bf84ec28a41f7bd1b11ba45b4639856266227bc
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 20:30:58 2013 -0800

    doc: Add tables describing AltOS beeps and flashes
    
    Provide a convenient place to reference when listening to the device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0673344289772ed89483948184d6608c272c7c26
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 18:20:55 2013 -0800

    altos/stm: Semantic error in STM usb disable caused it to not work
    
    The USB enable register wasn't actually getting rewritten with the
    enable bit turned off, so the USB device was still powered on in flight.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 122f491e459b6ff417932370b3f1aa2091c71aca
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Dec 18 18:30:54 2013 -0700

    update release docs to include option for submodules

commit d9982c257463f23be940eea66bd4dc3aadff0043
Merge: 1b97ed2b b63fc054
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Dec 18 18:25:35 2013 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 1b97ed2b64bcbcd969124964f1e49837899f1c70
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Dec 18 18:25:03 2013 -0700

    we're using packaged and local-to-our-tree ARM toolchain now

commit b63fc05481bf6d57e6385704ce53c1c19afa9c2e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 14:34:31 2013 -0800

    doc: typo in micropeak doc hole->hold

commit 6827961c002757f8e74de44f6eb9c9029d099ebc
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 14:25:41 2013 -0800

    doc: Update micropeak quick start guide to note new boost detect
    
    Now waits for one minute and 30m of altitude change to avoid false detections.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c0966cd40f05f3a65b0c977b4b92586a58192f4b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 14:22:51 2013 -0800

    micropeak: Compile for java 6
    
    Don't a require later version as not all target OSes support it
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eea036650e62bc0f8652155974b512686754fd13
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 14:08:41 2013 -0800

    Move pdclib build results to pdclib-root
    
    This makes pdclib easier to manage as a submodule
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c1bfe09b6d3eb28d0c7cfe07a248843cf81bcd25
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 13:36:04 2013 -0800

    altosui: Remove some debug printfs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 58ceb9c845d51547244538fe6beec27e9a232af8
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 13:25:31 2013 -0800

    altosdroid: Use altoslib standard voltages to control lights
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dbcf3264f950c4e1d450828c9f161b4c418bee97
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 13:22:45 2013 -0800

    altoslib: Define 3.8 as a good battery and 3.5 as a good igniter
    
    Use defined values everywhere instead of copying. Adjust battery up to
    3.8 to ensure there's enough voltage to not trip the comparators
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b19a648b667c298d2d9d5ed4ee9db661be058d1a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 13:09:48 2013 -0800

    altoslib: create eeprom download thread before telling monitor about it
    
    Telling the monitor too early resulted in passing a null thread
    handle, which meant that 'cancel' wouldn't ever work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 216405bc49ef2fc0e9941989f054e41f2fef9cfe
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 12:40:22 2013 -0800

    altoslib: Don't close telemetry reader at startup unless something fails
    
    Was always closing the file, which led to very little telemetry being received.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2e589c59ed0a4c586c5accca8772df15010c46a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 12:16:55 2013 -0800

    libaltos: Import newly build libaltos.dylib

commit 0484ca97828da0d56be7bf395fa4a4b09c591e02
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 12:15:54 2013 -0800

    libaltos: remove usb id filtering from darwin code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 36197a388a9ba1d1ee4acd96ac0079ad3af9d3d0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 12:15:22 2013 -0800

    libaltos: fix test harness main type
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 119dd56512404e0c39dd5001ba4da9373515c02c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 11:25:05 2013 -0800

    altosui: Add docs to Mac OS X dmg distribution
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6df58bb0115a8da13d35ab38861f6231bea7f2a7
Merge: 4383bafc 02195f29
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Dec 18 12:19:31 2013 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 4383bafc6ccdde10f06882ba3e96126c61d5e988
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Dec 18 12:18:30 2013 -0700

    a fresher changelog entry for test builds

commit 7db8e8190bc8b9a17a7b5107954e2362a0e9c7a2
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Dec 18 11:08:55 2013 -0700

    need to include the Cortex toolchain

commit 02195f2970fb7243fd9a9992abb6ada6709db4e1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 11:14:40 2013 -0800

    fix git: path for pdclib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fbca372edd5609bc253b622b55b7faffd19ae6cd
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 11:12:44 2013 -0800

    Use git: path for pdclib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e2635d07d0f0a91dd7d59f2c94765a40907d2732
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 11:08:11 2013 -0800

    Ignore .dll files in libaltos
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8fdbdebdbb4d1579fd2af47430807d0d2a78105b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 11:07:55 2013 -0800

    ao-tools: complain if st-flash is not available
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8f529633cd4be8a0edb1b067bbf5d7cc055dcc1b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 10:55:06 2013 -0800

    altos: get stm-bringup building again
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 262ee65885d55902df96f4aec6a114f5ac6f2c61
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 10:53:09 2013 -0800

    Remove stale stm test apps from regular build

commit 90386115204bd3bfa55deb5ebe1972bacdba725a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 10:50:45 2013 -0800

    altos/stm: Update pdclib paths for flash-loader builds
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eb659fb0ee80c25312be36b3d8adb686813db125
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 10:43:16 2013 -0800

    altos: create target pdclib directories before building

commit 9c200c3bc742b4dd1a7e28bfce9d5b27e833aae5
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 10:01:29 2013 -0800

    altos: Build pdclib locally if necessary
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fbde0c3e4bdb419d6bd4dbcc96b0e01c59e9fa13
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 09:59:33 2013 -0800

    include pdclib in wrong place

commit 77b04d662a6704f5db10522a2f9b169d31df5bea
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 02:03:15 2013 -0800

    altosui: Hide non-applicable altimeter config values
    
    This makes configuring EasyMini a lot easier...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 012abeda6ae846d74729e96e7ed7c8af2edca572
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 02:02:12 2013 -0800

    altos/lpc: Be a bit more resistant to toolchain section name changes
    
    Just add some wild cards on the ends of each section name in case the
    toolchain changes names in the future.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e26306c9350ef1d107d4257ef1c09d15165c9154
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 01:14:11 2013 -0800

    altoslib: Pass InterruptedException up the stack instead of hiding it
    
    When interrupting a thread that is talking to a serial device, it's
    important not to have that thread discard the InterruptedException so
    that it will actually terminate. This patch removes a bunch of places
    that were discarding InterruptedExceptions and lets higher level code
    see them so that they can exit cleanly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 18852efa108ba6e6e69dfd5076d4f4c01f62b4ef
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 18 01:12:11 2013 -0800

    altos: Make TeleMega v0.1 work more like TeleMega v1.0
    
    I've still got one working v0.1 board which is useful for testing
    stuff, so make it work more like the released TeleMega:
    
     * Use E for drogue, F for main
     * Use on-chip eeprom for config
     * Fix ADC report printf to match
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1f035ac2df1cfa6964ae904aba0aedde279ca921
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 17 23:50:54 2013 -0800

    altos: Use all 16 bits of setup packet len when limiting reply len
    
    We were only using the low 8 bits of the setup packet reply max len,
    which meant that if the other side sent a weird max len (as Windows 7
    does), then we'd truncate our setup reply to whatever was in the low 8
    bits of that value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1280ba2e51b36f417f3adb6d101405ee75e7e509
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 17 22:53:45 2013 -0800

    altosui: Add EasyMini bits to fat distribution images. Update telemetrum.inf
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 212a1b66ae04317b7b42ba57573b910fde09ca6c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 17 20:24:19 2013 -0800

    doc: Publish images with HTML bits
    
    Otherwise the html won't render right.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2ecb6a8276b2ce40d2a4da586dbc17581cfda26d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 17 20:23:00 2013 -0800

    altos: Broke TeleMetrum GPS reporting by holding the GPS mutex too much
    
    We can't hold the GPS mutex while waiting for the GPS receiver to load
    data as it protects the GPS data with the GPS mutex.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e44ce127ece149e7b07be49142bc0f9d50bbe97d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 17 20:05:12 2013 -0800

    doc: Add screen shots everywhere
    
    This has screen shots of every dialog in altosui
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e4b223df372348718b74d2ecad4957f3e30f8d79
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 17 17:37:39 2013 -0800

    Add altosui image and attempt to add launch photo to title

commit 1d093383fe58fc8c8c11e1c7cd1cd929ae1bd9e4
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Dec 17 14:53:59 2013 -0700

    further documentation tweaks

commit 90c88bab305c43eb62f964fd3ff350b8b0b5320d
Merge: d5d6d10c dffbdd93
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Dec 17 14:09:30 2013 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
    
    Conflicts:
            doc/altusmetrum.xsl

commit d5d6d10ceb724081c7cf89a3885d7e6c3da14604
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Dec 17 14:08:12 2013 -0700

    capture my changes so far

commit dffbdd93d7a86a12d83a412de37dfd2a5f063995
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 17 11:38:46 2013 -0800

    doc: Add product pictures to manual
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9d8da4ef325171960e16fc027c6039cb63eae942
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 17 11:19:54 2013 -0800

    Keep tables together on a page

commit 7acd0cf17c5ca7a00893f35c7fe9c657389070e0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 17 10:33:29 2013 -0800

    doc: Convert several more itemizedlists to variablelists
    
    When defining a term, use variablelist to pull the term out to the left.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8bb6dd75a602792936d623713fb009fea25ef491
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 16 21:21:24 2013 -0800

    Clean up reflashing section, include section on self-flash recovery
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1562affc4951e147eba20380ea5be2e9f7152789
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 14 11:47:31 2013 -0800

    ao-tools: Use st-flash for STM flashing instead of openocd
    
    st-flash, from the stlink tools, appears more reliable when flashing
    STM CPUs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7d7ae63d8dfcc99a30285e0bd2411901941d1813
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Dec 14 12:16:03 2013 -0700

    add serial number to ao-usbload call, pass SERIAL to cal-freq

commit c94ca50fd9f24f271c160f6e0e95cb7340289354
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Dec 13 18:37:29 2013 -0700

    temporarily force stlink location in debian/rules to allow complete build

commit 6545a72012e94a50d185e1c4ecff3c3769d60acd
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 10 00:54:32 2013 -0800

    java: Missed libaltos java compile flags from previous patch
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8959c059ec67f5334e31abbe3f831dd571a0b464
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 10 00:51:01 2013 -0800

    java: Add -target 1.6 to all java compiles
    
    This makes sure the results can run with the old JVM
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a4596c134aa5e7867f1ca1d86d36afb2af9b8999
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 10 00:39:52 2013 -0800

    altos: Remove ARM .ihx files on 'make clean'
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 50753e84871b2a01d270d28b8b77a19614d2180c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 10 00:03:20 2013 -0800

    Set version to 1.3 in preparation for release
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 54f7888dc65ffc27c6ee5ef93953bd9b8fc029ed
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 10 00:00:31 2013 -0800

    doc: More altusmetrum.xsl updates for 1.3
    
    Spell checking even
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a140b3ad689bcebdcf87caab1e64048f693a9b85
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 9 23:16:13 2013 -0800

    debian: .ihx and .map files are left in subdirs now
    
    Install them from the right place
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 95c1a5a61267233cf2c16175aeb73bfb7d12ba8f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 9 23:14:55 2013 -0800

    altosui: Ship TeleMega-v1.0 firmware
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b023c87e2b86ba57cbf97be1ab76b532e0a00fad
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 9 23:12:40 2013 -0800

    ao-bringup: Add turnon_telemega script
    
    And a few helper programs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ecb0465be76e9299511aeec663d267967834f6c3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 9 16:06:22 2013 -0800

    altos: Rename telemega-v0.3 to telemega-v1.0
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd91a5d5069ff940e07b8817a934ee65d4e8e235
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 21:08:36 2013 -0800

    altos: Oops. Was only filling out part of the TeleMetrum ADC record
    
    Because it's missing a return, we'd end up filling out one element of
    the ADC record per interrupt, and rotating through which one was set,
    hitting all of the even offsets within the struct. Yikes!
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c1711890c002fe359bd6c3fdf4092b35d464c6d9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 21:07:17 2013 -0800

    altosui: When flashing to TeleDongle or TeleBT, match any .ihx file
    
    Let the user pick any .ihx file when using a device which can only be
    used as a pair programmer. Note that 'telemetrum' can be either, and
    we'll assume that it's a self-programmed device (v2) for now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 710343a23c7e6e9c079eafdf3aeea8a40cc2ce61
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 20:34:11 2013 -0800

    altosui: Match directories in hex file matcher
    
    This makes it possible to navigate around the file system
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fd92bb8ff3be257925bf6e969d93a7f9dd941fb8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 20:33:22 2013 -0800

    altoslib: Don't require radio_cal or usb_descriptors in AltosRomconfig
    
    Not all products will have these values, so allow them to be missing
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 68adbf5bf08ed8af2f34c0d95d9c3d457574372d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 20:11:46 2013 -0800

    Add new tools to .gitignore
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2cdb90d9214f8e66b3574cbd9c5ed073a7861681
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 20:09:10 2013 -0800

    altoslib: Add self-flashing code
    
    This adds the ability to use the AltOS flash-loader on both STM and
    NXP processors.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 70d0841b4017e7580c893c7033c04fb2964adab6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 20:07:23 2013 -0800

    altoslib: Add AltosNoSymbol exception
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e1b134e29313a1bdac18de57fe547299e5ded2a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 20:04:43 2013 -0800

    altoslib: Use symbols in AltosRomconfig instead of fixed offsets
    
    The new Hexfile symbol code automatically adds the needed romconfig
    symbols for cc1111 products, and ARM-based products have symbols in
    the .ihx files. This means that we can rely on using symbols when
    finding config values in memory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1183417145de549b9281f9e210d216facf3a94ef
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 19:59:37 2013 -0800

    altosuilib: Don't match product_altusmetrum for product_basestation or product_altimeter
    
    It's been years since we've shipped boards configured with
    product_altusmetrum, but now we've repurposed that code for the flash
    loader. When matching an explicit product, go ahead and also match
    altusmetrum so that the flash loader will fit, but when matching
    basestation or altimeter, don't as that will avoid popping up the
    flight monitor UI at startup when a board is running the boot loader.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e0af4569446b12c026aa0ffd52c55839d69af0e1
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 19:48:27 2013 -0800

    altoslib: Publish mapping from product name back to USB id
    
    This lets us choose which device to flash based on the filename
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 88fa5fa6acbdd66d1338ca73cbbac219d62b5136
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 19:47:44 2013 -0800

    altoslib: Create AltosProgrammer class
    
    This provides an abstract interface to flashing boards, for
    dongle-based and self-programming boards.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7b0c1fbccb4ef1ae2ed356292cc8762360532b7f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 19:46:30 2013 -0800

    altoslib: Add symbols to .ihx files
    
    Create a new 0xfe record type to hold the symbols, and append them
    after the EOF record so that other tools might continue to work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b1ffdaf1f5e9b6e8ff0d4e08d8c504f8dfacd3a4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 19:43:13 2013 -0800

    altoslib: Support binary reading/writing in AltosLink
    
    Binary reads require an explicit length, and do not work while
    telemetry is running.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2cb7a96567e1302a699f78290fab5e29693940ab
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 19:05:01 2013 -0800

    altos/stm: arm-none-eabi-binutils now puts 'main' into .text.startup
    
    Change name of .text.ram to .ramtext, then load .text* into flash and
    .ramtext into ram. This ensures that 'main' and anything else in a
    random .text.* segment will get loaded into flash as appropriate.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3e22a0dce4248cce862147c985078de44c427b12
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 19:04:11 2013 -0800

    ao-tools: build ao-usbload by default
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b1f3525afa801038f7087a3a2caf369f2460a5db
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 11:41:09 2013 -0800

    altoslib: AltosEepromMonitor had false import of altosuilib
    
    Not needed, and breaks the build
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eded084c6caa1f9423d690c8b45c8042f8355987
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 11:17:28 2013 -0800

    altos: remove all versions of stm-demo executable
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bb72b4018dd6a422afe1916d9538bb9ff1e45353
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 11:15:37 2013 -0800

    altos: Change flash loader name to just AltosFlash
    
    Remove the software version string from the product name
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 52b19511222980138faddb2047707baceff0a596
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 11:14:29 2013 -0800

    altos: Build .ihx files for all arm projects
    
    The .ihx version can be processed by the java loader
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a1e4750a7d4af72e8e9086735885f48c9b56c18e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 11:11:41 2013 -0800

    altos: Allow products to override default 100mA USB current
    
    This will allow products to specify their own current limit.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 25aaf6122cbddcbc6a80460dac8ccb9f45743ae0
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 11:10:00 2013 -0800

    ao-tools: Clean up ao-stmload and ao-usbload options. Add --raw
    
    ao-stmload only uses stlink, ao-usbload only uses self-flashing, so
    clear up the options in the two programs. The new --raw option skips
    the serial and radio cal rewriting when flashing the boot loader.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ebb36d56c732ffe9cdb8d2ea53d00e1d4ece8f97
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 8 11:07:46 2013 -0800

    ao-tools: Allow building without stlink and readline
    
    This adds --without-stlink and --without-readline options to configure
    to disable these features, and adjusts the build process and code to
    handle that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5fd0dc6f69e7614ba71bbc215b32260a11595af3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 7 23:27:30 2013 -0800

    ao-tools: Add ao-flash-stm and ao-flash-lpc scripts
    
    These use openocd to download boot loaders to the arm-based products
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eee9b3ce1e5adae5aa4566050b6d6048344e92c4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 7 09:54:17 2013 -0800

    altosuilib: Deal with AltosUnits API change
    
    The abstract methods in AltosUnits now pass the 'imperial_units' flag
    explicitly, so deal with that in AltosUnits itself
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 407696f11ac1736e840c9b702592c46197d14c2c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 7 09:53:10 2013 -0800

    altosui: Clean up serial close handling
    
    Unify serial close processing in a single function (close_serial),
    make everyone else call that. This avoids a couple of cases where the
    device would be closed and not removed from the devices_opened list,
    leading to 'device is already in use' messages.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1a47532f411488f003726aa9365ede5dc90c5b78
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 7 09:51:58 2013 -0800

    altosui: Don't try to report bearing/elevation without GPS
    
    If the distance from the pad cannot be computed (due to lacking GPS),
    then don't try to report it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 44249a9262a16ed103aedf30a300003fc2a17579
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 7 09:49:00 2013 -0800

    altos: Nothing in altos uses AES decryption, so don't compile it
    
    Saves a bit of space where AES is used, and avoids some compiler warnings.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cdb32b1717db4e8cb8cf94d810e74ce2b569566b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 7 09:47:45 2013 -0800

    altos/test: Compute and plot tilt based on GPS track
    
    This lets us compare the gyro-computed tilt angle against the actual
    flight path.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6fbf4829569d5edb476654f4e383b834af527dc6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 7 09:40:53 2013 -0800

    altos: Telemega uses eeprom, include it in main file
    
    ao_telemega.c didn't include ao_eeprom.h leaving a function undefined
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2a9b0cdff5db03dc11b6ef69cf5436c834c3acc4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 7 09:39:41 2013 -0800

    altos: Add lots more GPS data to mega log
    
    There's plenty of space in the GPS log packets to hold course, speed,
    climb and DOP values, so just stick them in.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit de2e812b02a99a2f6d85f15a9600265931f6f6b0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 7 09:38:50 2013 -0800

    src/cc1111: Turn off RC osc after xtal is running
    
    There's no reason to keep running the RC oscillator after we switch to
    the crystal, so turn it off.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 473ae38ade0552c5ff3ca088b21345ed5dfad5d0
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 28 15:21:26 2013 -0800

    doc: First pass for 1.3 finished; docs have most major sections updated.
    
    Final edits and corrections still required.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6d9b93bfd637eb690159fc5efda0390eb602c6a7
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 28 10:44:07 2013 -0800

    ao-tools: Split out USB loader to ao-usbload
    
    Leave ao-stmload using just stlinkv2
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f27dff090c8f3a63bd932715643980703160bde6
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 28 10:31:32 2013 -0800

    ao-tools: Split out altos symbol editing from ao-stmload
    
    to be shared with ao-usbload
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5ef287723f8d8bfbfb3582d22bfb5c2a3129414a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 28 09:52:38 2013 -0800

    ao-tools: Missing ao-selfload.h

commit e6c9ca218d944443c86555e513534d82713af936
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 28 09:52:01 2013 -0800

    ao-tools: move 16/32-bit readers from ao-stmload to lib

commit d93a65a90f19e4816231e03b1f399af6e3742aee
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 28 09:46:13 2013 -0800

    ao-tools: Move ao-selfload into library
    
    This needs to be shared between ao-stmload and ao-usbload
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 14204e3d147ad99cc249ad8de254809180fe5c38
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 28 09:31:02 2013 -0800

    ao-tools: Add ao-elftohex and .ihx symbol support
    
    ao-elftohex converts an elf file into a hex file so that we can load
    it with java.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ee07f1a0f8e431bebb3b948f6249f5f33413e966
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 28 09:29:52 2013 -0800

    ao-tools: Add debug printf support

commit 95a8180f3d7929dbad65c80421f99c925f245af0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 27 13:59:06 2013 -0800

    ao-tools: Create general elf and hex library routines
    
    Pulls the elf stuff out of ao-stmload, change the hex stuff into ao_
    routines.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 73b1a7e644e255558378ab66de6426a7dfd8a7dc
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 25 01:15:36 2013 -0800

    doc: Work on AltosUI Pyro config docs a bit more.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 82b42935d047d2f7c2f7a63a3efb72a3f1d5594e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 25 00:02:06 2013 -0800

    altosui: Handle units in pyro config.
    
    This lets you edit the pyro configuration using imperial units if
    desired.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8da565bbafa2925aa889cf9249497a709a814b7f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 25 00:01:20 2013 -0800

    doc: Add telemetry enable and APRS interval config docs
    
    Also starts working on the pyro channel config window docs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f743934ebd1a7c7c8b6db0223f0309e590aa15cd
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 24 21:55:20 2013 -0800

    doc: use correct quotes in altusmetrum.xsl
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6f4abc14065aebceaac9313e4dcd4300e19999cf
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 24 21:50:27 2013 -0800

    doc: "rocketry electronics" instead of listing products

commit 31a1c701bfaea97225e12ea0688b934790e3737e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 24 21:28:26 2013 -0800

    Use more 1/4 single characters

commit 96f33e780958adaaa4a9cc127caecaeb3f4c978c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 24 21:25:06 2013 -0800

    Remove duplicate log description. Describe pyro config.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3eaaefe6d746a2f53995a2470c5024f37c87c393
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 24 20:05:52 2013 -0800

    Extend the hardware overview chapter. Edit System Operations
    
    Extend the overview chapter to include tables describing the
    electronic and physical board characteristics of each board.
    
    Finish most of the System Operation stuff, still need to add pyro
    channel configuration
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ceed62fd97972b35f4cf6560625135723cb8610f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 18 13:48:18 2013 -0800

    debian: Build now depends on 'xmlto' for docs
    
    This wraps xsltproc, fop and xmllint for formatting pdf files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 92753d4b8d6b17ebc7a9b65680abd46648726393
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 18 12:43:33 2013 -0800

    doc: Use system fo docbool.xsl instead of network one
    
    Instead of reading the master stylesheet from the network, just use
    the one installed on the system.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 89fc38f2cf143bed1fe8c4a4972267b15c9aa467
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 18 12:42:38 2013 -0800

    doc: Make pdf files depend on local stylesheet
    
    Now that we're using our own, rebuild the docs when it changes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f9bbca59a9034cf7e6df4577e627d7447f3a9d51
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 18 12:42:20 2013 -0800

    doc: Make micropeak.xsl validate
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0a3e27e3a392be4cfe03d200068a7e69bb2f3fdb
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 18 12:38:52 2013 -0800

    Make companion.xsl validate
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d212d782bff977d609a9da1b805de4a2615fb474
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 18 12:37:23 2013 -0800

    doc: Make telemetry.xsl validate
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 87fbe12bdaf10c9ba7ba43608b1e980cdc09d496
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 18 12:29:42 2013 -0800

    doc: Make altos.xsl validate
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 963a61986ea4b48fdca0989479e9c50acb0f1a9d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 18 12:12:54 2013 -0800

    doc: Switch to xorg style to generate index
    
    This style sheet generates a nice PDF index
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9953a5f0440b269dac5c675f120e6a31dde8ec69
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 18 12:06:31 2013 -0800

    doc: Get altusmetrum.xsl to validate
    
    Mostly involved getting the listitem contents into para elements.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 152d978dc4be49b6b764e5e1966bd860c46054ea
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 18 12:05:10 2013 -0800

    doc: Start work on 1.3 doc updates
    
    Add 1.3 release notes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 71705532374f222e51c66e2f1214dd01b3efc8bd
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 15:02:50 2013 +0900

    Bump to version 1.2.9.4

commit 12481415c2e5fb03b003343c9499df711eb14f91
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 16:26:02 2013 +0900

    altos: include ao_eeprom.h in ao_telemetrum.c to define ao_eeprom_init
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bf893a4149b05b97f18f9f487af805adef859d74
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 16:22:49 2013 +0900

    altos: Make sure flight erase log comes after config blog
    
    Oops. When converting from ao_storage to ao_config, I accidentally had
    the flight erase log overwriting the config block.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 92eafd01f2809f39c5bc4058977c790d94a99df1
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 16:08:50 2013 +0900

    altos: Move telemega to using internal eeprom for config
    
    And crank up the default per-flight storage to 1MB
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9c53ad6f8222878a26efecebd3bb1d1fe054a4b6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 16:06:59 2013 +0900

    altos: Move TeleMetrum v2.0 to using internal eeprom for config
    
    This leaves the whole 8MB of flash for flight storage
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 83437b2fe304599e22d0a98b5410808bcb67dc97
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 15:45:32 2013 +0900

    altos: Allow use of internal EEPROM for config storage
    
    This stops exposing eeprom as 'storage' and instead exposes it with a
    separate eeprom API so that it can be used for config storage without
    also using it for flight log storage.
    
    The config code has been changed to allow it to either use storage for
    configuration data or eeprom.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b57f1cabfe5052306cb4c28793bea477f4aeb2d2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 15:18:58 2013 +0900

    altos: Don't hold GPS mutex while waiting in TM v2.0 report
    
    Holding the GPS mutex while waiting for the GPS code to dump data into
    the GPS variables is rather counter-productive.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0951b1ef83d8d741d65811fa23bde43ee843a939
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 15:18:53 2013 +0900

    altos: Build TM v2.0 firmware by default
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3c40272713d93e79bb0989eefe191cd2bfe56a44
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 15:01:13 2013 +0900

    ignore "compile" script

commit 28327883d377896caddbad0f9efded56a227edd1
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 14:59:40 2013 +0900

    Add TeleMini v2.0 turnon script

commit cffbc025532487bbd9b467476be05d0997b5133e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 14:56:47 2013 +0900

    ao-tools: add ao-mega man page, ignore executable

commit 40d3575a9365d77ca507ebee226d51d081e1ecc6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 14:54:57 2013 +0900

    altos: Clean up .gitignore and add a few random files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9d2eb0b00a5a0faefce95bce949be7206b0aad37
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 14:48:21 2013 +0900

    Add ublox checksum generating program

commit d5367f20fa1ae71496fde071953c2cda89654071
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 14:45:51 2013 +0900

    Ignore mac .dmg files

commit 0093d5b368669e0c324f8d9dfcd2f004de85ee5c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 14:37:57 2013 +0900

    altosui, altoslib: Move eeprom download code to altoslib
    
    This should make adding eeprom downloading to altosdroid easier
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 45db3076b257adcf2c9f69ed0927f09d94af7a50
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 14:28:30 2013 +0900

    altosui: Make AltosEepromDownload not swing-dependent
    
    Will move to altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6aa99c160f0695eb25ccc0598e4c36224c89dab4
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 14:06:20 2013 +0900

    altoslib: Start moving eeprom download logic to altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 74d73a2cd0b6a228eb396552e1d16685669349c0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 14:03:42 2013 +0900

    altoslib: Raise ParseException on invalid eeprom format
    
    Make sure the user knows when data are not downloaded successfully
    because the UI doesn't understand the eeprom format.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bdd6244d8b4a55c9aa4fb79b0cb1a0727afbc2ac
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 12 14:01:55 2013 +0900

    altos: Add orientation tracking to ao_flight_test
    
    Shows calculated offset from vertical in ao_flight_test output
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 29b48b63305881471d9b97ef3fb236af03cb79f5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 28 00:36:13 2013 -0700

    altos: Don't hold GPS mutex while waiting for GPS data in report code
    
    Oops. This kinda breaks anyone else waiting for GPS data
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d3628bd2dd3612065792aef6c7ae5bc967b4f081
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 28 00:24:59 2013 -0700

    altos: sample profile address range was too narrow
    
    The range was cranked down at some point to diagnose issues within the
    task scheduler. Unfortunately, that change got merged, which meant
    that general profiling lost information outside of the lower 4kB of code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7c1c6728bce4237ca3a8f6fde01356697a465dfd
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:47:27 2013 -0700

    altos: Make telemega v0.3 compile with new quaternion code
    
    Adds lots more math code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e838bd2847e5684ce93b6f7cbe736ebed681c3c6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:46:54 2013 -0700

    altos: Make telemega v0.1 compile with new quaternion code
    
    Adds the necessary math code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b0ce8ca65d76b9cf55dfff002e13ce2fbb5f7fc
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:45:48 2013 -0700

    altos: Add orientation test when HAS_FLIGHT_DEBUG is set
    
    This just dumps the current orientation to stdout so you can monitor
    it in real time
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5d9e715d570b24ac124c30772b11923bd26ed670
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:44:47 2013 -0700

    altos: Update quaternion tests to check vectors_to_rotation
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 195fd70cdc7f519cd8d4ac323088ed0b6c188280
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:42:58 2013 -0700

    altos: Change ao_mpu6000_gyro arg to float
    
    This lets callers pass more precision than just the original sensor value
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3d3fe7e9b6502432868f4430befac871dfea4869
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:42:26 2013 -0700

    altos: Fixup for 32-bit gyro averages
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4bebade9e9004bad81df1a423687f3e3f356f1c2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:37:55 2013 -0700

    altos: Correct incremental rotation computation
    
    Trying to compute the combined rotation by taking the x/y/z rotations
    as a vector is a good approximation, but not accurate enough for our
    application given the large angles we sometimes see.
    
    Instead, use a correct-but-expensive function with a pile of
    transcendental function calls. The STM32L seems to be fast enough at least...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 06b0c1b768a7d3eae57e66bc9aea25db49f9ea8a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:35:54 2013 -0700

    altos: Compute initial rotation from vertical
    
    This initializes the rotation with the angle from vertical, rather
    than simply recording the off-angle vector. Doing this allows us to
    accurately track the true orientation of the rocket, instead of just
    the offset from the initial non-vertical orientation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cdbe8ce33e4a75e85caf07538ed7e997f462b758
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:33:11 2013 -0700

    altos: Fixup for ao_sample_orient rename
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d96fd33aa8a220d547512eb43c88fc8f5651e39e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:28:50 2013 -0700

    altos: Add sinf to math code
    
    Needed for the quaternion gyro tracking code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fa7d0ba0efdde3ac9fb4df0589f9ead07b7ffff5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:26:28 2013 -0700

    altos: Keep 9 more bits of average pad IMU gyro data
    
    This reduces the offset error by a bit, minimizing gyro drift.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 58f08c4b3cb9049d0c9cb02cde0d8dbdc3d33920
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:23:59 2013 -0700

    altos: Rename ao_orient to ao_sample_orient
    
    Keeps it clear where this name comes from.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c10cb9d31765e6ef0ba737bc484c5aed22a332f9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:11:37 2013 -0700

    altos: Add functions to init quaternions from vector pairs and euler angles
    
    Our low sampling rate means that the "cheap" hack for
    integrating quaternion rotations by using sin(x) ≃ x doesn't work, so
    instead we have to compute the partial rotation the hard way.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3b25860b5b3b69642928dd9c30dec4b4b937a88c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:11:09 2013 -0700

    altos: Add some comments describing quaternion multiplication
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 616977d2955da13383a1869b9ccdb07338172109
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 23:10:13 2013 -0700

    altos: Mark arguments to quaternion functions as const
    
    Lets us pass constants without the compile whinging
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e923e11e185fd42d2a83e18b3d13bd839a72b1aa
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 27 22:44:49 2013 -0700

    altos: IMU accel calibration values need to be signed
    
    The MPU6000 reports signed values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 351d53836e201834a2d89773a08ab7c2dab2b2f4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 25 04:34:16 2013 -0700

    altos: Calibrate IMU accelerometers too
    
    Average the IMU accelerometer values pointing up and down so that we
    have a zero-g offset for all three axes. This can then be used to
    compute which direction the rocket is pointing while sitting on the pad.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 08143a922fe27bc50a19924f46538f9476ab5fd1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 25 04:05:09 2013 -0700

    altos: Add gyro-based orientation tracking
    
    This tracks the angle-from-vertical as an additional input to the pyro
    channels.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ba99630f33440b993c69830856d2a7741ffdef71
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 25 04:03:39 2013 -0700

    altos: Fix GPS test frameworks to handle shared ao_gps_new variable
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b83876718b1a535ee04ca0351ad57814454ec646
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 25 04:00:49 2013 -0700

    altos: Add floating point math functions from newlib
    
    These are all BSD licensed, so we can simply include them directly
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 039446f54ef6968a3f0b37ce32ca6bdcdbe62546
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 14 22:41:43 2013 -0700

    altos: Merge GPS logging into a single function
    
    Create a new global, ao_gps_new, which indicates new GPS position and
    satellite data.
    
    Use ao_gps_new as the new sleep/wakeup address.
    
    Merge the separate gps position/satellite logging tasks into a single
    function which waits for new data and writes out the changed values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5c4b3658a96f1a64ccebf7bddda06b15b4ac4a6f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 14 21:49:39 2013 -0700

    altos: Use #define values for ublox packet types
    
    One case was using hex values instead of the #define equivalents.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit db4cd8b3838d27bebdeb6a085a739a36f7634a91
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 14 20:42:14 2013 -0700

    altoslib,altosui: Be more robust when graphing bogus .telem files
    
    Deal with files containing multiple serial number/flight number values
    by preserving the boost_tick value across state resets.
    
    Check for invalid state when computing actual boost time for the stats
    window.
    
    Ignore invalid speed/accel values when computing averages.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1bd9786802751391cca3b83ac3045029e00e39ee
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 13 22:05:20 2013 -0700

    altos/micropeak: Increase boost detect to 30m
    
    This meant increasing the data buffering as well so that we could
    reliably capture the flight data back to the ground, even for slow
    flights.
    
    And, with the buffer extra large, we work backwards from the current
    buffer location to find the last ground location rather than working
    forwards from the first buffered location. This ensures that we don't
    capture noise before boost and instead capture a nice flight curve instead.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e0e98597887a970f31b33895adb77d35e06b34ff
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Oct 10 14:35:54 2013 -0700

    updated turn-on script for telebt 1.1

commit 8af5dd05fe56768f225251bbc66831494d80048e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 10 10:02:03 2013 -0700

    Another try at skipping broken avr-gcc
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2296175eff9e4286eaf44451690701a46595987e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 10 09:47:52 2013 -0700

    Make sure the AVR compiler can actually link stuff
    
    avr-gcc was broken for a while, causing all linking to fail. Check for
    that and don't try to build avr bits in that case.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa169b80039728e35b0dec3be66a8483d48a3458
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 10 08:04:22 2013 -0700

    altos: Fix stm-bringup demo build to use installed pdclib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d8d3835fedf9b7c4d203f321e72c2b086ebb3b97
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 10 00:00:05 2013 -0700

    altos: Use installed pdclib
    
    Switch over to the installed pdclib everywhere
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f6cbfac7c1965add91ebfc28ca3eac4561b4fb6
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 9 12:04:14 2013 -0700

    Bump version to 1.2.9.3
    
    Rocketober, 2013
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e947bc5e1abcd054a584d69240f91123bad2178e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 9 12:06:30 2013 -0700

    doc: Add easymini outline to distribution
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 18cb5f0b8f0917cbd4ff80f0920e8e5b35c822a1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 9 10:14:16 2013 -0700

    doc: Add EasyMini outline drawing
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c584b5fc1128c7bfd7fb921ddc3a8ec498803b53
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 9 12:37:30 2013 -0700

    altos: Messed up the ifeq syntax a bit so ARM bits weren't getting built
    
    $(x) is not the same as ($x)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 74885d75621dad04984d8309c2618202f4d2b35e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 8 10:03:50 2013 -0700

    altosui: Binaries to package are only in per-product dirs now
    
    Each cc1111 project used to stick the binary in src/, but I got rid of
    that when we ended up with so much stuff in src that it was a mess.
    
    Building the release now requires looking in the appropriate directory
    for each binary to ship.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0e5d1f3ce39495e3702ecd22cb45972e13a5c986
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 8 09:50:21 2013 -0700

    altos: avr-gcc appears to find the loader scripts without help now
    
    At some point, avr-gcc lost its ability to find the loader scripts
    necessary to link programs. That appears to be fixed now, at least on
    my machine.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f7cccbb7a624a2a47b21682f416a135a28319b41
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 8 09:39:29 2013 -0700

    altos: Broken test for M0 compiler in src/Makefile
    
    Was causing it to try to compiler M0 progs only when *no* compiler was found.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 488a527267decece48e6682e0e0c7fc29cbed329
Merge: 6a1e398e f6661cc0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 8 09:26:41 2013 -0700

    Merge remote-tracking branch 'origin/master'
    
    Signed-off-by: Keith Packard <keithp@keithp.com>
    
    Conflicts:
            configure.ac

commit 6a1e398e590121458176758858bb4210f3eb5a55
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 8 09:22:03 2013 -0700

    Add --with parameters to configure for compiler selection
    
    This allows the user to specify which compiler to use for each target
    CPU. Also checks to make sure the arm compiler supports -m0 and -m3
    cpu type flags. The build now actually uses the specified compilers too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 16965716c02eb79b449d9d3b264814d775660134
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 8 09:20:12 2013 -0700

    altos/stm: New GAS version requires flags in APSR assignment
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 258d225df1f4afe1cfdc9c43208bcd75d18cdf2d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 7 22:00:15 2013 -0700

    altos: Rename easymini-v0.1 to easymini-v1.0
    
    The production boards are the same as the modified v0.1 boards
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8f7edcee2db30652ce0b147f282de3396c3786ad
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 7 21:53:53 2013 -0700

    altos/lpc, altos/stm: ARM requires ISB after switching stack pointers
    
    This sticks a barrier in the CPU to prevent using the wrong stack
    register past the change.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4254de22864de2ed7ae5928c6b8bfd9df1c8a3fb
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 7 21:51:30 2013 -0700

    altos: Don't require an LED for ao_flight
    
    EasyMini has no LEDs. Deal with it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 71666409624bf544e8a55fa5ee91d2f8514a03ca
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 7 21:49:55 2013 -0700

    Change differentiation filter constants and limits
    
    Larger limits avoids clipping legit data. Using the same filter time
    for both ascent and descent makes the results look a bit cleaner.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f6661cc015e1a92450dc3eede97d66005f69cc72
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Oct 7 21:56:46 2013 -0600

    new toolchain for STM32L is in /usr/bin, not /opt/cortex/bin

commit 8bd218854e968d2b9407489359be0c4a1aefd2c8
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 19 00:29:25 2013 -0500

    altos: Set TeleMini v2.0 USB ID correctly
    
    Uses 0x0027
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3bf7ed1761e08d0cb43b0ed330226ec38c844591
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 19 00:28:55 2013 -0500

    Add TeleMini v2.0 telemetry support
    
    Includes AltosLib and ao-telem
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit be7f56b86478ef4a23a2af77338c580b9c9e5e3b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 19 00:26:24 2013 -0500

    altoslib: Prefer averaged ground pres for ground alt computation
    
    If ground pressure is recorded (as from an eeprom file), then prefer
    that value to the average of the pre-boost ground pressures when
    computing the ground altitude.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 56b577e55c264c8e3152bb2b2cca02fa8836ac1e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 15 14:29:46 2013 -0700

    altos/telemetrum-v2.0: Use red LED during boot time
    
    If the LED is stuck on, then the board has failed to initialize,
    so use red instead of green as a warning indicator.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1fa3ff9ba6d04303b3de6952675532492c85182f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 15 14:29:09 2013 -0700

    altos/telemini-v2.0: Change initialization order
    
    Make sure busses are running before devices are initialized
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0ff5f0fbc4900ad45bb7910ffc0c5a4e4cc4b857
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 15 14:21:08 2013 -0700

    altos: Stop copying cc1111 binaries to the altos/src dir
    
    Just clutters up that directory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b86c69d56261da54745076b1f5a9c8e8e44787c2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 15 14:13:59 2013 -0700

    altos: Add nanopeak-v0.1
    
    The same as micropeak, just a few different pins
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 690094e2d7d9cfe5eb4edb478fd79e5d133c6b4b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 15 14:11:50 2013 -0700

    altos: Move micropeak sources around
    
    This sticks the micropeak sources in appropriate directories, rather
    than in the micropeak product directory so that they can be shared
    with future micropeak-style products.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2449d123690746d0d0d5d66dfc4d3a05b9f5dc0c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 6 18:24:46 2013 -0700

    altosui: Include device name in Table view
    
    It's part of the telemetry, so we might as well display it
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ae675c66594d366774d8f7f9c78f1236d3810eed
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 6 18:23:06 2013 -0700

    altoslib: TeleMetrum v2 telemetry includes computes Pa/°C, not raw values
    
    Telemetry sends converted pressure/temp values as it doesn't include the
    MS5607 calibration data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e22b34bde421a9df090c9196fd4347468c8176a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 6 16:54:07 2013 -0700

    altoslib: Add receiver serial to telem file names
    
    Makes it easy to record telemetry from multiple sites and compare them later.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0ad95614685a73856bb26a94866909e5fc025434
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 6 16:52:51 2013 -0700

    altosui: Set 'flight' value in AltosEepromMonitor window during download
    
    This feature was lost in the AltosState updates
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b66e0d4c107a0727279d03d1d0e1e40a9eaaa3bc
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 6 16:52:06 2013 -0700

    altosui: Load Telem files in AltosDataChooser too
    
    Telem file loading was stubbed out from AltosState changes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a1512255d20c8a395f30ed4914ddd3295842312b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 6 16:51:44 2013 -0700

    altoslib: Add TeleMini eeprom file to Makefile.am
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1e52d34137626ca756ea01f317ef7c359e464a5b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 6 16:50:46 2013 -0700

    altoslib: Lock access to AltosLink config_data
    
    Prevents multiple callers from trying to get config data at the same
    time and messing up the serial line
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 29bb16397f14ed617ca3fbf48f2a7b726fd627d8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 6 16:49:36 2013 -0700

    altoslib: Set 'valid' for valid TeleMetrum eeprom download
    
    Had separate 'tick_valid' value, which wasn't useful as the supertype
    didn't look there.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a299a5a9a1b89c7ebc00ebd33a789793a6835181
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 6 16:48:52 2013 -0700

    altoslib/altosui: Add TeleMini-v1.0 eeprom support
    
    Got lost in the AltosState transition
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 82b3e3e4889aa5d4d157df1ad82e28068fda9e2a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 23:31:22 2013 -0700

    altosui: Remove debugging printf from InfoTable
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f4650990e8a7cfcf8461e8928dfc426c9a563cc
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 22:57:19 2013 -0700

    altos: Set tick value in new TeleMetrum v2 sensor packets
    
    Was getting left with the old value, which wasn't very useful
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7314bf807544eecf2fd970e93c752ff15688bb42
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 22:56:57 2013 -0700

    ao-tools/ao-telem: Parse new TM v2 packets
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ffdf82445817d1c97699f7de82534420b87d0ea7
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 22:56:11 2013 -0700

    altosui: Fix 'Graph Flight' button in landed dialog
    
    Telemetry file reading was broken (oops!)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0e3edacceb169326b8f5727bb5737d8238e9e40b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 22:55:43 2013 -0700

    altoslib: Remove debug printf from AltosTelemetryMetrumSensor
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 59f0deff6d7bae22fb1b9a0649f3481b3d287d8e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 22:55:09 2013 -0700

    altoslib: Rewrite AltosTelemetryIterable
    
    Sort while reading instead of sorting separately.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit effc62354fc82bb937c6f445a147fc92153a0731
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 22:54:02 2013 -0700

    altoslib: Record time_change in AltosState correctly
    
    time_change is used to make real-time playback work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b9ee58a7af839462680a0bdf1c1721017269986f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 22:53:14 2013 -0700

    altoslib: Update received time when replaying flights
    
    Received time is otherwise recorded as the time when the packets were
    read from the file, which doesn't work in real-time playback
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e17e3691d93636eebbd7381f2df1303dc46ea96c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 22:52:22 2013 -0700

    altoslib: Only open log file when both flight and serial are known
    
    Some telemetry formats include serial and flight in different packets,
    so wait for both before creating the file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a9c495c7ca1e08b7ac76b0dab8b3bd9bd3a7edfc
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 15:03:07 2013 -0700

    altoslib: Use AltosTelemetry.parse to pull telem lines apart
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9f017b4837b106e8c422955a95762f1bf3c78016
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 15:02:47 2013 -0700

    altoslib: Remove more AltosRecord based files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 984515452f9ab56dad112d725469acfa54e2233b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 11:55:24 2013 -0700

    altoslib: remove AltosRecord based eeprom code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3325df306933f080619f13ba1db45de484613d5a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 11:50:41 2013 -0700

    altoslib: Remove AltosRecord-based telemetry code
    
    All of this is now AltosState based
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e9e9c6592c49109288a4e02e780b130fadb97db7
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Sep 3 15:11:33 2013 +1200

    altosdroid: convert rogue files to unix line endings
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 93e66b4911b7285f9095712ef746571153c3f088
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Sep 5 03:11:42 2013 +1200

    altosdroid: more updates for new AltosState
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>
    
    Conflicts:
            altosdroid/src/org/altusmetrum/AltosDroid/AltosVoice.java

commit ee14ad16c242e8bd7a9d33ebf569211d1490b8e1
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Sep 3 15:10:23 2013 +1200

    altosdroid: update to support new state code
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>
    
    Conflicts:
            altosdroid/src/org/altusmetrum/AltosDroid/TabAscent.java
            altosdroid/src/org/altusmetrum/AltosDroid/TabDescent.java
            altosdroid/src/org/altusmetrum/AltosDroid/TabPad.java

commit 5b976a6651f4eb05d30afc08b9e1f27c7e52ae00
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 5 11:33:48 2013 -0700

    altoslib: Finish AltosState changes. Update version number.
    
    Removes all of the AltosRecord bits, changes the monitor idle bits to
    have per-object state updaters.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b984ff81d6b8979574e0248ffe8876634b8e1942
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 3 17:42:42 2013 -0600

    altoslib: Set measured acceleration for measured acceleration
    
    Was setting computed acceleration even for measured data
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 96a651cc1b81b30f4cbde454e34cf80ed8825945
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 3 17:42:00 2013 -0600

    altoslib: Clear sat data when tick changes
    
    Sat data comes in multiple records, but the tick is always the same,
    so use that to tell when the set of sats is new
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4de934c283a839fcbb246b36aa15362f3cf8629c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 3 17:41:12 2013 -0600

    altoslib: Start integrated value at 0 by default
    
    Check for MISSING and start at zero in that case
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cfd8e4ebb3cb63937a71537095adb911d6211817
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 3 17:40:04 2013 -0600

    altoslib: Use first few baro samples for ground pressure on TM
    
    TM didn't record the ground baro reading in the log file, so pull out
    the first few measured baro samples and use those instead.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6ee99c1861ef1898a77aead41d80383e697bd248
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 3 17:38:20 2013 -0600

    altoslib: Make Ascent/descent use different filter values. Always filter.
    
    In derivative code, use a shorter filter during ascent as the baro
    sensor is cleaner then. Then, make sure to always filter the values as
    the very first few baro samples can be noisy, which generates a bad
    starting speed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 70e67925cff98984d49fbc3f60e880c91e6d5079
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 3 17:36:16 2013 -0600

    altoslib: Remove duplicate cmd/tick from TM eeprom file code
    
    Also replace tick setting with super call (which does that)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bc54014cfd4dbca67fa9db66e906ab8212a2eaa2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 3 17:35:23 2013 -0600

    altoslib: Clean up metrum eeprom file reading
    
    Spurious tick setting, fix some local variable names
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d203a2da2641bec21a4257c8a7b03d9a1eba53a5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 3 17:34:41 2013 -0600

    altoslib: Correct mega/metrum eeprom years by adding 2000
    
    The files contain a single byte for year, which is always years since 2000.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 999c3c7866613e658a6c26374499bc516bbc944d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 3 17:32:37 2013 -0600

    altoslib: Correct tick wrapping in eeprom file reading
    
    Just need to signal that at least one record has been read to know
    when to start checking for wrap
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7d3af3d74f70a0933829be91ad3e3be04b1f1023
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 3 17:31:58 2013 -0600

    altoslib: Ensure eeprom file body always exists
    
    Create an empty list of body elements if none were read from the file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 528e2e41112cad8a81bccbb89c3bd202b818a506
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 2 23:10:23 2013 -0600

    altoslib: More AltosState hacking
    
    EasyMini graphs are looking good now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 224a1e01bacb7db0076129906ed58e1c785e1b14
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 2 23:08:34 2013 -0600

    altos: Not all products have pins to control flash loader
    
    TeleGPS has no exposed pins for this function
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 77dc89ed5b7bf8f5b3fa3b6131660f1a98f583ea
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 31 23:11:39 2013 -0500

    altoslib/altosui: Further AltosState transition work
    
    Parses most eeprom and telem records now; altosui updated to show from
    AltosState info.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c781469ff907a32bd43a5d781391b6859b14cd32
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 31 23:10:56 2013 -0500

    altos/telegps: Initialize logging system
    
    Otherwise, very little logging works
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ec1b97d278c7aec3199fb7270f0dcf9484c879f
Merge: 017ed54f 41881535
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 31 08:22:09 2013 -0500

    Merge branch 'master' into new-state

commit 4188153548fca104bb49cda2d502c708fe4b49d7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 31 08:20:48 2013 -0500

    altos/lpc: Add bits for building flash loaders
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 017ed54ff69ef2f7740ea2578e22bf72e88deafb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 31 08:19:28 2013 -0500

    altoslib/altosui: Fixes for state changes
    
    Format for gps alt (now double).
    Use new code for csv file loading.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f07f6d55edf5b97020680b3ce1d9e00bb3df64a6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 31 01:48:02 2013 -0500

    altoslib/altosui: Get legacy telem working with new AltosState structure
    
    Make AltosTelemetry work without AltosRecord
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit de8d9c5630ae46378c50faf97f7d2e97fe139e30
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 29 19:24:51 2013 -0500

    altoslib, altosui: Restructured state management now does TM eeprom files
    
    Removed uses of AltosRecord from AltosState, now just need to rewrite
    the other AltosState changing code to match
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ce1378385ef273010498e81c205f42d8e32c7dc1
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 29 19:22:18 2013 -0500

    altos: Split EasyMini and TeleMini log formats
    
    Same data, but EasyMini uses a 3.0V supply while TeleMini uses 3.3V,
    which changes the intepretation of all of the ADC values
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 04d7d0f829ba953ffeca8ad9887a4b6b2b5d5087
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 27 21:28:07 2013 -0600

    altoslib: Start restructuring AltosState harder
    
    Make per-packet code update state itself rather than having all state
    updates done centrally. Will make adding new packet types easier.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dcc51bb18985c24fa35bce0dd42ea3d847b960bf
Merge: 7c82acc1 a73b0251
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 28 22:52:58 2013 -0600

    Merge remote-tracking branch 'origin/telemini'
    
    Signed-off-by: Keith Packard <keithp@keithp.com>
    
    Conflicts:
            src/core/ao_telemetry.c
            src/core/ao_telemetry.h
    
    Added both Mini and Metrum telemetry defines

commit 7c82acc1c1c5b7b4da7c7ecb3b2fd90140e4c703
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 28 22:12:25 2013 -0600

    altos/stm: Make sure we switch to MSI during timer init
    
    Need to ensure that the CPU is actually using the MSI during timer
    init or all of the other clock changes won't work
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6802b6a65b1fec06c2c873282be792c40b3c8f5e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 28 22:10:58 2013 -0600

    altos/stm: Remove stale timer defines
    
    Stuff from when we weren't using systick
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8e9ed70f50e3f535c2580820771bb1bc3cd055fe
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 28 22:08:51 2013 -0600

    altos/stm: Make sampling profiler work again
    
    Disable the separate stack as that means we can't figure out the PC
    from the timer interrupt. Move ao_idle_loc after the interrupt release
    so that we see idle tasks correctly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2fa87754c5c11bb86e9b1878580c3d4f4b2463f5
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 28 22:08:04 2013 -0600

    altos/stm: New compiler doesn't correctly build flash bits yet
    
    Use /opt/cortex until we make the packaged one work
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4887af0bf90661a3fdca76f1797a704888edab06
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 28 22:04:18 2013 -0600

    altos: Force u-blox to 9600 baud for now
    
    The Max-7 parts just aren't happy switching baud rates, managing only
    about half the time. Someday I'll figure out why, but until then, make
    things work by just leaving the chips at 9600 baud
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 61163980f096d555a843e25cd9fe1aec93bbbbba
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 28 22:02:48 2013 -0600

    altos: Add debugging to ublox GPS driver
    
    The new max 7 parts seem to be unhappy about switching baud rates, so
    I've added a pile of debugging to help out. Some day, I'll figure out
    how to make them work, this code is being left in place to help with that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 44d4c66b21d6b5a0c656fdff6d01ef1d125c1101
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 28 21:54:31 2013 -0600

    altos: Update time for next alarm each time a task is added
    
    Adding a task with a sooner timeout than existing alarm tasks was not
    correctly updating the time to fire the next alarm, causing tasks to
    be delayed by the wrong amount.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 39475c7b8da4f29936f73ffa2bff112f50ee9328
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 28 21:52:29 2013 -0600

    altos: TM v2 places the MMA6555 upside down compared to Tmega
    
    Means we need to invert the data coming out to make it work
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f222e8504bfd01027e3c380c239a2cde2c367d74
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 27 22:00:29 2013 -0600

    altos/telemetrum-v2.0: Use 9600 baud for ublox
    
    Something is up with the Max 7
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit abde595116f6e8b60ec9ce81554c05de11fd456e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 27 21:36:02 2013 -0600

    altos/telemetrum-v2.0: Fix MMA6555 SPI pin assignment
    
    For TM v2.0, it's on PB 3-5, not PE13-15
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 454a41359b94e9bcf8582420abc359bbab9d8176
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 23 11:25:56 2013 -0700

    altos: Rename TeleMetrum v2.0 ADC sense members
    
    Use sense_a and sense_m instead of sense[2]
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6aade70be0a7669d65a8606753d21e4eef5592cd
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 20 14:20:56 2013 -0700

    altos: Add TeleMetrum v2.0 boot loader
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7b0f9b25a56fa8b4aa1c2e9d79c43e6a97cab0c0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 20 11:40:17 2013 -0700

    altos: Initial TeleMetrum v2.0 bits
    
    Adds new telemetry and logging formats along with code for TeleMetrum
    v2.0 design.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a73b02518fcbc9fc0807ed8e141d3a06e8ad8214
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 26 18:46:02 2013 -0700

    altos: Don't use ao_data on cc1111 projects
    
    cc1111 ao_adc.c supplies the needed globals at this point, and linking
    both into the program leads to two different versions of each at
    different addresses (yay SDCC linker!)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d54156caf856ab5570f050692b333a2c5d991265
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 26 18:44:23 2013 -0700

    altos: Make ao_wakeup reentrant
    
    In case we end up invoking it from two places at once.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7e941695aa27e5eaf453ca1128b8d835472410a4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 26 18:43:20 2013 -0700

    altos: Check for MS5607 MISO low before sleeping
    
    If the MISO line goes low before we manage to configure the
    interrupts, we'll miss it entirely unless we check the pin explicitly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b9acb88aa97e8565cdf9342fc59a5aee08e3d34
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 26 17:18:57 2013 -0700

    altos/telemini-v2.0: Add ao_exti.h depend. Init beeper and usb.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7274b77666df9d2cab2854ec1a403d80e5fce73b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 26 17:18:17 2013 -0700

    altos: Use %ld and %lu for MS5607 debug output
    
    The value are 'long', so use the right printf format.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e3955a5b0ac125bd807920c467f959618449fbc
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 26 17:17:47 2013 -0700

    altos/cc1111: Wake up non-ADC sensor code each timer tick
    
    Make sure the MS5607 code gets told to sample every tick
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3b2f83a7d686b5fbc0aaa56d48cb734f353631c8
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 26 17:16:54 2013 -0700

    altos/cc1111: Leave pin interrupts completely disabled at init time
    
    Don't even turn in the PICTL bits as that seems to cause the chip to
    be unhappy.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8ca98dc8c868c47c372d6b666c36e691fa402824
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 26 17:15:55 2013 -0700

    altos: Get telemini to copy current MS5607 state to ring.
    
    The ADC code is responsible for actually inserting the non-ADC data
    into the ring, so do the copy there.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit af9f9cf0c21630562c74fae41773319229bf44d3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 26 16:42:45 2013 -0700

    cc1111: Hacky pin interrupt support. Only useful for TeleMini v2
    
    This code is designed to support the MS5607 MISO interrupt bits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2380a4b9bd69629c78eec0a87ff8681a0524d8d2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 26 16:41:33 2013 -0700

    cc1111: Rework ADC configuration a bit, fix Tm V2 ADC usage
    
    The Tm v2 ADC code was not actually fetching and storing the ADC
    conversion values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aeb1c8a2aa533cb2805f0dbe848e098c8cae2b39
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 26 16:39:47 2013 -0700

    ao-tools: Use TeleDongle for default ao-dbg target
    
    Makes more sense than assuming we're still using the old TI developer board.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 377a44cbfd5c8a659d2fecabb154726717a41900
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 25 22:34:09 2013 -0700

    altos: Build more products by default
    
    We keep creating more hardware...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e72147e215a982ce701099626424b9a856ac9d09
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 25 22:33:30 2013 -0700

    altos: Changes required by cc1111 multi-spi support
    
    These drivers got missed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit af6f4205b00669af40acffc528cc8093b0236cf6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 25 22:29:46 2013 -0700

    Bump version to 1.2.9.2
    
    Set version for Airfest testing
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 312f6194a4bc75473cb0d61a6d58b66fb1f7c068
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 12 00:43:31 2013 -0700

    altos/teletiny-v2.0: Support multiple SPI busses on CC1111
    
    Needed for TeleMini v2.0
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2c2bbfd9a1a4b9de42cf566f21f179ff5ede0419
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 23 16:52:59 2013 -0600

    altos: Add exti and spi to telemini-v2.0
    
    No longer builds like this
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 56911f27376b0fe91a464e369bb8aa1531b3c7dc
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 23 02:17:51 2013 -0600

    altos: Make TeleMini v2.0 fit
    
    Mash lots of storage locations and code around to shrink stuff down to size
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cb844328322fd7d9f4dafb58b322257a70b347e6
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 22 19:20:54 2013 -0600

    altos: Add 64-bit subtraction
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5ccd902d0fd2adc40c72982babb60fac4da6a087
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 22 17:08:55 2013 -0700

    altos: Add 64x64 multiply. Test 64 ops for dest same as either source
    
    The test change is to ensure that the destination may be one of the 64
    bit sources.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f7602ae566a5cbf2d2cbb1d68bad7e2d1177a33a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 22 14:38:19 2013 -0700

    altos: Make 64x16 mul a bit faster
    
    the unsigned 32x32 multiply really does work, just use it
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3114baef45803250a2e5cdd2ee4a9171f2045b0c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 22 14:32:50 2013 -0700

    altos: Add 64-bit add/mul/shift for SDCC
    
    SDCC doeesn't provide a native 64-bit type (sigh), so
    implement the minimal operations necessary for the MS5607 conversion
    routine.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d0b4e926ecececa7499a301b6135189be119512e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 22 13:03:06 2013 -0700

    Initial TeleMini bits
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3ded57394f6dfd7beb9526c031a5c6c6c9926917
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 25 22:22:55 2013 -0700

    altos: Explicitly list the linker script needed for AVR targets.
    
    Something changed in the binutils-avr package which makes the linker
    fail to find the script in the default location.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 203951f6e049ec7e95489849a2bfaa01aa19c0c9
Merge: 4babe731 b363a628
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 25 22:00:27 2013 -0700

    Merge branch 'master' into telegps-v0.3

commit b363a628fc6137c3395a48ef13de7a799ec3e2c3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 22 19:31:15 2013 -0600

    altos: MS5607 pressure computation for low temperatures was wrong
    
    Second correction only applies to temps < -15°C, not 15°C.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa2948803d33dbee6f1eab30370178252df2b56d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 17 17:45:06 2013 +0200

    altos: Wake up on LPC usart ISR only once
    
    Instead of waking up after every character, wait until the FIFO is
    empty to reduce overhead
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 10f88c46df9a266f62452dc25275c79a3bb0653d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 17 17:43:18 2013 +0200

    altos: Set default LPC stack to 512 bytes, Em to 384 bytes
    
    The default for lpc has been raised to 512 bytes, but Em doesn't have
    enough RAM for that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 41428d1e1e44a17eea5fda2b34cabafbdebf1464
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 17 17:35:08 2013 +0200

    altosdroid: Add note to report TeleBT battery level
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e908eb090fc2aaa03b35dc37c3e008b05ad44d80
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 23 11:24:18 2013 -0700

    altos: Use installed arm compiler for LPC
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1aed2eb5c7d477a2f3d4fada22980041aba97cb8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 23 11:22:10 2013 -0700

    altos/lpc: Stop using burst mode for LPC ADC
    
    Burst mode doesn't stop after one round of conversions, so we end up
    getting incorrect values in whatever the last conversion register is.
    
    Just use single conversions and take an interrupt per channel.
    
    Also, slow down the ADC so that our values are more stable -- just
    need to make sure we get the whole conversion sequence done 100 times
    a second.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4babe7310f78338ca36ab9d31ac833eada27485f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 24 23:22:18 2013 -0700

    altos: Allow products to disable RDF entirely
    
    TeleGPS doesn't ever want RDF
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a1ec15f4585e23eb67affbe7d9d97261576b198d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 24 23:21:53 2013 -0700

    altos: Add telegps v0.3 product
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e2f385946132690ca6dc141d7c7830ae0cfe3458
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 20 08:54:44 2013 -0700

    altos: various cc115l driver hacks
    
    Try to recover from TX_FIFO_UNDERFLOW by resetting the chip at idle
    time.
    
    Do a calibration phase during setup.
    
    Program power to ramp up to limit key down noise.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0dd55f66d79f54b450fd8122aecd84d68b810bf4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 17 17:45:06 2013 +0200

    altos: Wake up on LPC usart ISR only once
    
    Instead of waking up after every character, wait until the FIFO is
    empty to reduce overhead
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a0dd93ccf0920260b41c4003955617fd0cd1c8b4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 17 17:43:18 2013 +0200

    altos: Set default LPC stack to 512 bytes, Em to 384 bytes
    
    The default for lpc has been raised to 512 bytes, but Em doesn't have
    enough RAM for that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9a22a300009679a14d66214a5d61e9e6a177279f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 17 17:40:33 2013 +0200

    altos: Allow ublox to run at other baud rates
    
    Provides a configuration option to set the ublox serial baud rate to
    something other than 57600 baud
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e0a0a747624c2df66ca4a73b5a0de014ea204dca
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 17 17:36:35 2013 +0200

    altos: allow projects to override default config values
    
    Override default radio power and APRS interval
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bed68ef5a6999b2e23853958502a689a7dbc15b3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 17 17:35:08 2013 +0200

    altosdroid: Add note to report TeleBT battery level
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f0e126251360f050b7121f167771c057bda8747e
Merge: d95a2c5d 4fe47adc
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 17 17:33:31 2013 +0200

    Merge branch 'master' into telegps-v0.3

commit 4fe47adc7aca54951a50b1c1ae95cb02e46f8d3d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 17 17:30:52 2013 +0200

    altosui: AltosDbm class was missing somehow
    
    This doesn't appear to have been added?
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4ff54bb96f6c00c0c2c7dd32f81403bac331621a
Merge: fa0859a5 01f8df08
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 17 16:03:26 2013 +0200

    Merge remote-tracking branch 'origin/master'

commit fa0859a51576efe231effcb5995f325f9e7e0fcb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 17 16:01:44 2013 +0200

    altos: Make FAT test program link explicitly against libcrypto
    
    For some reason, the MD5_Final symbol isn't resolved when linking only
    against libssl.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 01f8df088759ee7e6bc3900a013e0ea4fafaf984
Merge: e2ebe60a 15063cbb
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 30 00:15:06 2013 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit e2ebe60adf061479a1259a5c68b9cd5f5bacf644
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 30 00:14:41 2013 -0600

    add a note about callsign matching and case sensitivity to the manual

commit d95a2c5d1ddce913dcb1d1ab5dc59f6a588ab599
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 24 14:29:43 2013 -0700

    altos: Remove ao_radio_gpio_bits from normal build
    
    Only needed for the CC115L_TRACE code, and it only builds on STM
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c542a2ed0f222bd0ec84e4a9651585d441dd7ccf
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 24 14:29:01 2013 -0700

    altos/lpc: Rename serial port to 'serial0'
    
    This lets existing serial port users find the right function.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 324ceea43c115f4bed3a5276e57559c6c76b07c1
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 2 17:54:38 2013 -0700

    micropeak: Add Download button to menu bar
    
    It's the most common activity, after all
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 156e60954fae15bc090984f79cd5594f910ca913
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 2 17:53:51 2013 -0700

    altosdroid: Just use GPS location provider to build on 4.2
    
    Attempts to use the network provider cause the app to crash
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e148582217d6e02ac90a68e2bb2532947378d36f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 24 14:28:06 2013 -0700

    altos: Support mega-style logging without ADC
    
    Used for TeleGPS, just exposes the necessary log writing function
    without also including the ADC writing code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 261ec8fc7043e9314469e919aa96acc461f7e5f2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 24 14:26:23 2013 -0700

    altosui: Add EasyMini USB ids
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0dd148e388944d8d265da51d62806c4a00b2c13d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 24 14:23:53 2013 -0700

    altos/lpc: Add boot loader
    
    Support the USB boot loader, add USB pull-up support.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2568b36ae9d38ae1607ec08b84b06e0fe84bd3ba
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 22 00:53:38 2013 -0700

    altos/telefire-v0.1: Use same LED selection as the v0.2 setup
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 58eda6f873f5d6e8e219f769bdf67ce4dbc96fd7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 21 19:40:59 2013 -0700

    altos/lpc: Don't disable all interrupts when disabling one interrupt
    
    The nvic iser and icer registers read value indicates all enabled
    interrupts, icer writes disable the set interrupts. Re-writing icer
    with the current value ends up disabling all interrupts, not exactly
    what we wanted.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9081d881bc48bf7fdce617d300ac02c1a5962239
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 21 19:40:03 2013 -0700

    altos/lpc: Remove ao_usb_task structure
    
    It's not used
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 23f11b188fc6aacd29e7f01a7d8a40853b7655df
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 21 19:39:27 2013 -0700

    altos/lpc: Enable brown-out-detector
    
    Make sure the processor does something sensible when the power disappears.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e9e713bc8ab2080d5c1c38570b112f13c886bd11
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 19 22:45:54 2013 -0700

    altos/telefire: Radio status (no data, weak data, good data) on LEDs
    
    Instead of blinking RX/TX, report the radio status on the telefire
    nodes, just like telelco does. This makes the LEDs on telefire
    *exactly the same* as the LEDs on telelco, which seems like a good idea.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d90c2fa650de4cdb008d5e2559463c08da8db934
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 19 22:44:16 2013 -0700

    altos: PCA9922 LED driver needs Enable driven low to latch values
    
    Driving Enable high means anything going past on the clock and data
    pair is reflected on the LEDs, which isn't terribly useful
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 572faa19b9a496866e3b589d5eb9f37a680206ab
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 19 22:42:58 2013 -0700

    altos/cc1111: Fetch RSSI for TeleFire from correct byte
    
    Reading the status byte doesn't provide very useful RSSI info
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 025beb0fea011d0e3dab59b5d16e7ffae97c613c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 17 14:52:32 2013 -0700

    altos/lpc: Get rid of ADC filter
    
    Now that the source of the Vcc noise has been identified, remove the
    unnecessary ADC filtering.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 10f3d0084ff1c0b3dbf28c5d44727b514caeee20
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 17 14:00:43 2013 -0700

    altosui: Add raw pressure to the AltosUI graph
    
    A nice addition, and useful when diagnosing baro sensor issues
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 298e54856b5f8809b43f24407caa4a6be60822f3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 17 14:00:11 2013 -0700

    altos/lpc: Get the IRC turned off after boot time
    
    This involved carefully moving the USB away from the IRC before
    turning it off.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b3ad488477def157e277e239e81f164b49725925
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 17 13:58:41 2013 -0700

    altos: Disable USB on all flight computers when in flight mode
    
    There was a check to only disable USB on boards with radios, but for
    EasyMini, we want to disable USB too for flight mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2e2f3f2556e714833d8b7d0f65877b07b3dc2cb5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 16 22:32:16 2013 -0700

    altos: Declare m25 write-in-progress as 'ao_port_t'
    
    This lets us use port bits greater than 7 for M25 chip selects
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dcf769198863c1b0f1b05f41d0c052a3dbfef247
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 16 22:31:58 2013 -0700

    altos/lpc: Remove spurious semicolon
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d040adeef9df4cda31dce603db81dc7ce19ec0d1
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 16 22:31:31 2013 -0700

    altos/lpc: Don't disable all of the clocks just yet, USB doesn't work
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1676c7dbc3dcce2962be9ef9a58d37c7b48e3c0f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 16 15:07:54 2013 -0700

    altos/lpc: Turn off more clocks, disable USART for easymini
    
    Try to reduce noise on the power supply.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit be9ee9ed2d041c4ab4e77ee2010fe3c7a1ca6597
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 15 01:20:49 2013 -0700

    altos/lpc: Filter ADC inputs
    
    They're amazingly noisy on EasyMini, so just filter them as the only
    thing we use them for is battery and pyro numbers.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7361371190bf3805b6d0414e61f697aca7c7cff1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 14 04:38:11 2013 -0700

    altos/lpc: Make ADC inputs work
    
    They're still very unstable (bouncing around a lot), but at least they
    seem to report useful stuff now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6827d0a7c59d606ea05387465f1ad4d914babd49
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 11 16:31:20 2013 -0700

    altosui: Use preferred units for main deployment height configuration
    
    Show and accept values in the preferred units; create a separate list
    of preferred values for each set of units
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 15063cbb8f76bffea71575d295ca87b7ceca36d8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 9 23:18:09 2013 -0700

    altos/telelco: Add 30ms delay in search after finding a box
    
    This gives the remote boxes time to get back to listening for messages
    after receiving the packet from the found box.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 988924b51980ad43e39bc4785a625ff25eb16449
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 9 22:09:13 2013 -0700

    altos: Add fast-timer API. Use for quadrature and button drivers
    
    This splits the fast-timer portion out of the debounce helper code and
    shares that with the quadrature driver which now uses it directly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 72b6c699d355fcd41addb9919d846e63105b9db7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 13 22:34:19 2013 -0700

    altos: Add debounce helper. Use in button and quadrature drivers for TeleLCO
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 47b7e1d819e48aaebf6ffda49effbee041ce8750
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 9 12:13:06 2013 -0700

    altos/telefire: Leave siren on all the time. Add siren/strobe debugging.
    
    The 50% duty cycle wasn't actually loud enough outside.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 187f661c2512e4260d0ca64134de8fad199f5944
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 9 10:00:54 2013 -0700

    altos: Add telefire v0.2 support
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8ba2035c78293bc312804722249df76dd4692d71
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 9 09:53:07 2013 -0700

    altos: Add driver for 74hc165 shift register
    
    Just reads one byte from the shift register using the SPI driver and returns it
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3e8b72a9dc5b6c3a0f6132dc2dec04f8c08a1deb
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 26 22:38:56 2013 -0600

    altos: Add pyro operations to regular ignite commands
    
    Instead of having separate commands, just mix the two sets together.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4bc1f3390b9ebbe07af4bc0f0a1c0915193ddf42
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 26 19:41:22 2013 -0600

    Set version to 1.2.9.1
    
    Mark bits to be used on Monday of NSL 2013
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6f131e740477d29b6623fa336da79e53f765a55b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 26 19:48:03 2013 -0600

    altos: Make manual pyro firing command work again
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5ca472333a3587f0e47d54f5edc287494262ef98
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 26 19:47:02 2013 -0600

    altos: write pyro fired to correct log field
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 956f4dff1cc521059434743624b1271fb92b96ae
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 26 19:39:13 2013 -0600

    altos: Light pyro charges simultaneously if so configured
    
    Don't try to be nice to the battery, just let the pyro circuit deal
    with it and try to get all of the specified circuits going at the same
    time if they're configured to do so.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 62547a042d042fadec652c5081f96816a8e66970
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 26 19:03:12 2013 -0600

    altos,altosui: Add pyro state logging for TeleMega
    
    Only in the log file (no obvious space in the telem packets), but at
    least we should be able to check for pyro failures.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 277577fecc71e3c52b823938f396cf42be403ebe
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 26 19:01:58 2013 -0600

    altos: Add pyro code testing to ao_flight_test for TeleMega
    
    This parses the pyro settings and signals when the pyro channels are
    fired in the output.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b1408c13f176f3f021e9face48c4cd33528ee96c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 26 18:58:41 2013 -0600

    ao-tools/ao-mega: Dump 'pyro' state from mega log
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8083aa731c99d09bdd4a8c216bb11f846734d7df
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 26 18:57:58 2013 -0600

    ao-tools: Add ao-mega tool to parse TeleMega eeprom files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 21689ef744ddf43965ccad89dc1133a905011d7f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 26 18:54:02 2013 -0600

    altosui: Missing 'break' after selecting 'mega' format detection
    
    Caused 'mega' logs to be dumped in 'mini' format which didn't work well.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 17e0ccccc8619f96d2cf56bd98d63a7e59f5301d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 26 18:50:10 2013 -0600

    altosui: Stop downloading mega eeprom on empty block
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 013cba5ed1fde72240a68ec648bd14977f5e48a4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 20 21:41:01 2013 -0700

    doc: Update description of graph window to note new tabs (config and map)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e711c708b0d2c8d8c2d72e34a795ad8e9b5ab5de
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 20 21:37:20 2013 -0700

    Create release notes for 1.2.1
    
    Move most of the 1.2 content to the 1.2.1 block
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2344ba81fa51215471099e56518112478bdf2e73
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 21 11:31:05 2013 -0700

    Separate out cortex-m0 compiler tests in configure
    
    The summon arm toolchain doesn't work for cortex-m0 parts, but the
    linaro toolchain does. Look in /usr/bin for the -m0 compiler but
    continue to use /opt/cortex/bin for the -m3 compiler
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 85eb75c3251d8e141d7269fc7ffa6197174ea8c3
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 21 11:30:44 2013 -0700

    altos: Can't use inline functions because SDCC doesn't do that
    
    Sigh.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fd5567882b732f8947b44b217552077c82a3d28e
Merge: fd55c1fe 57b4d82d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 21 11:16:54 2013 -0700

    Merge branch 'lpc'

commit fd55c1fe53adf5c50dcd3ce8296f80871cec73e9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 21 11:16:33 2013 -0700

    Bump master version to 1.2.9 to avoid confusion with 1.2 releases
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1bffe8caf0294e9cfef2dab1c6b5a8d1d87ac3a2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 21 11:08:15 2013 -0700

    altos: Set the path for the STM32L compiler explicitly
    
    This makes sure we use the known toolchain for STM32L builds
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7282fab337dc48d32606276e5f51c057a3bff8cb
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 21 11:04:25 2013 -0700

    altosui: Add TeleBT firmware to release
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 57b4d82dee10b142b820aa306028a288a85214f6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 23:07:54 2013 -0700

    Add Mini logging format. Use in EasyMini
    
    This is a 16-byte record that includes all of the sensor data in each
    sensor record, along with records for flight state changes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 27e9b93f3d35890a49575b2ead1983ce3c2fc213
Merge: a4df2575 d9cbef8c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:40:42 2013 -0700

    Merge branch 'master' into lpc

commit d9cbef8cd364aae54855cc5bc64fb8c2b22057b0
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:35:42 2013 -0700

    altos/telemega: The last two igniters are apogee and main
    
    Not the first two. TeleMega v0.3 has these marked on the silk
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a4df2575b4e782e83cc4e9b1d2e5cd2397a97dd8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:33:35 2013 -0700

    altos/easymini: Initialize beep and ADC. Declare use of igniter bits.
    
    This makes easymini actually work!
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a87a8e8067d7b2d0ff3a3274af9f1e919b5b7793
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:32:34 2013 -0700

    altos/easymini: Use different pins for igniter outputs
    
    Was using the I2C outputs which are open drain, which makes it
    impossible to force them high as needed to driver our igniters.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 16eb0b04df3d1db65bd40717133abe94db0f2a15
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:31:48 2013 -0700

    altos/easymini: MS5607 chip select bits were defined wrong
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 455802b7e853956180799c058e9561876d98d831
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:30:49 2013 -0700

    altos/easymini: Easymini doesn't have USB connect or VBUS wiring
    
    Disable these in ao_pins.h
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 35b120c4154df0351c3a802f86dda224a7643068
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:27:53 2013 -0700

    altos/lpc: Force idle mode if USB gets an address during boot time
    
    This lets EasyMini be booted to idle mode by simply plugging it into USB.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c1f01cd4406063191a51cb68fc4634eabfc60fc2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:27:05 2013 -0700

    altos/lpc: Reset SPI device at startup time
    
    Wasn't doing the reset sequence correctly (write 0, then write 1).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e0ad8b5b5e1b4c7a9ffba9d25f3c32ce708c3ec5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:26:07 2013 -0700

    altos/lpc: Configuring wrong pin for SPI1 MOSI
    
    Was setting configuration for PIO1_21 instead of PIO0_21.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b9bb088a36fd351809f4c378356327ffa663c974
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:25:13 2013 -0700

    altos/lpc: Allow for alternate SPI SCLK0 pin usage
    
    SPI SCLK0 can appear on three different pins; let the application
    configure which one it wants.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 397109139fb9ff27ec7cfb0cafa65d1dbea053bd
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:24:11 2013 -0700

    altos/lpc: Leave SPI enabled all the time
    
    Might be able to turn it off with some care; more experimentation required.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e383d7a28d01729c50f933ceda77ea767d1b8087
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:22:20 2013 -0700

    altos/lpc: Create TX/RX busy macros for SPI driver
    
    Check for both fifo status *and* device busy to make sure the device
    is idle before we touch any registers.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 07d261c08214837b5d5cac4d2be43e51a0c47868
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:19:15 2013 -0700

    altos/lpc: Fix beeper driver
    
    Set prescale limit, not current prescale value (pr instead of pc).
    Flip output 1 on PWM match (set emc toggle for channel 1).
    Don't hold counter in reset (turn off CRST bit).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3fe11b277dd7268eb445d120c8f9537f95148891
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:18:44 2013 -0700

    altos/lpc: Missing parens around ao_gpio_set macro
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a78012782c779de3433b91e6b854b2fdbd7230fd
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:17:48 2013 -0700

    altos/lpc: SPI runs off main clock (48MHz), not sysclk (24MHz)
    
    Update SPI speed definitions to match
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d51c9fda3478f205e4bcdf1b7bf21eb1e0a516bc
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:07:52 2013 -0700

    altos/lpc: Pull ADC data from the correct registers
    
    Was just stepping through register space arbitrarily, which would have
    worked for EasyMini, but might have failed later if the ADC pin usage
    wasn't consecutive.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6343bd774f542a4f915cf1fca2053d03e93bf2c3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:06:03 2013 -0700

    altos/lpc: Don't use loader to place USB endpoint data in USB ram
    
    Instead, just assign a fixed address in registers.ld. This avoids a
    confusing section in the elf file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 35a05041d3ca3e69a146bd3bf8038c0f1cbc1b42
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:04:29 2013 -0700

    altos: Add EXTI_PIN_NOCONFIGURE to exti interface, use for MS5607
    
    This asks the EXTI code to not mess with the pin configuration so that
    the MS5607 driver can get interrupts on the MISO pin while still using
    it for SPI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 098fd43a740ee2a782f82b6b71965b60cdba2d62
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 20:00:24 2013 -0700

    altos/lpc: Make EXTI code work.
    
    Clear rise/fall bits in ISR to avoid re-entering.
    Block interrupts around enable/disable bits.
    Create shared _ao_exti_set_enable function to control mask changes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f794e6c95697b034be315632fddb3a5475c43b5b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 19:57:23 2013 -0700

    altos: Use ao_spi_get/put_bit in MS5607 driver
    
    Replace open-coded ao_spi_get/put and ao_gpio_set sequences
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b7ab41e4dc92dcd382f4c05459088d8df8b70075
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 19 19:51:32 2013 -0700

    altos/attiny: Fix ao_spi_get_bit/ao_spi_put_bit macros
    
    These were never written, so just use ao_spi_get/put_mask.
    
    A precursor to changing how the MS5607 drives the SPI bus
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 49f9cdda5f1812687b82915acc78a9d9136255bf
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:54:30 2013 -0700

    altos: ignore built files in easymini-v0.1
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c57e1630002c921739ff22395497d93027d381b6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:53:32 2013 -0700

    altos: Build easymini-v0.1
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 278300b2bc98b92cc71ec016ab0fc93eb3696435
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:52:59 2013 -0700

    altos: Initialize SPI for easymini
    
    Doesn't work very well without this
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cbe5eee76faf386eefe69539935ab318944ac452
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:52:14 2013 -0700

    altos/lpc: Stick USB control structure in USB memory
    
    No reason to have that in regular ram, and it means we've got space
    for large enough stacks now
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3587bfd248e115bb1abb28f71b263575b4e8e367
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:22:10 2013 -0700

    altos: Add easymini-v0.1 product
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c4991db4809ae547fdb245e3cb42517fa7524de5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:21:43 2013 -0700

    altos/lpc: Use separate interrupt stack
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5311720525ac73e9d42067b68adf25fc2e054af5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:21:20 2013 -0700

    altos/lpc: Try a smaller stack.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f5218e2544dcb659aec6c3adee50d61cab1bba3a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:19:41 2013 -0700

    altos/lpc: Add pin interrupt driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c0d0147251bfcebd753196b74c22c00c3116fd22
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:18:55 2013 -0700

    altos/lpc: Add beep driver
    
    Hardwired to our current beeper pin
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 166977c65bddb50d600a3c1e1f278c425b673697
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:18:19 2013 -0700

    altos/lpc: Add ADC driver
    
    Uses burst mode to get the whole set of values in one interrupt
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ed25a46571d988ccf37ae915dff97b5f00bcf9cf
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:16:41 2013 -0700

    altos/lpc: add gpio int, spi, adc and ct32b defines to lpc.h
    
    Lots more devices
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2b0b7bf1462341718e582223a880f2dfcd79e2ad
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:15:58 2013 -0700

    altos/lpc: Clean up broken IOCONF defines
    
    Missing comment closes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 08887678f900adae81dcb1a7f5353d98d127aafd
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:14:57 2013 -0700

    altos/lpc: Fix ao_enable_input, add ao_enable_analog
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 15ca452b60271e3a0f7327216df04eef5b985240
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:14:16 2013 -0700

    altos: LPC interrupt priorities are just 0-3
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 935a7ff38010ec4ad19f315f8a2a1557c01ae554
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:13:17 2013 -0700

    altos: Add LPC spi driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d9b42470e8889b44bb08858a610285410a200ab9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:02:38 2013 -0700

    altos: Use ao_port_t in m25 driver
    
    This uses ao_port_t for all of the chip select masks
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 28890aa5893898cd0bb0ac033e491eb307a84ca5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 03:02:01 2013 -0700

    altos: Use ao_data_pres macro in ao_log_tiny
    
    Now it works on easymini too
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 82afe3a3b737c43dbeaad41ea5af1841357297a6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 02:54:55 2013 -0700

    altos: Check for packet mode before trying to disable it in flight code
    
    This is only relevant for telemini
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 52063c2679752033135fff928c7686e368d2a825
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 02:54:30 2013 -0700

    altos: ao_data_get is in ao_data.c now, not ao_adc.c
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e4385d29fc1b233b3ad56d4af68a175e760c1751
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 02:53:32 2013 -0700

    altos: Allow architecture to define the type of port registers
    
    LPC11U14 has 32-bit ports, STM32 has 16 bit ports.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca4f3161258356c06fe1270f7ccdf0d6939e2d34
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 18 02:52:49 2013 -0700

    altos: Move ao_data.c from stm to core
    
    This should be used on every processor
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac089d4fb930b7dbc4161259fd9bddba94395ebc
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 17 03:36:47 2013 -0700

    altos/lpc: Get USB working
    
    The lpc demo now has a USB command line.
    Also allocates system stack so we know when ram is tight at build time
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 185e6d15bcda229949a984910d7394203d301db9
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 16 18:58:24 2013 -0700

    altos: Allow target-specific USB endpoint specifications
    
    The LPC has only a small number of endpoints, and those are not
    configurable. Let the LPC USB driver pick the IN and OUT endpoints by itself.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6c35e21a86ab32bc91eb10a60c071b702fc0f963
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 7 19:27:17 2013 -0700

    altos: Finish off LPC USB register definitions
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 918342016705303baa1630c62c290aaf2dcc2801
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 25 20:38:32 2013 -0700

    altos/lpc: Start adding USB register defines
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 91d201abcbe9373360919406427b7e4fb9e1b42e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 17:10:24 2013 -0500

    altos/lpc: Start adding USB register definitions
    
    Just the bare struct, no defines yet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9bf67798b134ad796c2f4bc9240ee450722148ec
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 20 00:40:38 2013 -0500

    altos/lpc: Take advantage of USART TX fifo
    
    The USART has a 16-byte TX fifo; keep rough track of how full it is to
    avoid waiting for an interrupt after every TX byte.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9e8f6ba8b779cd9635f82d6da5f113715c3ee4c7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 20 00:20:55 2013 -0500

    altos/lpc: Get USART running
    
    Adds a simple demo thread that spews data to the serial port
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f9d0eb3f3154f98abb0c8952d7171f3e7d3de9b2
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 18 16:15:52 2013 -0500

    altos/lpc: Get 100Hz timer running
    
    Use systick, which is built into the ARM core
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 04b243e6ef212f54ed284cfbde6d5abb637bf60e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 18 15:55:26 2013 -0500

    lpcxpresso: Add ao_demo.c
    
    Kinda necessary for the demo to build
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bcc65597d3d20f1d58df784100af766cee5f0f20
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 18 15:54:13 2013 -0500

    lpc: Initial lpcxpresso bits
    
    This gets the LPC11U14 clock set to the PLL and blinks the LED.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6735a391c2a1e3be01ac9e68b44ec0974592c11c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 17 03:34:50 2013 -0700

    libaltos: use PurgeComm in Windows altos_close to abort in-progress ops
    
    Instead of manually signalling the related events, use PurgeComm which
    can then abort the operations itself. Also make sure all of the
    relevant handles are set to INVALID before closing them to avoid race conditions.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bd8d061d0f63158b5b03814d77cb76fdf5a0abad
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 17 03:27:20 2013 -0700

    libaltos: Build the linux library targets when doing a 'fat' build
    
    These are necessary for the fat release, so make sure they're built then.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8a19805a6b079450b5afd5fa2334cede8495ae4a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 17 03:21:08 2013 -0700

    altos/cc1111: Hack on USB driver to make Windows happy
    
    The Windows modem driver is quite chatty at startup time, getting and
    setting the comm parameters each time the device is opened. Sometimes,
    when setting the parameters, the cc1111 would STALL EP0.
    
    Most of the time, Windows would happily pass this as an error back to
    AltosUI which would then re-try the open (and succeed, most of the
    time).
    
    Sometimes, Windows would stall for 30 seconds before passing the error
    back. This made the whole UI freeze, and I suspect most people assumed
    our app had died.
    
    A bit of analysis with the beagle USB sniffer and I discovered the
    STALL settings, but there wasn't any correlation between the data on
    the wire and when the STALL would be generated.
    
    So, I found a couple of other cc1111 USB stacks on the net and just
    looked to see how our driver differed. There wasn't anything clearly
    related, but there were a list of small differences:
    
     1) Other drivers didn't bother waiting for the hardware to
        ack the USBADDR setting; doing it this way means we can set
        the address *before* acking the setup packet. It'll get
        set eventually, at which point the device will start responding to
        packets again.
    
        Easy to fix, and saves a bit of code space too.
    
     2) The other drivers set the STALL bit for setup packets which aren't
        understood. This shouldn't have any effect on 'good' systems as
        those shouldn't ever be generating bogus setup packets anyways.
    
        The driver already handled the STALL state in the interrupt
        handler, the only requirement was to figure out when to explicitly
        set the STALL bit.
    
        That required moving the state updating code from the start of the
        ep0 setup handling to the end, after the setup packet had been
        examined and data queued in or out as appropriate.
    
     3) Our driver explicitly queued an IN packet for any setup request
        that wasn't waiting for an OUT pack. This appears to tie in with
        the USBADDR change above as before I made that change, this change
        caused the driver to fail to respond to most setup packets.
    
        This was simple once the above change was made, just move the
        generation of the IN packet inside the code that switched to the
        IN state.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4ef0136c27e8f47a1eb38f9cbcd2c61288732d78
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 15 15:32:59 2013 -0700

    altos: Generate unmodulated carrier for CC1120 test mode
    
    This sets the deviation to 0, enables the preamble and turns on the
    transmitter. It will sit there happily sending a bare carrier forever
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1931e028bebc3cd8df9392e30eb0e888d0799768
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 14 22:29:06 2013 -0700

    altos: Move MS5607 info from 'v' to 'c s'
    
    Makes more sense there.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 69b9f613ad36b8039f223ed30f8c75913916d82c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 14 22:19:07 2013 -0700

    altos: Remove some MMA655x debugging printfs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0571531066918fdefe9447f3b4192d0c6c477afa
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 14 10:48:24 2013 -0700

    altos: Grab SPI mutex until MPU6000 I2C mode is disabled
    
    If other drivers use the SPI bus, the MPU6000 gets confused as its
    sitting on the bus looking for I2C messages. Just grab the mutex
    before the OS is running and hold onto it until the MPU6000 has been initialized.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9beacd77b3e8106e036e50a67312dfee414fbc51
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 14 09:01:49 2013 -0700

    altos: Initialize MPU6000 CS pin for SPI mode
    
    Without this, we can't talk to the chip very well
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6d553230903ddd0ec522c07be0df975b38ef23d3
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 14 09:56:16 2013 -0700

    altos: Fix telemega v0.3 igniter order (drogue/main moved). Label ADC dump
    
    telemega moves the igniters around so that E/F are now drogue/main.
    Add custom labels for ADC values to make parsing possible
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a4e4eec827d61a05fda52ddb68b55f17b6028d5e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 14 09:25:08 2013 -0700

    altos: gps serial routines are called ao_gps_*, not ao_ublox_*
    
    This caused the u-blox driver to use serial port 1 instead of the
    project-specified serial port.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 461215eea72ff9d64748304e76b08da37ee3dfe9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 14 09:21:54 2013 -0700

    altos: Give u-blox 3 seconds after boot before we bug it
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5e9193f6375be27e5f7a0321fd34b6acfe81247f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 14 09:12:29 2013 -0700

    altos: Add 'g' command to ublox GPS code.
    
    Take the gps_dump function from ao_gps_skytraq.c and move it to a new
    file so it can be shared with the u-blox driver. That affects every
    skytraq and u-blox user as they need to include the new file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cdad289a0803babecd30cbc0a95be99c5caadeb5
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 15 01:24:56 2013 -0700

    altos: Add flash-loader for telescience-v0.2
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 116d8570766fbd3ef529111171935637a2e466af
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 14 08:51:22 2013 -0700

    altos: Set u-blox navigation settings
    
    Airborne mode, < 4g (as good as it gets)
    Only use 3D fixes (2D isn't very useful)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fb0fb6f4beab484e7fe55b39d18c1f19778f1211
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 14 08:35:24 2013 -0700

    altos: Use symbolic names for ublox packet id
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1ccfd2d2e4b84e72e5502cb72a7da6372b5e2b47
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 14 01:06:20 2013 -0700

    altosui: Generate useful KML files from TeleGPS logs
    
    Use GPS altitude when baro altitude is not present.
    Don't require flight number.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bdea4c88318a41ade3d3b6b2cbfc097ae3e4f3be
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 14 00:38:34 2013 -0700

    altosui: Use GPS alt + baro height for KML altitude
    
    GPS altitude is generally more absolutely correct than baro altitude,
    so use that as the nominal pad altitude when generating a KML
    file. This results in a KML file that has the flight trace start and
    end closer to the ground, which is always nice.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 43f94e923a6a87520edcbb8fb4829e6ddf708908
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 14 00:24:53 2013 -0700

    altoslib: Use sequence numbers to track GPS updates to AltosRecord
    
    State objects now record what GPS sequence ID they have to know when
    the GPS data has been updated. Record objects bump the GPS sequence
    each time new GPS data is recorded. This way, record objects aren't
    modified as they're iterated over to generate the list of state
    objects which makes it possible to iterate multiple times and get the
    same resulting set of states.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c88aa32b979f379e3cf316dcb651e264c32a5283
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 13 22:59:26 2013 -0700

    altos/test: ao_gps_test_ublox uses ao_gps_blox.h
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 61f5183fb6aff63c1133011b5625814ee56e96da
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 13 22:58:18 2013 -0700

    altos: Struct used for u-blox testing had lat/lon swapped
    
    The structs in ao_gps_ublox.h are used only by the test framework, but
    it's useful to have that look right anyways.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5a730dd7a78b5ae428bcfe809257dabedc4338f5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 13 22:33:12 2013 -0700

    altos: Switch TeleMega v0.3 to u-blox
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d2f0dcc73df612d10ed12d364fe661ccd831f037
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 13 22:32:25 2013 -0700

    altos: Provide a define for the number of sat infos in a telem packet
    
    12 fit, but it's best to use a symbolic constant
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 50457f9983ec0a432f1050464382749436e3da94
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 13 22:31:31 2013 -0700

    altos: Add U-Blox GPS driver
    
    Uses binary mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 125ff0b7c74af4db98a81439ee9f1b92fe8b8833
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 13 22:29:22 2013 -0700

    altos: Don't bother fixing telelco-v0.1, just disable it
    
    Lots of stuff to do to make this old project build; just disable it
    instead of fixing
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 672edb20434248038ef5fbb87f2c0984bd5ad513
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 13 22:28:27 2013 -0700

    altosuilib: Mistake in the MegaDongle listing -- was set to TeleMega
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 80a6b0ea5c36c307a8edc79ad10ef7a8ff3d480e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 13 22:27:00 2013 -0700

    altoslib: Correct hexfile address ranges
    
    Stop trying to use sentinal values for addresses and just keep a
    boolean tracking whether they've been initialized. Avoids precision
    errors in the variables.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9bd717e71d69338b1af521b37e8bd975e503398e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 10 19:21:18 2013 -0700

    altosui: Wait for valid callsign/flight when graphing
    
    Wait for the data record to indicate that the flight value is valid
    before setting the graph callsign/flight/serial data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 106d212ff5920c39d95751ef6249dc141970412c
Merge: ecb12857 09d5d6f5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 9 21:06:52 2013 -0700

    Merge branch 'master-fixes' into stm-flash-fixes

commit 09d5d6f546ccef2bfd4941e590f047485bb73d76
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 9 21:06:23 2013 -0700

    micropeak: Use new 'last logdir' preference for MicroPeak save/load dialogs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 95a3a089f9c97684918937eecd94dcac77c47696
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 9 21:04:52 2013 -0700

    Information from configure about android build was misprinted
    
    A typo in the script caused it to print either 'yes' or ''
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 17eada6e586731defa9fd75316670c2b2b1601ee
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 9 21:04:11 2013 -0700

    altoslib: Add non-persistent 'last logdir' preference
    
    This is used to record the last directory for reading or writing log
    files so that the UI can pop back to the same place next time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 271e8adbc9549c7b3b4d0ec14e4edb1a6ab715d1
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 9 21:03:38 2013 -0700

    Add altosdroid notebook entry for imperial units
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ecb128579e7576fc27c8ca93708f316b9ac91630
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:06:24 2013 -0700

    altos: Wait after configuring boot pin before testing it
    
    Clearly the pin isn't quite ready just after it's been configured, so
    hang around for a while (100 nops) to let things setting down before
    testing the value of the pin. Makes booting a lot more reliable.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4a90eec4b8ee4a35711aa74c13b3f30d12c0fe08
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 27 15:33:04 2013 -0700

    altos/stm: Create per-product flash loaders
    
    Split the flash loader prototype into pieces so that each product can
    build a custom flash loader with very little code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b131c5ac59bbd339a724892586023a43f97c7f90
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 27 00:37:15 2013 -0700

    altos: Add ao_boot_chain to telemega v0.3
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1695f6af46ea647119d651fc09c97d604d08c736
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 27 00:26:11 2013 -0700

    ao-tools/ao-stmload: Add --verbose flag
    
    This dumps out the serial communication so you can see where things go wrong.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f6d6df03826083a244715b88a30ad681f17b4510
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 27 00:25:36 2013 -0700

    altos: Remove stdio from stm-flash
    
    This saves enough memory to fit in under 4kB
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a2e0676f476b0e2bdd5102315ebd5904b57f384a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 27 00:24:08 2013 -0700

    altos: Get rodata into flash, make sure sections are aligned
    
    .rodata* needs to be in flash; otherwise strings get left in ram.
    Failing to align sections makes the initialized data get dumped into
    the wrong place in memory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2e092b383d55bcf9e2a230ccfe85052adb18b254
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 27 00:23:14 2013 -0700

    altos: Make stm-bringup build again
    
    stm requires AO_BOOT_LOADER_BASE now
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0b1797312b34ba2b8121f82605f8d2c419167737
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 27 00:20:47 2013 -0700

    altos: Run self loader when application sets boot addr to 0
    
    This causes the flash loader startup code to fall into the loader when
    the application sets the boot address to zero.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e2412e867138635d79ea0fa8d43efc0a6aa19784
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 27 00:19:13 2013 -0700

    altos: Allow STM usb driver to be used without stdio
    
    This lets the self flashing loader be linked without any of the stdio
    code, which saves a bunch of memory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit afad5ae893a48785f3b50ff4125dc78648343a2d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 20:08:35 2013 -0600

    altos/stm-flash: Check target flash address against AO_BOOT_APPLICATION_BASE
    
    Allows that value to change
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9ae987073f90402821120dbe962fceb4fc9f5435
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 20:59:12 2013 -0500

    ao-tools/ao-stmload: application base moved to 0x08001000
    
    And, use a symbolic name so it can be easily moved in the future
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9029722708b54826aa9374555470cb40922c5da5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 20:56:00 2013 -0500

    ao-tools: reboot to loader now uses 'X' instead of 'L'
    
    'L' is used by lots of other commands; switch to 'X' which is free.
    
    Sigh. Someday we'll have words for commands instead of just letters
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dfc268e0021e1cd3045f73339a749d292a6a6300
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 20:35:57 2013 -0500

    altos: Use flash loader on all STM products
    
    Includes the boot chain stuff
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8ded61d59888c79ef1f94e664b5fb770841a801a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 20:33:33 2013 -0500

    altos/stm: Provide another 4kB of flash space for apps
    
    With the flash loader now < 4kB, we can use the spare 4kB for applications
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6cd015b8b6b02bd8e0ce28f248426ae75c242b53
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 20:32:18 2013 -0500

    altos/stm: Shrink stm flash loader to < 4kB
    
    Saves 4kB of flash space for applications.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02681adbc5919bd3713788da352aa36ace619ef4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 20:30:31 2013 -0500

    altos/stm: Allow core timer to be excluded from build
    
    This removes all of the support for the base 100Hz timer from the
    system, saving space when not needed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a453e2245996854e722346789f972fd088e33ba8
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 20:29:56 2013 -0500

    altos/stm: Don't define task macros when not tasking
    
    The necessary data structures aren't defined in this case.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8d0f4bc23eae4f1e085bfb853c995f1fb6b8b594
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 20:27:52 2013 -0500

    altos: Eliminate stdio looping when system has a single stdio source
    
    No need to loop if there's only one
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6f3bbb11880f45284f1f094990ffa32a66bf4560
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 20:24:48 2013 -0500

    altos: Move ao_notask to core
    
    The STM flash loader wants to be taskless too, share this very simple
    implementation of sleep/wakeup.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 21356aec543dd85426a52469426351ce006a17dd
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 16:16:55 2013 -0700

    ao-tools/ao-stmload: Remove IRC dregs in source code
    
    oops.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9df4e874b2785aec4aecce2f767543ee9f638b4f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 16:15:21 2013 -0700

    altosui/altoslib: Move more flashing code from altosui to altoslib
    
    Required a bit of refactoring to eliminate swing types from the
    flashing code, but nothing major.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 09e0c304b420a12fa1616005db946523c6e5bef1
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 16:01:08 2013 -0700

    altosui & altoslib: Move a pile of debug/programming bits to altoslib
    
    Prepare to create external Java utilities to flash devices
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9acd488c5f945511f813d84c3c6f69846d4601e8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 15:35:15 2013 -0700

    altosui: Support 32-bit ihx files
    
    This just borrows the same 32-bit ihx parsing changes from ao-tools.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c9ba2d17b979410acfa41f9954674757f7f321fc
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 15:33:31 2013 -0700

    ao-tools/ao-stmload: Fix ELF, add IHX, add self-flashing
    
    This splits loading into ELF and IHX paths, and splits flashing into
    stlink and self-flashing paths.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1f30b1f14dbab6e6ea94177e459c80732e31e433
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 15:30:24 2013 -0700

    ao-tools/lib: Add loading support for 32-bit ihx files
    
    These place the upper 16 bits of the address in a special record. That
    requires handling records in file order, so don't sort them in address
    order anymore, instead find the bounds of the loaded data by scanning
    them all.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7d98fc5d3f106f3063608a2e5c69d9359061437a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 15:27:42 2013 -0700

    altos/stm: Add comments to the .ld files explaining how the romconfig stuff works
    
    Would be nice to be able to explicitly define addresses for the
    romconfig variables, but I can't figure out how to make that
    work. Instead, just explicitly load the files in teh right order to
    make things land in the right places.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ab1cbc0f51ddf897a3a7a768862d9dfe26a6c14d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 15:26:26 2013 -0700

    altos/stm: Add .elf to .ihx rule
    
    Uses objcopy -O ihex to extract the initialized bits from an elf file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9362d400d06aa3badfc826d8edbd7c55406b4f7d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 15:24:42 2013 -0700

    altos: Switch ao_stm_flash to read/write binary blocks
    
    Change from development testing code to something that actually reads
    and writes data from the USB link.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a3f668e71751608ea2e38519003446bc6ceb348f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 15:21:58 2013 -0700

    altos: Create ihx version of stm-demo
    
    Both ao-stmload and the eventual java loader will support ihx files.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5db4d5e5b1272b161102e889e65b9c7bc7928352
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 23 02:23:03 2013 -0700

    altos: Add erase command to stm-flash app. Validate addresses.
    
    This also leaves the code writing fixed values and printing read data
    in ascii instead of binary. Useful for debugging, will want changing
    for the product.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac6b4fca0970faa0a537a813242585693b839469
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 23 02:21:27 2013 -0700

    altos: Fix STM flash programming
    
    Wait for flash to go non-busy after writing or erasing a page and
    before jumping back out of the RAM code.
    
    Export a separate 'erase' operation for testing.
    
    Re-lock flash after every operation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 35ef1f17e3efaa6d586ab7bb301f8133d52023b6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 23 02:18:55 2013 -0700

    altos: Validate boot chain start address
    
    If the first block of boot memory has been smashed, and the start
    address is bogus, don't bother trying to jump to the
    application. This makes the system more resiliant to flash failures,
    presuming the loader erases the first block, programs the other blocks
    and then finally comes back to program the first block.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit db7f17980c303e442f88c8a4168351dbc2c0b1a0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 23 02:17:04 2013 -0700

    altos: Mark .boot section as (NOLOAD)
    
    For some reason, the silly linker marks things in section .boot as
    data rather than bss, so they'd end up initialized by default. Force
    them to be NOLOAD so they preserve values across reboot so that boot
    chaining works properly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit efc0898d824ebd0abe0b088ed9a8b40c34623ab7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 23 02:15:35 2013 -0700

    altos: Fix up stm-flash output file name. Use discovery LED pins
    
    Include the AltOS version in the file name, just like any other AltOS
    program.
    
    Switch the LEDs to the discovery board as we're using
    that. Eventually, we'll stop using LEDs entirely.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4bc55ee8fabc9f4c997c2a515d74baada590c93e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 11 18:14:28 2013 -0700

    altos: Add actual flashing functions to stm-flash app
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b1a43ce313c85cb7f8f16f7f0647d9d4320ba692
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 11 13:21:04 2013 -0700

    altos: Clean up boot loader support
    
    Split out code into separate files.
    Add support for getting back to boot loader from application.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 56a7cbbf51f5c9ebbfe17d1cc30ed807572af3cc
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 11 00:01:52 2013 -0700

    altos: Add program flash function
    
    And get it loaded to RAM so it can execute correctly.
    
    Nothing calls it yet...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c9c35b100c3fcae661501d2bf89eedc7fceb2e1c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 10 21:02:59 2013 -0700

    altos: Make stm-flash capable of switching to application
    
    This shrinks the base OS load down a bit as well so that stm-flash
    fits comfortably in the first 8kB of memory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a6887032b4d217bca5236ea15389218f10d69545
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 24 00:18:14 2013 -0800

    Add STM self-flashing loader
    
    This allows the real application to get loaded at 0x2000 and jumps to
    that at startup time if the boot pin is set appropriately
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 887209b61ac3012d0fd2206cf1016c44f59cb432
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 7 19:29:06 2013 -0700

    altos: Sanity check barometer before going to pad mode
    
    Make sure the barometer is reporting some sensible value before
    letting TM try to fly the rocket.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 802ca114ca064a9dd557a82e992653b145f8e660
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 7 19:28:07 2013 -0700

    altos: Elide M25 debug output from storage info command
    
    This is just chip-specific info that no UI actually needs. It takes a
    bunch of ROM to write it though, making TeleMetrum not have much space left.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3876b5bfad383119339aea51e2cf301012a1f991
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 6 16:08:52 2013 -0700

    altos: Set APRS deviation to 3kHz
    
    I finally found a bunch of references to APRS on the net and they all
    appear to assume a 3kHz deviation. Let's see if this works better with
    Yaesu radios.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4458b5a3cd3f88188c820cd0763f4e1d99fff311
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 3 01:07:06 2013 -0700

    altos/test: Fix warning in ao_aprs_test
    
    Was not forward-declaring ao_radio_send_aprs, causing a warning
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 091582c446319fe4a79154153ece5372b2faec83
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 1 08:58:17 2013 -0700

    altos: Use SYSTICK on STM32L
    
    It's probably more power efficient than using one of the timers, and
    it's certainly easier to configure.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b7b0ddfddee3f8e21f21d67cd9f522fa50777265
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 1 08:56:57 2013 -0700

    altos: Mark GPS telemetry packets with GPS time stamp
    
    This provides a reasonable accurate indication of the system time when
    the GPS location data was received, and also makes sure GPS packets
    get some timestamp when no other telemetry is being transmitted.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a6a5d0afa646564a9277ad3bd80c4225247a27b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 30 20:25:20 2013 -0700

    altoslib: Update GPS state even if new state is unlocked
    
    Otherwise, we can't see fine GPS details while GPS is unlocked, and
    that's annoying
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1e9b405e939136d25d937334d1f14f06c7d6127b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 30 19:04:26 2013 -0700

    altos: Use separate exception stack on STM32L
    
    This reserves 512 bytes of memory for a stack, then makes sure that
    exceptions continue to use that stack while processes use the per-task
    stack.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac72d1c298fc553808a8e04a65482d4990f177d7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 30 18:57:53 2013 -0700

    altos: Reduce stack usage of FAT driver and logger
    
    Move some large stack arrays to static storage.
    Also eliminates some printf error messages which don't seem that
    useful except for debugging.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit df70e3e87874d80516c6d43cfe745d511d54f206
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 30 00:12:44 2013 -0700

    altos: Open up the DVGA gain to use all of the available settings
    
    We usually work in RF quiet areas; let the AGC hardware try all of the
    available gain settings.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e18910659e56ea52ee493d8cc4bce4b219d5bb75
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 30 00:06:08 2013 -0700

    altos: Stop using telelco v0.2 top LEDS for radio TX/RX
    
    The top LEDs are now used for signal strength; a red LED indicates
    failed communcations, so we don't need to blink stuff and annoy the user.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8744fd5d541955b0920c7d8e2696039cdcfdf1dc
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 30 00:05:33 2013 -0700

    altos: Make cc1120 driver return false on recv timeout
    
    Was returning an uninitialized value, which was often not zero
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4fe42801f42f2fc2688555f4585dbebc28bb2d61
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 29 23:53:43 2013 -0700

    altos: Reconfigure CC1120 receiver to match our usage
    
    Open up the AGC to the full range.
    Set the AGC ref based on our receive BW (100kHz).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eb0e1720be2aa4fb6729ceada09c18947bfee2bc
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 29 23:20:25 2013 -0700

    altos: Compute "real" RSSI value in radio code as needed
    
    Instead of dragging around the weird CC1111 RSSI values, just compute
    a dBm value in a signed 8-bit integer, ao_radio_rssi. Use that
    everywhere we need RSSI internally. We leave the weird CC1111 value in
    the packet reply as that's what the host expects.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 949700f276b80b4eb28f15b5559714f430f227f1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 29 20:24:16 2013 -0700

    altosdroid: Add Notebook entry for reloading telem data option
    
    This lets the user recover the rocket flight data after stopping the
    application but before recovering the rocket.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c9f2e6471c11a1f9feb183e05f24c53968098bdb
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:30:29 2013 -0700

    altos: More .gitignore bits
    
    stm-demo
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ab99d71c4ba97a28ee463170d10712b2de94dc50
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:27:32 2013 -0700

    altos: Add a bunch of .gitignore files
    
    Ignore ao_product.h and built binaries
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 85d32468210c9989ae52bd29f883c4380af43961
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:25:37 2013 -0700

    altos: Add ublox checksum app to generate ublox config lines
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 257500776935b5950cd7c49f9c799b3174d9232d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:22:41 2013 -0700

    altos: Add .gitignore to kalman test dir

commit 5a77a62bce5e5ab5998f24588839f3c8a1cc6221
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:21:17 2013 -0700

    altos: Build test framework for kalman filter
    
    This has some known flight data and generates kalman filter
    information for them to test
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 24a03d0c64fc0b56ad5ccfd6588aa47690ea2a65
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:15:28 2013 -0700

    altos: Ignore ao_aes_test binary
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e2c697af790d53c68154facc19e4096aed5de798
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:14:50 2013 -0700

    altos/test: Add telemega plot helper script
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 086217bbde6d549cad61bdde728c75d29023d1c6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:11:27 2013 -0700

    altos: Add nickle micropeak log parsing code
    
    I think this was just some debugging stuff, but it doesn't seem useless
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5d46d26d714cc172b5ea493478d9dd3cad323152
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:09:54 2013 -0700

    altos: Add telelco-v0.2 project
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 38d4110e59a44687d8a4743b8cd04cbf2761c9d8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:08:03 2013 -0700

    altos: Allow LCD segments to not be multiplexed across digits
    
    This allows each LCD segment to be individually configured as to which
    COM and which SEG drives it, permitting maximum flexibility in wiring.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f09b2fc7fcfb1b3dcb1a46a8b9856092dd59866b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:05:18 2013 -0700

    altos: Clear any broken cc1120 TX fifo bits before transmitting
    
    This just goes and clears the transmitter before using it, just in
    case it got wedged somehow. It also clears the bits while waiting for
    the radio to go idle, otherwise it'd never make it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b878ca38045b1bee6ea4d649298727ac3fa197c2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:03:57 2013 -0700

    altos: Make cc1120 driver wait for TX finished
    
    Otherwise, we may come in and try to use the radio again too quickly,
    causing it to go into a TX fifo error state.
    
    This change watches the MARC status until the transmitter is
    explicitly marked as finished.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f677a83348a9568679240ee9d731ab454f289831
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 23:02:12 2013 -0700

    altos: Provide timeout value to ao_radio_recv
    
    Instead of using ao_alarm around calls to ao_radio_recv, provide an
    explicit timeout value as needed by radio functions with more
    complicated system interaction than the cc1111. The timeout is 8 bits
    of clock ticks.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0488cd9cffc837e99490a0761216bbc5847ff400
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 28 22:52:23 2013 -0700

    altos: Build test framework for AES code
    
    Simple CBC-CMAC test with a constant 0 key and constant 0 data for now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3edbaa90fb7cb31fa0bd835a7c6c8930fd6dfeb6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 27 23:23:33 2013 -0700

    altos: Make telemega-v0.3 binary use the right name
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 168188f6650dc9a777d57f9c7a8ff1be957bc892
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 20:23:48 2013 -0500

    altos/stm: Remove USB EP0 task
    
    Handl EP0 actions from interrupt handler. This allows USB to be used
    in a taskless environment, like the STM flash loader
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0b6128d634c49e1790675ae8111e970b1af1f141
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 15:29:32 2013 -0700

    ao-tools/lib: Deal with binary USB data in debugging output
    
    Dump non-ascii characters in hex format.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3cbec0292d5167bce5c23eeea95f7a2d13bccc79
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 15:20:09 2013 -0700

    altos/stm: Always declare all romconfig variables
    
    I haven't figured out how to assign addresses for specific initialized
    variables, so we'll just have to always declare all of them and make
    sure that we add new ones at the end.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4551be8b03a795ece94fd303a1f556c63c0a0096
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 15:14:12 2013 -0700

    altos: Call ao_task_init before initializing any drivers
    
    When using task queues, the sleep queues must be initialized before
    any invocation of ao_wakeup or the OS will crash. Just make sure
    ao_task_init is always invoked early in the task process to get that done.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6dea353e732b6e19586c844796bc3bb848cc92f8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 10 21:05:34 2013 -0700

    altos: Expose ao_put_string function
    
    This works like puts, except it doesn't add a trailing newline.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1629acba4a63baae2c687ed56a17d02faf45f5e5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 2 23:14:02 2013 -0700

    Allow build without SDCC
    
    The AltOS directory handles not building the cc1111 apps when sdcc is
    missing already, so don't require it, just whinge if it's missing
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7cce6c205e4595894e033ab8f0acc8064bf9f561
Merge: 75f8229d 55915098
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Apr 29 17:24:43 2013 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 75f8229d4a8d7c9a28ea3d88fda72af0d1f1ccc2
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Apr 29 17:11:48 2013 -0600

    add libssl-dev as a build dep since it's used in FAT filesystem test code

commit f2a8ac537d254cc08c0be9c16bf2d5cc03fd04fc
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Apr 29 17:06:57 2013 -0600

    point to pkgconfig content in /opt/cortex so stlink stuff works

commit 55915098f2668e3a71568d51a9888dc4bdf40992
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 27 16:07:34 2013 -0700

    altosdroid: Add wish for persistent TBT and freq settings
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 38a680e1407a80ff8ad19e1a90dd4e87b22fe922
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 27 00:37:36 2013 -0700

    altos: All STM ADC users need to declare HAS_ADC_TEMP
    
    Otherwise we can't configure the ADC unit correctly at boot time
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2717f14567c1fe1bb061024332c8022ef0e06049
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 27 00:36:11 2013 -0700

    altos: Build telemega-v0.3 by default
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cef4e3ee95037050ae859fb2fdc0a57373764bd8
Merge: fefc0210 f3ee7deb
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 25 22:22:50 2013 -0700

    Merge remote-tracking branch 'origin/master'

commit fefc021045089ffd00d03e4c4e6cf42a13692828
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 25 22:21:26 2013 -0700

    altos: Add TeleMega v0.3 support
    
    Includes adding SPI support to the MPU6000 driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 38206dd71e70565ded505a1e86257cd49b10bf9b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 25 21:27:03 2013 -0700

    altos: Add MR25 everspin MRAM driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4ed83e34d1163c7fae0a205528c60dc83973082a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 25 21:25:39 2013 -0700

    altos: Make SD card driver compile without radio support
    
    The SD card driver blocks the radio when trying to access the card as
    that operation appears very sensitive to RFI. This fix makes the
    driver work when there *isn't* a radio driver in the same device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f3ee7deb6b2fbae7e3c66fe0af0cba36378793f1
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 25 00:26:39 2013 -0600

    document need for an ARM Cortex toolchain in /opt/cortex, point to build docs

commit 90b0db1ae53182c94bf12d661446fc369d916366
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 15:53:04 2013 -0500

    Re-add telemega outline pictures
    
    after the great renaming
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e9a6c4f71e02bb0073dcd030de735904494da81f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 15:15:03 2013 -0500

    altos: Re-generate TeleMega bits
    
    Lost in the great megametrum rename
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa7eac32adf4c2cdf441991d02411758f2682d1e
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Apr 22 13:00:26 2013 -0600

    name change from MegaMetrum to TeleMega

commit 8c05f608c8f103649c1e5ec0d5742621e233af78
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 22 11:06:36 2013 -0500

    Move cortex toolchain to /opt/cortex
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6f92ab336a258e8b1ddf58de33d6883251b9532d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 21 21:04:50 2013 -0500

    altosdroid: Add request for sat images to AltosDroid Notebook
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 045da152fae82712b937bc81f02c9531e042cbe0
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 21 20:53:14 2013 -0500

    altosdroid: Add a few more Notebook entries
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 27afe30176051fca816d85c1be265ac663ef851c
Author: Mike Beattie <mike@ethernal.org>
Date:   Mon Apr 22 13:50:35 2013 +1200

    altosdroid: Bump APK version, and re-upload.
    
    Didn't re-build altoslib for the previous APK!
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 759376cd0aac61c5afce31aed27ef98aba791173
Author: Mike Beattie <mike@ethernal.org>
Date:   Mon Apr 22 13:50:13 2013 +1200

    altos: update .gitignore files
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit b4ffb3ed36fc8696603616bf5f31b07fb3829614
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 20 23:55:06 2013 -0600

    document my snazzy new 4-pin to MM v0.1 debug cable

commit 45d638634e389bab61b0ee792420609eb8a9ad97
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 20 22:30:23 2013 -0500

    altosdroid: Add Notebook to track feature requests
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2e28d3541b8da31ebef5a199baf8f544d238298e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 20 22:16:28 2013 -0500

    libaltos: Delay after opening bluetooth device on linux
    
    Writes immediately after the open disappear sometimes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02a564bbc3a23b4f90685e8b29083ddb3e4b3563
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 20 22:05:01 2013 -0500

    libaltos: Try Bluetooth open 5 times on EBUSY
    
    After closing Bluetooth, it can take a second before the device is up
    for another connection. Hang around retrying a few times.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6348186397dbef6da912586cea58d6663c511501
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 20 21:40:47 2013 -0500

    doc: Start filling in details about Altos Droid flight monitoring
    
    This is almost all identical to AltosUI; I think we'll want to share
    the two sections.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0d49c16c6c33264952854b9f24bc737d92036449
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 20 17:38:15 2013 -0500

    doc: Add a bunch of Altos Droid material to the docs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6055ee0b7fb99f1b41ece8ba912bdd201ea35b1b
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Apr 21 14:52:56 2013 +1200

    altosdroid: Release v1.2, push to play store.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 49caac78786014d443d9c05f47b5eb3070ec9bd3
Merge: 5b7bbf18 cbf38c55
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Apr 21 14:51:07 2013 +1200

    Merge branch 'altosdroid'

commit cbf38c557a2046b6d6af3a9aebc0cef8e0dc5f11
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Apr 21 14:46:41 2013 +1200

    altosdroid: Make the service class implement locationlistener
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit c5b31a14e1ceeb9a33e0016f345832344d24ced7
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Apr 21 14:44:07 2013 +1200

    altosdroid: fix up 'send last' code.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit cc674d8f991a3a055236ad8b51fecd99080540e1
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Apr 21 14:41:50 2013 +1200

    altosdroid: check for mAltosVoice being null.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 7701e142f9e3a81c536c546c9a0abfb3ba709abc
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Apr 21 14:41:28 2013 +1200

    altosdroid: set tab height based on screen density.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit a9e02e32cb10e5b5f17cd555bb28fdc205ac3612
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Apr 21 14:40:58 2013 +1200

    altosdroid: Add filters for TeleBT bluetooth devices.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit b0d6e2000d1b48859f5a276a5af254cc1a6cc9ad
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Apr 21 14:40:33 2013 +1200

    altosdroid: incorrect property syntax in pad xml
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit d1ca6b5805cb5e934e013463448b75dd4a3c864f
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Apr 21 14:40:03 2013 +1200

    altosdroid: whitespace and import tidyup
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit ecfc8a08147cfd179b341475333d68a39c978f0f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 20 17:16:50 2013 -0500

    altosdroid: Update distance/bearing on map tab
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5b7bbf183e558330d27702aa1bebf205f0e094aa
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 20 12:22:38 2013 -0600

    improve text in telebt turn-on script

commit ff332e640b27c6be37dabef58ebac350ac2347b2
Merge: b3000609 87d6ed24
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 17 10:41:05 2013 -0700

    Merge branch 'master' into droid-gps

commit b3000609e4010ff4d29debe72ea1866e775af539
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 17 10:38:54 2013 -0700

    altosdroid: Fix integer formatting in tabs
    
    Was trying to use AltosDroid.number for integers, which didn't work as
    it expected doubles.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 87d6ed24f3650981ae1ff9bfdb0298d2c01e7575
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 16 17:47:17 2013 -0700

    altosui: Disable main deploy setting for TeleGPS
    
    Just like all of the other flight computer settings, disable the main
    deploy altitude configuration for TeleGPS.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a03aaaca60ccb4b44595e5e1c1047d07d8b6d60f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 16 17:33:42 2013 -0700

    altosui: Handle broken network in map tile loading
    
    Handle missing pngfiles in AltosSetMapCache by checking ImageIO.read
    for null return.
    
    Do incremental map tile downloading asynchronously so that the UI
    doesn't lock up when the network is slow
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c2640c09c76ce32e471dcf6df83095d146bb39a2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 16 14:22:23 2013 -0700

    altosdroid: Check for missing values
    
    When displaying numbers, check for MISSING values and display nothing
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d5a557004c00d1ae25da04dc63c78b816562a236
Merge: 6592a5be 5b041769
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 15 23:26:33 2013 -0700

    Merge branch 'master' into droid-gps

commit 5b041769dc926f0aa18072f46abca60b11ede44b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 15 23:25:55 2013 -0700

    altosui: remove debug message from AltosFlightUI
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6592a5be127a9c95d3b2e7d5aa6ffba71c6748b9
Merge: c6f85cb1 eba3aa94
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 15 23:19:44 2013 -0700

    Merge branch 'master' into droid-gps

commit eba3aa949decacd5592472a3cda920aa6a06d96f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 15 23:14:22 2013 -0700

    altoslib: Check for null state.gps before accessing it in eeprom records
    
    Used to be we'd set state.gps to garbage before seeing the first GPS
    record; now we leave it null, which will cause crashes for code that
    doesn't expect it. The code for reading and replaying eeprom data was
    not checking and was nicely crashing as a result.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c6f85cb149dff8732104521cb62b355e8a0d7148
Merge: 3cd8ff18 58dd4b88
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 14 20:02:10 2013 -0700

    Merge branch 'master' into droid-gps

commit 58dd4b88fe738e005a13dfd69651853ea7f79205
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 14 14:54:52 2013 -0700

    micropeak: Oops. Lost the call to actually start downloading data
    
    Lost when adding the 'help' text somehow; presumably a debugging issue.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3cd8ff18a7546c1e251747ba26240cb130003ef1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 13 12:13:18 2013 -0700

    altosdroid: Update UI even if no telem has been received. Center map.
    
    This allows the receiver location to be displayed even when telemetry
    is not.
    
    Center the map on the first valid location, either receiver or
    rocket. Update center if a significantly more precise location is received.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 192bc28fbe2a8613d0b42e4fb3f7674a1a50abc7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 13 11:45:23 2013 -0700

    altosdroid: Get rid of a couple of startup messages
    
    These are just annoying
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e4b6fc3238ad9911fd40ef25accf82a401cb190f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 13 11:39:14 2013 -0700

    altosdroid: Show our position in the map tab. Squeeze to fit phones
    
    Shrink everything to fit on phones, then add phone location to the map tab
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2f7015afcca7c6042365d2124d3a5b7219e8e588
Merge: 5077f3ad 778daf0c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 13 10:51:04 2013 -0700

    Merge branch 'master' into droid-gps

commit 5077f3ad1967a33712e9ff411e3b2a0b4e1a5c4a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 13 10:50:26 2013 -0700

    altosdroid: Shrink text so it fits on my phone
    
    Yes, this is a hack; will try to figure out how to make it resizeable
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 778daf0ccbd8a073da33497e33c29400d0ecc464
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 13 10:39:14 2013 -0700

    Windows: Add all of the AltusMetrum USB IDs to telemetrum.inf
    
    This should make Windows load the driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 25c01719f17be8da73a859867c14df0fc29b5441
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 11 22:16:03 2013 -0700

    libaltos: Retry Windows serial port open five times
    
    Maybe this helps?
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 679401fff981b675dd5a188c64e8940254588800
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 12 03:09:16 2013 -0700

    altos: Make sure the packet format is set reasonably for radio test
    
    Dunno if this matters, but it might as well be set reasonably
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1430c48cfef1ef21831205f4fadd26ca6c7f5dbe
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 12 00:55:59 2013 -0700

    altoslib: Remove spurious debug message
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cdbf8053658c71a657005af68202023d0b4af1fe
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 12 02:42:37 2013 -0700

    altos: Don't include bufio debug commands by default
    
    We shouldn't need these
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c54bd59780275ece87eafb8143cf0637b35e794c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 12 02:35:15 2013 -0700

    altos: Stick a mutex around FAT operations
    
    This allows the command line and logging operations to occur safely in parallel
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7e6e2ca60c65a4fe2bee0bd8b9b89d45a7dbcfb3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 12 01:55:33 2013 -0700

    altos: Delay while waking up SD card a bit
    
    This seems to make bringing the card from idle to ready mode more
    reliable. If you spam the card with requests, it will eventually
    whinge and shut down communications.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 19ef593be9ff3f329e44472735d90c80129d2795
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 12 01:04:55 2013 -0700

    altosdroid: The Map already draws our location; no receiver marker needed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1ec6fb3b9cec0f864d6e65d0cc6b4dd42edd3e16
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 12 01:00:36 2013 -0700

    altosdroid: Check state.gps != null before using it
    
    Avoid crashing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02243463adbdfb860f69580f544da9026dc7cbd4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 12 00:55:59 2013 -0700

    altoslib: Remove spurious debug message
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9212ce268f3a4a9f3f019f23f6eef8b57207d340
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 12 00:19:24 2013 -0700

    altosdroid: Compute course from android device to rocket, display it
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f02bb1df132443fc27b69f23f382ea87e610f533
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 11 23:56:47 2013 -0700

    altoslib: Add range and elevation to AltosGreatCircle
    
    Move the computations from AltosState here so they can be re-used elsewhere.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9a8cc23de5776ea3fa2bdc96cbe63422eb555d63
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 11 22:39:14 2013 -0700

    altosdroid: Mike was right -- only need one LocationListener
    
    I mis-read the docs and thought we needed two listeners, one for GPS
    and one for network position. Looks like we don't
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 83ce46c73b0e876f9f630943af19ea97b3a21d3c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 11 22:34:36 2013 -0700

    altosdroid: Send LOCATION and CRC_ERROR messages to UI.
    
    This collects all position changes and crc error increments and sends
    them along to the UI for presentation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1f88d345c407e409611448d0e8813ab5a6de0a0b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 11 22:16:25 2013 -0700

    altosdroid: Hook up the position listeners
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 81730670b6848bebb2c6a8ac7813419112f2779a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 9 14:53:25 2013 -0700

    doc: Add an outline of an AltosDroid chapter
    
    Not much content yet, but I think this is pretty much the sections we need
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 07fb6efc54b8575627572a2113bdbc62914bafb5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 9 00:38:25 2013 -0700

    altoslib/altosui: Adapt monitor idle to new AltosListenerState
    
    Move the receiver battery monitoring to the new spot
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 398c02b945a58634c8932f07df2c2be8438da7d1
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 9 00:28:05 2013 -0700

    altoslib/altosui: Carry receiver status around in AltosListenerState
    
    This moves the crc_errors into the new structure and adds a receiver
    battery voltage value there as well. Now the receiver status can be
    monitored separately from the flight status. That also means that code
    receiving state updates should be prepared to accept missing listener
    or flight state values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 08eb1e3e1abb1aa4f5ea92b781a2ff8f480006c5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 8 17:42:18 2013 -0700

    altos: Monitor battery voltage on telebt
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6ba0df9b440b69bf5bc5f4e435b431adf303fee2
Merge: 1d3ab47d 28adf554
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Apr 8 18:02:37 2013 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 28adf5541354715b185dbb45b28c97c7d9cf8bcd
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 8 16:48:40 2013 -0700

    altos: Create telebt-v1.0 product. Remove old telebt products
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1d3ab47d82fe005ab6854386c0ffa5771ee49bf6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 8 16:48:40 2013 -0700

    altos: Create telebt-v1.0 product. Remove old telebt products
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0c0dc761095a5a77c87c3b4dcd1d42a4e79f6604
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 6 23:48:36 2013 -0700

    altos: Try RDF mode for TX calibration
    
    Trying to get the radio to stop modulating the carrier when
    calibrating the radio, we'll try RDF mode which says no preamble or
    sync data. This might shift the frequency though?
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 30c397296bcdaceb4c2c9d0509dc591b489ece02
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 2 17:44:06 2013 -0700

    altosui: Graph TeleMini flights without crashing
    
    Adding maps to the graph UI failed to check for missing GPS data in a
    couple of places causing crashes when fed a TeleMini file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 67b8bdb4ea8c22688d4f18416593346585595cfa
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 2 17:29:40 2013 -0700

    altosui: Display current GPS in 'pad' tab for 'startup' staten
    
    This is the state for telegps, so just display the current GPS info as
    we don't know where it started at.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 907cc6c50755c0d19b93c15678d6f3022a6ee10b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 2 16:48:05 2013 -0700

    altosui: Hide flight-related tabs for telegps
    
    Products without a flight state don't need ascent/descent/landed tabs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e747156d0ea4b62eea30a8f486ee105ee35dcaf5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 2 16:47:07 2013 -0700

    altosui: Don't display missing sensor data
    
    For devices without sensors, don't display temperature, barometric and
    accelerometer-derived values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 997cdef3fe04acdd566d287e70981f7b7934d0c8
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 2 16:44:58 2013 -0700

    altoslib: Make any incoming telem packet update the RSSI value
    
    Every packet has RSSI info, so use the latest one available. This
    makes telegps RSSI available as it never sends sensor packets (having
    no sensors).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0cd203e418e73a1f11460425985b7575c2f0a76c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 2 16:43:53 2013 -0700

    Set telegps USB id to 0025
    
    It was accidentally using the same ID as megadongle...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 96c32125a780ad6b39c015f4abbae07fead68582
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 2 16:41:29 2013 -0700

    altos: Shorten SD initialization timeouts.
    
    This makes failure when no card is present much quicker.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 985df526ec142258ef990d0b55b0a14e13c099b4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 1 02:39:35 2013 -0700

    altos: Horrible kludge -- disable radio while talking with SD card
    
    The SD card really doesn't like the RFI generated by our enormous
    radio, so just lock the radio out while working with the card.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 14c63f94f36a95272d91695039abf54efb423a91
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 1 02:10:14 2013 -0700

    altos: Add defines for the specific pins used for telegps SPI
    
    These aren't needed at this point, but who knows?
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b34370cea662eb245e43aca20a6650b84b55ef6f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 1 02:08:18 2013 -0700

    altos: Retry SD card I/O. Use time for timeouts instead of counts
    
    Sometimes I/O operations may fail; give the card a chance and retry
    the operation in case it works the next time.
    
    Replace the loop counts with loops that check the clock so that
    they'll have consistent timeouts even if the CPU or SPI speed changes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b3a41bed39ec1abfc3ab74e9be7dd393e975542b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 1 02:07:06 2013 -0700

    altos: Provide build hooks for sampling profiler in telegps
    
    Might prove useful if the CPU is ever doing anything?
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fae116fbebb9658fe15690ff43dfe8568a58c2a9
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 1 02:06:03 2013 -0700

    altos: Add a FAT test that re-writes the same file multiple times
    
    This caught a bunch of FAT cluster chain allocation bugs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 79d01a571935138b24b86a7181307ee014d248ed
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 1 02:03:57 2013 -0700

    altos: Support open on multiple simultaneous FAT files
    
    Need to be able to see the contents of a log file, even if the logger
    is running.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0838b6c8797b84cf8df8f92ee20fb6ae79e434d7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 1 02:02:14 2013 -0700

    altos: Make sure FAT cluster allocation works for size zero files
    
    There were some rounding errors mis-computing the number of clusters
    needed, and the logic to figure out how to re-connect a chain was broken.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 76bd204de744c34e5cbf6efa93adb89bc2cb08b3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 1 02:00:21 2013 -0700

    altos: let FAT tracing work in ao_fat_test as needed
    
    This allows the FAT DBG hooks to be enabled even if some other module
    turned DBG off.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a764bf06d0975cbf1620b079351c7437053ea1a8
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 1 01:58:37 2013 -0700

    altos: Flush the on-board mega log after every sample interval.
    
    SPI flash parts don't need flushing, but the SD card does. Make sure
    the SD card contents are sane after every logging interval has passed
    by flushing all dirty blocks to the device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c2de64b10894b366398a8b37ebd2305d9be46d46
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 31 16:11:27 2013 -0700

    altos: Create the log file if it doesn't already exist
    
    open will return failure unless the file already exists.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 659a6915f5ba5129096e55ccc04c975d216546ae
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 31 16:10:33 2013 -0700

    altos: Make ao_fat_readdir return real error values instead of 1/0
    
    This way, we can distinguish between 'something bad happened' and
    'you're at the end of the directory'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 182ceaac7d91dc6e9ebac6455d5de0c10687796b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 31 13:55:16 2013 -0700

    altos: Increase SD card timeout at startup time
    
    Sometimes the SD card takes 'a while' to go into idle mode at first
    power up. Just hang around waiting for a long time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d813566cdc4d43a43ed988dde4a3ceeccf24efe6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 31 12:46:41 2013 -0700

    altos: Fix command-line FAT filename parsing
    
    Pad extension with spaces
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit db01557ce493c435db177fda78653697ba2afa51
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 23 02:10:38 2013 -0700

    ao-tools/ao-stmload: Be smarter about ELF parsing. Retry open on failure.
    
    Figuring out what goes where is tricky; turns out we want to pull all
    of the sections that map inside any program area that is supposed to
    be loaded from the file.
    
    So, we walk the program headers, then walk all of the section headers
    looking for those that suck data from the same portion of the
    file. Compute where in ROM each relevant section goes and build a full
    ROM image in memory using that.
    
    This patch also adds code to close and re-open the device if the first
    open failed to do what we want. Much nicer to have the computer figure
    out when the open succeeded rather than having people re-run the app.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 144b44e13ce3361ff59cbb555e84d542455a4e17
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 31 12:39:32 2013 -0700

    altos: Unmount file system after each testing pass in ao_fat_test
    
    Otherwise, we use stale data and 'bad things' happen.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a70139c9a8a177df8f20f525703b13c0aec0fbc7
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 31 12:29:37 2013 -0700

    altos: Don't add fat commands when building ao_fat_test
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8b2f211758dfa97230a730b8c4b31e0e711c19c9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 15:04:57 2013 -0700

    altos/stm: Always check for idle IN buffer before sending
    
    Unlike the AVR and CC1111 USB drivers, the STM usb driver queues IN
    bytes in a local buffer instead of in the driver; this means that the
    driver is queuing bytes while the previous IN packet is queued for the
    host, which allows for overlapping execution.
    
    It also means that when the local buffer is full, we must check to see
    if the host has picked up the previous IN packet before trying to
    queue another IN packet for transmission. This is done by always
    waiting for the IN buffer to be ready before sending data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit de199601a177fc2d45ad9bd7357111111844d40a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 15:03:59 2013 -0700

    altos/stm: Add debugging mechanism to STM USB driver
    
    This adds a pile of debugging hooks to the USB driver to try and
    isolate various lockup-related issues. It's all disabled by default,
    of course.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4f1f3e836393304434130d362771a39f6f8f859a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 15:00:20 2013 -0700

    altos: Do not release interrupts from any pollchar function
    
    getchar relies on interrupts being blocked across the pollchar calls
    and into the sleep call or it may go to sleep with data pending.
    
    This prefixes all pollchar functions with _ to indicate that they are
    to be called with interrupts blocked and eliminates all interrupt
    manipulation calls from within the pollchar functions.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7afcec1a1dce140dfa569469df4ef42ed407a742
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 31 12:23:31 2013 -0700

    altos: Add sdcard read/write tracing
    
    This just dumps info in trace mode about read and write commands
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a0595d94c7deea29d9e3d4bcbc106b9bed5ee103
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 31 12:22:28 2013 -0700

    altos: Move fat mount information to separate command.
    
    This makes the mount report precise error information and then prints
    that with the 'M' command.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a0628541e1bfc3e4a122cc824188ed53fddf733e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 31 12:21:03 2013 -0700

    altos: Disable CC115L debug commands
    
    now that it appears to work, leave these disabled by default
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d8826b1ad5487de9345b7dcaf6c75a45117ff538
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 31 10:35:47 2013 -0700

    altos: Add SD card writing function
    
    Now that the FAT code seems to be operational, go back and add
    SD writing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 649999863c7228ead0225968752d068dc0d30091
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 30 01:33:49 2013 -0700

    altos: Add logging and telem to telegps
    
    This turns on telemetry, APRS, RDF and data logging for telegps.
    
    Data is logged as soon as GPS has a date to create the right
    filename, using files of the form YYYYMMDD.LOG which just barely fits
    in a FAT filename.
    
    Telemetry/RDF/APRS are all separately controllable.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b3d8956df3a3ecb3918b5db4d78b057d68541c33
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 30 01:32:30 2013 -0700

    altos: Export ao_fat_sync and ao_fat_full functions
    
    ao_fat_sync() flushes the bufio data to disk along with any fsinfo
    changes. ao_fat_full() returns whether the file system is full.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7455a892e8bf5402e7ff2c4bd2ddad05dfe76638
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 30 01:31:12 2013 -0700

    altos: Lock cc115l radio mutex when using global radio values
    
    This moves the locking up above the global state variable uses so that
    multiple radio users (as if we had any) won't collide.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bd32140df2a595ce66d603b98516bae519327c5d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 30 01:30:18 2013 -0700

    altos: Configure cc115l sync byte count for each radio mode
    
    two sync bytes for packet mode, disable sync for rdf/aprs mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93a9aa703a0173e13b327ed432e6d52e90ebfa1b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 29 17:05:36 2013 -0700

    altos: Get CC115L radio working.
    
    This involved figuring out which GPIO signal would reliably indicate
    that the transmitter was finished; I ended up using the PA_PD bit for
    this.
    
    This also converts all of the radio users to the long packet support
    as the CC115L has only a 64-byte fifo, not large enough to hold either
    an RDF tone or a regular AltOS telemetry packet.
    
    This also renames the public API for sending APRS packets from
    ao_radio_send_lots to ao_radio_send_aprs, which is at least more
    accurate. The workings of that API haven't changed, just the name.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9aeed244879f90b5b6dab1c7ca095cc001b03fe5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 29 12:13:59 2013 -0700

    altos: Add temporary RF power settings
    
    These expose the raw cc115l and rfpa0133 register settings so that we
    can calibrate them against measured power outputs.
    
    I've tested them to verify that they change how much power the board
    consumes, so they're clearly doing something...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 86e1039e14304ac13db540f2ee3afd4ff170b8b4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 29 00:32:23 2013 -0700

    altos: Add FAT32 support. And lots more testing.
    
    Generalizes the FAT code to deal with either 16-bit or 32-bit
    versions. The testing code now runs over a variety of disk images to
    check for compatibility on all of them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 44e418bbecd3a3deae942803141cf115d92f29d2
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 28 17:38:14 2013 -0700

    altos: seek forward on FAT cluster chain instead of restarting
    
    This improves sequential file performance by taking advantage of any
    previous cached cluster/offset pair and starting from there when the
    cluster changes rather than starting from scratch at the begining again.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8101e4af199a3d79bff434f788cce9f97aeac53a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 28 16:57:02 2013 -0700

    altos: Add a simple cache for the FAT position->cluster computation
    
    This improves read/write performance with large files by not
    re-walking the cluster chain for every operation
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c7b606e93a4e4fbd2c0e883352ed74619ee24cf7
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 28 16:05:24 2013 -0700

    altos: Clean up fat driver API. Improve fat test
    
    Make FAT api provide reasonable error return values, change the tests
    to write and then read a pile of files, checking that the contents are
    correct (using md5sum).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d1fe0654b45cc8f944394308cf29945b537becc4
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 28 15:55:35 2013 -0700

    altos: Add sanity checking to busy counts in bufio driver
    
    Make sure the busy counts don't underflow or overflow.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6fe32e0fc407522101e805cf2653253cb3cee291
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 27 22:11:53 2013 -0700

    altosui: Don't deref null pyros when saving altimeter config
    
    The check for no pyro config is to compare npyros against zero rather
    than check the length of the pyros array as the latter may be null.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 985cd22b941415b1ae2709ae1ab6b60c3d815ec1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 27 18:43:42 2013 -0700

    altos: Use FTDW, clear DATA bit. Disable backup write protection
    
    The newer(?) chips in telegps didn't like the previous programming
    scheme, so go back to fixed time for write, which does an implicit
    erase before every write. Also clear the DATA bit, which is only
    needed for double word erase/programming.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4a68878a66508e6f1523cd813b2e37bcf2e90ab3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 27 01:25:24 2013 -0700

    altos: Teleshield has a radio, set HAS_RADIO in ao_pins.h
    
    Otherwise, lots of random code won't know about the radio..
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 561175afebc63ec3d2f8f7305235c9812ceaf501
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 27 01:15:04 2013 -0700

    altos: Add new panic flag for bufio misuse
    
    Allow the bufio code to signal a fatal error if someone misuses the API
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bd43955ff0c4d39a685b79e91cb62898a5f1b875
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 27 01:14:15 2013 -0700

    altos: Hook up the FAT16 and SD card support to telegps
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e14834817f78a04b4d9b44a8373119dffd42c966
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 27 01:12:33 2013 -0700

    altos: Add SDCARD and FAT16 filesystem support
    
    This adds a fairly primitive FAT16 file system implementation
    along with support for SD cards.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 747114786512339211d4981a7828c8c6f1f46c20
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 26 14:28:37 2013 -0700

    altos: Fix config to not abort radio recv when no recv is available
    
    Use the new radio recv define to skip disabling the receiver when
    there isn't a receiver.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 237e853b820b01409562b93b82684e5147286806
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 26 14:27:46 2013 -0700

    altos: Allow radio recv and xmit to be separately configured
    
    The CC115L is xmit only, so split out the functions and provide
    defines to check for xmit or recv separately as needed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4d187460bdcb97bf6d0a3550e4e03c4c223e4cc1
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 26 14:26:38 2013 -0700

    altos/stm: Ensure SPI always sends 0xff during receive
    
    SD cards require 0xff when fetching data
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 136ca0922e968d650e9e420a47d228611a3cb45e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 26 14:25:48 2013 -0700

    altos: Improve CC115L driver. Generates carrier now.
    
    Still no data, but at least the carrier comes up on frequency now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4889b33af9700b9d872364f0cadaf9425cf84a7d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 26 14:24:45 2013 -0700

    altos: Add RFPA0133 amplifier driver
    
    No configuration of power level yet, just the bare driver.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6fe1e32f5361e901b88b63a30f070e67d460ada1
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 23:52:14 2013 -0700

    altos/telegps: Hook up cc115l driver
    
    Doesn't actually do anything yet, but should initialize the chip at least
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4ddfb3ea07c2073f8c4d79feaf262c9fb910cfce
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 24 23:51:11 2013 -0700

    altos: Add cc115l driver (untested)
    
    Includes support for sending telemetry, RDF and APRS tones
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 15bc83a0eaaa9a43d67fdc3e9f412d5b2c1f06dd
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 20 23:22:37 2013 -0700

    ao-tools: Make library support µPusb
    
    Set baud rate to 9600, look for FTDI-style names
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 50dd268a715224a01f8a6b481670a4ae6621cb28
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 20 23:21:37 2013 -0700

    Add telegps initial version
    
    Just lights up the GPS and USB
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 548cf57d5a5ea323bbfc3605b44c23fc48dec96b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 18 22:12:48 2013 -0700

    ao-tools: add ao-dump-up
    
    Dumps out a µP log. Useful for µPusb bring-up
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d171d10d97307a1a1a62e660e9194121b79a09be
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 11 18:16:55 2013 -0700

    micropeak: Improve download docs and UI
    
    Add text explaining that the LED and phototransistor must be
    touching to both the doc and the UI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 90ee11542b111befa0e96e27292dc548e5c37396
Merge: 97efce5f d7973de3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 10 11:43:06 2013 -0700

    Merge remote-tracking branch 'mjb/altosdroid'

commit 97efce5f7ff227aaa8990529217d3d10db3443dc
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 10 11:41:49 2013 -0700

    altos: re-enable optimization for stm-demo. remove unused bits
    
    This makes stm-demo run on the discovery board again.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d7973de32adff5402844cc1e1da3eced05265074
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Mar 10 23:28:26 2013 +1300

    altosdroid: Add map polyline between pad and rocket
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit b691fc48f5e879045e68e070162af56cd08f03b4
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Mar 10 23:27:28 2013 +1300

    altosdroid: Add rocket and pad map markers
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit b7c82b867b12ca016164725f3736bc5b55048999
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Mar 10 20:40:13 2013 +1300

    altosdroid: programmatically create map fragment
    
    * Allows reliable fetching of a GoogleMap handle.
    * Set map options, initial location (NCR North for now, temporarily)
    * Add some info fields below map, and update them accordingly
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 8adadf6bd2ba623642675e4beafac4ac98b1916d
Merge: d029acad 0c0c6d60
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Mar 10 20:24:56 2013 +1300

    Merge branch 'master' into altosdroid

commit 0c0c6d60cdce39582fa5350e9b016a08e76f27a1
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Mar 10 20:24:15 2013 +1300

    altosdroid: Add SDK checks to configure.ac
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit c2d966a8ca9dcf6ccf5c268c616cf1384d45002d
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Mar 10 20:22:51 2013 +1300

    altosdroid: adjust clean targets to get rid of automake warning
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 988e9079e20133554acfecc74a109195688c2752
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Mar 10 20:22:09 2013 +1300

    ao-tools: Add ao-edit-telem to .gitignore
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit d029acad6a992be9b7b4498e70605f8a1e1a4ef6
Merge: eba7b2ef 72c5b142
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Mar 10 19:07:01 2013 +1300

    Merge branch 'master' into altosdroid

commit 72c5b1429bdfd6e9d2185bad7d0adb281fdf659a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 9 20:40:52 2013 -0800

    ao-tools: Add ao-edit-telem
    
    This lets you edit a telemetry file. The only current editing
    available is to change the pad location, allowing a flight to be
    replayed anywhere in the world.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b460d38bc2685bca7f530b7749c0e0381f6264c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 9 20:39:31 2013 -0800

    ao-tools/lib: Add cc_telemetry_unparse
    
    This takes a telemetry structure and generates a string version
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0803da851e2e061affc172fdde6301652d1be755
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 9 20:37:38 2013 -0800

    altosui: Add N/S and E/W to info table lat/lon values
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eba7b2ef8ef23bdb61b0390e47be6f27ffde31dc
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Mar 8 19:41:32 2013 +1300

    altosdroid: fix side-to-side scrolling in map tab
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 84d35e4cbd7ea2f681c43496b9b9db84f9dd923f
Merge: 760b1f02 e0d9128b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 7 13:00:44 2013 -0800

    Merge remote-tracking branch 'mjb/altosdroid'

commit e0d9128b7219b4c8ee68245a44b3428e796ca2f1
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 21:37:51 2013 +1300

    altosdroid: Auto tab changing
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit ecfc568574ababd23b2c4dc1323cb7265c097933
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 21:37:22 2013 +1300

    altosdroid: implement Age field updating
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 86b742743b26693cf8e56034d4ea68ff277931c1
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 21:35:43 2013 +1300

    altosdroid: implement UI updating on tabs
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 2a81d637308e680b99d7218ba9e03c9ade6626f1
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 21:33:27 2013 +1300

    altosdroid: implement tabs interface
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 59dfcbe14622c20aaa7d5b131eece9f4c8db6887
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 21:28:45 2013 +1300

    altosdroid: Import initial versions of XML and Java for Tab content
    
    * Includes TabsAdapter class borrowed from Support Library sample code
    * New "GoNoGoLights" class for dealing with the red/green/gray LEDs
    * extra required strings in strings.xml
    * Couple of support functions in AltosDroid.java
    * rudimentary Maps tab - does nothing at present.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit d6f1b176f4005af3b6fd16d8c7d22260a3ccdfd8
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 21:20:47 2013 +1300

    altosdroid: whitespace cleanup
    
    DAMN my OCD.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit d229d702c8532f477e2ace2af36f2d0cc6e728d3
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 21:20:06 2013 +1300

    altosdroid: make AltosDroid.pos() static
    
    * Will be used from tabs that display lat/lon
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit cf03ddb42042002bfb88e13ecfb89b27e7aeb91e
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 20:53:26 2013 +1300

    altosdroid: convert spaces to tabs in strings.xml
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 89f8bb52ea858f059374474c0adda3cd5095a589
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 20:49:41 2013 +1300

    altosdroid: adjust release Makefile target
    
    * Rename target
    * Add dependency on unsigned release APK
    * use $(ZIPALIGN) variable
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 6ff45bef719bafd2c827e479186c8fadf6f779aa
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 20:48:16 2013 +1300

    altosdroid: Symlink red/green/gray LEDs via build system
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 795fba09a3ca273cd2daeeb7d9fed6bae6fa6a86
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 19:23:39 2013 +1300

    altosdroid: Adjust build system for GMaps & Tabs support
    
    * Use SupportV4 library for Tab support
    * Use Google Services Lib for Google Maps
    * revert to a standard Android target, not Google API's
    * Add permissions required for Google Maps to manifest, and API key
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit b7dc6045892b33b04ec7c27bdc940b4d3e1b9cbf
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 19:05:43 2013 +1300

    altosdroid: adjust Makefile rules
    
    separate altoslib linking and, making of external lib directory.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 353372425550177cf0531a05706491a96414d12c
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 19:02:48 2013 +1300

    altosdroid: use a glob for source files
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 1c9a3a5080ca0e21f45c2b7ea889793645796751
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 18:59:30 2013 +1300

    altosdroid: Only update BuildInfo.java when other source files change
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 10042fed36d19c1b21b8f04c57da708afc085b25
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 18:54:45 2013 +1300

    altosdroid: Fix up some formatting in manifest
    
    (And add flag to allow settings backup by google services)
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 760b1f02c178c600226f39b5e66d8cbadbf4a29b
Merge: afd26742 cbad587b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 6 21:53:22 2013 -0800

    Merge remote-tracking branch 'mjb/master'

commit 5560148ffea1a718a303d999a0f8a625deceef23
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 18:51:27 2013 +1300

    altosdroid: minor whitespace cleanup
    
    (damn my OCD!)
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 9a54e278298540582b91ff3eda476265082e890c
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Mar 7 18:46:32 2013 +1300

    altosdroid: update copyrights/licensing
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit afd2674261e128a0ecff8fbf5dd6a64196b026f6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 4 19:44:30 2013 -0800

    altoslib: Invalidate GPS new data bit when updating state
    
    Somehow this line got lost when the GPS ground altitude fix was made.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3605e97ee918b3f87e4c471906f708c3ea027eef
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 3 16:53:52 2013 -0800

    ao-tools: Add ao-dumpflash program
    
    This program dumps the entire flash contents of an AltOS device to
    allow for external analysis.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 784edcda52d681bbc9302fbc7efb80cb214f71b8
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 2 17:46:29 2013 -0800

    libaltos: Open FTDI serial devices twice on Windows.
    
    Looks like the Windows FTDI driver has 'issues' and opening it only
    once doesn't work correctly. Just close and re-open the device and it
    seems to be perfectly happy.
    
    Who knows?
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cb09076fe16d28e25f5b20b2178cfad10adbeddb
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 1 20:48:28 2013 -0800

    doc: Add version 1.2 release notes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c9cba68049f957d69a88150470c086dd6f4a42c0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 1 20:45:43 2013 -0800

    doc: Document how to get TeleMini to 'emergency recovery' mode
    
    TeleMini needs emergency recovery mode in case you forget the radio
    parameters and need to get things back to a known state. Add
    documentation to describe what this does and how to get it enabled.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 113b1146f6ac0ecd423f3fb409e02730604b8aca
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 1 12:34:04 2013 -0800

    altosuilib: Disable graph element notifies for each add()
    
    This reduces the number of notify calls made and dramatically speeds
    up graph creation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 351e4110f519d18bb36747955578e9e5b9aeec7b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 1 12:28:34 2013 -0800

    altosuilib: Add setNotify/fireSeriesChanged methods to AltosUIGrapher
    
    This will let the data adding functions disable notifications while
    adding all of the graph data, and then send a single notification when
    the data sets are complete, which speeds up creating of the graph
    elements quite a bit.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d0bd0093a65b73a178da6ddcafcc4dbaa3caca39
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 24 01:20:41 2013 -0800

    altos: telescience-v0.2 is an ARM product
    
    Move it from SDCC to ARM targets as Jenkins doesn't have an ARM compiler.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9230f0a5b119044235c0c419e85a83115aae924d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 24 01:20:16 2013 -0800

    altos/driver: Make HMC5883 driver build again
    
    Adapt to changes in OS interfaces
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2120d362cefceba69e75996b6391d9558978c01d
Merge: 5246acb7 a04c4f7b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 24 00:20:54 2013 -0800

    Merge branch 'telescience-v0.2'

commit 5246acb70b79980de36bd5d0ba0d017529ae9a78
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 24 00:20:36 2013 -0800

    Update build version to 1.2
    
    Prepare for 1.2 release
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 25435dcbc6416935aa432fc090ea977bfff5d153
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 24 00:19:49 2013 -0800

    altos/stm: Add more bits to NVIC register definitions
    
    This cleans up a few values, adds more comments and a few more NVIC fields.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cbad587b49c565edd2c9356a015d6cfd52df93a3
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Feb 15 22:09:16 2013 +1300

    altosdroid: excise old code/xml
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 5e53a485310cc11e6add077fb4bd0b0267734ff0
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Feb 15 21:59:08 2013 +1300

    all: clean up .gitignore files and Makefile clean targets
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit be8eecc4117a14139e4421ce86b67d29a0f0c3d4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 11 11:40:38 2013 -0800

    altosui: Fix AltosLanded call to AltosGraphUI
    
    Changed the argument from String to File but forgot this one.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 59365eb4e1f63a1ced1667ac233058a06a8eecef
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 11 10:34:47 2013 -0800

    altosui: Remove graph series which aren't available
    
    Make sure all graph series have actual data underlying them by
    checking the available data before creating the series objects.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2a9ca1dcd00da2cfdd0a2ea616308dfb64ee80d4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 11 10:31:24 2013 -0800

    altosui: Stick file basename in graph window title
    
    The title was empty before, this seems more useful than that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5a4cd7b9b318ddea5d1dcc71918819f11256ca94
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 11 10:24:34 2013 -0800

    altosuilib: rescale axis when enabling data series
    
    This makes sure new series are visible when you enable them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 169a6d51718d6b9fae757df9950d2e960d1c8c1d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 10 19:33:50 2013 -0800

    micropeak: Remove Info.plist
    
    It's built from Info.plist.in
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 64399500ad1a7ad70452cbda4d60723b5904ca3d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 10 19:01:41 2013 -0800

    Build Windows .nsi files in configure script
    
    These need the library version numbers embedded in them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cbd9dd989a662f41ddcb0c9e0f4453840687fd4a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 10 15:34:56 2013 -0800

    altosui: Add map and GPS data to graph window. Trac #50
    
    See where the rocket landed without having to replay the whole flight.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f0a125503e502d213711df0d7774d837d4d98447
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 10 14:56:10 2013 -0800

    altosui: Display count of erased flights along with their numbers
    
    An attempt to clarify what's going on by providing both a count and
    the flight numbers.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 17455da530833d3db03ee2ace7b15130ed307670
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 10 14:51:46 2013 -0800

    altosui: Display block number while downloading flights. Track #51
    
    We don't know how long the flight log is, but we can at least provide
    a block number in the pacifier to let the user know it's not wedged.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a9cf50c9f29f42cc3ca0daff3c69a4087cf9aa1c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 10 14:40:48 2013 -0800

    altoslib: Fix available flight log storage computation
    
    number of flights was off by one as it was initialized to -1
    storage erase unit wasn't getting fetched correctly
    flight_log_max is in kB, not B; need to multiply by 1024
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 504cf412e8b60b5ff2dea93ed3336f0e058dea62
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 10 14:18:16 2013 -0800

    altosui: Display callsign in connecting message window
    
    When waiting for the remote end to respond, display the callsign along
    with the frequency so that the user remembers that it's important to
    set that too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c2701ae646124f0668c5f2d1df3fc80f0075a9d7
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 10 14:17:04 2013 -0800

    altosui: Interrupt MonitorIdle when changing frequency/callsign
    
    When switching radio parameters, the local device needs to have the
    parameters switched, so interrupt the current operation and start
    over, the frequency and callsign will be set the next time through.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cc0ea39fee73417ecd69c020d9eca723ebb2cf65
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 10 11:58:36 2013 -0800

    altosui: Add callsign to Monitor Idle window (Trac #62)
    
    This makes it a lot more obvious that the callsign is relevant to the
    Monitor Idle process.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bf88c5f829ea5d32043431945e862a9f6c96740a
Merge: 32270296 d05a7799
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 10 01:21:52 2013 -0800

    Merge remote-tracking branch 'mjb/master'

commit 32270296671aac3b3ba15f9c1777bcdd77b9c36c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 10 00:40:59 2013 -0800

    altosui: Adjust graph voltage tool-tip value format
    
    Voltages are always small, so use more of the space for the
    fractional value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a5fb03421751b342dcd450caee49a608d8828175
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 10 00:32:26 2013 -0800

    altoslib: Fix a couple of unit functions to make them public
    
    Nice to be able to use these outside of altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2efd3ad80d4fefa8ccc1b80a2e657dbf9ba0c60f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 10 00:29:29 2013 -0800

    altosui/altoslib/altosuilib: Switch altosui to shared graph code
    
    This adds a configuration tab to the graph window to enable/disable
    various plotted values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0169e56ad030c0096b1068d00f06957990dfb31f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 9 20:24:33 2013 -0800

    altosuilib/micropeak: Add state markers to micropeak graph
    
    I think this makes the micropeak graph as functional as the altosui graph
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 518b16f64f4be096ceff13ab31b96d6909fe3ae2
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 9 19:24:18 2013 -0800

    altoslib: Fix altoslib install
    
    Was using AltosLibdir in several places still
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 41ede0267250a1d3b26e19cc9dd78f32609f7f0f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 9 19:23:27 2013 -0800

    altosuilib: Initialize graph axes units
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9d3da1530c1007d5d1f28062b3947f4aa981bfa8
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 9 02:00:13 2013 -0800

    altoslib: Add AltosUnits.graph_format
    
    This describes the format of numbers used on a graph axis for use with jfreechart
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ab9caa22ea905844a99e08b5f6d3b072f094283e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 9 01:59:18 2013 -0800

    micropeak: Use altosuilib graphing functions
    
    Move these out of micropeak and into shared code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9839b0b62d797a8616fc66038e3f3c68e2a214d0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 9 01:58:23 2013 -0800

    altosuilib: Add graphing routines from MicroPeak
    
    Make these available for AltosUI too
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fd5e6b80a8be5fac7d913b97570f7e11f70a60ba
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 9 01:55:51 2013 -0800

    altosuilib: Remove duplicate AltosUnitsListener.java
    
    This lives in altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c6d7776bbe0b7f84e51af88d1ac2b7d35133a0ad
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Feb 9 09:09:36 2013 -0700

    various updates to the text .. more SMA to BNC adapter references, etc

commit 033c2c4c018343b0e86d5e231bc2dc56e643f8ee
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Feb 9 08:47:10 2013 -0700

    update copyright year to 2013

commit ed200884f3e4fb895ee17ef38a9b6d3371b59625
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Feb 9 08:44:11 2013 -0700

    add pcb overall dimensions and screw sizes the holes are intended for

commit e374f8e5a5f12602ef62518fcf672a231080baee
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 8 23:37:49 2013 -0800

    doc: Add TeleMetrum and TeleMini drill templates
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c3024b759fcdf8b84a2139c1535c573a31eb5c95
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 4 10:51:49 2013 -0800

    altos: Add atmosphere.5c
    
    Shared code for building pressure tables
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0e982294961205bef525ecad7172a1f3ab66677f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 4 09:56:18 2013 -0800

    test: Accept micropeak CSV files for micropeak testing
    
    This interpolates the missing values to provide a reasonable testing
    environment for the Micropeak flight firmware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9aca92a20343a2cf7e05abc7b100852d81f86c0d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 4 09:51:30 2013 -0800

    altos: Document which MPU6000 revs have broken accel values
    
    From Tridge -- MPU6000 rev C4 and C5 are broken, having accelerometer
    values in the wrong range. This commit just adds comments which note
    this; experimentation will be required to actually sort out what's
    going on.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 809eb5b1252a75d489e3ad2fd2a4af701fa0aa52
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 4 09:50:07 2013 -0800

    micropeak: Update Makefile to versioned Java libraries
    
    Library names have changed; deal with it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7afd76e70c086003a2cd87ce459fda4188c76ad6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Feb 4 09:49:07 2013 -0800

    altoslib: fix Makefile JAR target
    
    Was referencing stale classAltosLib.stamp instead of new classaltoslib.stamp
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8d1d8d2a3c129cdbd55427bcda0f26715b02f1ee
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 29 17:00:43 2013 +1100

    Add version numbers to java libraries
    
    Make our private java library names include a version number so we can
    ship and install multiple versions at the same time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5a3c5de6657d1c26e52015a8acec0cd05e294cef
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 29 14:52:23 2013 +1100

    Change AltosLib to altoslib
    
    Follow Java conventions
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d05a77992df983b9fa79f0e2b20d2c6b387c180c
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Jan 29 01:34:48 2013 +1300

    altosdroid: initial release to Play Store
    
    * Add release keystore (encrypted)
    * Turn off debugging in UI
    * add 'sign' target to Makefile.am
    * Update version string in AndroidManifest.xml to match released version of altosui.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 5eb52f54a616f4e89b718d50d77a7b68cf7a4354
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 24 14:18:39 2013 -0800

    Mark MicroPeak as a recording altimeter, not a peak-recording altimeter
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b62097c9d79f848042485234dc46ade60deabc02
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 22 18:50:02 2013 -0800

    micropeak: fix 'make clean' and .gitignore
    
    Make git status clean in micropeak dir
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 96193d8c09159b81e60851ed90682b9120e15f55
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 22 17:49:25 2013 -0800

    micropeak: Add mac build file Info.plist
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b5c988fb59c1e48baa81b56be9b7b4ab0eebabea
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 22 17:34:44 2013 -0800

    Add documentation for the MicroPeak USB interface
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9da66ca607664bb81b0986c121518faa4c1cb9fd
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 22 17:29:37 2013 -0800

    micropeak: Respect font size preference in MicroPeak stats tab
    
    This uses the font size preference to adjust the size of the text
    shown in the Statistics tab.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3454592169dcb61b81de9af2b631b87e7dd86231
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 20 15:42:05 2013 -0800

    altosui: Make initial AltOS window position configurable
    
    Give the user a choice of nine locations on the screen
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cf03ab3383b679e6617e8ab7004be91e5a727562
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 20 15:39:53 2013 -0800

    altosui: Remove duplicate AltosUIPreferences.java
    
    This lives in altosuilib now. Several files needed imports of
    altosuilib added as a result.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e1133481f2208fd16be8196977696da2cce430f3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 20 15:37:40 2013 -0800

    altosui: All of the Altos class is actually in AltosUILib now
    
    Remove all of the duplicate content, shrinking AltosLib to a simple alias
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5d35fd843299b5ff09a36220e6ecd8aefceb9b2c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 19 18:04:08 2013 -0800

    altosui/micropeak: Let native window system place windows
    
    Instead of forcing windows to our choice of positions, let the host
    window pick reasonable locations. This avoids having all of our
    windows appear on top of one another.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aed990c3a37249a111c783336afade7ecdda7546
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 19 19:30:38 2013 -0800

    altosi: callsign could not be configured for AltosUI
    
    An extra local variable called callsign_value was hiding the object
    field by the same name and preventing it from getting set to the right value
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4646beb421ab5bec612dfe5e3c57e790b1f41203
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 18 21:53:54 2013 -0800

    Tag version 1.1.9.3
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ce3c9e6be6fde51fb02d692f1ef1222fb5ada8c9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 16 22:05:32 2013 -0800

    micropeak: Fetch Mac and Windows drivers when creating packages
    
    This downloads the FTDI drivers from FTDI during the build process
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a04c4f7b07e97d568f8f6f56dd363329817fb52c
Merge: 0c2fa961 bd84dfd8
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 16 15:22:46 2013 -0800

    Merge branch 'master' into telescience-v0.2

commit bd84dfd8e53d8939281993e062015f67c0dd9fa2
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 16 15:18:31 2013 -0800

    micropeak: Show decimeters in stats window
    
    We're promising this kindof accuracy, so we'd best show it off
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 540309240a8515116120dbd4403902282ed8c27b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 16 15:15:49 2013 -0800

    altos: Add Kalman filter to MicroPeak
    
    This filters altitudes more accurately and also allows tracking of
    acceleration, which is used to discard height data generated by
    ejection charge noise
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 249ee968305ae6e8fcf0a10e5cf9cc5826bd81dd
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 16 15:13:31 2013 -0800

    altos: Add computation of MicroPeak Kalman correction coefficients
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd60d85d07b881ac03294a8cf607e469f2e69610
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 16 15:01:12 2013 -0800

    altos: Correct model error covariance matrix
    
    Finally found a couple of decent references on how to set the model
    (process) error covariance matrix. The current process matrix turns
    out to be correct for a continuous kalman filter (which isn't
    realizable, of course). For a discrete filter, the error in modeled
    acceleration (we model it as a constant) needs to be propogated to the
    speed and position portions of the matrix.
    
    The correct matrix is seen in this paper:
    
    On Reduced-Order Kalman Filters For GPS Position Filtering
            J. Shima
            6/2/2001
    
    This references an older paper which is supposed to describe the
    derivation of the matrix:
    
    Singer, R.A., “Estimating Optimal Tracking Filter Performance for Manned Maneuvering Targets,”
    IEEE Transactions of Aerospace and Electronic Systems, AES-5, July 1970, pp. 473-483.
    
    This change has a minor effect on the computed correction
    coefficients; it should respond more reasonably to acceleration
    changes now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0c2fa9614ffe22901ba0fd089e1e02c362f9fbe0
Merge: 456120d2 f2b59cf3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 16 10:40:28 2013 -0800

    Merge remote-tracking branch 'origin/telescience-v0.2' into telescience-v0.2

commit 456120d201d72c89576a0c8d69b2fcba44169507
Merge: f24c4219 994ff76a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 16 10:39:40 2013 -0800

    Merge branch 'master' into telescience-v0.2

commit 994ff76a064dcbd3113db771cd9cd9591fd68dea
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 16 10:37:55 2013 -0800

    doc: Add simplesect headers to release notes
    
    This makes it easy to see which changes are from each version of the software.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f64fe671b7b4e2389219d672bcea978d0539d4ae
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jan 16 10:46:04 2013 -0700

    document what the 'Age' value in the AltosUI display means

commit f2b59cf3d30425bc4b12f37e86832e40b7702d3d
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jan 16 10:46:04 2013 -0700

    document what the 'Age' value in the AltosUI display means

commit f24c4219de9563cf0ef24b763ce54d961c182696
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 13 21:38:26 2013 -0800

    altos: Change CC1120 SPI speed to 4MHz.
    
    Most of the chip can run at 8MHz, but extended register access is
    limited to 6.1MHz. Instead of pushing things, just run the SPI bus at
    4MHz.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a866431e9a063830b407f749ff97a730831e5e4e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 13 20:50:10 2013 -0800

    altos: Crank fast SPI on STM to 8MHz
    
    With the GPIO pins set to 10MHz now, we can run SPI at the maximum
    possible speed (8MHz).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8d885616e2e522b8aea5e7d5398f16d330a0cffa
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 13 20:48:47 2013 -0800

    altos: Set STM GPIO output speed for SPI pins correctly
    
    The GPIO pin settings affect the output impedence, and hence the
    maximum speed for SPI. Cranking these to suitable values allows SPI to
    run at full speed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2810aa33fc6fe254761a0044c62c7b23e59e6bc
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 13 20:48:08 2013 -0800

    altos: Build telescience-v0.2
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3645cb6578ec2a11ab7b0f6d435c6de22ca02a9f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 13 10:31:59 2013 -0800

    Update avr ao_spi_slave code to match API changes
    
    Made the interface use void * for pointers and uint16_t for lengths
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7883744526156879ad63256ab12d959df56d5252
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 12 20:11:38 2013 -0800

    altos: Initial telescience bits
    
    These might do something, and should at least bring up USB
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 670034eef48d63cdaec8d271fa93da984ffe2ea9
Merge: 8c5ebaf8 d374d6be
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Jan 12 10:57:22 2013 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit d374d6be7eb040457f4df6c38b5d057f26ee741c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 12 09:45:31 2013 -0800

    micropeak: Record samples before boost detect
    
    This saves a ring of 16 samples while waiting for boost, and then goes
    back through those looking for the first sample higher than the ground
    and writes the remaining ones to the log so that we get a more
    complete log of the flight
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 85baf657e7ea6debbed9effc6f8daff7ef09a5d8
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 10 23:42:41 2013 -0800

    altosui: Reference altosuilib.jar and altoslib.jar from original dirs
    
    The symlinks may not be created when the build is getting run as the
    dependencies aren't in place (thanks, automake).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 962e3bd0461f187cd599ba54e7129c84f97d4c4d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 10 22:11:36 2013 -0800

    altosui,micropeak: Link altoslib.jar and altosuilib.jar before compiling
    
    The symlinks for the libraries have to be present before compiling stuff.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9f6b1570277c326c00d5da274f608fbdeb91c911
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 10 21:42:23 2013 -0800

    micropeak: Note when libaltos fails
    
    Not getting any device list back from MicroUSB means the library
    wasn't found, so pop up a dialog box explaining the situation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c3e807ffcd34d514f36bc11adbae9337991a1743
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 10 21:41:35 2013 -0800

    micropeak: Create 'micropeak' script correctly
    
    Add altoslibdir, remove -cp argument
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 98e74150040e444ed6480ef3d107caa54c205ef9
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 10 21:38:15 2013 -0800

    micropeak: Demonstrate how to hide various parts of the graph
    
    This just shows how to disable a series and axis; it's not used here.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 505ef49a041740fe7cbb5c537b68d22e5fb6c0be
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 10 21:37:18 2013 -0800

    micropeak: Report recorded apogee instead of searching flight data
    
    This makes sure we report the true apogee value instead of looking for
    the maximum height value in the flight data, in case the flight
    recording ended before the apogee was reached.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e94f9547a566c74c30b6321bc073b8bdcb071604
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 10 21:34:24 2013 -0800

    Fix up 'make fat' to build all libs and micropeak too
    
    There are now three libraries to build for both altosui and micropeak.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 12a9bd0479db25cbe45c0385913315cc1e0bc892
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 10 21:26:20 2013 -0800

    libaltos: Need to check for tty/ttyACMx before ttyACMx
    
    Otherwise, we'll find 'tty' when looking for 'ttyACMx' and no good
    will come from that
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1ed6b13e87c1cc2d6618b6ba3a293ea6e3b5752e
Merge: acff2f46 d409417f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 10 21:48:12 2013 -0800

    Merge remote-tracking branch 'origin/micropeak-logging'

commit acff2f466031fd1a8533fc315411c3734a8bacc6
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 10 21:27:32 2013 -0800

    altos: Time out reading packet data from cc1120 after 100ms
    
    Sometimes the radio will give a spurious wakeup indicating that a
    preamble seems to have arrived, but no packet data will appear. In
    this case, abandon the packet reception and go back to waiting for a
    preamble again. This releases the SPI bus for other users and also
    avoids missing packets.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f715b5da3424adacc5a7f1e001e1dd7fa6f50385
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 9 15:29:01 2013 -0800

    altoslib: Clean up AltosRecord clone methods
    
    Make the AltosRecord version abstract and then implement suitable
    versions in each subclass by creating copying constructors for each
    class.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 42733d2823b1ecf54c03881fc120067868c0ff4c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 9 15:23:46 2013 -0800

    altoslib: Don't smash existing GPS pad alt after boost
    
    Leave the existing GPS pad altitude value in place after boost by
    checking to see if it was ever computed before resetting it to the
    barometric pad altitude. This makes GPS height values relative to the pad.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8c5ebaf88b459b09924753a8077393a7b0639133
Merge: 59f355f5 d7d259c7
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jan 8 22:12:17 2013 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit d409417ff8e9ed9d406bf1c04542a4ecb574768b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 6 13:20:25 2013 -0800

    altosui: Create .dmg file for Mac OS X installations
    
    Easier for users than a zip file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2582e9b45bb81ff70fbd5c8581370c8c1b5bd5e5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 6 13:00:00 2013 -0800

    micropeak: Add ReadMe.rtf to Mac distribution
    
    There are *two* steps to installing MicroPeak on Mac OSX. Best help
    out the poor user by explaining that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0f05b1996122b6c6bce81ca33e85c2a65c3ded18
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 6 12:52:25 2013 -0800

    micropeak: Create Mac OS X package
    
    Includes the FTDI driver and the MicroPeak app
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d663da13db60e1200535282ee1a0ea6305cad98c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 5 10:59:26 2013 -0800

    micropeak: Suggest filenames for saving data
    
    Uses the format '<year>-<month>-<day>-flight-<number>.mpd'
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0c9eecfae02e8499e7c3d53a4386f026c54b04cd
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 5 10:38:20 2013 -0800

    micropeak: Create .dmg file for apple. Create micropeak-jdb script
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 20d54cae1eeca6c5d05bfacbafd77c8aa72247c9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 5 10:37:30 2013 -0800

    micropeak: Use new libaltos entry point for FTDI devices
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e7e71e2042f2bfc24adcc57cecfe26368eb03e8a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 5 10:36:50 2013 -0800

    micropeak: Move raw view caret to top. Make raw text uneditable
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 70c7674b53d77e9995a235bb2dc455cb53d9e81e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 5 10:36:40 2013 -0800

    micropeak: Remove debug printf for command line
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 746ae98829a0fc15577ae0f7b506112178f481e3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 5 10:35:20 2013 -0800

    Add separate code path for listing FTDI devices
    
    This lets the library do different things for FTDI devices, as is
    required on Windows (for instance)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca284d8bef2f4bd360eaec58048ba9abdafc55bd
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 3 18:14:40 2013 -0800

    micropeak: Use data.export for Raw display. Change to MPH
    
    data.export already knows how to format stuff, so use that to
    construct the raw data presentation for the GUI too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 81088b42b3ea899c8d1b3f09ee4fe24378fa03c9
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 3 17:40:19 2013 -0800

    micropeak: Export in lots of units
    
    meters, feet, mach and gs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f20781010a6560b7b359af269c502d098917c446
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 3 17:31:01 2013 -0800

    micropeak: Add command line export option
    
    micropeak --export <foo.mpd> will create <foo.csv> full of useful data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 36e9603f74b85776ac049758021b51909161aeb1
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 3 17:30:29 2013 -0800

    micropeak: Add Mac OS Info.plist file
    
    needed to build a Mac OS X application
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 722dc277dee915dcd09d3d65c0ee19173b114ef7
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 16:30:44 2013 -0800

    micropeak: Change graph tooltip units on the fly
    
    Make sure the tooltips show the right units when they change
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9e4c5b0a6ed3594cff6ab71398c172daa7c67177
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 16:19:33 2013 -0800

    micropeak: Use JTextArea instead of TextArea
    
    Looks nicer and doesn't appear to have the same weird clipping problem
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1979063928f1cdfc75c01ec098164c2822a5138d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 16:07:49 2013 -0800

    altosuilib: Fix install issues on Linux
    
    altosuilib.jar wasn't getting installed
    micropeak was using the wrong name
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 31fa139578a86821844e3e2efb1a84bdea4f1370
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 12:24:44 2013 -0800

    micropeak: Add view of raw data in GUI
    
    Looks just like the export file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2c423d9287c6b9ea7233f5e3430682cb1c865da1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 11:44:32 2013 -0800

    micropeak: Add CSV export
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93d640de65a1ecedfef89c96521c21632f96f372
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 11:22:11 2013 -0800

    micropoint: Add MicroDataPoint
    
    This holds height/speed/accel data all in one place
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0933f2ed5791cfdc28242cd60be3942556f4ed20
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 10:48:56 2013 -0800

    altoslib: Remove unused fake product_micropeak_serial
    
    Code cleanups have made this no longer useful
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eb670e9b7576563d747ae5c9416371f145455ec1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 09:50:09 2013 -0800

    altosui: Remove duplicate AltosUSBDevice
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dc404bee7163a369eb1d95e0942b676bd3f95574
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 09:41:42 2013 -0800

    altosui: Use shared AltosUIListener
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f0bbd3e2571336b5f5872759b5010148325efbaa
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 09:40:13 2013 -0800

    altosui: Use shared AltosUIFrame and AltosUIDialog
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ae09bd641a86970763380f3028f987ffcb791020
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 09:33:36 2013 -0800

    altosui: Use shared AltosFontListener class
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8af405f1ac4d1b930f10465fd0270a49176f16d1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 09:31:35 2013 -0800

    altosui: Use shared AltosDeviceDialog
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 605b752080827bb59fcff5af9f1eab9fd5dad76b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 09:09:10 2013 -0800

    altosui: Remove AltosVersion.java
    
    Version data now stored in AltosUIVersion.java
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5ce43661834920c3a8f3a1b6e1c555fb952b512d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 09:06:41 2013 -0800

    altosui: Use altosuilib for configuration
    
    Start moving to shared UI code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8a5666bcf4949b846589c000e1620afe39593f57
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 2 09:06:22 2013 -0800

    libaltos: Remove a couple of spurious debug printfs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9efc57e4052e3c11218973f7666ad18ea5cf2a5a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 1 23:15:14 2013 -0800

    Rename AltosConfigureUI to AltosUIConfigure
    
    Leave AltosConfigureUI for AltosUI
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 103eaa674be7582437aa850f0fd82788e10f244b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 1 23:10:04 2013 -0800

    micropeak: Check CRC on downloaded
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4dae5b876b089c17c87c72df2ad2fa5ec4f1657c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 1 23:03:29 2013 -0800

    Build micropeak by default
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3ac109132d1878abbd277ae21215716326404781
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 1 18:20:23 2013 -0800

    Build installable versions of MicroPeak GUI
    
    Makes windows/mac/linux versions. Windows version appears to work on
    Wine at least.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d94ceed48be439f368d597bf06ed1e8adc4ef46b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 1 17:10:55 2013 -0800

    micropeak: Add 'Close' menu item. Fix start location
    
    Let the window system pick a spot to place the application
    windows. This avoids having them all sit on top of one another.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 982b272920fcb444fd399941cabe613d8ac7104b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 1 16:57:31 2013 -0800

    micropeak: Fix chart colors
    
    Need to apply custom colors after setting the theme
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d83587c3c66b730cc54ca153714eee520ee40b2c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 1 15:30:11 2013 -0800

    micropeak is code complete now.
    
    Added save and download functionality. Removed 'new' from file menu.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 65b512c890a3ccf487655b79305ab1cfcf49259c
Merge: 434e946a d7d259c7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 31 14:24:59 2012 -0800

    Merge remote-tracking branch 'origin/master' into micropeak-logging

commit 434e946aa79b5a7e60799f996887bc6467889b92
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 31 14:22:37 2012 -0800

    Allow CC1120 to sit on other SPI busses
    
    Reading the incoming data bypasses the SPI API and touches the SPI
    data register directly; which port that is needs to be specified in
    the pins file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2bd6aca54fc465995d6985c8799cd0d016c9a543
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 31 14:17:26 2012 -0800

    micropeak: Add flight stats pane
    
    Shows graph or stats in alternate panes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 56a1210a7b04a3623d19ec282f26fecc79c126dd
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 31 11:42:57 2012 -0800

    micropeak: Use altosuilib
    
    This removes a pile of code stolen from altosui
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6db192898eebf750c4d51516eff7916bc4da493b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 31 11:38:53 2012 -0800

    altoslib: Add units change notification list
    
    This allows the UI to automatically respond to changes in the
    preferred units.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 03496dc47372c40f7faae1766b0e729a1feeab7c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 31 11:32:56 2012 -0800

    Create altosuilib to share code between altosui and micropeak
    
    Need to convert altosui to using it, but that shouldn't be hard
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d7d259c7b3eedcc1c185d2b7e3c33e829bd7ce96
Author: Keith Packard <keithp@gag.com>
Date:   Fri Dec 28 23:05:31 2012 -0700

    altos: megadongle radio int is C13, not C14
    
    Hard to get interrupts when listening to the wrong pin
    
    Signed-off-by: Keith Packard <keithp@gag.com>

commit f7a56152808c7838c1886884bb77de2705ab076c
Merge: daf8776f b70ca5ea
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 28 21:50:13 2012 -0800

    Merge remote-tracking branch 'origin/master' into micropeak-logging

commit 59f355f5288b42b2e47743d06e41e55819a55f64
Merge: 099d2b0e b70ca5ea
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Dec 28 22:30:26 2012 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit b70ca5eaf1c3d60bd9adf6835e1247f4147ca9c8
Author: Keith Packard <keithp@gag.com>
Date:   Fri Dec 28 19:35:46 2012 -0700

    altos: Fix MegaDongle CC1120 chip select pin
    
    It's on A0, not C5
    
    Signed-off-by: Keith Packard <keithp@gag.com>

commit a6e116515f5e4522adbfcd1900885c2a6034b57c
Author: Keith Packard <keithp@gag.com>
Date:   Fri Dec 28 19:34:33 2012 -0700

    altos: Fix cc1120 debug code to build on megadongle
    
    RDF function had changed, and APRS isn't available on megadongle.
    
    Signed-off-by: Keith Packard <keithp@gag.com>

commit daf8776f8646ba187f1a17f7aae797503bed3f2a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 28 16:34:48 2012 -0800

    Lots more work on the MicroPeak application
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 099d2b0ea59d825bd69a3fbb5523b9cbb9430ce8
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Dec 28 15:36:24 2012 -0700

    update stlink-pins document to make it clear 4-pin MicroMaTch is our
    standard STM32L programming connector, and the big MM thing was v0.1 only

commit 9da9adc2718928de2af65a68cddbcc636cc3e9e8
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 25 14:45:49 2012 -0800

    Add file chooser for MicroPeak
    
    Needs reasonable directory tracking
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bf8e1b6eecb2bae12ffdbd730bd6ec12ccdaf23a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 25 14:23:29 2012 -0800

    Start building MicroPeak GUI tool
    
    Download, save and analyze MicroPeak flight data
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 868ef0c9c4b208c02a87180b0eede329369bdc77
Merge: 669cde8a 57487e78
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 25 14:20:42 2012 -0800

    Merge branch 'master' into micropeak-logging

commit 669cde8a87d88ceae89e369c1d38b88c9f8198cf
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 25 14:19:19 2012 -0800

    Move libaltos to top level
    
    This will let it be shared by the new MicroPeak gui
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 57487e78b90465a21c87cf30deb0aeaba0887332
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 18 23:15:20 2012 -0800

    altos: Actually record ground averages for 6dof sensor
    
    This gets the long-term averages for the 6dof sensors recorded into
    the first flight log record.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 244415c515f21328cffe88d1369949a4af49a177
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 18 22:59:36 2012 -0800

    altosui: Clean up graph a bit, remove shapes, improve tooltips
    
    Sometimes graphs would get shapes at each datapoint which was
    annoyingly cluttered. And, the tooltips used a format that was
    difficult to interpret.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d7d35b0bd86b912c43a21a275347fca201079847
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 18 00:39:37 2012 -0800

    altos: Add distinct LED pattern before writing log data
    
    Otherwise, the whole log looks like a an extra altitude digit.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 23dc9a63ae8bc982d9352cfb7a3f508d8a08c374
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 17 22:58:49 2012 -0800

    altos: Make micropeak 'serial' interface work
    
    I prototyped the mpserial interface on a breadboard and tuned the
    circuit to register the LED correctly. Then adjusted the serial code
    to send bits at the right speed and format.
    
    The logging contents are now in hexdecimal with a CCITT CRC-16
    computed to verify correct reception.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b1d37be4c024e9690107c693d9819229025966fa
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 17 17:03:41 2012 -0800

    altos: Average MPU6000 values on ground for later use
    
    Having long-term ground averages recorded to the eeprom file will make
    post-flight analysis of the data better.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b6c9e8ffc87481a23ba90fa22df7c9421e2cd6a6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 16 16:52:15 2012 -0800

    altos: Re-enable beeper on megametrum
    
    I turned it off during radio testing and forgot to fix that before committing...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd7c30324461b2aed83b86bfe4323180664123cf
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 16 16:08:33 2012 -0800

    altos: Add new MARC status pin interrupt bits to megadongle
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dfff41c2bec16fe4c7b198a4720eb40d8e740ac4
Merge: 22a58b0f 00bc1a09
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 16 16:06:41 2012 -0800

    Merge branch 'aprs' into 'master'

commit 22a58b0f9b82ea8c7abeda79ca7a4cd21c3dc93c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 16 16:04:05 2012 -0800

    altos: Wire up another CC1120 GPIO to get MARC status changes
    
    When the radio drops out of RX or TX mode due to an error, it changes
    the MARC status, and sends pulse down a configured GPIO. Use this to
    tell when something 'bad' happened during TX or RX so that we can
    recover from losing the SPI bus in the middle of transmission or
    reception.
    
    Without this, the radio would change state and we'd never know,
    leaving the radio code waiting for an interrupt that would never arrive.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e3ac3f2038cc3a43252fc8f820a1373a637ab83
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 16 13:31:45 2012 -0800

    altos: Test APRS rounding by using coordinates near the boundary
    
    This selects lat/lon and altitude near the rounding boundary to check
    that the resulting APRS data is correctly computed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9bc701ce1132f04ec90ef22e6a7a90c67918737b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 16 13:30:20 2012 -0800

    altos: Document what HAS_BOOT_RADIO does in the m25 driver
    
    HAS_BOOT_RADIO causes the m25 driver to abort any ongoing receive in
    case that is holding the SPI bus.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6b4cfd8719e3fd4a2904369e176182c870a3b43c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 16 13:29:31 2012 -0800

    altos: Round APRS data correctly
    
    Apply rounding once at the start of the computation, then truncate
    after that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 00bc1a090a294e103370b8ab0a0fe5d7a2acfe92
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 16 13:25:54 2012 -0800

    altoslib: unconfigured radio frequency data is now -1, not 0
    
    This changed when AltosConfigData was cleaned up, so now frequency
    settings must check for positive numbers rather than non-zero.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 034dfc4f9bef049b1fb5704873dd76f6a3a9949d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 15 15:07:07 2012 -0800

    doc: Add warning about matching battery voltage.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4925a6f2f4edd5b54641a5240030e5c0e3e95db6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 15 14:47:22 2012 -0800

    doc: Add paragraph noting differences in JST polarity
    
    Looks like the 'standard' polarity for 3.7V lipos using JST connectors
    in RC aircraft is swapped from what Spark Fun uses. Note that in the
    docs to try and keep people from wrecking hardware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6fa1ec0dbf2a4eda8d061c67b3779b83b88f29f0
Merge: f1409311 73422bf7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 14 19:29:50 2012 -0800

    Merge branch 'micropeak-1.1'

commit f1409311761d65e85ac08c38c9b9a0114cc8f535
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 14 19:28:49 2012 -0800

    altoslib: Discard previous flight state on SN change
    
    A previous change discarded previous *telemetry* state, but failed to
    discard any previous overall flight state. This would reset some of
    the data fields, but wouldn't reset the GPS state and max measurements.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8dbe8abd034a2d1ee2ec0380ec376722a4ecbd71
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 14 19:27:56 2012 -0800

    altoslib: Only list flight logs for boards that we know have them
    
    Boards that don't have flight logs will generate a nice 'Syntax Error'
    and fail to initialize.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fc2e5beb9173663e1e37a9b5a7b6eea1046222f7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 14 11:11:39 2012 -0800

    altos: Log baro readings for MicroPeak
    
    This logs barometric data every 192ms (more or less) to the 504
    remaining bytes of internal EEPROM storage in the ATtiny85. This
    provides 48.192 seconds of logging.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 73422bf72e07b169bfe37b02518b9e7479931971
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 12 22:53:36 2012 -0800

    altos: Note that Lithium battery may be included with MicroPeak
    
    I'm not willing to say that we'll always be able to include a battery,
    but we can certainly try, and they're certainly cheap enough that we
    should.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 688a9458bb03a81e71554c14295d1baacbbbd530
Merge: 816c6b5d c8866fba
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 12 22:36:59 2012 -0800

    Merge branch 'micropeak-1.1'

commit c8866fbae2b00b1d7a7ddf89a3f971a75d3dcd60
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 12 22:35:05 2012 -0800

    doc: Update MicroPeak doc to include EEPROM and programming info
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 816c6b5d087694a9db9c34cc5ec7671a1487d9b9
Merge: a4a84182 a4678cd8
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 12 11:10:14 2012 -0800

    Merge branch 'micropeak-1.1'

commit a4678cd848da994dc893b75790e4c9a86e54d895
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 12 11:01:48 2012 -0800

    altos: Log in-flight data for MicroPeak
    
    This logs the low 16 bits of the pressure value to the remaining
    on-chip eeprom. It can be read out with a standard AVR programming
    dongle.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 07a45c50429389ae7b51e12bc847d34fb1577bc6
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 12 10:57:03 2012 -0800

    altos: Add load-slow target for MicroPeak
    
    This sets the programming clock to 1/4 of the 250kHz clock used by the
    MicroPeak firmware, allowing the device to be reprogrammed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 69447d8ad3f5a1e1f59939477afc7720a437fadc
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 11 23:43:30 2012 -0800

    altos: Tim Van Milligan suggestion for µP -- delay before showing last flight
    
    This gives the user time to move their finger out of the way of the LED.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a4a841828924ee37f5201d4ff0aec38459f2d802
Merge: b26e837a d309fcff
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 11 14:42:43 2012 -0800

    Merge branch 'micropeak-1.1'

commit d309fcff54fe6904fb860f33c15fcb7d1c96e91b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 11 14:41:53 2012 -0800

    altos: Increase MicroPeak blink times a bit
    
    make the 0 longer (1 sec now), and make the time between digits longer
    (also 1 sec now)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b26e837a6f18641aae9372aab22168849ff10812
Merge: 1489c7f7 c233ef67
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 9 18:33:31 2012 -0800

    Merge branch 'micropeak-1.1'

commit c233ef67f42c14cb1d0e0542a9523b279f826af5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 9 18:28:33 2012 -0800

    altos: Use alt_t value to hold displayed height in micropeak
    
    Heights are 32 bits (to get .1 meter resolution) in micropeak; make
    sure we have enough bits while blinking out the computed value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit defd5d0784a754be30e3295067fbc85a108ad172
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 9 18:27:49 2012 -0800

    altos: Make sure pa to altitude conversion is done with 32 bits
    
    We need 32 bits to hold intermediate values, even if the final
    altitude is reported in only 16 bits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 24948ea1d41f2a7c96ac09e35d1250909e5726ae
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 9 14:32:35 2012 -0800

    altos: Store altitude in 32-bits for MicroPeak
    
    Needs all 32 bits to store .1 meter resolution
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cf47efdc86f0b421fcf4389669fbecf6fa3f5934
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 7 22:49:34 2012 -0800

    altos: Stop including profiling and stack guard code in megametrum
    
    These take CPU time and memory and are intended only for debugging
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4339d5c8e6373119e5377fe5c883b6b0e6ce37f6
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 7 17:38:17 2012 -0800

    altos: Fix aprs test to not allow callsign configuration
    
    There's no configuration to take a callsign from...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit abf82991b8e69754ebc4857ce78ac4a4b01f16e4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 7 17:35:15 2012 -0800

    altosui: Add APRS interval configuration to UI
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bd05421991b596fe9cf73ee25c9046b0fb4e32f7
Merge: 1f797066 1489c7f7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 7 17:34:10 2012 -0800

    Merge branch 'master' into aprs

commit 1489c7f75f7b9ce547ac49c157b440c4f9131ef4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 7 17:27:48 2012 -0800

    altosui: Call config UI from AltosConfigData directly
    
    Don't make AltosConfig have a pile of config code, stick that in
    AltosConfigData instead. This uses a new interface, AltosConfigValues
    to get from AltosConfigData to the UI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1f797066857b171b19829e2bb7187b8faf37d07c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 7 17:20:02 2012 -0800

    altos: Use configured callsign in APRS packets
    
    Instead of hard-coding my own call sign...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b28323ce91d23db5e1c3cbd1309c72aafcfbe235
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 7 17:18:32 2012 -0800

    altos: Make APRS interval configurable
    
    This provides a separate configuration value for APRS, allowing the
    interval between APRS reports to vary.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f8a704268f0978a39b9c7983e049ef55914f7280
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 7 10:15:25 2012 -0800

    altos: Fix up APRS packet sending code in cc1120 driver
    
    This fixes the FIFO management, ensuring that the data are streamed
    into the radio fast enough to keep the packet continuous. Sounds like
    it works, but testing with an actual APRS receiver is required.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 748e42ebf1dfb1efd5dec6ddd93f5c7aeedeb01d
Merge: 75912f8a c10f9a43
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 7 10:14:11 2012 -0800

    Merge branch 'master' into aprs

commit c10f9a438ed5789479d21c78153ca7f14c05534c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 7 10:05:51 2012 -0800

    altos: fix functions calling pollchar to use 'int' to hold the value
    
    AO_READ_AGAIN doesn't fit in a char anymore now that stdio is 8-bit
    clean, everyone using pollchar must use an 'int' variable to capture
    the whole value from pollchar.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 16fd9009d8b034fd8d208115317f65fabe10072a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 7 08:32:22 2012 -0800

    altosui: Use AltosConfigData for altosui configuration dialog
    
    Instead of a separate config language parser, share with altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e572651b36ad557d716fb14e76e3eec132e5ebdf
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 6 17:08:39 2012 -0800

    altoslib: Make AltosConfigData parse all of the config data
    
    It was missing quite a few. This also speeds up parsing of config from
    TeleScience, TeleBT and TeleTerra by not listing flight info on those
    products (where it doesn't make sense).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cb4f2b62d50aca615bd4f9f230a1736880125e3e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 6 17:07:25 2012 -0800

    altoslib: Make AltosMs5607 capable of parsing ms5607 info lines
    
    This moves the parsing from AltosMs5607Query
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b4e86af6de52ea0bacf80e3936b6cd17c1cbf898
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 6 17:06:17 2012 -0800

    altos: Change 'flight-number' to 'current-flight'
    
    Avoids ambiguity with stored flight info, which starts lines with 'flight'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9d095eb1987f35d0d4e6540bf335e1faaa7c86ec
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 6 16:29:36 2012 -0800

    altos: Shrink 'ao_version' by calling printf fewer times
    
    Each printf call costs quite a bit of code space on the cc1111, so
    instead of making multiple short calls, make one longer one.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 75912f8af04cecc0bbffecb2072d465c3744d4e8
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 6 10:30:46 2012 -0800

    altos: Send APRS packets even during ascent
    
    If you're using APRS, presumably you want to watch the rocket going up too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1f84c0adbfa494ddc7dbe276796d999560be9438
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 6 10:28:14 2012 -0800

    altos: Allow telemetry, rdf and APRS to be individually controlled
    
    But, only when APRS is available so that TeleMetrum and TeleMini don't
    change behaviour
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f661da527fb4a3a492f5322e2a718d441e1cde83
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 6 10:23:39 2012 -0800

    altos: Hook up APRS to telemetry loop
    
    Send APRS packet once every 2 seconds
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c1e6fa32b856b91afa355cd272d2d7287d3ccca1
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 6 10:12:11 2012 -0800

    altos: Hook APRS up to the radio
    
    This adds an arbitrary-length packet writing function to the radio
    code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 51ef826372f466f44901c4c609ed6a987d30fda4
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 23:39:47 2012 -0800

    altos: Prepare APRS for use within altos itself
    
    Make all variables static, const-ify constants, change the public
    name of the single entry point.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 74969483736381858484dca9ebb528d9d2d73f5b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 22:23:46 2012 -0800

    altos: Start restructuring APRS code to create and send packets
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 933d654ec917d9794e87407a7e579438bb738d54
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 21:37:47 2012 -0800

    altos: Remove a bunch of time bits from the APRS code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 684f53d67379cf2ae696fab93d81e49208dfa43c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 21:34:05 2012 -0800

    altos: Remove APRS sine-wave table
    
    We're generating a lovely square wave, which appears to be decoded
    just fine thankyouverymuch.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b79f448818126258174044a23db5b4f330fd5986
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 21:25:29 2012 -0800

    altos: More APRS trimming
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0bb7200f85db1bc6e39e72e671be9a7aef9c8f09
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 21:22:55 2012 -0800

    altos: Remove more unused APRS code
    
    Getting down to a reasonable amount of code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d717edd18a35376811d6be0d0c7522ee8cc426f9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 21:13:37 2012 -0800

    altos: Reduce printf calls in APRS packet generation
    
    Merge all of the data into a single printf call
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3e1254c4f3261f66d8070250898fe906eb80d8f2
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 21:08:19 2012 -0800

    altos: Strip out everything but the basic position reporting from APRS
    
    Any useful data will be sent over the digital link; APRS is strictly
    for position tracking
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fe820a8a2dc6248b5edb96a9521536d41b936116
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 21:01:59 2012 -0800

    Signed-off-by: Keith Packard <keithp@keithp.com>
    
    altos: Switch APRS to standard position reporting form
    
    Stop using NMEA sentences for position

commit 03f844ddcd95166211451fda0b20f9b15496294e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 20:11:35 2012 -0800

    altos: Add missing ao_aprs.h file
    
    This has defines for the planned APRS interface
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8b1f186a574c22cebd9daba9d352ec82556c3b28
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 20:10:54 2012 -0800

    altos: Generate all of the APRS messages
    
    Note that two of them are in NMEA form, which some receivers appear
    not to parse
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0c2c47dd7af2fc95de852178c4244daba02f44ed
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 19:44:09 2012 -0800

    altos: Add test scaffolding for APRS
    
    This moves some test code out of ao_aprs.c and into ao_aprs_test.c,
    and then adds Makefile fragments to compile and run the resulting
    program, creating a wav file as output
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d65751fded3321b8a350e4140c44f87fec95aab2
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 19:30:27 2012 -0800

    altos: Make aprs code output encoded packets to stdout
    
    This generates a .wav file containing a single APRS packet. This has
    been tested and appears to be successfully decoded by an APRS receiver.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 024e35dc6a0356adfc801a023d5ec208cf3996cb
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 5 09:59:16 2012 -0800

    altos: Add Pico Beacon code as ao_aprs.c
    
    Pico Beacon hooks a GPS to an AD9954 DDS radio chip with a PIC. It
    directly synthesizes the necessary AX.25 packets to do APRS
    reporting. We're going to appropriate the code for use in Mega Metrum
    to (optionally) broadcast APRS packets.
    
            http://ad7zj.net/kd7lmo/aprsbeacon_code.html
    
    Signed-off-by: Keith Packard <keithp@keithp.com>
    (

commit ce12787b56f699166cafe4cdee9e2a4d8e66ebed
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 4 09:45:01 2012 -0800

    altos: Break out GPS speed resetting sequence
    
    To set the GPS speed, we delay for 1/2 sec, change speed, then delay
    for another 1/2 sec.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d1778937e136fdecf8607dd9b358cf972d87ca34
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 4 09:43:56 2012 -0800

    altos: shrink ao_companion_status by merging printf calls
    
    Multiple printf calls are longer than one big one, so merge these
    together to save some code space
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f6f440767eece896507903e6e58849f11088829f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 4 08:48:05 2012 -0800

    Another ao-mega addition which shouldn't be here
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1f52e8afce514a6b943c92aaa6d7189d11d9fe76
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 4 01:34:03 2012 -0800

    ao-tools. Oops, let 'ao-mega' slip into build.
    
    This is a tool to parse ao-mega eeprom files; not sure it'll be that
    useful, and it's certainly not usable *yet*.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d4d5d411679d074295d4722f4887fd1cf4f0906c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 4 01:30:39 2012 -0800

    ao-sky-flash: Clean up debug printfs a bit
    
    This makes debugging output a bit cleaner
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5f6b3790667d9b92370b4fe0dad5626929fea2ba
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 30 20:51:47 2012 -0800

    altos: Make skytraq reflashing code try both 9600 and 4800 baud
    
    This lets it communicate with the ROM code which boots at 4800 baud
    instead of 9600 baud.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd8b2eadab12965d232640449b1d1c9f2484238c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 30 17:36:40 2012 -0800

    ao-tools: Add ao-sky-flash to update GPS firmware
    
    This uses a new feature of AltOS to directly connect the GPS chip to
    the USB link to reprogram the former.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 860d0526737295c695f8e6a790d72b49eb4a686d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 30 16:10:43 2012 -0800

    altos: Add support for reflashing skytraq GPS chips
    
    This simply switches the skytraq port to 115200 baud and then
    essentially connects it directly to the USB port by forwarding bytes
    in both directions.
    
    Once started, the only way out is to reboot the board.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c90ece979f3c95cc6c557c5a2ba8f4a0ce78e173
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 30 16:08:41 2012 -0800

    altos: Expose GPS serial fifo on MegaMetrum
    
    Necessary for direct access by the GPS reflashing code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ae0ddb0f866a26867f0147e0811717810f74c9ef
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 30 16:05:19 2012 -0800

    altos: Add ao_task_minimize_latency to reduce IRQ delays
    
    When set, this causes the task switching code to avoid blocking IRQs
    while looking for an idle task as that can increase IRQ latencies
    enough to drop characters at 115200 baud on the cc1111. Note that this
    *also* eliminates the ability to use low power modes as we cannot know
    at any point whether some interrupt has come along and woken a task.
    
    Has no effect when using task queues as those require IRQs to be
    blocked while looking at the queue. Shouldn't be a problem there
    though as the check for no running tasks is very cheap.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2c2d04f07253a90c4f7da49df43c3969119516b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 30 16:04:24 2012 -0800

    altos: Use ao_xmemcpy in ao_log_telem.c
    
    This eliminates the libc generic version in TeleTerra
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7db14905af5cbbfa47d1a2026cce6aea9e5aae7a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 30 16:03:45 2012 -0800

    altos: Add support for 115200 baud serial rates
    
    Necessary for flashing skytraq chips
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0b65402361f36a0c722977bcb63edb26fda0db28
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 30 16:01:07 2012 -0800

    altos: Make stdio 8-bit clean by making pollchar return int
    
    We were stealing one value (0xff) in the return value from pollchar to
    indicate 'not ready yet'. Instead of doing that, use the integer value
    -1 and have pollchar return an int instead of a char. That
    necessitated cleaning a few other bits to make sure that 0xff wouldn't
    get promoted to -1 on accident.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0fa9ce23dd63846337872d6d666a469512614d07
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 30 15:10:59 2012 -0800

    altos: Share cc1111 reset/debug-start code
    
    These sequences are very similar, differing only in whether the dbg
    clock line is toggled while holding reset low for a while.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cb01d968f21a171682e6358641edaf5eef815a66
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 30 15:05:31 2012 -0800

    altos: Shrink cc1111/ao_dbg.c a bit
    
    Share code for osequence of ao_dbg_long_delay(); ao_dbg_send_bits()
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 81648829defbaf49fc98c4520540f7a20c50c417
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 30 15:04:21 2012 -0800

    altos: Share getnibble function
    
    Two implementations of the same function, one in cc1111/ao_dbg.c and
    the other in core/ao_send_packet.c.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 289ead258e217bc10493caab12a8b477f1bc2865
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 29 20:36:51 2012 -0800

    altos: Make TeleBalloon v1.1 build again
    
    This is untested, but at least it builds now
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ceea0e75ac42acac4a20bf88f34bb93fd2768f4c
Merge: 7738ddc5 285fccfa
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Nov 20 12:37:38 2012 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 7738ddc5dcf4a9609ae2b066a783e3c9fa03d3be
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Nov 20 12:36:26 2012 -0700

    let upstream version rule, don't force use of Debian version in firmware

commit 285fccfa82d89b0decc3b44f413eef9d0c8f1e63
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 18 10:36:17 2012 -0800

    altos: Slow down micropeak report timing
    
    This makes reading the LED a lot easier.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8ff0db3979405357003b52022e564a3da75ec3fb
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 18 10:35:39 2012 -0800

    altos: micropeak LED is orange now, not blue
    
    Change the names around to match
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ba3532a8ca7083b09fde5827faeb95f0c2f3b07c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 18 10:20:52 2012 -0800

    doc: Minor updates to the micropeak docs
    
    Mention light issue in quick start guide. Update run-time estimate to
    40 hours (measured over 44 hours)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1df3e6402489480e30600304bf024481902f9425
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 18 10:15:14 2012 -0800

    altos: Clean everything, even if we don't have compilers
    
    This ensures that stale bits aren't left if PATH isn't set right when
    'make clean' is called.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c4737c81ee2da826b38cc52efbfb09017e6825ca
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 18 10:13:49 2012 -0800

    altoslib: Reset telem tracking state when switching altimeters
    
    This discards any local state when the new telem packet has a
    different serial number
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fcb801b145e1ae6f1c0b3418a99245d34dbf5aa4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 18 10:10:29 2012 -0800

    altoslib: Allow flight number to be zero
    
    It's zero when there's no storage space on the device. Instead of
    waiting for non-zero flight number, wait for the seen_flight bit to be
    set in the telem tracking state
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c494eecc51f7d80e24e5db7af0021c56cb6871d4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 18 10:08:38 2012 -0800

    altoslib: MegaMetrum data telem packets have sensor data, not flight no
    
    Setting the seen_flight bit without a flight number leads to bogus
    file names
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 70c9fc74a68fdb92569eb73295cfa154cf3768f4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 18 09:50:54 2012 -0800

    altos: Make Tm recovery mode set RF cal and callsign too
    
    This lets us connect to Tm even if someone messes up the RF
    calibration or callsign info
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fa3beed645c7bff08d22a657daffe75059dc7b88
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 18 08:46:31 2012 -0800

    altos: fix cc1120 radio test - state wasn't made static
    
    so whether the radio got turned on was random.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e037fbc004e1aa7d631ae999e587bdde2f6b71c9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 17 17:34:01 2012 -0800

    altoslib: Add (disabled) conversion for MS5611
    
    In case we actually end up shipping an MS5611-based board at some
    point, it will be nice to have the java code on hand
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0606dc013d8b89fd5de0548af0de20fdab5c27d4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 16 22:19:17 2012 -0800

    doc: Start updating AltOS documentation for multi-arch
    
    Now that AltOS supports many processors, start updating the
    documentation to match.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b3205a1d246e5ed229256aa787f26e6e122b7a2f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 1 17:52:22 2012 -0700

    altos: Build megadongle when possible
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 793b950083d09ead4f6230e041ad43aa9f5f2179
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 1 10:51:41 2012 -0700

    altos/megadongle: Add megadongle product
    
    Looks a lot like teledongle from a feature perspective.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f74d724f92b335d6c0674d0f1fcc650b729401df
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 1 10:50:03 2012 -0700

    altos: Remove legacy telemetry from ao_monitor when not needed
    
    For products not supporting LEGACY_MONITOR, remove the (undefined)
    structs from the ao_monitor union.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e4d931cd99a7c91803584b71670e30c0d00217df
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 1 10:49:17 2012 -0700

    altos: Remove 'volatile' from ao_rssi.c globals
    
    No need for this, the variables aren't changed at interrupt time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 86f8b92149d1027b1d6d6b1cae097cfe47b02090
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 1 10:48:08 2012 -0700

    altos/stm: Support LEDs on multiple ports
    
    Split out the bits in a fairly simplistic fashion so that we support
    no more than 16 LEDs still.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fcdaa0d748058a7f52a1bdc1a1627dc394762e5a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 30 19:56:51 2012 -0700

    altos/attiny: Remove debugging code which frobs PB1
    
    This was clearly stuck there to debug something; not a good idea...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit af8cb40851a5cf5e3bd06ddd85e4e2df16bfbad2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 30 19:44:45 2012 -0700

    altos/micropeak: Run MS5607 at max resolution for micropeak
    
    We've got lots of time, so get the highest resolution baro data available.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 371da0c909098092db7b596496df9d58eed43703
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 30 19:41:08 2012 -0700

    altos/micropeak: Clock micropeak at 250kHz to save power
    
    This reduces average current consumption from 2mA to .4mA. This
    makes the battery last longer, but also gets the current under
    something that the typical CR1025 battery can support. Would be nice
    to reduce current even further; cheap CR1025 batteries still seem to
    fade a bit at this current level.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e8a4a00a5bb333d4ee9601d53242a82dfe0372c2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 30 19:39:55 2012 -0700

    altos/attiny: Don't initialize the CS pin in the general SPI setup
    
    Let the CS pin be configured by the driver, which can set the correct
    value before enabling the output.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f7d2613bb0a6ab1c63e3f6252a3a2358fdfbc691
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 29 17:07:05 2012 -0700

    altos/micropeak: Set boost detect to 10m. Add 30s boost delay.
    
    Wait for 30 seconds before even starting look for boost. This provides
    an opportunity to close up the airframe, potentially causing pressure
    gradients seen by the baro sensor.
    
    Also, require a 10m vertical motion before triggering boost. This
    should limit accidental boost detect while capturing any actual flights.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0d0ece403028e8a4453cc380575ed95c5e00ddb7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 29 11:49:23 2012 -0700

    doc: Add micropeak manual
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 424638446b7c7bb3f4aa6b4764d3e68175dcbf8c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 29 11:48:58 2012 -0700

    altos: Build micropeak when avr-gcc is available
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e9ea0ad4024532fd6f87bb6708bf76b0c7aa1c5b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 29 11:47:17 2012 -0700

    altos/micropeak: Switch to MS5607 sensor. Require 4m for boost. Elide dead code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0623bc06a77536b903da09acbd12999d0ed05360
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 29 11:43:02 2012 -0700

    altos/attiny: Update to new interrupt macros
    
    Add ao_arch_block/release_interrupts macros to attiny architecture
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a46c9398a5f02ff4b52b7a4309a51498560cadb5
Merge: e57ab2a7 56023cf5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 26 14:08:32 2012 -0700

    Merge remote-tracking branch 'mjb/altosdroid'

commit e57ab2a7bfb69c0ef9b5b7fa8e53e20a500e7c6c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 25 13:42:10 2012 -0700

    altos: Provide ao_task_alarm_tick to reduce per-tick cost
    
    Cache the next wakeup time and check that before jumping to the task
    code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ccf0faa7d26d56deca7928b521d07be40504466a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 25 13:40:54 2012 -0700

    altos: Leave interrupts disabled while checking for task to run
    
    Otherwise, we run the risk of an interrupt waking a task after we've
    decided to idle the CPU.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b978cd467f9128f3069765dd8fbf8abad3459a4
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 25 13:38:13 2012 -0700

    altos: Clean up stm arch macros a bit.
    
    Turn a bunch of the macros into inline functions.
    Clean up the reboot method to use the stm_scb structure.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ee031bdab33cc6a1e2a7995a7c3a43f3a64b687
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 25 13:35:47 2012 -0700

    altos: Clean up cc1111 architecture macros a bit, removing cli/sei
    
    Just reformatting changes, aside from the removal of cli/sei
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ff6a439cd24e239abd97107ecedf12dca71e59a5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 25 13:33:43 2012 -0700

    altos: Wrap ao_container_of value in parens
    
    Keeps the cast from being separated from the value when used
    in expressions.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f221c78e6237e0a118ebe85c25e433fe16a7735d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 25 11:25:42 2012 -0700

    altos: Switch drivers to ao_arch_block/release_interrupts
    
    Stop using cli/sei, which are avr-specific
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 56023cf5da9deede9fe627fe327783eceecf08f7
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Oct 25 20:39:20 2012 +1300

    altosdroid: more restrictive commit no. matching
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit bb3f42daffafb497639c2c678f6106ce54523ff3
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Oct 25 20:31:59 2012 +1300

    altosdroid: more reliable branch detection
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 963f7715be6c67056bbd8bbe898639adac64fc29
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 25 00:12:57 2012 -0700

    Bump version to 1.1.9.2
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 282f0451dd141db3304ab73e4020a849e59721eb
Merge: 0680d62d 78e1de48
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 25 00:09:01 2012 -0700

    Merge remote-tracking branch 'mjb/altosdroid'

commit 0680d62d57496cea7ae4f1ef317c46e689b28e21
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 25 00:04:27 2012 -0700

    altos/megametrum: Depend on Makefile contents for build
    
    This ensures that everything is rebuilt when the Makefile changes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b49c751749dcd3e78991463c098f8d916f52179d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 24 23:50:55 2012 -0700

    altos: Add task queues.
    
    This replaces the array-based scheduler with a queue-based one
    instead. It should have the same basic scheduling semantics, but it
    walks shorter lists for each operation, making it much more efficient
    when the system has a lot of tasks.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4b13d3c659240e5a8347b1ba7ab0bf1d8355eba3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 24 22:46:55 2012 -0700

    altos: Add stack-guard code. Uses STM MPU to trap stack overflow.
    
    This marks the lowest portion of the stack as inaccessible to the CPU,
    causing the processor to fault when it reaches it. The fault then
    generates a panic message so that the user can know what happened.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e80fa6de4ccc5c4851eab9fb941f9282d2e3eb16
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 24 22:35:32 2012 -0700

    altos: Replace __critical usage with ao_arch_critical as needed
    
    sdcc offers __critical as a machine-independent way to block
    interrupts, but as gcc doesn't, we need to use a compiler-independent
    construct instead. ao_arch_critical has been around since the AVR
    port, but some old __critical usages remained.
    
    This fixes a bunch of random hangs when communicating with MM over USB
    or the radio as the various stdio loops were running without
    interrupts blocked between the test and the sleep.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b119e19604aa557a40e848c60d98a67b5f259bbd
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 23 22:17:49 2012 -0700

    altos: profiling on STM32L
    
    Add sample-based profiling, using a 1kHz timer
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7d34811ba035367bbf26a8510265754f3fbb5a95
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 24 23:21:38 2012 -0700

    altos: Add ao_arch_block/release_interrupts to avr and cc1111
    
    Stop using cli/sei for AVR, add replacement to __critical for cc1111
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 09aa379fc57cd4f30c18c7bda2532a79109354c2
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 24 23:55:00 2012 -0700

    altos: Force beep timer regs reload when enabling beeper
    
    Without this, there can be a long delay between asking for the beeper
    and having it actually start sounding.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 097c931c979d3652ef8e279ba66bb7ce758f37a3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 24 23:52:49 2012 -0700

    altos: When slave mode first starts, accept any packet
    
    This eliminates the packet sequence matching for the first packet,
    allowing outstanding send data to arrive from the master instead of
    ignoring packets with data until they match the seqno
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 978c16105dd334a4a2807140dbbcc7f306a6b581
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 24 23:55:45 2012 -0700

    altosui: Allow AltosConfig to abort before serial line starts
    
    Check to see if the serial line is active before trying to close it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 78e1de481bfdbf7c7bb908c317b23c8ee275c84f
Author: Mike Beattie <mike@ethernal.org>
Date:   Wed Oct 24 20:54:18 2012 +1300

    altosdroid: Add version information to UI
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 5ad62b07bef41921b46cb7251072dc24290ee4c9
Author: Mike Beattie <mike@ethernal.org>
Date:   Wed Oct 24 20:52:09 2012 +1300

    altosdroid: Add branch to BuildInfo
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 055f3232decc07e064d596469b81cf9869411c2d
Merge: 8ca58e20 9e60fa21
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Oct 23 09:38:36 2012 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 8ca58e20208495ce63b8256a8ffa43932867e8d5
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Oct 23 09:33:17 2012 -0600

    remove local copy of launch-sites.txt and reference to old web location

commit 37a09f1edc57924dabcf2a71794a42e37b5a354c
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Oct 23 19:22:52 2012 +1300

    altosdroid: match only the current version tag
    
    Don't match non version tags - and always return the long format of
    git describe, rather than just the tag (when the tag is on the current
    commit).
    
    Split the commit number/hash more reliably by removing the version tag
    from the result first.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 9e60fa214ad2c48fbe8f7e5c437681aa35d249fa
Merge: 27c31572 4b41561a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 22 22:39:31 2012 -0700

    Merge remote-tracking branch 'mjb/altosdroid'

commit 27c31572f4f63c2282e1cc583f4402337fcb548a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 22 22:38:46 2012 -0700

    altosui: Allow any non-basestation to be configured
    
    TelePyro has some configuration bits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 79f4e684713cff6bf999cac52f5d9525a6f7d278
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 22 21:39:12 2012 -0700

    altos: make check-avr-mem utility executable
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d4ea2e7c3ed84fb6f4e880da6c5ddf2a83d3ef61
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 22 21:38:18 2012 -0700

    altos: Allow pyro flight state config to be set
    
    Without these lines, flight state compares can't be shown or set.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e80d7cd18fa4dac98d941e86b5956403a7170966
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 22 21:37:25 2012 -0700

    altos: Let AVR products override the stack size. Set telepyro to 104
    
    Otherwise, telepyro doesn't have enough ram...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 20496608ca287e65302193ee1afe9f0cad3a36e1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 22 21:36:12 2012 -0700

    altoslib: capitalize 'Invalid' state name appropriately
    
    It shouldn't ever appear, but it seemed wrong to have it not match the
    rest of the strings.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fe00d1169c65cb289f77093cf281efbd0a5d4e64
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 22 21:35:06 2012 -0700

    altosui/altoslib: Add support for configuring pyro channels
    
    This provides a UI on devices which have pyro channels other than
    main/apogee.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fd619a01bf3489b1df017aca20362757b087ec11
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 22 08:52:08 2012 -0700

    altos: Add state comparisons to pyro channel conditions
    
    Let pyro channels block waiting for flight state changes. This
    allows for pyro channels to be synchronized with the main iginiter
    channels.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4b41561abf9144e73995ccc18eadad7936d1dd15
Author: Mike Beattie <mike@ethernal.org>
Date:   Mon Oct 22 11:55:07 2012 +1300

    altosdroid: add autogenerated BuildInfo.java
    
    * Generated by shell script that parses git describe
    * Makefile rule to call script on every run
    * also includes eclipse hooks to call shell script on build
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 8cb09f8a3e2dae5f7f3d2d3dbbc81ba40b491e75
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 21 20:57:21 2012 -0700

    altosdroid: AltosState now has speed and max_speed funcs
    
    These pull out the appropriate baro/accel speed values and may use
    some fancier values in future.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e4ee3a35dbb1586f65adada0eaf34b7b4e5432eb
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 21 19:51:02 2012 -0700

    altoslib: Add AltosRecordNone.java
    
    oops. forgot a file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e16c33545640f745cec8dc595b2343359efced57
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 21 17:26:16 2012 -0700

    altos/test: Use MMA655X in ao_flight_test_mm. Add run-mm to plot mm data
    
    Pull MMA655X data out of eeprom file when available. Switch build to
    using MMA655x by default.
    
    Clone run-one to plot a single mm flight
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f789b0b94eb01e3875f7711ce053658c31e75fad
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 21 17:00:08 2012 -0700

    altosui: Handle .mega files in Landed tab 'Graph Flight' button
    
    Need to check for .mega files here too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a1a1dae3e00bfcddf31c447f915245a7d42e566
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 21 16:55:00 2012 -0700

    altos: Document mega log packet types
    
    Just add comments to ao_log.h so it's easy to remember which labels go
    with each record.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 89c621be35e1a6d3394b0e143391fcf2d94d7b41
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 21 16:53:23 2012 -0700

    altoslib: Parse GPS .mega file entries for reply/graphing
    
    The .mega file parsing had a pile of leftovers from when it was cloned
    from the .eeprom file parsing code. Replace all of that with the right
    parsing bits so that GPS data will be presented correctly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7894c27b2b2c3c46a7c107c8acd5977830f006cf
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 21 16:13:14 2012 -0700

    altoslib: Move computed state from AltosRecord to AltosState
    
    Make AltosRecord simply track the raw data and have AltosState hold
    all computed values, including cross-packet averages and computed speeds.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dec2e455935a71dec13b84bb886252b7f4a1a641
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 21 14:11:07 2012 -0700

    altoslib: Compute accelerometer speed from megametrum eeprom data
    
    Duplicates code from the TM eeprom state tracking code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dcadf5e55f076604b0b168be0060026110e263ed
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 21 14:10:32 2012 -0700

    altoslib: remove a couple of TM log record types from MM log parsing
    
    PRESSURE and DEPLOY log records don't occurin MM eeprom files.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1f5a453cb4650fc97cc990a9e42242278c29cc04
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 21 13:42:00 2012 -0700

    altoslib: MegaMetrum eeprom never loses GPS date
    
    TeleMetrum had a firmware bug that would fail to record the GPS date
    and time correctly, that was hacked around in altosui, but isn't
    needed for MegaMetrum. Remove those hacks from the MM path.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 84a144e8b479550406323bc3b2cf89026b770746
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 21 13:02:40 2012 -0700

    altosui: Correct megametrum eeprom filename date
    
    Was fetching day-of-month from the year field
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit db0bbf76b5d739b5d7628bc9139dc8fecd501ac3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 21 13:02:05 2012 -0700

    altosui: Add new filename filters
    
    Allow the user to restrict filenames to telem, eeprom or mega files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eea141b2f35722bad4cd31d9484d6d794646f815
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 21 13:01:03 2012 -0700

    altos/stm: Stop spewing clock out PA8 pin
    
    This was used to debug the clock bringup, but is not useful anymore,
    and probably a bad idea to boot.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f664da148ae15d46d179d8ecede6fc0bc710ffb
Merge: 3aba5eb5 23b0c2fe
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 18 16:49:28 2012 -0700

    Merge branch 'master' into pwmin-new

commit 23b0c2fe95dbfaa4a8ce603b56b75d12d2c17d8c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 18 16:19:38 2012 -0700

    altosui: Re-add a couple of "unused" values
    
    The values in these calls aren't needed, but the side-effects are, so
    add them back in.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 05173876d5984a54929db486c9ce1e19bde79526
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 18 16:02:59 2012 -0700

    Bump version to 1.1.9.1
    
    Prepare for Rocketober/Thrustration
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ceb42f4c96076b01ac05577c9fe461b66e72d30d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 18 15:34:41 2012 -0700

    altos/megametrum: Switch back to using the MS5607
    
    We're planning to ship the MS5607
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5a55501660ebab3b858a48483c5df1cfb4e858e4
Merge: 0361235c 440365bd
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 18 15:18:52 2012 -0700

    Merge branch 'master' into mm-ms5611
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3aba5eb5a75dff3e7c8778561c533903eacb110a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 16 22:33:34 2012 -0700

    altos: Build telescience-pwm product when possible
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f34f0ac7f355149446374a4c82dbf004919bc2dd
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 16 22:21:04 2012 -0700

    altos: Add telescience-pwm product
    
    Split out special PWM-sampling telescience product
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 14698c424f833dc6d2fb38f69f5f661804cf8303
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 16 22:17:25 2012 -0700

    altos: Only enable PWM on telescience_pwm product
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac318c19594569532f1fa53b639eefa28d9b7c34
Author: Robert Garbee <robert@gag.com>
Date:   Wed Jul 18 18:41:00 2012 -0600

    telescience: correctly calculating rate values with higher resolution

commit da7ac5e95575f6aa1d2514748869771b7686c0e1
Author: Robert Garbee <robert@gag.com>
Date:   Wed Jul 18 14:24:05 2012 -0600

    ICP3 working

commit ed5aa2329985ffbaba74514e0555f67fc378a8d8
Author: Robert Garbee <robert@gag.com>
Date:   Wed Jul 18 13:41:27 2012 -0600

    Timer 3 working with slower clock and all 16 bits.

commit 1d7e6f5dcb29535cde9b7dfd6998d7889baf835b
Author: Robert Garbee <robert@gag.com>
Date:   Tue Jul 17 13:23:48 2012 -0600

    first work on PWM input to TeleScience, 'p' command displays timer 1

commit 1747ab07dab6f4e977e0c3e83b57510cd668e369
Author: Robert Garbee <robert@gag.com>
Date:   Thu Jul 19 11:40:20 2012 -0600

    telescience: steal last adc channel for icp3 most recent value
    Make the ICP3 rpm counter use in ao_adc_avr.c optional
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 440365bd17d804c2f574c35164612cf1682397d7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 16 21:54:23 2012 -0700

    altosui: Accept serial number of zero for eeprom download
    
    AVR-based products don't have a valid serial number, and so usually
    report 0. Accept this by making the 'no serial number' case check for
    negative values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4d6d90e15db30991bf81060a0876ae8adb843c75
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 16 21:08:58 2012 -0700

    altos/avr: Use ISR_BLOCK to disable interrupts during slave ISR
    
    This avoids enabling and then immediatly disabling them
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b8d8b23ca5e6c2d3a19f8aeda2764b43d25eb9d6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 16 17:14:05 2012 -0700

    altosui: Print exception stack trace when tracking flights
    
    More useful in fixing the problem
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ef9cb19d8b210e02eaa1c657833c1bd5fc619ad8
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 16 17:13:04 2012 -0700

    altosui: Handle missing pad distance in descent tab
    
    When the GPS isn't locked, the distance from the pad cannot be
    computed and is left missing. Not crashing in this case is more useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 60880bda2153ba3122c7102cd2bacbcca73b9e0d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 15 00:24:57 2012 -0700

    altos/telelco: Make the RSSI led turn red when no packet is received
    
    This involved splitting out the notion of ever having received an
    answer and having received an answer from the last query.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5f31f6652f4b0898214d06d009af823a1ed3b96a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 15 00:24:28 2012 -0700

    altos/telelco: 10ms is not enough time to get a packet back
    
    Not reliable, so bump to 20ms
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fdc00ec143022356bf8cdbb28812f045b439c549
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 15 00:07:57 2012 -0700

    altos/telelco: Only display every 10th box number during scan
    
    This reduces the scan time to about 4 seconds, which seems tolerable
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c6069e38d6d2f9b37aa8671c41b4a470d92996a4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 15 00:06:57 2012 -0700

    altos/telelco: Crank up SPI speed to cc1111
    
    The cc1111 can handle up to 3MHz, so use 2MHz. Also, crank down the
    packet wait time to 10ms, which should be plenty long for the remote
    box to receive and return a packet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 80227c08444d5c82fd43320644cdeec6f34fee1b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 15 00:06:10 2012 -0700

    altos/stm: Declare all SPI bus speeds
    
    Just list them all so users can pick what they like
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 44c13005f34fdf7d4831e86e1f3e8729e9b67a68
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 14 23:40:58 2012 -0700

    altos/telelco: Actually set pad when it changes
    
    Oops. Lost the actual assignment to the current pad
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b042f3d6e6b3241cd5e55cf893242ea599d3c0e9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 14 23:24:49 2012 -0700

    altos/telelco: Handle case where no boxes are present
    
    Don't infinite loop looking for something which isn't there
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 56ebb0a2f50fd56f4f0b0c695e516bee8fae36fb
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 14 23:16:45 2012 -0700

    altos/telelco: Only present valid pads
    
    Limit pad display to valid pads, skipping missing ones.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 84c56b1e92fca181207c468ea6351db3c2f196fb
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 14 23:04:44 2012 -0700

    altos/telefire: Report valid channels instead of valid pins
    
    Now that pins don't match channels 1:1, make sure that the report back
    to the LCO names the channels instead of the pin numbers.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 91b8c8b20cead2836ec835f44b4ca0cf06cbf518
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 13 15:04:46 2012 -0700

    altos/test: Display MPU6000 values in ao_flight_test_mm output
    
    No computation yet, just making the values visible in the output
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c6eec0bec06d2e246ea3c9552818ad3180c1e318
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 13 15:04:00 2012 -0700

    altos: Define full-scale gyro and accel values for MPU6000
    
    This lets other code convert MPU6000 readings into canonical units
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5caf56e89678637c1afa79700a2fa09aa67dea9b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 13 15:02:42 2012 -0700

    altos: When missing MMA655x, create fake Z accel value
    
    This avoids overwriting the MPU6000 y acceleration value so that other
    computations using that value can work unmodified.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 321d0f68c04a5a9c6ea7874081e6245d44c48bb4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 13 13:39:03 2012 -0700

    altos/test: Add ao_flight_test_mm
    
    This reads mega metrum eeprom files and runs the flight code over it
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0ec77f5c90e0b930488ae2ab75efcbba8a3bd1d8
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 13 13:37:29 2012 -0700

    altos: Eliminate implicit 1 byte offset in uint16/int16 functions
    
    Make callers explicitly compute the full offset
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2733d1b71bbac2c5ef4a2c3a1992ba448e981267
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 13 13:35:42 2012 -0700

    altos: Split out ms5607 conversion code for use in ao_flight_test
    
    Makes the conversion code available even where the driver isn't needed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 46abd248fb2eb84f161672ffce121b2203d42be0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 13 13:34:28 2012 -0700

    altos: struct ao_log_mega doesn't have a ground temp value
    
    There's no averaged ground temperature recorded in the flight system
    to save there, so just remove the field
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eea1c8da986f9dbd0ca58c926a2bbe01721c1bda
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 13 13:33:45 2012 -0700

    altos: Document a few member offsets in struct ao_log_record
    
    Incomplete, but useful even so
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c607bd1442e60fec1421955c996f6aad1d98647a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 13 13:32:56 2012 -0700

    altosui: Parse .mega files from command line
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 162a21dc423c2883a54f7d2a154871ae714d1552
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 14:27:14 2012 -0700

    altos: Add .gitignore for micropeak
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6cfb2d3b1c75916ee69d069519edc675e37e1aa1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 14:26:08 2012 -0700

    altos: Add (untested) driver for AT24C i2c flash parts
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b9bf8e01e243508297f28b102cb2477dc1bc74df
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 14:22:41 2012 -0700

    altos: Add initial micropeak implementation
    
    Blinks out max height in decimeters, stores previous flight data to
    internal eeprom.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9c732effeb2ef4a4d8bc9599febed74a6ec2f466
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 14:18:37 2012 -0700

    altos: Allow products to define which LED to panic with
    
    Continue to use AO_LED_RED by default.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 767b74e1466ad4e31746340081d6d60e40359425
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 14:08:19 2012 -0700

    altos: Megametrum uses altitude-pa.h, not altitude.h
    
    Make sure megametrum gets rebuilt as needed when the various
    altitude-pa related files change
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 64500ab11ab76d2309608f8e02a1dd9658963b3e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 14:04:57 2012 -0700

    altos: Add attiny architecture files
    
    These are designed to work with the ATtiny85 processor, but can
    presuambly be easily adapted to others in that series
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 16bad3b6ab65cf31b19152127cb6af69142c5c12
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 14:03:28 2012 -0700

    altos: Include struct ao_data declaration only when used
    
    Leave it out for products that don't have a ring of sensor data
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7751c9cbc630f7251b8988f8da68be9a54ff552c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 14:02:29 2012 -0700

    altos: Clean up types in Pa conversion testing code. Only test to 40km
    
    A couple of missing 'int' declarations.
    Only test to 40km as above that there aren't enough data points to do
    anything reasonable
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 866d10b3faa96f6c5a2c495a2c12a0d2bc8259ef
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 14:01:16 2012 -0700

    altos: Elide ao_altitude_to_pa in flight firmware
    
    Only the conversion testing code needs to get back from altitude to
    pressure, so don't include that code in other environments.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 68308908afbd1f04b17056d2be408c89b3578c86
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 13:59:50 2012 -0700

    altos: Parameterize altitude table access and initialization
    
    This allows projects to store the altitude data in different
    representations or with different access modes.
    
    By default, altitude data is stored in meters, but the initializers
    include decimeter values so those can be used instead if desired.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 175380a436efa35bbfae2ee5e29e12e9ef86fbde
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 13:57:49 2012 -0700

    altos: Use alt_t for all Pascal-based altitude data
    
    This allows alt_t to be overridden for systems using the MS5607/MS5611
    sensors
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit be0a28ee7a6fbd98fc8113db8501bb791a112fa0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 13:55:33 2012 -0700

    altos: Allow for other mutex implementations
    
    Allow projects to replace ao_mutex_get and ao_mutex_put with macros
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a3ee911353291b04e161d50a181ed4211d467a2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 13:54:37 2012 -0700

    altos: Allow projects to specify clock at other than 100Hz
    
    Leave the default at 100Hz, but allow it to be overridden
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7795d8309b3e1147bc37d31a0adde42d7dee6cd1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 13:37:07 2012 -0700

    altos: Prepare ms5607 driver for use in non-tasking products
    
    Micropeak doesn't have tasking, prepare the ms5607 driver for that
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a07b8ba166e05e7d1722c59651ef00e9fb7580d5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 12 13:31:17 2012 -0700

    altos: Split task definitions out to ao_task.h
    
    And only include them if using tasks
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3f059f8878a79b3154a19b6803fbc367eda80dc9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 10 14:28:07 2012 -0700

    altos/telefire: Add siren/strobe support
    
    This also involved hacking up the code to allow for non-zero offsets
    for the pad firing and continuity pins.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0361235c9ef56738ba0e97be88a85afef0ce8268
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 8 23:24:19 2012 -0700

    altos: Fix up ms5607 and mma655x commands to work again
    
    These just display the most recently fetched values
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 39c5738acdfdf0c87b64de6135fe107971cfa12b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 8 23:04:16 2012 -0700

    altos: Go back to recording sensor data in globals
    
    Instead of trying to get things into the ring from a variety of
    functions, go back to the simpler method of storing them in globals
    and having the ADC code just pluck out the most recent values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 422799d9be36ef71b63c1c0fd80d5e76da802949
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Oct 8 21:59:55 2012 -0700

    altos: Compute desired frequency when upgrading from pre-1.1
    
    Instead of just smashing the frequency to 434.550, compute the
    frequency from the old radio channel value
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 16bbe9d25856259d2694751c364b668638e4a971
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 7 15:40:41 2012 -0700

    altos/megametrum: Try running accel and baro in parallel again
    
    Now that the baro sensor appears to be working, try running
    conversions in parallel to see if that makes the accel cal happy
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6d47dd1d9104745cf68bef23b066c5033ca30a84
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 6 19:39:15 2012 -0700

    altos/stm: Set SPI clock high for disabled SPI busses
    
    This should avoid an accidental low->high transition when switching
    between multiple SPI busses.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d4b1dffeef3e9ea96e143f74782e4da7d116c0d4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 6 18:25:15 2012 -0700

    altos/telefire: Make sure armed alarm goes off on time
    
    Instead of turning the alarm off when a packet is received after the
    deadline, just do it in the thread which is awake all of the time.
    
    This prevents the alarm from sticking on when the LCO box is turned
    off while the arming key is on.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 35cb2dc51708ab572a4c72422e5902a313eda58e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 6 17:56:23 2012 -0700

    altos/stm: Clean up SPI pin configuration code
    
    Make sure none of the pin configurations are being used at startup
    time. Split out the pin configuration into separate functions.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 41add569413bf3ec564195963277c81f2d2da798
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 6 17:21:55 2012 -0700

    altos/drivers: Use data ring values for MS5607 presentation
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0b28eefe6b32033a0e85731aa38af7e07a8b45f5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 6 17:21:10 2012 -0700

    altos/megametrum: Make MS5607 driver hold SPI bus for whole operation
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c676ad8048d10ad9da22ea3acf19e4e1872103ff
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 6 17:05:59 2012 -0700

    altos/megametrum: Use mma655x for acceleration measurements now
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 82fdc42d61340e6b76580ff12a9e1bea59eb8079
Merge: 6b8881a7 2cac8c57
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 3 10:44:28 2012 -0700

    Merge branch 'master' into mm-ms5611

commit 2cac8c572ce533ded89dae9a412b4d1b5c748342
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 3 10:43:28 2012 -0700

    altos: Re-enable the ms5607 and mma655x acquisition threads
    
    These were disabled to help with testing in Argonia
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6b8881a7bdb9f89306a700e9a8853b00df29bf5d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 3 07:50:48 2012 -0700

    altos/megametrum: Commit for boards with MS5611 baro sensor
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fdd08cc093134c5f87dab9533b99a042a699381b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 28 22:39:55 2012 -0700

    altos: Provide MS5611 configuration option, HAS_MS5611
    
    MS5611 and MS5607 use slightly different conversion functions. Alas,
    there doesn't appear to be a way to tell them apart in software. This
    patch adds the necessary conversion changes and makes them depend on a
    compile-time configuration option.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dc7216d286cc7fe8007f5208ad97a630166572f3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 21 13:29:17 2012 +0200

    altos: Shrink Pa to altitude table
    
    This improves the computation of the table enough that errors from a
    470 entry table are almost all < 0.5m.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7c6231ecef2e4f978a0de452a17a2a24e6e68827
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 20 11:33:24 2012 +0200

    Bump revision to 1.2 development branch
    
    With 1.1 out the door, this now starts the 1.2 development series
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2f2734bb418f5c3a89fa3f1bf1b98ce4cfe432e1
Merge: e69a433f 3fe5c2f9
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 20 11:30:19 2012 +0200

    Merge remote-tracking branch 'mjb/altosdroid'

commit e69a433fd93b9f6bd2297d8045eb075fee29e73b
Merge: 19243ecc 6e0d672b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 20 11:30:11 2012 +0200

    Merge remote-tracking branch 'mjb/prefs_interface'

commit 19243ecc9b5bbdcc069ae24acf1ca807322c84d8
Merge: 90c1b6db 0ef8b714
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 20 11:29:55 2012 +0200

    Merge remote-tracking branch 'mjb/altosui_mjb'

commit 3fe5c2f9fc01258d45c20070e9874d76bc6c8c07
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Sep 18 23:47:50 2012 +1200

    altosdroid: initial implementation of telemetry logging.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 0541201d4afe3e5d7913465e1db10e586d7182bb
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Sep 18 23:47:06 2012 +1200

    altoslib: make parts of AltosLog public for usage outside altoslib.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit c058ec2d6070458a0b7d3ef56041e985412ee565
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Sep 18 23:46:17 2012 +1200

    altos{lib,ui,droid}: move OS specific code out of altoslib
    
    This is to allow the usage of AltosLog on Android - no swing, so
    we need to push the "home directory" code used to pick a default
    telemetry logging path - using the PreferencesBackend interface
    for now.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 36e684724e327dbd4319411ef0602fafb4d0c073
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Sep 18 23:43:18 2012 +1200

    altosdroid: cosmetic re-order of methods
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 8f11a6d2c3de228c3cefb95a7d1a76d53e532acd
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Sep 18 23:42:11 2012 +1200

    altosdroid: simplify keys() method
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit f79b445cc29fc1e424f99c97e71c7d3637bf4ba6
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Sep 18 23:38:12 2012 +1200

    altosdroid: Update Makefile.am
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 90c1b6db8d1f401a992fe44983b3df64739fe263
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 16 15:12:26 2012 -0600

    further refinment of Releasing document

commit 7a0cce7fa0c802b1597fef94cfaf00aa0c28c988
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 16 13:59:21 2012 -0600

    releasing 1.1.1

commit 0cd443d5e55b2c3b97ecf53389ff76bc4bc6018f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 16 12:38:33 2012 -0700

    Add release notes for version 1.1.1
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fe8ab96e8727c25c04cac473cafb264cf7e80156
Author: Mike Beattie <mike@ethernal.org>
Date:   Mon Sep 17 01:29:33 2012 +1200

    altosdroid: implement AltosPreferencesBackend, and initialize.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 52d3cad4f744140e1aa06fdfc0d49a0cf8734fd4
Merge: 31f5a026 6e0d672b
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Sep 16 22:27:04 2012 +1200

    Merge branch 'prefs_interface' into altosdroid

commit cb48dd0b03b445437f751028e8383610b65b0a68
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 16 02:39:25 2012 -0700

    altos: Fix telemini sdcdb init file
    
    Set the driver source path for the debugger
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3520bbf1ed6461d1ce7af001c529563a3cffa3c9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 16 00:58:20 2012 -0700

    altosui: Gather Tm sensor data in Monitor Idle mode
    
    Tm is pretty much the same as TM for the analog sensors, it's just
    missing the accelerometr. Use the same code for constructing an
    AltosRecord for it
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 31f5a02654cbf172beed25f4c518dfb7be8c714e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 14 16:56:04 2012 -0700

    altos: Need to use 16-bit counts for ao_xmem functions
    
    Trying to use 8-bit counts is a nice optimization which fails when the
    count is larger than 255, as is the case with clearing the flash block
    in the AT45 driver. This bug resulted in the inability to erase
    flights on TeleMetrum v1.0 boards.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b898cf0a2abf2b0478d5afc5aca030c6b4c8bd0b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 14 12:59:31 2012 -0700

    altosui: Show over-ground-distance in Descent tab
    
    Helps to know where the rocket might land.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f36f73b2d02b72201683cf5795851034bbd6f28e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 14 12:58:54 2012 -0700

    altosui: Remove debugging from KML export
    
    Left in from testing the Eeprom export bug
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97ab77d548964115e4b41ad5952194fcd1455c96
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 14 11:13:02 2012 -0700

    altosui: Fix Landed tab units
    
    And clean up the whole flight value reporting code base. It would be
    nice to create a separate class to make this easier; at present
    there's a bunch of customization embedded in how values are presented
    in each tab.
    
    Reported by: Bdale Garbee <bdale@gag.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 43e646657502f6162fa02f37fd2bd5aa3e29a1a8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 14 11:08:57 2012 -0700

    altoslib: Update GPS seen_values in AltosEepromIterable
    
    Otherwise, KML export won't ever get GPS data to write.
    
    Reported by: Bob Brown <prefect@kloudbusters.org>
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7b6dd9105ba36aa11d6d0ee6e0823965b9beffb9
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 14 11:08:19 2012 -0700

    altoslib: Remove duplicate seen_ values in AltosEepromIterable
    
    These are defined in AltosRecord; duplicating them is not a good plan
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6e0d672b8a516a604d8ea1abd2bed113c608143f
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 12:43:21 2012 +1200

    altosui: remove un-used import
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit f985ea055d935b10ae9ae8441fe808ba2c13c99e
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 01:27:22 2012 +1200

    altosui: revert AltosUIPreferences init() method
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 9335a74694df00c4876055e7c98661236646f6e5
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 01:08:53 2012 +1200

    altosui: Add return to try/catch.. duh
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit d5e199c34ff5a02a4c4cc917c3f0eec32eae72a9
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 01:06:59 2012 +1200

    altosui: add missing try/catch
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 26c83bc0981036651a89c29771b2ad52c8fb0396
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 01:03:53 2012 +1200

    altosui/altoslib: bug fixes, update Makefile.am
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 08345b8909922f2ff8f9ed8b4497b9cbea6b26e9
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 00:53:56 2012 +1200

    altosui/altoslib: Add call to …Preferences.init() with backend object, remove static init()
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 17127847300de9a6782b901926a3fcb9ef021b78
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 00:46:34 2012 +1200

    altoslib: Add AltosPreferencesBackend.java to Makefile.am
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit d875b459b5e9f7bcbbbbe318f947b0451ce6738f
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 00:44:59 2012 +1200

    altosui/altoslib: add methods to interface, fix imports/exceptions in BT code
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 67b618409a0d34fff26cac6025bc159ff92ede9c
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 00:40:16 2012 +1200

    altosui: add missing methods for Backend, fix BT code.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit ec036e8fe057f4b641ba9ee17d6dce2689816047
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 00:25:49 2012 +1200

    altoslib/altosui: begin moving preferences "backend" into interface
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 0ef8b7148784ed5bcbea21dde313fb02f50ef734
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 13:17:24 2012 +1200

    altosui: comment out obsolete code - could probably remove the file.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 6daf71d0af7ffdbbfdb7436edd536bc811850d42
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 13:16:48 2012 +1200

    altosui: add type to … implements Comparable.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit d3d69bdecfcb45d1e3a8c6b10c80eef1afcc2310
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 13:16:16 2012 +1200

    altosui: comment out/remove dead code
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit c9fa8faabb6f7fb59714c42e1029ce3d71c52ff8
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 13:15:36 2012 +1200

    altosui: access class variables by class, not instance
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit f9e1c5949a24e27897587b0b0ca00e089f362215
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 13:15:07 2012 +1200

    altosui: remove redundant catches
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 38fb6c070ffaf820d524fecce540d91fc6dda57b
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 13:14:31 2012 +1200

    altosui: comment out un-used classes and associated imports
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit ce1b19a012a2c1c623b03efb93b881e297736718
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 13:13:35 2012 +1200

    altosui: comment out un-used fields and methods
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 382c54a0d052c8975b57c995ef83bc8934bde242
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 14 13:09:58 2012 +1200

    altosui: remove un-used imports
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit eefcfa94f360f8c5a7233370d4178525bccbb22f
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 13 16:13:42 2012 -0600

    add note about checking doc copyright date and revision history to Releasing

commit 2441090f26c3df66a6ce48d64e64384ce9e5ef82
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 13 15:12:33 2012 -0700

    doc: Add revision history for 1.1. Update copyright date
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 320d90c376dccfe1599505e3b485df8d46e34bb3
Merge: 9a7d6431 2e6c6a6c
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 13 15:36:37 2012 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 2e6c6a6c15a7cff9f20b70a4cf58697da1302f01
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 13 00:35:27 2012 -0700

    doc: Document imperial units and groundstation configuration
    
    What it says on the tin.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9a7d6431777ce3377b788ddac6cb9fadd53c039c
Merge: 2439f53e 9728b20a
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 13 00:58:30 2012 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 9728b20a4ad9576ac1022dc9a5771f5a3eb92b3d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 12 23:56:18 2012 -0700

    altosui: Exit with an error status when file processing fails
    
    If the user provides any files on the command line, and if processing
    them fails in some way, exit immediately with an error indication.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0564f9b13d4e3050b0a45fc1c4f710ab2b1f9d81
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 12 22:40:57 2012 -0700

    altosui: Leave new_gps indication until gps value is used
    
    During replay, AltosState may not see a new GPS value as soon as it
    lands in the state field as additional records with the same timestamp
    may come in after the GPS record.
    
    Instead of resetting the new_gps indication when the new record is
    created, wait until the new_gps indication is seen by the AltosState
    update code and have that clear the new_gps indication.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7e237920abb582d7ceb3e1925b11a848575ac68a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 12 21:32:25 2012 -0700

    altosui: Stop downloading eeprom data on a block full of invalid data
    
    When no valid records are found within an eeprom block, we assume that
    no more data will be found within the entire storage area.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2439f53ea21c84f7c510dc191dde025ada24281f
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Sep 12 21:50:25 2012 -0600

    document workaround for 'make fat' not building altoslib

commit 07d9ba938f2742da1bce5d8df55cbc236207a981
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Sep 12 19:50:07 2012 -0600

    update Releasing for non-native versioning and builds on debian branch

commit fe009534ce6846b6db96cac8f6c2d53ba8010d91
Merge: 69d42b26 8ee29fe4
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Sep 12 19:49:51 2012 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 8ee29fe48771dd22a0c5428761ee53a728495d11
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 12 16:07:41 2012 -0700

    altosui: Serialize data access in TD config code
    
    Setting the values was being done in the UI thread instead of the
    Serial thread, which left the serial thread with uninitialized values
    when it went to update the displayed value for the current
    frequency. All fixed now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 19e35de47157923670b1864ce7b04f8d82f3bdea
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 12 16:06:59 2012 -0700

    altosui: Lock access to preferences data
    
    These are accessed by several different threads, so keep things sane
    by just holding locks across all access.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1b5340c2b75c500011355c4889da443c4b9c4891
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 12 13:07:01 2012 -0700

    altosui: Add multi-sized icons to all windows
    
    This lets the window system pick a better size for presentation
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3e4fc0b3953655eb720372d9b4274cd4bca19556
Author: Tom Marble <tmarble@info9.net>
Date:   Wed Sep 12 10:05:42 2012 -0500

    Reference specific dependent jars in the AltosUI launchers

commit f0f4f907042e12815284abe1b63ae2d4a5a2d598
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 12 02:30:59 2012 -0700

    doc: Mention changes to flight data download UI
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 42bbe15512533f2d958b8219a02fbd256593092a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 12 02:26:32 2012 -0700

    altosui: Initialize flight velocity to zero when reading eeprom files
    
    Otherwise, the integration of velocity will start at MISSING and get
    stranger. Fortunately, we know the initial velocity of the rocket when
    sitting on the pad.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b3c3c6eabd6837f0e72acee3906c8f71c6f0030e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 11 23:37:20 2012 -0700

    altosui: Don't say a decimal point for distances in meters
    
    Useful for distances in miles, but not meters.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 87f9a8923656f275f74cfb6c8c6a57bbe59e74f8
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 11 23:36:26 2012 -0700

    altosui: Initialize imperial units checkbox with correct value
    
    Use imperial units preference instead of serial debug preference. Cut
    & paste programming failure...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 69d42b26223b45df4167aa3baafba100ad71baab
Merge: 3e9078cb 3fa5fbdf
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Sep 12 00:26:21 2012 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 3fa5fbdfd1ab257028f272fbc32759b39608ddaf
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 11 23:04:19 2012 -0700

    Clean up Windows event handles on com port close
    
    This avoids having to wait for the receiver to timeout before we can
    open the same com port again.
    
    This patch also adds a bit more debugging -- it prints Windows error
    messages to stdout along with the file/line where the error was generated.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1a154ce0b9fc3ea360d6bc7e17d6debb2da94438
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 11 22:03:17 2012 -0700

    Include AltosLib.jar in windows install
    
    Otherwise, altosui doesn't do much.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3e9078cb1077e7ad0d845f10c2ad0a007df76d29
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Sep 11 22:17:22 2012 -0600

    releasing 1.1

commit 4563624638884b7b2f16cd4d396c00690e045999
Merge: 11fbcf5e e5a55dbf
Author: Tom Marble <tmarble@info9.net>
Date:   Tue Sep 11 22:50:18 2012 -0500

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 11fbcf5e30e0cd09f2d6b448911d2ef62b7f29c7
Author: Tom Marble <tmarble@info9.net>
Date:   Tue Sep 11 22:48:04 2012 -0500

    Added the feature to AC to default --with-android to $ANDROID_SDK (if set)
    Fixed typos in altosui/Makefile.am (had removed JCOMMON, but it's from AC)
    Jenkins changes:
    - added android sdk
    - will now record artifacts: altoslib/AltosLib.jar,altosui/altosui.jar,**/*.apk

commit e5a55dbf265354e7c94be3e2be53c2d5c8fba056
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 11 15:53:36 2012 -0700

    Use ft/s for imperial speeds
    
    Bob Brown thinks this unit will be more useful than mph
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 73d05650eae1d3958e02e9ffde2020a2438eccbb
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 11 15:30:45 2012 -0700

    Add Version 1.1 release notes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ae3e4cea1cd180ff18b5293a67b4520cc8292be
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 11 01:00:05 2012 -0700

    altosui: Imperial units for graphs too
    
    Just to be consistent
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 95268d681c9a6652d84db383f55a4fe8a4ac5173
Author: Tom Marble <tmarble@info9.net>
Date:   Tue Sep 11 12:54:31 2012 -0500

    Reverted package name to 'altosui' from 'AltosUI'
    Also added emacs backup regex (*~) to .gitignore

commit 13c64f6fb5764c6a0f3520cf4e48a75d78e163db
Author: Tom Marble <tmarble@info9.net>
Date:   Tue Sep 11 12:44:24 2012 -0500

    Add appropriate Java build deps as given from autoconf

commit 8e506274a35eccacd2d4523faa08d279a201753f
Merge: 0bc3ed53 1fc97dd9
Author: Tom Marble <tmarble@info9.net>
Date:   Tue Sep 11 11:39:22 2012 -0500

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 0bc3ed53aa8972c7080d6335f609cd9d0df1c79d
Author: Tom Marble <tmarble@info9.net>
Date:   Tue Sep 11 11:37:14 2012 -0500

    Use explicit build deps for altosui (avoids * wildcarding)

commit 1fc97dd9875a7639533a34438c4c7c999412eb3a
Merge: 8397d2b0 4420d4a9
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Sep 11 10:35:04 2012 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 8397d2b041824ddf1cc0b82926f10da8aae3264f
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Sep 11 10:34:00 2012 -0600

    update Debian build-deps in preparation for 1.1 release

commit 4420d4a9fc011ed970af506ef771dfb81580b666
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 11 00:49:48 2012 -0700

    Fix Latin-1 encoded copyright symbols in AltosDroid java code
    
    Otherwise, we get complaints when compiling these files.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 708e7937cba52982b91244cf89bfbff46d346135
Author: Tom Marble <tmarble@info9.net>
Date:   Mon Sep 10 16:54:27 2012 -0500

    Changed package name from altosui to AltosUI

commit c2ebebc4967043b16380b8ec8800862993005358
Author: Tom Marble <tmarble@info9.net>
Date:   Mon Sep 10 14:50:37 2012 -0500

    Test commit (comment) to confirm push works

commit 67da878f740a387d0092631ad672e024d26e4192
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 10 09:16:04 2012 -0700

    altosui: Use units conversion functions everywhere.
    
    Provide a configuration option to select imperial units and use them everywhere
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 66a1e07efcac9324d33a1eca0dfb58a2724b667a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 10 09:14:03 2012 -0700

    altoslib: Add imperial units conversion support
    
    "Redneck" mode support
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 51836cedce41d8b36eac34c69370489162aaa2b5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 14:02:57 2012 -0700

    Bump version to 1.0.9.7
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e45c47c52f9cc9c43b81148e0e58fdedb3af1eb8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 14:01:21 2012 -0700

    altos/telelco: Search for available firing nodes at boot time
    
    Query for available firing nodes, limiting device selections to those found.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 77775711d414227b3ed97859d1b21ab1c689a724
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 13:58:29 2012 -0700

    altos/telefire: Add steady warble when the LCO arm switch is on
    
    And make debugging a run-time option too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2933103be122414a9b1795b37003b7a2aa9f3d7
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 13:57:16 2012 -0700

    altos/stm: Fix basic time interval to 10ms -- was 10.1ms
    
    Counting from 0 to 100 takes 10.1ms, so count to 99 instead.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0339583996fc57a666f8d3007a0f4b1034039a73
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 13:56:35 2012 -0700

    altos/spiradio: Label LEDs so that the radio code can use them
    
    Mark which should be on for TX and which for RX
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3fa71c497a5bf576974e70af06762f75734e6699
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 13:50:56 2012 -0700

    altos: Try to get remote cmac time closer to reality
    
    Record the time after the packet was sent, but before the return
    packet arrives to try and more closely approximate the time the packet
    arrived at the other end.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 27ab744c6eec9243b7aa14161eec2fbf7003531e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 13:46:23 2012 -0700

    altos: Clean up flight data definitions
    
    These just shuffle the various definitions of data macros around to
    make the include files more sensible looking.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ced6a020d6d94b1c63837a7ab5b0091b7b8ea3c9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 13:43:45 2012 -0700

    altos: include ao_arch_funcs.h at the very end of ao.h
    
    Move it below the definition of the ms5607 init function
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e053da3e7cb5a4c9ebbffd245cb5d83932183b22
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 13:11:57 2012 -0700

    altos: Allow products without MS5607
    
    The define for a missing MS5607 was wrong, so anything using the fancy
    multi-sensor data code would break without an MS5607 in place.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bb5ab29b6744b382bb2f09486a7a6db7d12a3608
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 13:10:07 2012 -0700

    ao_tools/ao-send-telem: Only start real-time on valid states
    
    Check state to make sure it is < ao_flight_landed to keep invalid
    states from switching to real-time playback mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 47d87872c11a63a435fe5b703a4ce33503790d96
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 13:09:27 2012 -0700

    altoslib: Add in a bunch of java files mising after Mike's cleanups
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e2b458a448106ba1ab207f0ea6824b56927d8547
Merge: 9682e9e6 3fe93220
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 13:03:47 2012 -0700

    Merge remote-tracking branch 'mjb/altoslib_mjb'

commit 9682e9e6fe730417a77b47795fbe1f06c9a51177
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 12:29:32 2012 -0700

    altosui: Use helper functions to access arrays in AltosLib class
    
    These deal with out-of-range values correctly, instead of causing
    exceptions that will just break stuff.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d65d921b9b2340fa23d3b55b4ae755324d392303
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 9 12:20:08 2012 -0700

    altosui: Catch errors in state value when saving flight logs
    
    Use AltosLib.state_name() instead of directly accessing the
    state_to_string array so that any invalid state values are caught and
    replaced with 'invalid' instead of raising an exception.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3fe932206f40f4d6f83a4ef49e064109a7a3de92
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 7 18:19:43 2012 +1200

    altoslib: move distinct classes to separate files.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit da053875c12b25b627e83430c3a956a994b435d5
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 7 18:19:07 2012 +1200

    altoslib: remove obsolete class
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 218c73b5bd5bd5673dc6f259f62b39541c52d6ff
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 7 18:11:13 2012 +1200

    altoslib: move distinct classes to separate files
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 42170d0e3a3b68a9d3db69714e043f7273a714fb
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 7 18:10:21 2012 +1200

    altoslib: remove duplicate AltosGPSQuery class
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 82f798e7b1343a56203af2e89790f6de9ab9f98d
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 7 18:09:37 2012 +1200

    altoslib: remove duplicate AltosIdleMonitor class
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 88667f7b7dff52eaf5e30f8f83fed0d7f767268d
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 7 18:07:45 2012 +1200

    altoslib: rename AltosIdleRecordTM.java to AltosGPSQuery.java
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit bbbe1846346b4ba61330f535a12b7a5029877ee6
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 7 17:53:20 2012 +1200

    altoslib: remove dead code
    
    (if object creation fails, an exception will be thrown - not return null)
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 02d31db3d3255568cc348a41aa37a461d63ffde2
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 7 17:52:27 2012 +1200

    altoslib: resolve argument/variable ambiguity
    
    (and comment out set_flags() which had no corresponding variable anyway)
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 639f3e5e5171769429eac9e2f17a7b315fd62135
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 7 17:39:25 2012 +1200

    altoslib: comment out unused methods
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 369c5e23ac6d65bab4b456ed86737576ac61102f
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 7 17:35:29 2012 +1200

    altoslib: access static variables via class, not instance
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit b02c17b26e028a6f3a46781211a86a18272da4d0
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 7 17:34:17 2012 +1200

    altoslib: comment out un-used variables
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 20bc23ddb90f8a6da1f7ea70f02cf3a038059d32
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Sep 7 17:32:07 2012 +1200

    altoslib: Remove un-needed imports
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit c5e98d2b226824f2012e5710ac4b1596b9f0bfb1
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 6 18:07:33 2012 -0700

    altos: Fix radio slave to run lights in the normal way
    
    These were left in a debug mode, toggling instead of flashing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 01820c3e95fe85d2bee648d41809f1a753f81020
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 1 00:15:16 2012 -0500

    Revert "first work on PWM input to TeleScience, 'p' command displays timer 1"
    
    PWM bits not suitable for master
    
    This reverts commit e93c6bcc799d76d4ff425815e2601a25e6796229.

commit 3ccc4a13e3f76bec864d61b0cdfd57c76c6baadb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 1 00:15:02 2012 -0500

    Revert "Timer 3 working with slower clock and all 16 bits."
    
    PWM bits not suitable for master
    
    This reverts commit 49b1ff4c614d24977b33cd17b583acc87acff476.

commit 8c743857525eff778d067068356dec486b9fefa2
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 1 00:14:49 2012 -0500

    Revert "ICP3 working"
    
    PWM bits not suitable for master
    
    This reverts commit 75d6aa6f798606f1a6c5a46542065dda81e63b2a.

commit 294b1ec85a37e375a0ac70cbffc6398309d63a7f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 1 00:14:27 2012 -0500

    Revert "telescience: correctly calculating rate values with higher resolution"
    
    PWM bits not suitable for master
    
    This reverts commit ada6f2dfc045e77cb9499f20cdec1b4a54ef0db1.

commit ec9e1186dce079a2f2b7be8050216ddb1bc1af66
Merge: 503eabd0 6d31f8d1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 31 22:24:16 2012 -0500

    Merge remote-tracking branch 'mjb/freq_menu'

commit 503eabd0e351ecdffda1416b7d00f8ef1d6913c9
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 31 22:19:40 2012 -0500

    altos: Get mma655x driver limping along
    
    This appears to drive the chip correctly to see values from the accelerometer.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 48a3e6e073e927e456ef4e456e512f6fb8e3b9ee
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 31 21:02:13 2012 -0500

    altos: Fix mma665x pin assigment for mma655x
    
    It's on PE13-PE15, not PA5-PA7
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f9af7819de086d9179c3a4d1df7c88ab67a7d7c7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 31 21:01:21 2012 -0500

    altos: Add custom panic noise for self-test failures
    
    Make it easier to tell which component is failing self test
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6d31f8d15ef4bf75ae039dd7b1a6a615d00eb215
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Aug 31 17:53:53 2012 +1200

    altoslib: add missing manufacturer parsing for AltosConfigData
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 4e3ac2b624f68dd5a8f6dd7a33eb10cd78497964
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Aug 31 17:42:22 2012 +1200

    altosdroid: invert channel/freq ordering
    
    Matches Channel Selector in altosui
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 80bc985f79e616e5327aed4f7acc9bca71b8db54
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Aug 31 16:50:53 2012 +1200

    altosdroid: also display channel numbers
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit b6a21856c68ca8cca93eb755285be1927acb91e7
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Aug 31 16:39:10 2012 +1200

    ao-send-telem: fix frequency set command
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 543ecb530d6fdf188a746ac59b72544e69bad830
Author: Mike Beattie <mike@ethernal.org>
Date:   Fri Aug 31 16:38:21 2012 +1200

    altosdroid: complete frequency change dialog
    
    Also implement Service IPC to action request.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit f1a9fff865e0b226a97ad5d6eaaac64bd5e5d410
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 30 23:07:43 2012 -0500

    altosdroid: Start a hacked-up frequency dialog
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6d8858ca1899c8b64f107ebb45711efbb7b8d62a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 30 16:30:04 2012 -0500

    altos: another .gitignore file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ab9d5bf13e6f1735a0463f4bcab13d65170b7015
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 30 16:28:53 2012 -0500

    altos: ao_cc_spi.h isn't necessary for telelco
    
    The SPI radio defines are in ao_radio_spi.h
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b635cb26ba54c8f5c6a958e0ab0bc4d34d33b635
Merge: 354c1fed a8ecf3aa
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 30 16:24:38 2012 -0500

    Merge remote-tracking branch 'mjb/master'

commit 354c1fed7f06c2c45c661e7265c2ac4bc47e2750
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 30 16:22:51 2012 -0500

    altos: Add a bunch of .gitignore entries
    
    Clean up the git status output
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2c59954fdf204f443d9bb28c4a66a30f925ef348
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 30 16:16:52 2012 -0500

    altos: Shuffle LCO functions around, add telelco first cut
    
    Pull LCO functions shared between LCO UI and command line into
    ao_lco_funcs.c.
    
    Import bits for telelco.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 72d44d14aefcb754b871835aec8d265771357212
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 30 16:14:57 2012 -0500

    altos: Disable debug printfs and fix pad ignite time for telefire
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a8ecf3aa4e88d4c76643fb541fb1d5535a454aba
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 30 21:08:41 2012 +1200

    altosdroid: Implement voice just like altosui
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 2e6af70c87e7cc62a92b09bbbde745a31d83b5eb
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 30 21:08:06 2012 +1200

    altosdroid: Move bluetooth check to first task
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 519887571cee2840024c5c8f4b7f0e5c352d3323
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 30 13:23:29 2012 +1200

    altosdroid: add rssi/serial/flight, and re-work UI ordering
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 14022b002d2201fb3ca28292d976c90e2d9a15a2
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 30 13:23:04 2012 +1200

    altosdroid: rename ambiguous TextView name
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 91606c89828e60d8cf9a5ea4ff75b951d6fc042a
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 30 13:21:38 2012 +1200

    altosdroid: formatting/whitespace, correct ids
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 2137a112b4217d84041f749b8aa5eb8f4d330ba0
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 30 13:20:10 2012 +1200

    altosdroid: rework lat/lon to more common format
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit c32325af6605e78c1d1147d466f3ea12ce94124a
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 30 13:19:41 2012 +1200

    altosdroid: rename azimuth/altitude to elevation/height respectively.
    
    (Matches altoslib, altosui, altos)
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 8ffa4f9a474026f5a6523b26919a78565e0ed74c
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 30 13:13:20 2012 +1200

    altosdroid: move units into code, to match altosui
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 583458772746317b98fced907ec780edff465888
Merge: aea10c10 17b6ffb6
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 29 11:29:24 2012 -0700

    Merge remote-tracking branch 'mjb/master'
    
    Pull in Mike's fancy new AltosDroid bits

commit aea10c107dff2643677a9c8d1fc41e14f4a66049
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 29 11:25:36 2012 -0700

    altos: spiradio debug serial is port 1, not port 0
    
    The SPI link uses port 0; it seems like the having the two try to
    share the same wires is a bad plan.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3e7e8e21f2bb823cb6e74c73d0feddbc3a891107
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 29 11:23:13 2012 -0700

    altos: SPI radio - use 1->0 for 'done' and 0->1 for 'ready'
    
    This changes how the SPI radio protocol uses the interrupt
    line. Instead of a pulse indicating operation done, this now uses a 0
    value for done and a 1 value for ready. The key distinction is that
    the master can tell when the slave is waiting for the next command
    instead of hoping that it got done 'soon enough'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1b6ed262460ee75fb5bb684d13d19c26c7ea750b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 29 11:22:02 2012 -0700

    altos: fix ao_pad debug output for query command
    
    Igniter status is an array these days.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 442f1bfc89528103e2c28f768c954b956e39afc5
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 29 11:21:09 2012 -0700

    altos: Use updated pad protocol for lco commands
    
    Stop using the older single-channel protocol and switch to the new
    multi-channel protocol
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f64e62356bcfcd6ba8a88b09251793481bcd56c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 29 11:19:17 2012 -0700

    altos: Note changes to configured AES key for SPI radio convenience
    
    Keep a sequence number to mark when the AES key is changed so that the
    radio code can avoid sending the key before every CMAC radio operation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1a7d2faf76a46271532102e217c2dd5515e38b72
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 29 11:16:42 2012 -0700

    altos: Wait for IN dma complete on slave SPI send
    
    SPI send double buffered, so the DMA completes one byte too early. Use
    the recv DMA to know when the SPI transfer is complete.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 17b6ffb6c090112367eac944494f0fa58da453c7
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 30 01:01:06 2012 +1200

    altosdroid: initial attempt at a UI.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 98f65994ee547feb8cca63ff4ed0fefd3fb2d37d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 28 23:05:02 2012 -0700

    altos: Oops. forgot ao_data.c
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3a3982ceb721910c6a4f75badebb62baa6c6568e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 28 22:43:10 2012 -0700

    altos: Add spiradio Makefile
    
    git add doesn't add Makefile by default.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fc9841ee5e92318471b6bec09b7075a788ab8872
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 28 18:13:02 2012 -0700

    altos: Mostly working SPI radio link
    
    This includes long delays to avoid overrunning the cc1111 input,
    otherwise it works pretty well. The delays mean that we can't capture
    the reply to a cmac command though, so more work is needed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 27a879b4069ccedf8bbe39d7dbecf45000f29d8c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 28 18:12:27 2012 -0700

    altos: Include the radio_cmac debug commands in telefire
    
    Just temporary debugging
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eb1a9a8c3f3d3993d5986925bc4ad112c2bbc119
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 28 18:10:34 2012 -0700

    altos: Explicitly erase memory in STM eeprom driver.
    
    This seems to make the STM32L152 happier
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3fe5a70d9ac2114ee554813b1dbb3019a3e4aff7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 28 18:08:59 2012 -0700

    altos: Track protocol changes to ao_pad debug messages
    
    Make the debug output build again.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 18b5021e99c1eef32d2d85f619c84e89cecae7a7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 28 18:07:55 2012 -0700

    altos: Stop providing debug commands in seven-segment driver
    
    The radio_cmac debug commands use the same letter, and this code works now...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 78cd26eec77adda23ef1b5ca2d91027f1e059868
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 28 18:07:05 2012 -0700

    altos: Move radio_cmac test funcs from ao_lco_cmd.c to new file
    
    These are useful in the firing node for testing as well, so move them
    to be shared.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2d919a2147025daa332957cda6d91959e4731ab
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 28 18:05:10 2012 -0700

    altos: When sharing radio DMA for AES, use it for in instead of out
    
    We look at the out_done value, but not the in_done value; if we use
    the radio DMA for out, we would have to use ao_radio_dma_done to check
    for completion. This way, we can ignore that value and use the
    existing ao_aes_dma_out_done value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 31b42b99edbb976534ac432c07e218f13d1f5f9b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 28 18:03:52 2012 -0700

    altos: Fix ao_delay function and move from per-chip code to ao_task.c
    
    ao_delay hasn't been chip-specific for a long time, and it had a bug
    in not calling ao_clear_alarm.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac5d053e6d766d243b7a425ae19779810c350125
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 28 18:02:25 2012 -0700

    ao-stmload: Always round up load amount to 4 byte boundary
    
    The flashing code doesn't deal with partial writes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 68df2b1173e82d48f7857ad2e9325e6a9cbbedfd
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 22:45:47 2012 -0700

    altos: Enable STM SYSCFG when routing EXTI
    
    The EXTI routing information is in the syscfg unit, so that needs to
    be powered up or writes to its registers will be lost.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c677f26852b70bcbb303382c306ce06664fde028
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 22:45:20 2012 -0700

    altos: No need to initialize EXTI priorities at startup time
    
    They all get set to the correct value when enabled.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5ed88fb72c3e3ecf3333c700d838667db71cfbdc
Merge: adbe64c5 621d0930
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 28 23:39:53 2012 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
    
    Conflicts:
            debian/control

commit adbe64c5a9402b7c5075a444a12629131b663877
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 28 23:37:00 2012 -0600

    libelf-dev added to build deps

commit cb8f01745c9e8f258f96358b46e1caf17d6b0c9f
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 23:20:04 2012 +1200

    altosdroid: update Makefile.am for source file changes.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit c220369953d351f49a5f45bfb5e317859d3a9843
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 22:26:12 2012 +1200

    altosdroid: Add Dumper class for testing
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 6c985c2b0433a08add3bbf55fdb30102157b4ede
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 22:10:26 2012 +1200

    altosdroid: add timer to stop service
    
    * Stops when no UI clients, and no bluetooth connection remains
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 781bdb6c15b7dd3cc2280b08a2f47ce0f92cf53f
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 22:09:34 2012 +1200

    altosdroid: do service start/bind/unbind in start/stop, not create/destroy.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit ea5fe9e95a888d623329d17d048ee360ea114ad1
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 22:08:49 2012 +1200

    altosdroid: move methods around
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit c6d667a6ac0decfde5bc8a180b14774e9942dd0c
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 22:08:19 2012 +1200

    altosdroid: tidy up old messages
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 5c7370dcd7a65c81a3c903a71167e07cfcbade53
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 22:07:39 2012 +1200

    altosdroid: stop sending device name, just send config data
    
    * Kinda complicated, but ultimately more sensible
    * Just send the config data as an arg to MSG_CONNECTED
    * keep retrying connection till we actually get config data
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 5ce8c63850dbc6462d7c41ce917e0e06672ec0ab
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 22:00:14 2012 +1200

    altosdroid: whitespace
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit df7b74909c3794b7b2397275e7fce9226cb99489
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 21:59:40 2012 +1200

    altosdroid: override add_reply() to add android based debugging
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 9d0f187f06c411f0d82e13ee4f2faea789ed9e79
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 21:59:15 2012 +1200

    altosdroid: more logical name for connection_lost() method.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 7664ecc0003151d3f05537f17914df2bf48e4275
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 21:58:47 2012 +1200

    altosdroid: rework ConnectThread
    
    * Start input_thread after connection, otherwise it's painful to kill
      on connect failure.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 502b24eb2c9c76e4e2bdcc79be0b71a869488b37
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 21:55:40 2012 +1200

    altosdroid: fix a connection retry having a null pointer
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit c7bef83fd553987f83c0bf7ff37ef941872564fe
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 21:54:05 2012 +1200

    altosdroid: fix double call of stopAltosBluetooth()
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 150a726e125aa7d181c00348ddd1791fd84164e5
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 21:53:01 2012 +1200

    altosdroid: Miscellaneous comments/debug/etc cleanup
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 162c640d382b9f823573578fe97584adc94cd9b6
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 17:37:45 2012 +1200

    altosdroid: miscellaneous cleanup
    
    * Copyright info
    * whitespace
    * comments
    * unused imports
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit ae03d8e87985b9f746e9e22b2394a0a5b4f39f1c
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 17:36:41 2012 +1200

    altosdroid: Add passing of Device Config at connect
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 03563c765d8b0ab3689c91b2b533c68e11650577
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 17:35:11 2012 +1200

    altosdroid: Add new "TelemetryReader" class to handle Telemetry
    
    * Add MSG_TELEMETRY messages to both AltosDroid and TelemetryService
      to handle passing of AltosState object all the way back to the UI.
    * Remove linkedblockinglist from TelemetryService
    * (MSG_TELEMETRY is a rename of MSG_INCOMING_TELEM in AltosDroid)
    * commented code in case statement inside AltosDroind - won't work with
      the objects it is currently passed.
    * Add new "MSG_DEVCONFIG" message to AltosDroid - allows TelemetryService
      to pass information about the connected device back to the UI.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit ed653a1e6dc8884cb171af1406fd0999ef125a4d
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Aug 28 17:26:09 2012 +1200

    altosdroid: create connected() method
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 621d0930244f25165d2ac5da596dcc87e253b965
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 13:52:11 2012 -0700

    altos: Add spiradio product
    
    Implements the SPI radio protocol
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 61d094f281431e9f11f806454981da8e1245fb5c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 13:51:53 2012 -0700

    altos: sdcdb rc file for telefire
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c31d07fb35a5b4d283facf649bed3f0f9802d1fc
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 13:49:07 2012 -0700

    altos: Add SPI linked radio API
    
    Forward the necessary radio functions over the SPI link
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0f3483f93137f41a61f3fcbe06afcaffb1b9e17b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 13:47:16 2012 -0700

    altos: Clean up radio APIs
    
    Move api to ao_radio_cmac.h include file.
    Expose ao_radio_test as standard API.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 85fd7ab504a9fac1de90bbe7df8ea477a092c2b0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 13:45:56 2012 -0700

    altos: Build telelco and spiradio when possible
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 467acda662de8b96e7d0df729c2e4761686b82a1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 13:44:35 2012 -0700

    altos: Expose a signed version of the tick count
    
    Useful when doing time comparisons.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e7443bf350afe273e87a884915ea1e7662630cd3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 13:42:38 2012 -0700

    altos: Specify the LCD duty cycle for stm-demo
    
    This is the demo for the large 7-segment displays and needs static drive
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 708d49e498bbdc59bb5af9bf4ca5fcea5689547a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 13:41:13 2012 -0700

    altos: Test multiple quadrature devices. Export quadrature count.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8bfe8157cd9fe488d1ee961f200ffa0866322f2c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 13:38:44 2012 -0700

    altos: Seven segment display driver
    
    Hex numbers and the decimal point.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 28c3923b6180e24a77aecc7162bb2852cec7d770
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 13:37:14 2012 -0700

    altos: More SPI slave changes for cc1111 driver
    
    Don't enable DMA in the other direction when doing slave transfers.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a27b9b5c36cf748e415ba210c8d8ae72d8227a98
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 13:35:39 2012 -0700

    altos: Add SPI slave get/put macros to cc1111
    
    Theese don't try to drive the chip select line
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 304909b7534768bfc8da62954effb37ba86806ea
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 13:34:12 2012 -0700

    altos: Provide interface for STM LCD driver.
    
    This provides a simple function interface for driving the LCD segments
    in the STM chip. It also uses the update complete interrupt to block
    LCD users during flush.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c1168f40223ca09df23215f2e2fc445a8a03aea9
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 27 13:32:41 2012 -0700

    altos: Rename drivers/ao_lco to drivers/ao_lco_cmd
    
    These contain command line functions for testing the cmac and lco
    features. Now that there's a telelco-specific ao_lco interface file,
    it's useful to have both for testing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fa8668931cbbc1506560222f2db7e427b514a351
Author: Mike Beattie <mike@ethernal.org>
Date:   Mon Aug 27 19:41:47 2012 +1200

    altosdroid: Let a freshly connected client know what the device name is!
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 9a41508d92f95012a37bb75603e6e48a2c405204
Author: Mike Beattie <mike@ethernal.org>
Date:   Mon Aug 27 19:41:29 2012 +1200

    altosdroid: Add Connected/Connect_failed messages
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit e121ec3ae634f41979717281a28af5e4a38e8f3a
Author: Mike Beattie <mike@ethernal.org>
Date:   Mon Aug 27 19:40:30 2012 +1200

    altosdroid: don't need keys for Bundles anymore
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit afac4d6c82916eea67ac838cd22806bd73db00a9
Author: Mike Beattie <mike@ethernal.org>
Date:   Mon Aug 27 19:39:53 2012 +1200

    altosdroid: Toast() requests don't need Bundles
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 18c380120fe37a4bdc8f295e86c6c4413d1aa037
Author: Mike Beattie <mike@ethernal.org>
Date:   Mon Aug 27 19:39:09 2012 +1200

    altosdroid: really don't need to store a local copy of the device name
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 6441437d3b0e848b225a3d6c78ab00e2590c6988
Author: Mike Beattie <mike@ethernal.org>
Date:   Mon Aug 27 19:37:16 2012 +1200

    altosdroid: remove complexity around message passing
    
    * Don't really need to use bundles
    * TelemetryService: Use a local variable to store the bluetooth device object
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit f89e7de20374141b367205aa517a08ee203bfaf3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 26 09:53:16 2012 -0700

    altos: Trigger sample complete when all data are ready
    
    This has each sensor mark a bit in the current data record which is
    then sent for processing when all of the data are present.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dec1481786ad54e22634e32109b5ed6e5483938e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 26 09:52:27 2012 -0700

    altos: Shrink STM stack size
    
    512 bytes should be enough for anybody.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d13d0fbfcb0fd6d8a1af46f6270a968d746c830e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 26 09:49:34 2012 -0700

    altos: Make ao_cur_task_index track ao_cur_task in ao_yield
    
    This keeps the two main task references (index and pointer) in
    agreement during task switching, avoiding an extra assignment at the
    end of the task switching loop.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1c9baa88d6cd931c66d453674322908eb267ba4c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 26 09:47:05 2012 -0700

    altos: Make 'pad' driver useful with telefire v0.1
    
    This reports correct status bits over the radio and to the LEDs for
    all four channels, and also makes the firing test command control all
    four relays.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ea4db73328e865fd658b573da256ca0004c69c61
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 26 09:45:03 2012 -0700

    altos: Add debug command for 74hc597 driver
    
    This dumps the current state of the 74hc597 chip.
    
    Note that this shows that the 74hc597 driver doesn't work, and that
    the circuit used in telefire v0.1 can't work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 89f1a685a02c7808cf03853aa9a5ee50c6baf49e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 26 09:43:34 2012 -0700

    altos: Allow sharing of radio DMA with aes engine
    
    otherwise, telefire doesn't have enough DMA channels.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 58d2b70575f3616a056d2356a737b3be15ed3d66
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:38:33 2012 +1200

    altosdroid: begin adding TextToSpeech support.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 11896d22b7bc6e34e3f6109d28f8b6a2d37e6c25
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:38:10 2012 +1200

    altosdroid: whitespace cleanup
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit f8211fee3c8a5de6925eadca2679441801ac793e
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:37:58 2012 +1200

    altosdroid: Send device name and connected state back to TelemetryService
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 8fdde3e74c6dce35f90f4575ce6914516fc56aba
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:37:33 2012 +1200

    altosdroid: re-work connect/thread handling in AltosBluetooth
    
    * Much more resilient to failure
    * handles multiple blocked threads better
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit dba71db022ae4a9f7c5fd128b90caa73aa4e99da
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:34:59 2012 +1200

    altosdroid: remove old commented code
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 38827db5131a2681243649c76bfd1d7d9801f9ba
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:34:45 2012 +1200

    altosdroid: add handling when restarting BT. delay start after stop.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 30d107882b62edf4e6d48923209da6ce3dabeef7
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:34:28 2012 +1200

    altosdroid: set devicename and pass on to clients
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit d95b84b56c63002788939b93b6ce949d921a4892
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:30:45 2012 +1200

    altosdroid: Send current state to client on connect
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit cf94a86f37284b53e89b13a7eeb871db647c61ba
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:30:00 2012 +1200

    altosdroid: add missing break; (just in case!)
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 24fe48f66f94c99b8197a612afe6f98e980e9796
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:29:25 2012 +1200

    altosdroid: debugging statements
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 2ef1723091b0c491ef445474844376185ca4102b
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:28:59 2012 +1200

    altosdroid: forgot change to IncomingHandler constructor call. oops!
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit d40f96fcc961cfbf6af67fc84591d2660d065ca0
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:28:26 2012 +1200

    altosdroid: Strings and Layout changes
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 3d6fc5fe462531e05ca4b9be1a421490e067a28b
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:26:58 2012 +1200

    altosdroid: lots of debugging statements
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 31bffa435cec2098c7ab5c42c829ba6e1578b5d2
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:24:13 2012 +1200

    altosdroid: need sendMessageToClients() for setState().. oops!
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit a9ec3c96288b7ea4e40586321a0a98edf0c8fee5
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:23:33 2012 +1200

    altosdroid: Need access to handler inside AltosBluetooth
    
    * Also move add_monitor() call
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit d7173e814c49826f39bba1ff6b024819c555860c
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:20:01 2012 +1200

    altosdroid: reflect change in message name
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 215d78f06093bd8a8b08a85cae0f1f34aee2a6ec
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:19:06 2012 +1200

    altosdroid: begin adding state support
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit fe6680dd3b4c31b3d4edc3f06a142f02bcb879df
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:16:49 2012 +1200

    altosdroid: init device variable... oops!
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 2c5513c51b187ad26a59b193b401f38c35141d27
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:16:04 2012 +1200

    altosdroid: Rename Connect message, add connected message
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit a6373e84393312ed0fbf22285c704819c2011588
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:14:09 2012 +1200

    altosdroid: init telem blocking list.. oops!
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 21359f600354e8ee840e839e61ef97d30f3586fc
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:13:33 2012 +1200

    altosdroid: disable NotificationManager stuff for now
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 54baecc208a40606e3242b2cbd5e66567053646f
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 23:12:48 2012 +1200

    altosdroid: Convert handlers to use weakreferences
    
    * Also renamed bluetooth start/stop methods
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit bf7def1a7b93867dfe16fe6499ee028747634c41
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:28:58 2012 +1200

    altosdroid: Remove Binder import from TelemetryService
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 5f4c47389a3d0d10d659a2e00fc74a150b5fed88
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:28:36 2012 +1200

    altosdroid: Add State constants for future usage
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 6ffcc82d8d18d3f05d4f5881e50dda298b43c114
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:28:09 2012 +1200

    altosdroid: begin adding IPC to TelemetryService
    
    * And add imports for LinkedBlockingQueue... oops!
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit a33333b97e810f50db36f345aab71a3200feccc3
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:24:19 2012 +1200

    altosdroid: remove old Binder from TelemetryService
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit b69796991c1da6baf245349fcc4392668b9b5570
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:23:17 2012 +1200

    altosdroid: begin adding IPC to main thread
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit bcd53483ccf4bbb2f163a011faae6d19a7bbed0d
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:22:23 2012 +1200

    altosdroid: Add TBT initialisation to AltosBluetooth
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit ef29a197ce3318404f37e8a0b24d235e8b024a1f
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:21:57 2012 +1200

    altosdroid: Add debugging statements to AltosBluetooth
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit fb8cd14cca61ca59b95c23e71505607b4509d4ed
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:21:36 2012 +1200

    altosdroid: Add input thread for reading from TBT
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 5ce132b3366cd120499fcbe22b5fbe96d21b8584
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:20:42 2012 +1200

    altosdroid: Move constructor for AltosBluetooth
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit b59e7d0b201290f2cb0fd494ef28c1402e11ba3b
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:18:44 2012 +1200

    altosdroid: clean up stub functions in AltosBluetooth.java
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit d184638be79dafd6fb43df21040eb52402f54ea5
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:11:12 2012 +1200

    altosdroid: AltosBluetooth.java
    
    * clean up variables/comments
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit bad155538c4630c62ade80afd20830aad37c287e
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:10:15 2012 +1200

    altosdroid: AltosBluetooth.java
    
    * Clean up imports
    * Convert from reflection to using Well Known UUID for SPP.
    * clean up local variables
    * Add debug conditionals to logging
    * remove references to socket type
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit c9689a3ef65ea9da5a7009834add789737ffb6a9
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:03:54 2012 +1200

    altosdroid: Clean up imports in TelemetryService
    
    * Begin adding AltosLib usage
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit ffdfc08c317f503e30604d058749b24c3ca7bafa
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 15:00:23 2012 +1200

    altosdroid: Add service start/bind/unbind to AltosDroid
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 95a34caa8343997bcf7d8969ee8ae3124efcb573
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 14:57:04 2012 +1200

    altosdroid: Remove AltosLib import from main thread

commit cfe93315fc0e4b01a95b8e59f24aca96b5a66daf
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 14:55:19 2012 +1200

    altosdroid: whitespace
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 3f3da6626ef41b2cab116d6299d2a89cbf7718a9
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 14:54:54 2012 +1200

    altosdroid: Re-locate TextView initialisation
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 917f519a4e876087590a3a260fbbccf4c0ac3e31
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 14:54:06 2012 +1200

    altosdroid: remove UI components/imports no longer used
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 80bf63702175322053f2b38c4fff56b653ab7c70
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 14:52:30 2012 +1200

    altosdroid: excise BluetoothChatService example code
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 372840b4ebfd3da3cd713b6bc6a8ffc8cd6b6b8c
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 14:48:48 2012 +1200

    altosdroid: remove TelemetryService activities
    
    service start/stop will be handled by AltosDroid/itself now.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 24503eb330bf887f5c76afe2aaa9c9f2ce177460
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 14:44:09 2012 +1200

    altosdroid: whitespace (spaces to tabs) (part2)
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 7aab6e6b6e361455a7515fe6db7b0e9a6e4c786c
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 14:29:36 2012 +1200

    altosdroid: whitespace (spaces to tabs) (part1)
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 0f3597389977f86a8c1bdff1b7f46107c43ef306
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Aug 26 12:41:24 2012 +1200

    altosdroid: Update copyrights
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 7ecb429fe4682faf209452b1738ff3c8096fc5d5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 24 00:46:55 2012 -0700

    altos: Configure telefire SPI and LEDs correctly
    
    This places the telefire SPI bus on USART1 option 2 and
    marks the various LED functions with symbolic names.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 310c1d0bf83448eb12e5d64ac09a4279c25fd258
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 24 00:44:35 2012 -0700

    altos: telelaunch doesn't need ao_radio_cmac_init
    
    This function was used to initialize the LCO functions, which were
    moved to ao_lco.c a few commits back, so ao_radio_cmac_init doesn't
    even exist anymore.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6581fa1641882198c870c2f7b1340794b9d47f29
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 24 00:42:32 2012 -0700

    altos: Get ao_pad.c working on telefire v0.1
    
    Monitor all four channels, allow any channel to be fired.
    Turn on power LED at startup time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 83e0d4352041b3964ea7a133b0f67da9ebaa1c77
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 24 00:40:27 2012 -0700

    altos: Split out LCO functions from ao_radio_cmac.c to ao_lco.c
    
    These functions are not used in the telelaunch or telefire nodes, so
    don't force them to be included.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c64999c39d6d9242f98bdc9312436c3333115bfd
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 24 00:39:46 2012 -0700

    altos: Have radio_cmac turn on LEDs as appropriate
    
    Use AO_LED_RX and AO_LED_TX defines if present to control LEDs during
    radio operations.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a8e9906513227600599da12b268ff5f807ae98c7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 24 00:34:55 2012 -0700

    altos: Add 'ao_led_set_mask' in the PCA9922 driver
    
    This lets a subset of the LEDs be controlled independent of other LED settings.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 50b58d703b8b48005a3ca9ad4e3603d6f7ac1430
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 24 00:33:38 2012 -0700

    altos: Make cc1111 SPI pins configurable
    
    Allow either USART in any configuration. Still only supports one SPI
    bus though.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7a0ed0ff4192060854d69e640de2c30105eb2f62
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 24 00:27:13 2012 -0700

    altos: Disable telefire 'pad' listener when testing radio
    
    Ensures that the radio testing won't block waiting for a firing mode
    packet to arrive.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 659c0cd3ee4b9581c12ac2cd1b4162bf07a921ce
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 19 10:02:16 2012 -0700

    altosui: Check for JRE 1.7 in Windows installer
    
    altosui runs fine with version 1.7 (on Linux at least), so allow that
    version to satisfy the java check instead of requiring the user to
    down-grade to 1.6
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ab1279cc6a683595631d7ac8bed7b36e0c8a691c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 18 22:51:47 2012 -0700

    Here's the button driver and event queue logic
    
    These were neglected in the commit which was supposed to include them
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93db8febda03d9a02c5c1ccdc6ad44eaf00a433b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 18 21:26:34 2012 -0700

    altos: Add MMA655X driver
    
    Just debug code at this point, will complete on real hardware
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8457ca81adc9d62a7ffe56a7c0c36f2fcadaa682
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 18 21:25:34 2012 -0700

    altos/cc1111: Document SPI bus pin options
    
    Just a comment in the source code about which pins each option selects.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f46d94ca5c969c88dd307d1b684d6fafa2157020
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 18 21:24:16 2012 -0700

    altos: Use split SPI bus for MS5607 sensor
    
    Leave CS low while releasing the SPI bus when waiting for conversion
    complete -- other SPI bus users will use another set of pins.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a1a48aa9ee0bf7fa6720b34c0f544485caea7cac
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 18 21:21:58 2012 -0700

    altos: Allow STM SPI bus on multiple pin sets
    
    This allows multiple STM pin groups to be used for each SPI
    bus. Useful for the MS5607 sensor which signals conversion complete on
    the MISO line.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 00abbbb79de67dc95176fe48b23ce3e8614e8d3a
Author: Mike Beattie <mike@ethernal.org>
Date:   Wed Aug 8 07:07:49 2012 +1200

    ao-send-telem: make --realtime work
    
    (add "break;" to the case statement for options)
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 9456332fc16269270a2e9b7ef0b54523800cfe27
Merge: bd023491 4d4ad34a
Author: Mike Beattie <mike@ethernal.org>
Date:   Wed Aug 8 06:49:15 2012 +1200

    Merge branch 'master' of git://git.gag.com/fw/altos

commit 4d4ad34aec0c75c66162b992f1e52947e4685730
Merge: c7f22850 8e4ebd1f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 7 11:48:20 2012 -0700

    Merge remote-tracking branch 'mjb/master'

commit bd02349111ae0f39b320e6a10a330051ddc39fdf
Merge: 8e4ebd1f c7f22850
Author: Mike Beattie <mike@ethernal.org>
Date:   Wed Aug 8 06:46:56 2012 +1200

    Merge branch 'master' of git://git.gag.com/fw/altos

commit 8e4ebd1f6eb928b5cb7bcda4ed88851aa9e61bdf
Author: Mike Beattie <mike@ethernal.org>
Date:   Wed Aug 8 06:45:03 2012 +1200

    Add ao-send-telem to .gitignore
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit c7f228503870c44dfd278ede8b0980dbac73d3c7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 7 11:32:16 2012 -0700

    altos: Fix .sdcdbrc file for telebt-v0.1
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c58f3d1a373b20fac3f51037008bcc40955f1348
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 7 11:30:47 2012 -0700

    altos: Oops. Serial 1 stdin was busted by typo
    
    A typo in the symbol used to enable stdin wakeups from serial1 caused
    the input to pend until some other wakeup occurred.
    
    This also makes the serial1 hw flow control pin selects in config 2
    work right, although those aren't used by any current product
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 46f87373bc8c28442273ee4f8da3a352223150f5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 6 22:53:52 2012 -0700

    altos: Add button driver and event queue
    
    With this, a single task can wait for any button or quadrature input
    device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 11046bc89b3ce6386f1005fc8476b08f54d6f5fb
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 6 21:54:58 2012 -0700

    altos: Support multiple quadrature encoders.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5f7e61c749b02ed16e368502062e39b0471e9257
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 6 20:20:32 2012 -0700

    altos: Fix up quadrature driver
    
    Mostly works now, should work reliably with a bit of input filtering.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ab379493dbe9923db8e458d2f4e0344df17d331c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 6 19:35:02 2012 -0700

    Signed-off-by: Keith Packard <keithp@keithp.com>
    
    altos: Test quadrature driver

commit b0b52ca73bc836336ecc70247a9ed1dd633920d9
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 6 19:34:34 2012 -0700

    altos: Add quadrature driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6171892fa32e8a662a494ec6ba28a82fddc68589
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 6 19:33:44 2012 -0700

    altos: Add ao_gpio_get and ao_exti_set_mode
    
    Needed to support general GPIO interrupts
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit de701d5a234cd21930cf92c9cabebb0e230da9b5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 5 14:58:40 2012 -0700

    altos: Build ao_kalman.h from cc1111 subdirs as needed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fc9aed1ef3485d259722c9b89e19969e0afe257c
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Feb 26 22:30:09 2012 +1300

    Adjust service to be persistent.
    
    * Run as a foreground service -> high priority
    * Notification set to display as "Ongoing".
    
    Changed logo to be in colour at keithp's request. Greyscale logos still present as *_g.png
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit b80d1f4e8a2df3ace64468a38a815a4f982aa179
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jun 10 20:04:24 2012 -0600

    move from Debian packaged sdcc to new cc1111 package forked from 2.9.0-5

commit 0f82021186565fda10df7893b95deae4a1f32778
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 5 12:17:25 2012 -0700

    src/cc1111: Enable SPI slave mode
    
    This is untested...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 39594fdb3e30a1a25dd894c217e3d9d773bab972
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 5 12:16:25 2012 -0700

    src/cc1111: Allow serial0 without serial1
    
    The ao_serial_speed structure is needed by serial0 too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2610b316eb939c1532061646b05207fcd54d984f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 5 12:15:36 2012 -0700

    src/cc1111: Add ao_gpio_set macro
    
    Allows general GPIO-using code to run on cc1111
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 82a37d70e3cacf792c1aa18f8c0d2a19d6f321ed
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 4 22:58:48 2012 -0700

    altosui: Move 'implements Runnable' from AltosSerial to AltosLink
    
    AltosLink is the class providing the 'run' method, after all...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit af34baf5dc587bee4cffa699ef383f85dde8c7cd
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 2 23:38:26 2012 +1200

    Reduce size of textview.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 359d7353fd7b7d4d537db04c5e89724502333ff8
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 2 22:09:24 2012 +1200

    AltosDroid: Begin re-working Bluetooth code
    
    * Move to using explicit 'magic' UUID, rather than java reflection
    * Re-work UI to make it more useful for testing
    * Use Insecure RFCOMM only, and remove code that differentiates.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit c5304ac976dd44344a0b70ae3622e1f2d112a147
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 2 21:20:23 2012 +1200

    Fix min/target SDK versions
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 7481d06bebc2dc1473f451971d8b744c9da4e726
Merge: 599e28b2 c56dead7
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 2 21:18:15 2012 +1200

    Merge branch 'master' of ssh://mjb@git.ethernal.org/~/git/altos

commit 599e28b2242c79bdd0960ef16e580e51a2fa3795
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Aug 2 21:16:54 2012 +1200

    Re-work external lib support for newer Android SDK
    
    * Remove older *.properties methods of locating lib dir
    * clean up Eclipse classpath file
    * adjust Makefile.am to link AltosLib.jar into libs/
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit c56dead72f65e7468017656347dba531ab2ca480
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Jul 31 20:05:35 2012 +1200

    Ignore autogenerated file: altosui/Info.plist
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit fb79f8fb358f8df25674336cd558fc3998cb7d9e
Author: Mike Beattie <mike@ethernal.org>
Date:   Tue Jul 31 20:04:34 2012 +1200

    Don't build ao-stmload if stlink is not available.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 2e7e304e67bc1e094282c8668fa8cccf09f9c9b4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 29 19:48:08 2012 -0700

    altos: Add driver for STM internal flash
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 843fcab46d633e5bb6959286adeb68e41a4c30a3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 29 19:44:56 2012 -0700

    altos: Add telefire-v0.1
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e4d244eefa4c779cd9c8a91389bf998c54705b72
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 29 19:42:53 2012 -0700

    altos: Add software AES implementation
    
    This is untested
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 21e39811bd234c6f66ab7644864fcc1b8c316998
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 29 19:36:50 2012 -0700

    altos/cc1111: Fix serial 0 option 2 pins definitions
    
    tx/rx are 4/5, rts/cts are 2/3
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 743dca54012758d3ae54312d542b34afa88495cd
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 29 19:35:15 2012 -0700

    altosui: Remove duplicate values from info table. Add altitude
    
    No need to have state/call/serial/flight data, those are all in the
    header. Having altitude makes Monitor Idle slightly more useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0bf21399d3d47d58410df4c6ce89fc20fcd42c89
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 29 19:34:00 2012 -0700

    altosui: Handle Monitor Idle errors better
    
    Deal with missing data by checking for MISSING in more places.
    Handle serial communication failures during send by reporting back
    from libaltos.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 59588ba34159b27c02e1a886b46497ecfa0cf4d3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 29 16:22:23 2012 -0700

    Add ability to re-play telemetry through TeleDongle
    
    This adds a new command to TeleDongle to send arbitrary data, and then
    creates a new tool, 'ao-send-telem' that replays existing telemetry
    files through TeleDongle.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 52e920bc7a98edf5c6f2ad0bd59d581011dcd5c9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 22 15:18:27 2012 -0700

    altos: Move ao_radio_cmac.c to core (it doesn't depend on hardware)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 233ab58df8ac8e1fdeab8d4c2f6c8c9d3f6e7be1
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 22 11:53:44 2012 -0700

    altosui: Move AltosIgnite.java to altoslib
    
    To be shared with altosdroid eventually
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 38f66a31174dd367e39d717c527f555add60a9d4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 20 12:04:17 2012 -0700

    tools: Use pkgconfig to find stlink for ao-stmload
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e033a72d3f420e18ed24354c7dfc7e1317a03fb6
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 20 11:08:22 2012 -0700

    Add stlink pinout
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 15ebd9c75aa57572040e3b1ee41e6f3eb8cf92ee
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 19 09:46:20 2012 -0700

    altosui: Delay starting KML output for flight and GPS coords
    
    Don't start outputing KML data until the telem record containing
    flight number and GPS coordinates are present.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ada6f2dfc045e77cb9499f20cdec1b4a54ef0db1
Author: Robert Garbee <robert@gag.com>
Date:   Wed Jul 18 18:41:00 2012 -0600

    telescience: correctly calculating rate values with higher resolution

commit e2b472bbb2418fc13be42dbc7c52beb88479c46d
Merge: 75d6aa6f b242f275
Author: Robert Garbee <robert@gag.com>
Date:   Wed Jul 18 14:25:27 2012 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 75d6aa6f798606f1a6c5a46542065dda81e63b2a
Author: Robert Garbee <robert@gag.com>
Date:   Wed Jul 18 14:24:05 2012 -0600

    ICP3 working

commit 49b1ff4c614d24977b33cd17b583acc87acff476
Author: Robert Garbee <robert@gag.com>
Date:   Wed Jul 18 13:41:27 2012 -0600

    Timer 3 working with slower clock and all 16 bits.

commit b242f2756a8d9419a9bdba890b9e6b73560bdc19
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 18 00:03:54 2012 -0700

    altosdroid: Start adding an AltosLink subclass for android
    
    Will talks over bluetooth while providing an AltosLink APi
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f164e48cbeff521d45737794e2046a08322951d6
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 18 00:01:51 2012 -0700

    altosui: Make scan UI handle incremental telem data
    
    The new telem format doesn't send everything in each telem packet, so
    we need to handle updating information incrementally in the scan
    results. This involved clearing old scan data when switching
    frequencies and then updating existing entries with new data as it arrives.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a698cd68968fc0be5f96b1729cdea2f65d2ccbf6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 17 23:59:13 2012 -0700

    altos: Toggling telemetry monitoring would replay the telem queue
    
    Using the 'm' command to turn telem off and back on would end up going
    around the whole telemetry queue replaying everything there as the
    wait loop would exit when disabling monitoring even if the ring was empty.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9fd5e3c28fb0fd6da8641e7dd18b9912866d1b75
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 17 21:06:07 2012 -0700

    altos: With debug cables disconnected, CC1120 seems happy at +16dBm
    
    Let's see how it goes...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 700818c8ff0518e79bff2f0e80b2cc3cb3b48bf0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 17 21:04:58 2012 -0700

    altosui: Accept variations in spacing for igniter status reply
    
    Megametrum uses different white space; just deal with it here.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f6921c9040b1f1fc4408d163532b0695a3611195
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 17 21:04:23 2012 -0700

    altoslib: Move idle monitor managing code to altoslib
    
    More stuff to be shared (potentially)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b4be63627e146c7c868b5b3468d34880a561cfba
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 17 20:44:55 2012 -0700

    altos: Megametrum ADC values are 12 bits, discard low 4 for telemetry
    
    We've only got space for 8 bits for the ADC values for pyro channels,
    discard the low 4 bits instead of the low 8 bits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97c1cfee929a35dd1596dc02ce519b80132f3c5c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 17 20:43:31 2012 -0700

    altoslib: Don't use MISSING values in max computations
    
    Early telemetry state may be missing critical data, don't use MISSING
    values in computing max ranges.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 99b7eaf8d1b312443b842d078fb8464032b3a39b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 17 20:42:42 2012 -0700

    altoslib: Fix MM conversion functions
    
    Pressure is already reported in Pa, no need to convert that.
    Voltage divider computations were backwards.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e93c6bcc799d76d4ff425815e2601a25e6796229
Author: Robert Garbee <robert@gag.com>
Date:   Tue Jul 17 13:23:48 2012 -0600

    first work on PWM input to TeleScience, 'p' command displays timer 1

commit a5d873d47b3b16ca32559b4de668bf07b25eddb0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 17 01:24:52 2012 -0700

    altos: Place STM config values at fixed addresses for re-use
    
    Just like cc1111, stick the serial number and radio calibration values
    at known fixed addresses so that when re-flashing the board, we can go
    find the existing values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 20877ae9de8bb5d3a29e2a96024e53afbd396f55
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 17 01:18:45 2012 -0700

    Add ao-stmload tool
    
    This loads an ELF image through the STlink programming interface using
    the stlink utility library
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eda636c5f309b85282b4142118ee65673d28d137
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 15:36:20 2012 -0700

    altosui: Skip unknown data when parsing ADC for idle monitoring
    
    This resolves an infinite loop when talking to megametrum.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 52196975c447851f14619213c1de5101d334eebc
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 15:35:11 2012 -0700

    altosui: Move serial datastream parser to altoslib
    
    instead of having it in altosui
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0edb5616a70fd480317acc99ec3c28c662aa8556
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 15:34:01 2012 -0700

    altos: megametrum depends on ao_companion.h
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5860f75677ee20fcf35ab89a6b62f3e14a1c32f5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 15:32:26 2012 -0700

    altos: Enable pyro channel control in telepyro
    
    This should make the board actually work now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3ce645a79b54e22d7835c6e390a22a5ad501a339
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 15:30:29 2012 -0700

    altos: Add manual firing command for extra pyro channels
    
    In parallel with the existing igniter commands, this tests the
    programmable pyro channels
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6581eefbdbd8d3e94f615bdf11652a000d131c8e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 15:27:58 2012 -0700

    altos: Use 'HAS_ORIENT' to enable orientation selection in pyro code
    
    Don't expose orientation options when no orientation data is available
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1887ca3d7d4a0259686f8c1e68d1e47c47b4ab84
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 15:25:47 2012 -0700

    altos: Pass flight dynamics to companion boards
    
    Necessary for TelePyro
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 90507d4f7ef77b0870a032b1d9809898c2924721
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 15:24:21 2012 -0700

    altos: Make ao_tick_count visible
    
    Necessary to fetch it when interrupts are already disabled as we can't
    call ao_time then.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 184e2ff4790974733df57facdeeb96bfe692ab54
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 15:21:21 2012 -0700

    altos: Remove some debug code from avr ADC driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e7ca3a7849b3cbbb38143d35fe86972290bd4e61
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 15:18:12 2012 -0700

    altos: Make sure telepyro ao_product.h is built before .o files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4de789331098abc24abcb9390a35aef889a41784
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 14:47:53 2012 -0700

    altos: Make storage addresses datatype configurable
    
    No sense using 32 bits for tiny hardware
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 84d5e00d417af4924594908d19346bb965089cdd
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 14:44:40 2012 -0700

    src: Add driver for AVR internal eeprom. Use for telepyro config.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2a23030031c31267fc4f14accd9220f285c03b61
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 14:40:49 2012 -0700

    altos: No space for pyro help on TP v0.1
    
    AVR doesn't have enough ram to hold the help messages, and we can't
    use them in flash.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 366217e86a4c353012b5102322ee6927f7b27a21
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 14:39:05 2012 -0700

    altos: Remove unused 'func' from ao_config_set
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 81b7b58c9df01847fa47747deeff8c3c91304ad1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 14:37:58 2012 -0700

    altos/avr: Remove debugging command from USB driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 42a51becf4b76f23dbd4f5f80f8879ce696aa543
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 16 14:36:51 2012 -0700

    altos/avr: Remove debugging printf in avr stdio startup
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0cfd22baa6af44e053428c30c1a95cf5551b68af
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 14 02:44:17 2012 -0700

    src: Add explicit 'pin' argument to ao_enable_output
    
    This lets the cc1111 use the atomic bit operation instead of a mask,
    which is immune to interrupt issues as well as being a shorter code sequence.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 37032e4b0cbac4c823e3dd18e60ad8900e9ceff1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 14 01:29:50 2012 -0700

    altos/megametrum: Support the four additional pyro channels
    
    These use the new pyro code to allow for some flexibility in programming.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 82b50fc1b7f2c6af7264fbad2c35508abc15e81e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 14 01:28:55 2012 -0700

    altos/stm: Expose ao_gpio_set which sets a specific GPIO pin
    
    Will need versions for other architectures
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 726e0f2c547b6bae1f1e640e2c1155c0b9631a9b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 14 01:28:31 2012 -0700

    stm: running out of memory in MM -- reduce stack to 668 bytes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d90587535676f9492f0fde6b974353158104ef88
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 14 01:26:38 2012 -0700

    altos: Add arbitrary pyro channel support
    
    Programmed by specifying a conjunction of flight conditions that
    trigger the igniter to fire.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 09633cac697e37d770b2b666ab20cab30628484f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 14 01:24:14 2012 -0700

    altos/stm: Force STM stack to start at the top of RAM
    
    Using a fixed size means crashing if there's not enough space for
    that, or wasting memory if there's too much.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b5f6d4e5251a825395c93916afa3af659c678498
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 11 19:15:32 2012 -0700

    altosui: Abstract remote connection timeout stuff
    
    This moves some of the logic for managing when to present the 'cancel'
    dialog for remote operations to altoslib.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f078a591cf2fafe89bb1bb883f49d80750129d44
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 11 14:28:53 2012 -0700

    altosui: Remove a bunch of debugging printfs
    
    These aren't useful at this point.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 846a6298e4a8bfbe87bb24d7b0802c0bf6f233be
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 11 13:53:30 2012 -0700

    Report RSSI values in monitor idle UI (trac #44)
    
    This adds a new 's' command to TeleDongle to report RSSI value from last
    received packet, and then has AltosUI request that value when closing
    the remote link.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cf44ea354c2d1780cee343132c6058e11e9eefa3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 11 13:52:32 2012 -0700

    altos: Fix gcc compiler warnings in GPS code
    
    unused variables and mis-matches in printf format codes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fe70611c3c7d4b8cce3b5292f0ec549f3191bf86
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 11 13:50:56 2012 -0700

    altos: Create macros to convert from/to radio RSSI representation
    
    AO_RSSI_FROM_RADIO and AO_RADIO_FROM_RSSI.
    
    Removes a bunch of open-coded versions of the same function.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 18431c88c8a6cb267922b97192e8b7ddb88d0e7e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 11 13:49:26 2012 -0700

    altos: Have 'make clean' remove all programs, even old ones
    
    This makes sure that changing version numbers doesn't leave old
    compiled output lying around.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 726f47c8a07f060aed930e1d102a1e8b5a5c7aed
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 11 13:47:25 2012 -0700

    altos: remove optimization for 'help' that confuses cc1111 compiler
    
    The cc1111 compiler gets this very wrong and prints piles of garbage
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7be98836e69a222b2f9f4baacddcf12d168e2207
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 11 13:40:54 2012 -0700

    Add megametrum outline to doc dir
    
    And install it alongside telemetrum-outline
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cc5d106f014f714a9a2d5f595a2de0da8f7da80a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 11 13:40:07 2012 -0700

    altos: Ignore megametrum built files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 675ccd41e3b668cd4e1d2dd282dd317a00d00151
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 11 00:35:21 2012 -0700

    Get AltOS version numbers into Mac 'about' dialog
    
    Generate Info.plist from Info.plist.in to correctly set the VERSION
    information. This also changes some strings around to make them look better
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 46407f7f3e4d2b6e74b3a2e90b38736a792cfc54
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 10 22:41:59 2012 -0700

    altos: Force 434.550Mhz by connecting  debug gnd and clk (trac #41)
    
    Check for pin P2_2 low at startup and set the frequency to
    434.550MHz. This value won't get written to flash, so rebooting again
    will restore the configured frequency.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa305da7e5dc182c99c09e422c053d85ed48d5d5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 10 22:09:44 2012 -0700

    altos: Continuously update ground state while on pad (trac #42)
    
    Average data for 5 seconds, wait 5 seconds and if still in pad mode,
    replace the existing data with the new data. This should avoid
    averaging in boost data while still keeping things reasonably current.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0b92164143aaf0d2aa3d5d742484391c16545289
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 10 22:08:28 2012 -0700

    altos: Set HAS_FLIGHT_DEBUG=1 to include the flight debugging commands
    
    This leaves USB enabled, and adds the 'F' command to dump
    internal flight state.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fb60d87b02c0fc83a0b4268212f0b6b740c984e3
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 10 20:35:19 2012 -0700

    altos: Signal continuity over radio in pad mode (trac #40)
    
    This is especially useful for telemini which has no beeper, allowing
    you to hear the continuity signal while at the pad over the air.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bca72b782a2909ecedef15ad589292647221ca56
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 10 20:34:02 2012 -0700

    altos: Add 'void' parameter to ao_fec_decode callback parameter
    
    This keeps the compiler from whinging about the lack of a prototype.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aafa8859ecb27383f697b98f6991643b44f4721a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 10 20:32:31 2012 -0700

    altos: Save some memory.
    
    A few minor space savings in ao_cmd.c and ao_config.c.  Don't build
    unused conversion functions ao_altitude_to_pres and ao_temp_to_dC
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a60c5a728530e4659a6750d8d5b87000735d4531
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 10 15:15:00 2012 -0700

    altos: Improve ao_flight_test a bit
    
    Add -i flag to include flight description
    Have run-tests know how many failures to expect
    Add run_baro to plot a single flight using the baro-only mode
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b89d37d357273b97050c00d7fe12022e32799fa8
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 10 15:13:55 2012 -0700

    altos: add some (unused) test code for different soft-decision sizes
    
    This lets us experiment with hard-decision and other possible
    soft_decision bit depths.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6694cedd560a7ea9520ef11472c2770b489187c0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 10 15:13:18 2012 -0700

    altos: Eliminate compiler warnings when building ao_flight_test
    
    We turn on a pile of warnings for that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1ae3f467a1d7be2fc3b1a45ba12568a3a25a0099
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 10 15:11:36 2012 -0700

    altos: Rename *_mm.c back to *.c
    
    Was just a temporary hack to keep cc1111 products building during MM development.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 702ca87983594880d7926d2317d63802af82746e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 10 15:07:34 2012 -0700

    altos: remove stale ao_flight.c and ao_sample.c
    
    The mega-metrum versions are now the official versions
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 31b05454ec8d90b89fa3039563ff0e86ae80b2a0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 3 21:02:20 2012 -0700

    altos: Move profiling settings to Makefile
    
    Instead of splitting the changes across Makefile and ao_pins.h, put
    them both in Makefile to simplify enabling profiling.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 939ad8bfd640ed55116703a58f87af06e75ef87e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 3 21:01:01 2012 -0700

    altos: Crank up the gaussian noise in the FEC test
    
    This lets us check to make sure our receive performance isn't
    degrading at all, instead of just making sure we can receive
    perfect packets well.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e8ab00cc45e48230e3b2018ce959114d3fedd228
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 3 20:59:35 2012 -0700

    altos: Viterbi performance improvments. Down to 5.7ms for command decode
    
    Stealing more of Phil's good ideas, decoding a command mode packet has
    been reduced from 9ms to 5.7ms. Lots more comments to help future-me
    figure out how this code works.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ea957f9e6144f8411ac84ee2905700f55f5a6e8a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 3 00:29:43 2012 -0700

    altosui: Fix flight data download for TM. Look for MM flights when graphing
    
    A couple of minor fixes, the first to not force the log format so that
    TM/Tm data will be downloaded correctly and the second to expand the
    set of files to include '.mega' files when plotting data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 933fc7e4c2f617e49e1cfdf45b83695290b51456
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 2 23:44:10 2012 -0700

    altos: Do not block igniters on the radio mutex.
    
    Blocking igniters on the radio mutex fails when doing igniter testing
    over the RF link; the packet receiver task will never release the
    mutex and the CPU at the same time, causing the system to lock up.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 50b343d389039eae082e82b8ac0b76ae3e2b3ad4
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Jul 1 23:24:20 2012 -0600

    extend cross-compiler availability logic to all target CPUs, not just ARM

commit f0ec8416f2e308e40e1b9f34a7c2549989fee5fb
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Jun 30 13:00:33 2012 -0600

    conditionalize build of ARM binaries on presence of arm-none-eabi-gcc in PATH

commit edbc5d27c8c2936b59ff5289276d9198b501ebc8
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 28 17:43:36 2012 -0700

    altos: Declare cc1111 accel_ref as unsigned so the math works
    
    If accel_ref is signed, then the careful shifting and dividing dance
    necessary to correct for changes in the relationship between the 5V
    and 3.3V supplies always generates zero.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ccf64117662fc800a07b3a25e52255b80f8b5eaf
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 28 16:42:59 2012 -0700

    Update version to 1.0.9.6
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca1bc20735a170a77066f5f37e0ad728899a3989
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 28 16:05:56 2012 -0700

    altos: Disable MS5607 interrupt in the handler
    
    Avoids having the interrupt re-raised multiple times until the reading
    task finally wakes up.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 572e1664938c7ce6c308b36779f6a412959e03f1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 23:11:27 2012 -0700

    altos: Track missed HMC5883 interrupts
    
    When it fails to signal conversion complete to the CPU, keep track of
    that and report it with the rest of the current data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 79dbe1a5e46d7f0b8929400897631ab969cd2bc0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 23:09:16 2012 -0700

    altos: Increase default STM stack to 648 bytes
    
    512 seems cozy given the printf implementation we're using and the
    extensive interrupts.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aab7b31b71aa7c87c5a5003084e4b7773c30835f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 23:05:36 2012 -0700

    altos: panic if MPU6000 self test fails
    
    Don't try to fly if the board isn't working right.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f9f65211c378849270a6138fda05ed2a166f7d82
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 23:04:25 2012 -0700

    altos: Disable mag sensor for megametrum
    
    It doesn't work unless USB is connected or occasionally while the
    debug port is enabled. It's mystic.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd623b21cb904238c6d903b6936ff2f8ebf6f339
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 23:03:33 2012 -0700

    altos: Allow megametrum to be built without using the mag sensor
    
    I'm having trouble getting it working reliably, so we'll like disable it
    for now. This patch makes that possible.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bd21c050fd8b96b33ab6859c942bf55cf2b91868
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 19:47:52 2012 -0700

    altos: Make profiling Viterbi decoder more useful
    
    This blocks starting the decoder until all of the data have arrived so
    that the time spent in the decoder is easily computed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 407cefae9cb95c5910b3bd79851776c48729e06b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 19:45:22 2012 -0700

    altos: Unroll viterbi state loop for >30% performance boost
    
    9.3ms vs 14.7ms, a clear win.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4f258fe565dc3e58b83761bfa1a2276946012163
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 17:18:57 2012 -0700

    altos: Clean up STM I2C clock computations
    
    Fix both clock time and rise time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 84f9a525c64491afa9b7a565e3c10a4cee106e14
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 17:17:44 2012 -0700

    altos: Clean up radio CRC handling
    
    Make the FEC code just set the CRC_OK bit like the cc1111 radio does;
    eliminates a bunch of weird conventions across the FEC API.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b0b7f5da2d29716959c6793d744e47a3d435c247
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 14:38:35 2012 -0700

    altos: get MPU6000 I2C link working reliably
    
    This slows the i2c bus to 100kHz (yuck), sets the rise time to spec
    (it was way off) and adds more delays during bus setup. I've run this
    for hours now without trouble. Will try to adjust things back to fast
    mode and see if I can make that work as 100kHz isn't fast enough to
    reliably get data at 100 samples/sec.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e63d624f9670b5e2e002fcd5f24b80cf7f1effdf
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 14:35:56 2012 -0700

    altos: reorder stm USB state stores to avoid races
    
    Must set ao_usb_in_pending before telling USB about new data or an
    interrupt could arrive at the wrong time to clear it.
    
    Same for ao_usb_in_flushed.
    
    Without these changes, I've seen the USB bus lock up on occasion,
    waiting for an IN packet to consume data, but with no IN data pending
    in the hardware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 08a4ed8fe794a2b2b52147bd5535fe0954822e95
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 14:34:53 2012 -0700

    altos: include targe SPI speed in get request
    
    STM needs it to be provided when enabling the SPI device, so just fix
    AVR and cc1111 to do the same.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1a1d4a557a30e2e743936b828b654187ec562ca8
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 02:46:27 2012 -0700

    altos: Wait for i2c START condition before setting interrupt bits
    
    This seems better than the random loop that it replaces, but I still
    have no idea why this is required; it doesn't coorespond to the docs
    at all...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9695a217e13f9d194b6dc40e2696017e5f8e8176
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 01:22:32 2012 -0700

    altos: disable FEC debug on MM
    
    Seems to work; we'll leave the code around in case something bad
    happens later.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b96eece8e42df0713fc92d47b6bb27604c0168a2
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 01:22:00 2012 -0700

    altos: Clean up cc1120 driver a bit
    
    Make some variables static, remove stale debug code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a00aff5ee93ea9763b5c0466fcecc823cad135ef
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 01:20:43 2012 -0700

    altos: Don't try to grab radio while firing MM igniters
    
    If you're in idle mode, you stop forever as the packet mode receiver
    will own the radio mutex forever.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8fc643c9768f0db31a248331681af9490f5715af
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 01:19:05 2012 -0700

    altos: stm i2c debug code was calling flush() even when disabled
    
    The fancy stm i2c debugging code had calls to flush() that were
    invoked outside of the conditionals leading to all kinds of fun --
    flush() may re-enable interrupts, yield or do all kinds of wacky
    stuff, none of which is appropriate from the middle of a device driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0285696e5280fc64774b6c3a2fcdaa36bd36ae7c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 27 01:17:51 2012 -0700

    altos: mpu6000 requires a delay during start
    
    I have no idea why this is required, but the mpu6000 will not come up
    and run if this isn't present.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4847595e0383e5ff9c5a373f3c7f2af8c210c50a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 23:25:00 2012 -0700

    altos: ao_ignite.c is no longer cc1111 specific
    
    Move it to core
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8efac8eb99a9aabb45d9fbf742e4be91e4b331a5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 23:21:04 2012 -0700

    altos: Add debugging code to check for stack overflow
    
    Stack overflow often happens from interrupt handlers sitting on top of
    a task stack. Check for this during ao_wakeup as that is often called
    during interrupt processing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ebeac02a990da3fa6dd71487141d0bc6f78b42de
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 23:20:17 2012 -0700

    altos: Enable full flight computer functionality in MegaMetrum
    
    This turns on everything that currently works
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fb2b83fcd28199d8c686e676d46d6ecfbf706f37
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 23:18:44 2012 -0700

    altos: Create a 32-bit 1MHz timer for use in profiling execution
    
    This provides a simple method for getting high-resolution timer data
    to use in performance tuning code. It's not used by default anywhere.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 097b337eb9b7deff13d5dcdafddec9bec3868b93
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 23:17:00 2012 -0700

    altos: Abort radio receive when using flash memory on megametrum
    
    Radio receive camps on the SPI bus, making it impossible to access
    flash memory. Abort any pending receive operation when trying to get
    to the flash part.
    
    Yes, this is a total hack.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1ae69a1c2ce7e45db9d9c175bc63867eff68ebe5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 23:15:54 2012 -0700

    altos: Make gcc happy with ao_telemetry_set_interval
    
    Using unsigned locals made GCC sad as it was compared with a signed value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c4036bf6e7997b618f89a05dd1214c16066ba2b2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 23:14:13 2012 -0700

    altos: Turn radio-related bits of ao_flight_mm.c
    
    Now that MM has full radio functionality, we can make it work right.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b5f5fd92109ac6f4909a81303d52bc9220cc2520
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 23:13:14 2012 -0700

    altos: custom hex printer for telemetry packets
    
    Using printf is way too slow with pdclib; just hand-write hex byte output.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f1ae622eff60e05c1f5d8f822a3cf6a85750c6cc
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 23:11:10 2012 -0700

    altos: Optimize FEC encode and decode
    
    Integrate interleaving, CRC and padding within the decode/encode
    functions.
    
    Provide for ISR priorities so that the 1120 RX interrupt takes
    precedence over the other interrupts or we risk losing bits.
    
    Optimize the viterbi decoder a bit (goes from 10ms per packet to 7ms
    per packet).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 936ecad62596f34773afb7460b10f63df7d0896d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 23:07:38 2012 -0700

    altos: Add GPS logging code for MegaMetrum
    
    MM uses a different logging format with larger log blocks, so
    restructure the GPS logging code to fill them up
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 33f8f7add27a02d24b0671da353b59762224c1ee
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 23:05:42 2012 -0700

    altos: Make cc1111 radio control functions static
    
    No need to publish these; they're all private to cc1111
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 03dc80d15a2f8fe9d7340351226dadd8bc3cfdb9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 23:01:58 2012 -0700

    altos: Clean up usage of port parameters
    
    Make stm port parameters always be pointers; this avoids the confusion
    where some macros took '&port' and others took a bare 'port', and also
    unifies code to run on other processors in a consistent fashion.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f11f05c5d634de2a80c34d0d3dc93925980f52e6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 22:20:50 2012 -0700

    altosui: Make libaltos recognise new USB ids
    
    libaltos has a small range of 'AltusMetrum' products to avoid opening
    other devices. We've got more IDs, so open up the range.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9dcb4e2ab60ecf0cc7371c1b1a620be952fa8776
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 22:19:01 2012 -0700

    altosui: AltosSerial and AltosLink both tried to provide frequency setting
    
    AltosLink owns all of the device configuration, so remove that from
    AltosSerial and make sure that AltosLink provides the right function
    signatures (wasn't using the new direct frequency setting command).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eab18714ed9eabbcef0ff81b07427da042a58ccc
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 26 22:16:44 2012 -0700

    altos: rename ao_viterbi.c to ao_fec_rx.c
    
    Keep it parallel with ao_fec_tx.c
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 09761fe0f6ed40ff74317fbb47d6a74068fb4ce4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 25 06:51:36 2012 -0700

    altos: Incremental viterbi decode
    
    Decode radio input one interleave block at a time. This overlaps the
    decode computation with the packet reception, leading to lower latency
    in an attempt to keep up with the transmitter.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 628076aa90e7bc9a894646e417dd8e1fe149b60d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 25 06:38:34 2012 -0700

    altos: decode cc1120 received packets
    
    Call the fec decode function, compute RSSI and check CRC
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 70cf32e89df19bde5185339fc703532c8a5b8be6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 25 05:03:34 2012 -0700

    altos: Get cc1120 packet reception working
    
    Interrupt-per-bit, but it seems to work
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 246174b32bb6cf827d240c32d6a51c3513a08c37
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 25 05:03:16 2012 -0700

    altos: Forgot ao_telemetry.h
    
    Not much builds without this...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b292c14790fc225029cba3f80ce8ad6c5652bc4e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 23 16:05:42 2012 -0700

    altos: improve FEC apis to reduce data copying
    
    Integrate interleaving and whitening into encode and decode steps.
    Add CRC checking function for receive.
    
    Make ao_fec_test program round-trip the data and verify correctness.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 74f6a1a8c8fa9d5bb8d74c99782310b431dd4727
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 23 02:24:30 2012 -0700

    altos: Add ao_viterbi.c to megametrum build
    
    It's not used yet, just wanted to see how big the resulting object
    file was (492 bytes).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 566a0c277de01963922cabc80db8ec3a129923bd
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 23 02:23:08 2012 -0700

    altos: fix comment about decoding last byte of FEC data
    
    There aren't *any* forward bits to use when decoding the last byte.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 83549f8bde42c3fddbdc817540c869dc8aefd013
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 23 02:13:52 2012 -0700

    altos: Make ao_fec_tx_test build cleanly with -Wall
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f7bf07dfdad260c1f219064957ef08fb480bf20f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 23 02:12:58 2012 -0700

    altos: optimize Viterbi implementation
    
    Minimize data usage, make data arrays static
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ff8de3af193839de4bacfd07ade7a5f9ac0bf5b3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 23 00:54:42 2012 -0700

    altos: incremental viterbi decode
    
    Decode bits incrementally. Don't bother decoding the last byte; it's
    always a pad byte.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 047e95421c87c5d056038797b48f759bedabf245
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 22 23:31:11 2012 -0700

    altos: Start optimizing viterbi decoder
    
    Only need two cost arrays (previous and next). Create constant
    full-width decoder table instead of expanding bits into bytes for each
    decode step.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cbf79a0f9cb859d04e8e03d627219cb2bf49611f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 22 23:12:02 2012 -0700

    altos: Add the simplest possible viterbi decoder
    
    I think I understand how it works now. It's not exactly speedy, and it
    uses a lot of memory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 75e4521ec42a368cebc67a07f8713d7a854ea265
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 21 09:52:37 2012 -0700

    altos: Move FEC code to core
    
    It's not a driver as it's not specific to the 1120 chip
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0b5548d6ced67201311e1072d37fbedd3d9929c9
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 21 09:51:17 2012 -0700

    ao-tools: Support MM telemetry packets in ao-telem
    
    Parse the new packet formats
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6f421818fd7062f03bfaf9e606d6a4cfdcb13b49
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 21 09:50:18 2012 -0700

    altosui: Support MM telemetry packets
    
    Required restructuring the whole telemetry system to provide abstract
    interfaces to flight data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ff5b0ba90e73a83360a2e8a7e9969ed2c3ce1514
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 21 09:46:50 2012 -0700

    altos: Crank down STM SPI speed for MM
    
    The cc1120 is noisy enough to break SPI data transfers at 4MHz, so
    crank things down to 1MHz. It's "stable" now, but clearly needs a
    filter and shorter traces.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d2bd95edb6f77daeb1e8f043c4a239c248728e0c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 21 09:45:42 2012 -0700

    altos: Add full MM telemetry
    
    Create two new telemetry packets to hold all of the MM data.
    
    This patch also splits the telemetry structures out of ao.h
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 419a801131c1034f1fa149a67850290431cbda72
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 21 09:39:10 2012 -0700

    altos: Configure STM LCD driver for giant LCD digits
    
    These devices require static mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 611f37607fadcdc9908d67456f844a452ad4a87a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 19:11:35 2012 -0700

    altos: Make sure ao_storage_config is set before reading config block
    
    ao_storage_read does in fact call ao_storage_setup, but we need the
    value of ao_storage_config *before* calling ao_storage_read, so call
    ao_storage_setup first.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ae3662c56effda9f0516c7d6ffd2d5f56b859593
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 19:06:08 2012 -0700

    altos: hack STM serial number to 58
    
    otherwise altosui won't record telemetry
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 976a8375932ddb46ca3100863b0a892732c0923e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 19:04:53 2012 -0700

    altos: make cc1120 ao_radio_send re-entrant
    
    It gets called from multiple tasks, so put local data on the stack.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 629f43e7c7abbff33e14b168a08a4b6a9c88b937
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 19:04:22 2012 -0700

    altos: Add telemetry to megametrum
    
    Now that the radio works
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b24f413da0b6d989b32e8654a91c8deee4c81dd
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 19:02:50 2012 -0700

    ao-tools: add rudimentary support for MM telemetry to ao-telem
    
    Just pretends they're TM packets for now
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4cb46b8a84a0dd5b8fcb479d7aa5157480e1bc67
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 19:01:24 2012 -0700

    altosui: Add rudimentary MM support to altosui
    
    Decoded the MM sensor packets as if they were TM packets.
    Add the USB ids.
    Add class of 'altimeter' devices and match those instead of just
    telemetrum as appropriate.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 55747ce210d7d80d5b4fdaaf9dc7ee0f7bc8b0a3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 18:58:56 2012 -0700

    altosui: Move product definitions from AltosUI to AltosLib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e6d236fdc615625fbbf28377453f920729e49b0f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 16:17:00 2012 -0700

    altos: Software implemenation of CC1111 radio encoding
    
    Add CRC, whitening, FEC and interleaving routines for transmission
    path to allow cc1120 to send telem packets to cc1111.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1a294852b3607947f0f86bf236785456d8719e5f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 16:14:33 2012 -0700

    altos: Be more careful about register save/restore in ao_yield
    
    Make sure the general registers are all saved before messing with any
    of them. Then, explicitly use r0 to save/restore apsr and primask.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9d3fe2a80d0925e3eded6d738d05c5b4ea61504c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 16:12:18 2012 -0700

    altos: Don't lose IRQ disabled state in ao_sleep
    
    Using ao_arch_critical around the wchan setting will force interrupts
    to be re-enabled before ao_yield records the state of that bit,
    potentially causing problems with functions not atomically testing and
    sleeping.
    
    Tasks that need to set wchan with interrupts disabled should have
    interrupts disabled when entering ao_sleep already.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e6d96816e6604ee8d9bb49345a1c1211699a655
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 16:11:23 2012 -0700

    altos: ao_storage_read already calls ao_storage_setup
    
    No need to call twice.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca310342d7b0bd1b78318cae38d920b8690dfd36
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 16:09:43 2012 -0700

    altosui: Catch timeout errors when setting up TD telem monitoring
    
    Close the port in this case so it can be used for other things.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 58e005375ca29dec6091d87159055004e7f19605
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 12:43:43 2012 -0700

    altos: Use interrupts to wake up after RDF transmission.
    
    Also clean up the debug output
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5df94f74522357e062f4ec2786ff825381b2fb10
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 17 12:42:32 2012 -0700

    altos: Crank cc1120 power down to 0dBm to avoid crashing CPU
    
    Looks like RFI from the transmitter is confusing the CPU; lower the
    1120 power output from +14dBm to +0dBm to keep the CPU happy.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e856df474c386b8df3d2bd9e87b766ae0439efbf
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 15 22:41:17 2012 -0700

    altos: Reduce STM SPI data rate to 4MHz
    
    cc1120 doesn't want more than 6.1MHz, otherwise it gets very angry.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e09e35471e788b88909ff01037fb8e0e4eabcd7d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 15 22:40:30 2012 -0700

    altos: Start making cc1120 radio work
    
    RDF tones and radio calibration work now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c2949ea15c59215834fedac7646f50c8a09f716f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 15 22:38:37 2012 -0700

    altos: Fix cc1120 packet mode datarate and config
    
    Was using the wrong function
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1b7e4c29bf9608bfc972ae28b53cc823f4c37f92
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 15 22:32:10 2012 -0700

    altos: Make sure cc1120 is initialized correctly at startup time
    
    Check to make sure it pulls down MISO when CS is enabled.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 27c95adf35e646840b9bd562497eea0dc96bb9bb
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 15 22:31:36 2012 -0700

    altos: use 'b' command for radio beep
    
    'B' is used by the baro data dumper.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93e6d0a2c0b60e7bedd34f06ba63b468dcc8e013
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 15 22:30:03 2012 -0700

    altos: Fix RDF mode data rate and PKT_CFG0 value
    
    Changes tone to the desired 1kHz frequency and ensures the PKT_CFG0
    has the right value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c96e60bedeb00d28c36436c12b803fd8cbadce26
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 15 22:28:55 2012 -0700

    altos: Actually write cc1120 register values
    
    Helps to not use 'read' mode when writing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97d163c88ed8c8f64a9714018863d0b6eedab38f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 15 22:27:48 2012 -0700

    altos: Configure cc1120 frequency
    
    Set default conversion value, and pull the selected frequency
    calibration data out of the config block.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a5a7df405c242593cbc828d5b66bbfc141a35947
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 15 22:26:06 2012 -0700

    Temporarily disable packet and telem on MM
    
    While work on the radio code progresses
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit baf1be1def01266512e67068948bf19b04ead6aa
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 15 22:23:10 2012 -0700

    Allow product to override maximum number of command lists (NUM_CMDS)
    
    Just in case some product wants to save memory, or have more.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bfbd1d82f4c25120a97840a1bd4787680823afd8
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 5 15:15:25 2012 -0700

    altosdroid: Add files necessary to build application
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b8c363d9411fd5e79e3f806894dbc12bcc106b88
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 4 20:56:25 2012 -0700

    altosui: More changes to migrate code to altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5634192a6036c6c7b47d224e2988e81bb71a4557
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 4 20:55:33 2012 -0700

    altosui: attempt to get ms5607 data into .mega files was misinformed
    
    The ms5607 'p' command also means 'go into packet mode', which nicely
    broke attempts to communicate with teledongle
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 705891be53e298ac6ced4ba02b87d2f6d1085b34
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 4 20:54:36 2012 -0700

    altos: Make cc1111 products all depend on ao_arch.h and ao_arch_func.h
    
    Ensures that files get recompiled as needed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a9ad342ae4c34626df4f2891da4c7f6d2c14d73e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 4 20:53:53 2012 -0700

    altos: Other half of the ms5607 prom reporting patch
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dec5cbee22f13c47690b0c6bf7ca724ef132fe5e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 4 20:53:06 2012 -0700

    altos: typo in ao_monitor prevented ground station from including code
    
    This created ground station software that couldn't actually receive
    and report telemetry packets.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e687a9bafc696998b47fd0300fbc89dece09509c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 4 20:52:38 2012 -0700

    altos: Make 'v' command dump pressure sensor ROM values
    
    Avoids needing a new command
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1832e2f76c844e97a2bd11226b003fb2af8057db
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 4 20:51:35 2012 -0700

    altos: fix test builds of non-accel flight code
    
    Remove references to accel variables when building baro-only flight
    test code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 06afa2c3e78ea5bc9f1eb4913ee35c0eab0ac1bf
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 4 20:50:10 2012 -0700

    altos: Legacy telemetry needs original ADC record
    
    The legacy telemetry packets included the raw ADC structure directly,
    so make sure that doesn't change further, allowing teledongle firmware
    to remain compatible with old TM firmware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f1b14932149153a096961fff94191778f88581d9
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 4 20:49:15 2012 -0700

    altos: Remove unused AES code from teledongle and tidongle
    
    Leave this out as neither of these products need it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 718a8affe1df98eacfd707b5c8c34f9456dcff14
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 4 20:47:14 2012 -0700

    altos: Remove accel_ref from pre v1.1 TM firmware
    
    V1.0 needs RAM space for flash buffer, leaving too little room for
    this extra data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7a19d6790a9800f925c8de24aac71796351e2c04
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 4 19:28:58 2012 -0700

    altos: More cleanups for moving files to altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f86dac643081987c8994ab57a96640d5e91b342a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 2 19:59:40 2012 -0700

    altoslib: Clean up random rebase failures
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd43a2ae7594f062a8980d1756a07488ee54b447
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 2 19:42:47 2012 -0700

    altoslib: Move new sensor library code into altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0772020c969a69c3b0a705de7362340a9732daab
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 16 20:27:45 2012 -0700

    Build altosdroid

commit e81163ed875dc93a618baf9278f43ed7dd0f730e
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Feb 23 16:43:04 2012 +1300

    Add local.properties to .gitignore
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 392c878000e9909d37dae6342df3d6cb8f217a1b
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Feb 23 16:41:26 2012 +1300

    Add TelemetryService.java and associated files
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 69e6df07976a56b49e07c242cd6e5b2cbd2a578d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 23 17:00:48 2012 +1300

    Move altoslib sources to top dir
    
    No sense having them live deep in the file system.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b659904109f992b8a3e61efb94e81cdb19af1c9
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 23 16:37:24 2012 +1300

    Demonstrate using AltosLib from altosdroid
    
    Get things hooked up so that we can use AltosLib functions from the
    android application; it's a bit of a hack at present, but appears to
    work. Some more 'official' technique would be nice...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a018724e40f2a4c0bae8b3d5c77bb90328ad4314
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 23 11:15:23 2012 +1300

    Ignore generated altoslib files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 025eb09b5de9b50de143da9f36bc02818e018ba9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Feb 22 23:39:01 2012 +1300

    Build Android local.properties from local.properties.in
    
    Make sure the SDK path is set correctly
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3a80545d4ecedc4b98a9ee8296ab6abbbf64312d
Author: Mike Beattie <mike@ethernal.org>
Date:   Wed Feb 22 23:40:25 2012 +1300

    Add $HOME/android as an SDK location
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 091affece185dcd0832a55b0befeacaa182a57bb
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 13 10:40:30 2012 -0800

    doc: Add companion SPI message protocol doc
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bb5b5312a0c6102b12f3d4710ef213f0f6c67412
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 7 20:56:49 2012 -0800

    altosui: Clean up a few 'fat' build rules
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fc86ae58c3a296730fa99010cc27b8b3c2c3b780
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 5 16:30:41 2012 -0800

    Add altosdroid/Makefile.am

commit dfa059b22bf15de3f25328aeef4fdb8e5ca664dc
Author: Mike Beattie <mike@ethernal.org>
Date:   Wed Jan 4 21:01:44 2012 -0800

    Add AltusMetrum Logo as app icon, and change app name
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 402f1e76909229fc0c3b54743ba577b657495faf
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 4 20:54:40 2012 -0800

    altosdroid: build android bits when possible
    
    Locate android sdk automatically
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a48e4d40729e736929632ec422fd189ecdfba33b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 4 20:33:06 2012 -0800

    altosdroid: import code from mjb
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 81465a20049da40cd8d3cda920d6585ffe87bfe3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 4 20:28:42 2012 -0800

    altosui: Move java altoslib to top level
    
    This will be shared with other (android) java code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d6df16525927d8096d1c0cccf4c86bf4c6599d53
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 22:43:48 2012 -0800

    Add altoslib/.gitignore

commit 02b53b7f592b78b2fec4f4a17b6b3e114d2bf3c5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 22:42:18 2012 -0800

    altosui: Fix AltosTelemetryReader move
    
    Lost the provided link value causing a crash.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9fb15d397890c7e78bf3c1438f142f62bfc2bd35
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 22:41:48 2012 -0800

    altosui: Remove unused files
    
    Left around from development, these aren't useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5270a0f1416baef5fde08547c6c98d97f973ae95
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 22:35:41 2012 -0800

    altosui: Move telemetry reader &c to altoslib
    
    Move all of the device and file reading code into altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93305717ac4c993c88d9144d797ca64d26db97c5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 22:13:38 2012 -0800

    altosui: Move AltosState.java to altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a5ac5c37ea385e3a2b2703c6f125b4e3b55e867a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 22:05:47 2012 -0800

    altosui: Pull most of AltosSerial into AltosLink
    
    Share basic command processing across java users
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 18914b9a84bbd8c4364a1568bb07dcc2b04ad7ba
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 21:12:45 2012 -0800

    altosui: Move AltosGreatCircle.java to altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 027863b737190bccc3b5cd032d77587396d0c5c4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 21:08:34 2012 -0800

    altosui: Move AltosEepromTeleScience.java to altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 346df410f570a67cda057550a067fa2b451b785d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 21:05:02 2012 -0800

    altosui: Move more eeprom stuff to altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a4ccdd253a9873c16f194a63a79f0c26feaafa29
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 20:57:57 2012 -0800

    altosui: Move eeprom managment code to library
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 89aa06cfdcb02de1894ccb01aed97782f9eec9b2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 20:47:16 2012 -0800

    altosui: Move AltosEepromChunk.java to lib
    
    Also fixes install issues with split lib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b273b8b298540b1a6d0a87b1cf61df1fbf62e013
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 20:39:16 2012 -0800

    altosui: Finish moving AltosConfigData to altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4c88b0ca96758b663c82395e63b338043d1c1a10
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 20:34:38 2012 -0800

    altosui: Move AltosConfigData.java to library
    
    Create a new 'AltosLink' which exposes how to talk to the remote
    device abstractly via 'get_reply' and 'printf' methods.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ead8f1cfca2c454d18dce56479899f2b423d8bdd
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 20:32:35 2012 -0800

    altosui: Add back in the split-out Altos constants as AltosLib
    
    These were pulled out of Altos.java, but not added back to git
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3c2f601139d36761de6a8a2210545d082ef16133
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 17:26:59 2012 -0800

    altosui: Complete split out of separate java library
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 40ee170753f4fd422c848e34a8da104683b7c8a2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 16:16:51 2012 -0800

    altosui: Clean swing/awt bits out of altoslib
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 71636c1ed7cbe075921391605d1ac4edaa6ee52b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 16:13:46 2012 -0800

    move a file back

commit 6510e8495fc5e8057b6092963def4d78978625a0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 16:09:29 2012 -0800

    altosui: Split out lots of the altosui code to a shared library
    
    To be shared with the Android application eventually
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97663f922e236f4ee7bd08277ca80d419b5cd10f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 2 15:45:14 2012 -0800

    altosui: Split out UI-specific preferences
    
    Prepare to create library shared with android application.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c9e52287751867d9e451146ccde78109609d30d7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 2 19:06:08 2012 -0700

    altosui: Fixed width format for new IMU values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9aa7993ee31bdfd6890ad7262a0375c07464ee76
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 2 17:09:00 2012 -0700

    altos: Intgrate hmc5883 sensor into adc ring
    
    Creates a task to poll the mag sensor and place the data into the
    sensor data ring.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 69a8907ecbb7ca0e8526aeea0dc7490a191a0f8b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 2 16:57:22 2012 -0700

    altos: Get HMC5883 driver limping along
    
    Not pushing data into the ring yet, but the chip appears to work now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97317d332f21c42860747c4ecde633bd0228ef52
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 2 16:56:41 2012 -0700

    altos: Reset i2c controller at boot time
    
    In case it's wedged.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 64e2e66a5239541b15f43172655cfb3560bec79b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 2 16:54:42 2012 -0700

    altos: Fix broken EXTI edge mode selections. Clear pending exti on enable
    
    Make sure the edge mode registers are set according to the requested
    mode.
    
    Clear any pending interrupt when enabling to avoid spurious isr call
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8d425ffba84ec6f632e8c0d44105de73242a86a9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 2 16:53:46 2012 -0700

    altos: Route correct GPIO line to interrupt controller
    
    Which GPIO a particular pin interrupt comes from is selected by the
    SYSCFG EXTICR registers; set these when an exti interrupt is configured.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1353b277f8314fbddef81c743bd6ea229364fd18
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jun 2 14:58:00 2012 -0700

    altos: Enable some debugging during flight mode on MM
    
    Until we've got the radio working, there's no way to see inside the MM
    state without using USB. Add a diagnostic command to dump out the
    internal flight state variables.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c04af7533bd3fd3f3260338c0753fde966131720
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 1 23:07:38 2012 -0700

    altos: Add support for MegaAccel daughter card.
    
    Switches all acceleration computation to using the MegaAccel
    accelerometer to ensure support for high-g flights.
    
    MPU6000 values continue to be logged as normal
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1824761f5b98e92485e2dd347b1c4d043ec207e2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 1 19:51:25 2012 -0700

    altosui: Quick hacks to download megametrum data and convert to CSV
    
    Very little useful data crunching is done, but at least we can save
    and convert files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ab85337aa942cb73a08bd3b783771179773b9a67
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 1 19:35:33 2012 -0700

    altos: Timers clock base depends on perhipheral bus prescalers too
    
    For some weird reason, a non-unity perhipheral bus clock scaler
    affects the base of the various timers; this left the 100Hz tick
    running at 200Hz.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ff4f3a56e09d595abbe32293cbdf1fe368633c49
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 1 19:35:01 2012 -0700

    altos: megametrum has logging
    
    This makes sure the various other subsystems know about it, like the
    'v' command.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6806103bad98385c0ec122d400f981eb81c59dd3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 1 19:34:17 2012 -0700

    altos: add high-z accel and mag sensor to megametrum logging
    
    These nicely fill the 32-byte sensor log record
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e5aebfe0203de9e69712fac291c8cd0d3a96a385
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 1 19:33:18 2012 -0700

    altos: Mark full and mega logging correctly in 'v' command
    
    Make sure megametrum reports 'log format 5'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7fce3ddf5e7e92a14cefb7fcf35e4014df744987
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 28 11:48:04 2012 -0600

    Bump to 1.0.9.5
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 47bc9b2a39b7a8d3ef3fe8acc7fbf0512695e548
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 28 11:47:28 2012 -0600

    altos: Clear stm i2c transfer timeout alarm
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8164cd95db62e4564b3a9ba5c06a74c870c03841
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 28 11:46:51 2012 -0600

    altos: Remove debug printf from accel auto-cal
    
    Otherwise, this goes way too slow
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ee61fb8ccb47f94b7c39e803f5a0248840d1eea6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 28 11:45:53 2012 -0600

    altos: Clean up ADC selection for cc1111
    
    Depend directly on product defines instead of trying to guess
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2df9113a22f4f67707d9ee777bd6b23ff671b105
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 28 11:45:30 2012 -0600

    altos: All cc1111 products have a radio
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a53b8b84283eb62157b0f8ecd8061f61a4b6bd6f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 28 11:44:45 2012 -0600

    altos: Shrink telemetry generation code
    
    otherwise TM doesn't build anymore
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 43e558738c76afd72fc01660884be3158f44470d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 28 11:44:07 2012 -0600

    altos: Try to get hmc5883 working
    
    No joy yet
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9f5e4cf7d8204016e023cf439d93de1203dc406e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 27 18:23:39 2012 -0600

    altos: Make teleterra v0.2 compile with new ao_data struct
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5dd5e0284c8b26b0d4ce69c64bb7864e0ae83db7
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 27 17:45:09 2012 -0600

    altos: Make telepyro-v0.1 build with new ao_data struct
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 29edf6d901432a1afc65900ff599c963edac5a2b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 27 17:44:01 2012 -0600

    altos: Make telescience-v0.1 build with new ao_data struct
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5fd869b244f8f2b76258dc31a5507a73fd47cf1d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 27 17:31:12 2012 -0600

    altos: Make telenano build with new ao_data structure
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 627b904b36e129ff2ead436a626699abfc3b3211
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 27 17:29:27 2012 -0600

    altos: Make stm-demo compile with new ao_data structure
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 090dc9aecdf4cfd1ac727325ae141d441c5b28aa
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 27 17:26:43 2012 -0600

    altos: Make telemini-v1.0 compile with new ao_data structure
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 98e992b65d366d9f79d7d2dd2dd4d1886dd1d9c4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 27 17:25:17 2012 -0600

    altos: Make telemetrum-v1.0 build with new ao_data structure
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ce8153472069ed56b24ac36f297ac569d1f767d4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 27 17:24:09 2012 -0600

    altos: Make telemetrum-v1.1 compile with new ao_data structure
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ed635545e0b965901032ed2c3474ffe997c73de3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 27 16:52:45 2012 -0600

    ignore pa to altitude conversion file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd73c9b441f7672fb9982c4caeb5178df30f5d2b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 27 16:47:30 2012 -0600

    altos: Split out mm-specific versions of sampling code
    
    Avoid breaking telemetrum (too much) by splitting this stuff apart.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9eeba439ce8c9dc1def8528f96b6a67c6578d656
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 27 16:46:00 2012 -0600

    altos: Don't start ADC ring until the other sensors have a valid value
    
    Yes, this is still an ugly kludge, but it's easy.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d01c10eff4b70af13347969a7cece8730cf1a3f1
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 27 16:44:38 2012 -0600

    altos: Data packet tick count does not live in adc structure
    
    It was moved to the global structure. Having two is confusing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 78423f3fc5164ea9fd428606419784c1700ad5c5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 25 23:18:06 2012 -0600

    Get megametrum ready to at least log flight data
    
    Doesn't track flight state changes correctly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0239e4dfe587528524b6380bbf6d9583047e52d6
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 18 21:23:47 2012 -0700

    altos: Poll mpu6000 values every tick and stash them locally.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 34bb17bc1a3d8a1c95b5e57f059e7a1747e17a03
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 18 20:16:35 2012 -0700

    altos: Finish ms5607 support
    
    This has the MS5607 polling once each tick for pressure and
    temperature and then saving that in a global variable. The command UI
    provides for dumping the prom data so that an eeprom file can have
    raw sensor data along with the conversion factors necessary to compute
    useful values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5d8b9d524d6424ff98dcc4155fe8b8bd892b6d8f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 18 20:04:57 2012 -0700

    altos: Add conversion between Pa and meters
    
    To be used with the MS5607 which generates data in calibrated units.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1541fc0bde71f503b1ae5757497e9e1e6d023111
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 7 23:14:57 2012 -0700

    altos: Check MS5607 CRC. Clean up MS5607 API
    
    It's not ready for flight yet, but at least it's sensible now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a62edd4a1f01a6ee380c3aabaff3f437e8d6f1e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 7 23:14:14 2012 -0700

    altos: Conditional byte swapping in mpu6000 driver
    
    Only needed on LSB machines.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a973f788563ccc66b01cc7557a004dabef18d09
Merge: d387f246 da2c920b
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 16 09:13:53 2012 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit d387f246b24502642b76aad04eb3e0f1a5b78a05
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 16 09:09:44 2012 -0600

    build-dep on default-jdk instead of openjdk-6-jdk, closes: #655580

commit da2c920b9f3378d5a18551e008c1da5dace1e0ef
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 7 21:53:53 2012 -0700

    altosui: Try to make telem tick counts match eeprom
    
    telem files can have an extra wrap or two of tick count if they start
    recording a long time before the flight. Account for this so that the
    CSV file output from each have matching tick values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b5b898264077fcada29e73efa28dcbe4729f2709
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 7 21:53:11 2012 -0700

    altosui: Output recorded clock tick in CSV files
    
    This allows eeprom and telem files to be correlated accurately
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 73c26f39b1a08fcc13e23a5b1a4293bc7df9f163
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 7 21:52:12 2012 -0700

    altos: Hacking at cc1120 driver
    
    Still doesn't work, but this adds a ton more register definitions
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 318b564486aa9965bbad54c71e51fcb32b414162
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 7 21:51:25 2012 -0700

    altos: Get mpu6000 working
    
    This initializes the device appropraitely, and provides a command to
    dump the current values in converted form.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit af949c67eeb9dc310b1430d3435d241adccfc0a9
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 7 21:50:26 2012 -0700

    altos: stm: pass DMA buffer index to DMA completion callback
    
    This lets the user know which DMA has finished.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd7699cf8daded17ac41abf5c5170cfb599b6ff5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 7 21:49:24 2012 -0700

    altos: stm: delay during USB config with pull-up off
    
    This makes sure that a reboot will reliably cause the device to
    disconnect from the USB bus.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 744d05e6037ffc11688a9faa9c7b5dcda4065ee3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 7 21:47:17 2012 -0700

    altos: stm: share i2c_stop code between send and recv
    
    This waits for the stop signal to appear on the bus, necessary before
    starting another transaction.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ddaf501ddcfc1a5f74a1ef1b6b76e1c82d89c77a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 6 23:54:13 2012 -0700

    altos: stm i2c DMA for large recv appears to work
    
    Transaction appears to be clean on the i2c bus now; correct number of
    bytes received, and the nack and stop at the right time. This tests >
    2 length reads; should try that too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fad6cda3d081d438b18305611f37fe05335aa372
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 6 22:53:25 2012 -0700

    altos: megametrum needs ao_mpu6000.h
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f66f5de7a6cae71948da777ad0638bc6267a710f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 6 22:52:56 2012 -0700

    altos: Switch megametrum compile to -Os
    
    Looks like gcc has compiler bugs with -O0
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0f0cc91ce8e9807dca48a5c0c53d821f5060e245
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 6 22:47:33 2012 -0700

    altos: STM i2c work.
    
    Start now driven by interrupts
    Send now done with DMA and interrupts
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 69feb1e3d94a028d04529edb015654bafd06353b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 1 18:12:41 2012 -0700

    ao-tools: Add GPS and rssi printing to ao-telem
    
    This prints all of the basic telemetrum messages now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8b08095b3d41e21684a10bddfb54431019da5af6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 1 11:08:49 2012 -0700

    altos: Report latest telemetry data, rather than using the oldest
    
    ao_sample_adc points to the *next* ADC entry, rather than the most
    recent one. Step back one entry to get the latest valid data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7b0b6bcc40891d8dd106d091d3af8107b2941c66
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 25 23:29:20 2012 -0700

    altos: Add hmc5883 and mpu6000 drivers to megametrum build
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e0b8c614ec4d11f432963e48d94e4497d31a9ddc
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 25 23:27:58 2012 -0700

    altos: Add mpu6000 and hmc5883 stubs
    
    No real drivers here yet, just some testing stubs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0266e08dbf19e2204fb5f758d5d0f944d2afff7d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 25 23:26:57 2012 -0700

    altos: Add STM I2C recv and stop funcs
    
    Recv doesn't appear to work with more than one byte
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 962476911aaab17fd482593a0e8b95fe47de2f29
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 25 23:25:43 2012 -0700

    altos: Oopsed the STM DMA channels for I2C1
    
    TX is 6, RX is 7
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5f55d0490017faa19b8d70b1742e4a45266c7e79
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 20 22:26:16 2012 -0500

    altosui: Mac OS Lion Java default heap space is too small (Trac #37)
    
    Increase it to 512M in the Info.plist file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1489263b895a2a825e29d0560c9b1dbba8a3f431
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 17 11:01:18 2012 -0700

    altos: Starting to write cc1120 driver
    
    This does "something" in radio test mode, appearing to generate a
    730MHz signal.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cc305ea231ae22278abf91c0d9925f5992945369
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 14 13:53:36 2012 -0700

    altosui: Add apogee lockout configuration
    
    Provide suggested values of 5/10/15/20 seconds.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b4ab9f5dfa9f2a50e0528acf0a1fdeaa1f9bc523
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 14 13:52:37 2012 -0700

    altosui: Read frequency from device while configuring ground station
    
    Missed this when adding the TD config UI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5c8af6d35ebfc8fd896dfbf9928ec8f9dbfa531f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 14 12:05:28 2012 -0700

    altos: Remove debug printf from cc1111 check-stack script
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6cb744e305116a738b5d71686c6748f6f08c12ea
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 14 12:02:14 2012 -0700

    altos: Respect apogee lockout time in flight algorithm
    
    This prevents any apogee detection from occurring until the specified
    number of seconds after boost. This also prevents the switch from
    accel+baro to baro only mode in the Kalman filter.
    
    The test frame work is also changed to look for Apogee lockout: in the
    eeprom input file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9a8fec1b6d8f3346f988882ffb03d7d0e45b3c81
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 14 12:00:32 2012 -0700

    altos: Clean up test scripts
    
    The flight test scripts were using invalid bash syntax. Clean that up
    and also switch the default flight directory to my new
    ~/misc/rockets/flights directory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e9f6fca7cfe796cbd86ae9d8f1ebe31bba7251db
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 13 18:38:29 2012 -0700

    altos: Correct STM USB driver
    
    Configure endpoint registers correctly now.
    Restructure code to make sure we send the right IN packets.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1a84d34fa08f43a5f79b1a5f8d8de7674d04647d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 13 18:35:46 2012 -0700

    altos: Check all USE_SERIAL_*_STDIO when computing AO_NUM_STDIOS
    
    AO_NUM_STDIOS is allocated based on the total number of possible stdio
    values. Now that multiple serial stdio are possible, make sure to
    check all of them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3c67543f3e5fddc6a8850f33ac519ccd55b607f0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 13 18:34:52 2012 -0700

    altos: Set USB Interrupt endpoint interval to maximum allowed
    
    We don't ever send anything over this channel, so there's no sense
    asking the host to poll it very often.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0667261e03b3fd403e97d02ea6204b007bb13f58
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 13 09:39:20 2012 -0700

    altos: Pull more interfaces out of ao.h and move to separate files
    
    This moves the aes, btm, companion, lcd and packet interfaces out of ao.h
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2b4a53342980618b193cbee5b803e56f7c937893
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 13 09:36:00 2012 -0700

    altos: ao_telelaunch.c got left in src directory
    
    Should live in product/ao_telelaunch.c
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 040a6eb119451026e1ec7c3a6a8e76b439c632d5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 12 14:51:07 2012 -0700

    altos: Massive product config cleanup
    
    Support multiple serial ports more cleanly
    
    Split out parts of ao.h into separate feature header files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f952f9c285e2718a433c8c720c9b5d9c369e7036
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 12 14:50:12 2012 -0700

    altos: Start adding apogee lockout support
    
    Remove radio channel support too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6d1606895f70c6bca20c25084107f90bd0b613ec
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 11 23:31:28 2012 -0700

    altos: Switch stm-demo to HSE clock, add USB
    
    Requires that SB17 be soldered shut so that the MCO from the STlink
    CPU is available the target for HSE input.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 49ac2828510e8b5fcba7e31631dac0580a455011
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 11 23:30:13 2012 -0700

    altos: Rework how STM clocks are initialized.
    
    Clean all of the RCC configuration up after turning on the clocks.
    Use the MSI clock during initialization to avoid messing around with
    the HSI clock temporarily.
    
    Allow for an external clock on the HSE line.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93ef7e4a23d13540615f1a9782e1d58ddb7f258e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 11 23:29:38 2012 -0700

    altos: Use new USB driver in megametrum-v0.1 product
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d432307a3c2709634350eaa1262b935028d073d3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 11 23:28:45 2012 -0700

    altos: Add STM USB driver
    
    Emulates the usual CDC-ACM device
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit afd52a8b54fe31577d939a161ea9cf5ad48e3a43
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 11 23:26:30 2012 -0700

    altos: Add STM ao_arch_reboot implementation
    
    Uses the AIRCR register to force a reset
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 150881f86f8d90b5867507889441990d18223e62
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 11 23:25:36 2012 -0700

    altos: Add register definitions for STM syscfg and usb
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0dd9e1dd62656a931f9559af6da9131f704f83f9
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 23:27:43 2012 -0700

    altos: Add support for multiple SPI busses and sharing device drivers
    
    The STM32L151 has several SPI busses, and we want to use more than
    one, so add a 'bus' parameter to the SPI interfaces. To avoid wasting
    time on AVR and CC1111 processors which only use one SPI bus, elide
    those parameters from the actual functions by wrapping them with
    macros.
    
    Configuring chip select is now all macroized so that each chip can
    have its own version, allowing the STM to share the various SPI device
    drivers with the cc1111 and avr processors. Note that only the M25
    driver has been ported; porting the others is 'trivial', but not
    necessary at this point.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 35e3c47da895bdd868b9b66b98bca64bd82db862
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 22:25:59 2012 -0700

    altos: make megametrum beeper test keep beeping
    
    Used to measure the beep frequency.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9804528e249db256e020d4b5340ba6216d3474f0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 22:25:13 2012 -0700

    altos: Check for cc1111 flash overflow
    
    The linker is supposed to do this, but it ignores the static
    initializer data added after the code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d15c4976ed9c23c861e620eb9c429d1cb7eedbee
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 22:24:36 2012 -0700

    altos: Increase STM SPI speed to PCLK/4
    
    The pressure sensor seems happy at this speed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0cd682ef0c8cdcf364b7e173ff3a9f84e485c113
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 22:23:52 2012 -0700

    altos: Move MS5607 configuration to ao_pins.h
    
    Which SPI port and where chip select is to be found are product specific.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3909fca0a3f918121888a415f9bf9bca99505366
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 22:22:58 2012 -0700

    altos: Add missing parens in ao_ms5607.h
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c5bbfc7244faaae41c7b581644c3c253e9b7f462
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 22:21:46 2012 -0700

    altos: Reduce MS5607 reset delay, increase conversion delay
    
    Reset doesn't take very long, while doing a conversion seems to take
    more than 10ms.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 51aef5d4fc29986353ad887f4a67ed2fe35f8c8e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 22:17:33 2012 -0700

    altos: Make STM clock configuration per-product. Fix 32MHz CPU speed
    
    This moves all of the STM clock configuration into ao_pins.h so that
    each product can configure it separately. While doing this, I
    discovered that the flash memory mode (64-bit, prefetch, latency 1)
    wasn't actually getting set, which is why the CPU refused to work at
    32MHz.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1dcfbb05531767e67df45c2799a2fe533834fb71
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 20:28:19 2012 -0700

    altos: Add beeper driver to STM arch
    
    Drives the MegaMetrum beeper
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 67044cca5b463772491d0712d0ce07a8f897a476
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 00:10:43 2012 -0700

    altos: Test I2C code on discovery board.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0a198dfcd1b0defe194feaf301f4586e5573d6e9
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 00:10:01 2012 -0700

    altos: ARM -O0 flag appears to generate buggy code
    
    Use -Os always, which is annoying...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 597c3df668ccf656d8c014f665c154a03166577c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 00:09:18 2012 -0700

    altos: Make ms5607 driver do something
    
    It's loading prom values and converting sensor data, but it's getting
    the wrong answer at present.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e9362841b1075a2ae59eecc73137b20e700567a8
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 00:08:20 2012 -0700

    altos: add STM I2C driver.
    
    Not well tested yet...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e027247a9ef82746c26bcb8d0a851a0fa06511de
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 00:06:35 2012 -0700

    altos: Slow STM SPI down a bit so the MS5607 returns values
    
    It's still not working right, but at least it returns something other
    than all zeros...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 059f09dbca4703c25b42389b54c6510331c39485
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 9 00:05:18 2012 -0700

    altos: Allow STM DMA channels to be reserved for one use
    
    This allows a single user of a DMA channel to reserve it for use
    without needing to lock the mutex; this is required for DMA from the
    ADC to work on megametrum as it wants to start DMA from an interrupt
    handler, which cannot block on a mutex.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f7cfbbce2b94b5ac0094a0e34e1766fe1ceb12c8
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 20:35:17 2012 -0700

    altos: Show temperature in stm-demo
    
    Use the ADC to show current temperature
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 98aa481741b8fbc617545beda3d295b53de90716
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 20:33:27 2012 -0700

    altos: Use 384 cycle ADC sample time
    
    This is plenty fast, and provides nice stable readings.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0bce68e6a0abc19f49c573331164d13643c9bee5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 20:31:58 2012 -0700

    altos: Add STM temperature sensor calibration data
    
    Each stm32l has two-point factory temperature calibration data.
    Provide access to that for displaying temperature data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a41628c97e90770890cce1d6f580e92c1cad1a7f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 18:55:53 2012 -0700

    altos: Add ADC support to megametrum firmware
    
    Measures all MM igniter and battery voltages.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b9357f48597a034211affb3f18fc6089816456d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 18:55:20 2012 -0700

    altos: Add ADC tests to stm-demo
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b5e9d14b4e3e8f29ad8a7bb9b339890be4bcfa2f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 18:54:32 2012 -0700

    altos: STM SPI is not using interrupts itself
    
    All SPI transfers are done via DMA, so the DMA interrupts suffice.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5e41d1e03680af9806c599aad80b9b64dd719f9b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 18:53:12 2012 -0700

    altos: Add support for STM ADC
    
    DMA-based driver for the STM analog to digital converter.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fa96ee3db9b57cc2a88e9edd74bb9efcc228ccf3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 18:44:11 2012 -0700

    altosui: remove debug printf from AltosFlightStats
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e56038b65ba1c6413ba9942be3c092644986f126
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 18:36:36 2012 -0700

    altosui: When computing flight stats, auto-detect boost time
    
    Detect when boost actually starts by looking for the last low
    acceleration value before the recorded boost time. This improves the
    computation of the boost state data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 20066268d8d1853055d0afe108584db34b425fcb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 18:35:26 2012 -0700

    altosui: Integrate accel speed from very start of eeprom record
    
    Don't wait for the flight computer to have detected boost--that's
    often several samples after boost actually occurred, which can leave a
    bunch of acceleration out of the speed computation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d35c4df12a3d8e2dab5d41f8d918ff4237f91e46
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 01:01:33 2012 -0700

    altos: Add ability to change radio frequency in TeleTerra
    
    Provide a way to set the frequency locally.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4700f63937786e8f6e9b4882363234a33eb54c46
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 01:01:06 2012 -0700

    altos: Make ao_config_set_radio public
    
    Allows other bits of code to reset the radio parameters.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a0a650a2be007b0436bd527d6c18f36eef6fbe2b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 00:25:50 2012 -0700

    altos: Force radio channel to zero when setting frequency
    
    Otherwise, the actual radio frequency will include the channel offset,
    which is not useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c7119405a3dd7128120374a2a001bc98ef523619
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 00:25:26 2012 -0700

    altos: Make ao_freq_to_set reentrant
    
    Save a bunch of data space this way.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d0d0d20c20e5eeacbc9a1ec1c93141a2044830fb
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 00:24:59 2012 -0700

    altos: Shorten help strings
    
    Save a bit of code space
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8405efb6ca68c8216413b94e7acbdf51af00554a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 00:23:55 2012 -0700

    altos: Save memory in ao_config.c
    
    Shorten help messages.
    Stop setting aes_key on products not using aes key.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 41a8383ccd29351f3a88a374f9456d6efb71b9a0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 00:22:41 2012 -0700

    altos: Save memory in ao_cmd.c
    
    Shrink a couple of help strings
    move a variable in ao_cmd from data to pdata.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5f63065a16b65618b39314880c72074f0a8b5550
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 00:22:02 2012 -0700

    altos: Add fake install/uninstall targets for stm-bringup
    
    Keep global 'make install' from failing.
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5569e4df50648a3ec131ba5e244da9b67d1a67db
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 7 00:21:03 2012 -0700

    altosui: Radio channel gets set to zero by altos when frequency is set
    
    Just remember what the channe is going to get set to.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2db6b0f58811ffc44a468c8fbcacc08d37edd26c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 6 22:40:49 2012 -0700

    altos: Shuffle stm-demo SPI test code around a bit
    
    Move a debug printf beyond the chip select boundary to
    allow for more accurate timing.
    
    Send four bytes instead of just one.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 89201cdf2062b7319a0da4e266e4d6edba1493f8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 6 22:40:17 2012 -0700

    altos: Declare stm DMA address registers as volatile void *
    
    Eliminates a cast when assigning to them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0bcc23c3be1a20a362fea268901c600f9f0d287a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 6 22:39:45 2012 -0700

    altos: Disable DMA unit when idle
    
    Should save a bit of power
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 20926b62a87154a846cb950dc542c737cd54826d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 6 22:39:12 2012 -0700

    altos: Disable STM SPI transceiver when idle
    
    Should save a bit of power.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b12bc445fe482306e4587ad60c6d2daf65a60f3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 6 18:07:07 2012 -0700

    altos: Add DMA, SPI and MS5607 drivers
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2a04ac8dff1bfc3efba8c7e4dc9c1a827496dbdf
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 2 23:00:29 2012 -0700

    altos: megametrum builds an ELF file, not an IHX file
    
    Name it appropriately.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cf1e4d60e1fcd75fa734365a2666ea8930938128
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 2 22:58:54 2012 -0700

    altos: Move SPI functions to architecture-specific location
    
    Some architecture specific stuff needs to use core altos code, so
    create new ao_arch_funcs.h files per architecture that get pulled in
    at the end of ao.h
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c09d155328bd446bb84ac1068d380cceb884df22
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 2 19:27:53 2012 -0700

    altos: Oops. Set per-USART STM baud rate register instead of usart1
    
    Was accidentally always setting usart1 instead of the per-usart
    register. Didn't work too well for other usarts...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 440226df03a85cd0047d876b57b2a3410bfb2b02
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Mar 31 17:53:25 2012 -0600

    be explicit in a couple places about only using single-cell LiPo batteries

commit 4ca52908c8b3f98a79588981f6878025250f0924
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Mar 31 16:43:39 2012 -0600

    use explicit path not $(HOME) to find ARM toolchain for now

commit 246618baf9b8803e5ae4e650eb46740d1128a010
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Mar 31 16:43:11 2012 -0600

    add config file for gdb use with MegaMetrum via Olimex dongle

commit b89f11139fae7ae722ed78d342a169ed2bf5c948
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 31 12:44:14 2012 -0700

    Build megametrum-v0.1 by default

commit bbf31b8591f89e2a1fcc7dac5f42d730a81473d2
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 31 12:43:58 2012 -0700

    altos: Add stub cc1120 driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1f2b75518169c4f2da9762de46bf1d9a71a04d17
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 28 21:54:32 2012 -0700

    altos: Move cc1111 DMA engine interface to cc1111/ao_arch.h from ao.h
    
    It's hardware specific
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 47a9925f16f6a13b173c49d3873d91fc7cf6d46e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 28 21:53:30 2012 -0700

    altos: Move cc1111 AES driver to cc1111 directory
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93ae5f6ce09fa71ebd34f77a884684b3670c8b44
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Mar 31 13:29:15 2012 -0600

    openocd config file for MegaMetrum

commit b711768da6310a1b06f3b995a280587fed5f26cd
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 28 21:45:44 2012 -0700

    Bump version to 1.0.9.4
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0993595035a2813deba6991fa25bc0d475f2e6bb
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 28 21:45:02 2012 -0700

    altos: Add ao_freq.c to megametrum build
    
    I think this will be needed to compute radio settings on the cc1120
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a157edbe1bf7fffd5a6041f7b1760674addd2229
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 25 13:08:05 2012 -0700

    stm-demo does not use altitude.h

commit c1531fb26461b9f4ec39672bbfaeb70e6f4d1056
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 23 01:42:32 2012 -0700

    Use -Os for STM apps. Fix altos.ld to matchall .rodata* sections
    
    Without .rodata*, it would stick the flash copy of the data on top of
    any further .rodata* sections. Fortunately, the linker catches that
    and complains...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2c110fb4531144f18f62200e4127738c84e87f1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 23 00:55:53 2012 -0700

    Get config stuff hooked up for MegaMetrum
    
    This stubs out enough stuff to let ao_config link and work
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0bda768c2be5b81bec13f21d4d3bb6a11a8e88fa
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 23 00:43:47 2012 -0700

    Add preliminary MegaMetrum v0.1 support
    
    This turns on an LED, enables the internal R/C clock, hooks USART3 to
    the GPS chip and USART1 to the console.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c27e211796a64b6bbacfe6a1516e9872fdb0853e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 23 00:43:17 2012 -0700

    Use new Makefile.defs in stm-demo
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d7ddfd4e6d75e50ca64a342181f5c52e9f4919af
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 23 00:42:13 2012 -0700

    Use 16-bits for STM32 LED mask. Export serial I/O functions
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 606d866153cb639a2400cbedbc45046372ad1b30
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 23 00:40:48 2012 -0700

    Allow skytraq to be on non-default serial port
    
    Provide ao_gps_getchar, ao_gps_putchar and ao_gps_set_speed hooks to
    let product specify functions for serial access.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 25184baa36c20e3d661f94e642a33e8aae179d60
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 23 00:40:09 2012 -0700

    Allow for more than 8 LEDs
    
    Provide hook for architecture-specific LED mask (AO_LED_TYPE)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 87ca5c9c5f9cea1b9e14468e4694ce6acc21955a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 23 00:19:06 2012 -0700

    Clean up STM build by moving common defs to Makefile.defs
    
    Shortens default Makefile a bit
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 41a3fded116a3101789df44647d0eb06be07a25b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 23 00:04:47 2012 -0700

    Make stm-demo display a scrolling message
    
    Instead of trying to frob the LEDs, which are now owned by the serial
    port.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b5e98a3407b369803109bfc1409e4f8b6e848ba
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 23 00:04:21 2012 -0700

    Flush LCD changes each time the text is updated
    
    Rather than requiring the caller to do it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6337b5f522be11926a6490d7bb27a4f7795da569
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 23 00:03:29 2012 -0700

    Automatically set ALTERNATE pin mode when setting alternate function
    
    When selecting an alternate function, set the pin to alternate mode as
    well; there's no sense requiring two separate calls everywhere.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c9e61a4f1f0ce5e5177a2252e8b7a02a578e77f1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 23 00:02:38 2012 -0700

    Allow any STM usart to be used for stdio
    
    This also adds the alternate pin configurations for the other two
    usarts
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bf060b3e3ed655bbb8464f342d0a0b1745a06173
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 23 00:01:50 2012 -0700

    Allow for more than one serial port in core AltOS
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d236a5c7cd6e9b1d7192e801d63b4bd348cc2f12
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 22 20:02:30 2012 -0700

    Move LCD string output code to ao_lcd_font.c
    
    It's all very specific to the 14-segment display, so
    stick it there.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6da2f5846f2d28ea1f09f60ef2cc3f68113ac62a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 22 19:43:29 2012 -0700

    Add LCD device driver to STM32L port
    
    This enables the 6-digit 14-character display on the STM32L discovery
    board and provides an ascii output to it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a953ac32033ded18adf0cb3ca20134385fcd0a6d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 22 19:42:18 2012 -0700

    Add defines for LCD controller and RTC clocking
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f6e557bc2f0bd6d4272ed00dd09554d27a83be89
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 22 19:41:23 2012 -0700

    Actually enable usarts with the new usart code
    
    And move USART1 to PB6/PB7 to avoid conflicting with
    the LCD pins.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 03fbc18ea17a9e77a1d4d8e0ddb97abbe5da3658
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 21 16:24:06 2012 -0700

    Clean up multiple serial port support for STM32L
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f560c961ae4fedec0c9f11d5b3635fcb0d67ed8e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 21 16:18:26 2012 -0700

    Add support for multiple serial ports on STM32L
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit faf2bea4fdb3dca7fbed35423a4fe4459ee92ceb
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 19 11:25:40 2012 -0700

    Save/restore PRIMASK register on Cortex-M3
    
    This preserves the interrupt-enabled bit across context switches
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a14bee42a8431c909bcd74b0acec57329bc0284
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 19 11:24:43 2012 -0700

    Don't disable interrupts before saving interrupt flag on AVR
    
    This ignores the interrupt disabled state, so we'd always leave
    ao_yield with interrupts disabled.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7662a0096a860cddac413a310305fe842830c3b5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 18 22:29:51 2012 -0700

    Add .gitignore file to stm-bringup
    
    Ignore generated binaries
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4be74ef0d13114707fd8217907a5ec457f886160
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 18 22:26:43 2012 -0700

    Fix STM LED driver and blink LEDs on discovery board
    
    This adds a task to blink the LEDs, after first fixing up the LED
    output code to enable the GPIO and talk to the right pins for the
    discovery board.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ab6ea9043b592c25948a70b6204d613756a9a250
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 18 22:10:02 2012 -0700

    Basic OS running on STM32L
    
    This gets stm-demo working
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0cc01d378ae96325e429ad608b953661582939b0
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 18 22:09:20 2012 -0700

    Add AO_PANIC_STACK
    
    Provide a panic code for stack overflow.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1ca46760cf903860dccb4864578558a1abb6e0fa
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 18 22:08:48 2012 -0700

    When debugging, send ao_panic message to ao_debug_out
    
    Use the low-level debug hooks to get the panic state sent to the
    serial port.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4bfce11873f34af9621c60f83a8355f85769f6d3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 18 22:07:07 2012 -0700

    When debugging, send pre-init output to ao_debug_out
    
    Before tasking is running, send output to ao_debug_out to help debug
    system initialization.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93481fd3d9305a107b88c8a64de4194a6d94dc0e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 18 22:05:46 2012 -0700

    Incorrect type in ao_task_info for wchan
    
    Would truncate 32-bit pointers on arm.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8ba5344514f8ed51f6fd69ca09f6c7035c4fd0da
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 17 00:06:59 2012 -0700

    Add stm-demo program
    
    This runs AltOS and talks over the serial port.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1d1b24bb20dec09145fbaa6fe6897898d47dd16e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 16 20:24:29 2012 -0700

    These were moved to the src/stm directory
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b8100ea5042013bb4eed67907b4e9d4e5c196df2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 16 20:23:31 2012 -0700

    Add stm bringup timers and move most of the setup code to the stm dir
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9279fd42793123784ce83ca151df6f4630487722
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 16 20:21:09 2012 -0700

    Add STM platform and stm-bringup demo program
    
    The stm-bringup doesn't run altos, it just initializes the device and
    writes stuff over a serial port. Works on the STM32L Discovery board
    at least, should do stuff on other boards too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e2f13aa43ba79becbff6c9bfc18c665a58d96185
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 16 14:25:37 2012 -0700

    Add example STM32L programs
    
    This loads to flash and sends data over the serial link.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3c7d1f6cfffb43299041f2850a48177f4e9b83a5
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Feb 22 23:26:03 2012 +1300

    'stdin' is a special name in some compiler environments, don't use it.
    
    Switch to 'in' in the prototype for altos_serial_set_stdin.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bdfcc9112c41c494de23594963980a730b625cc4
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 28 00:49:29 2012 -0700

    altosui: Disable launch controller button
    
    The launch controller should just be a separate program.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cf1e95810559584705d0b8a787375938c68e07c6
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 28 00:37:52 2012 -0700

    altosui: Add Configure Ground Station dialog (trac #29)
    
    Allows the user to configure the teledongle frequency without opening
    up the flight monitor window, and also shows the teledongle fixed
    values like radio calibration, serial number and software version.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d60862fce6ac27a97ad6337eea32a4b48645d158
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 28 00:38:37 2012 -0700

    altos: Make sure config values are loaded in 'c s' command
    
    ao_config_get may not have been called when ao_config_show is invoked
    by the user, so make sure the config values are loaded before showing
    uninitialized data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b98f75dbcccd40c8cbf32c3bfd21bd6f5648b861
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 27 22:54:17 2012 -0700

    altosui: Sanity check values from device configuration
    
    If someone has down-graded and re up-graded the firmware, the config
    entries may be garbage. Sanity check them to avoid crashing the UI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b6c7ae2c1f8cba7351cd139c49322280d9d3af47
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 27 22:53:08 2012 -0700

    altos: Reset config version if it's too large as well
    
    Any future config values will get trashed if we down grade the
    firmware, so we must reset the firmware version whenever it gets
    written.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3f0379db7067eaf104892a82b9c49142087adece
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 27 22:02:13 2012 -0700

    altosui: Make 'monitor idle' work with older TeleMetrum firmware (trac #28)
    
    Older TM firmware did not have the 'done' line at the end of the GPS
    report, rather it would just stop after showing the Flags value. Check
    the TM version and stop looking for GPS data when the Flags line appears.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7a9baabaf33db5e30eb4ef8f923a4fd96fd28fb4
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 27 21:49:58 2012 -0700

    altosui: Mark data 'Age' in monitor idle UI too
    
    Just like with the flight monitor UI, it's nice to know how old the
    data in the monitor idle UI is, in case the data link to the TM isn't reliable.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2f19f9a0eaba22789fdc07a52849e8aaf6fe4695
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 27 21:48:43 2012 -0700

    altosui: Catch attempt to set radio frequency to 0.0 -- use default
    
    Monitor idle was setting the frequency to 0, which takes a while with
    the new native radio frequency setting code. Don't do that, instead
    pull out the preferred frequency for that, as is done in other places
    where a frequency of 0.0 is used.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 170510bb183715e9ba580b180f20657d6602644e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 27 21:13:31 2012 -0700

    altosui: Find actual landing time when computing stats (trac #23)
    
    Look for the last time the height went from >10m to <2m from the
    nominal landing altitude and use that as the landing time when
    computing things like main descent speed, time under main etc.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0952224c36eba25db34bd147d2d579c66b15bbf8
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 27 18:24:51 2012 -0700

    altosui: Change flight data saving UI to separate download/delete selections
    
    First pop up a dialog to select flights for download. Download
    them. Then, after that, pop up a *new* dialog to select flights for
    delete. Offer to delete all of the downloaded flights by default. Then
    delete the flights.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7dd1d62676c1e605fe69a4c0acfe7638c6b79aa5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 27 18:19:05 2012 -0700

    altos: Optimize ao_freq_to_set a bit
    
    Reduces size from 327 bytes to 287 bytes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d77a4ea206d627635159f35c76c744687d4e633b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 27 11:58:39 2012 -0700

    altosui: Show only supported telemetry version
    
    Make it clear in the UI which telemetry versions are supported,
    providing the combobox only for new firmware which supports all versions.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d8ebb83e64d66fa159e75aa560d39d80bb6d9d04
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 27 10:38:32 2012 -0700

    altosui: Configure radio with new direct frequency setting
    
    Instead of computing the radio setting in altosui, let the radio do it directly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c1d12a117b36de7fe8dd992959b890bfd1163e81
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 26 23:35:35 2012 -0700

    Do radio settings solely by frequency
    
    Compute the radio setting needed based on the calibration value
    provided and the requested frequency.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c2550d72aee371676d2f09316051567681e53a7c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 26 22:05:04 2012 -0700

    altosui: Use ConcurrentHashMap for maps
    
    This data structure is accessed by multiple threads, so it needs to be
    re-entrant.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8610fdae8f47e1e8b6e8525227cc912664ecfafd
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 26 22:04:13 2012 -0700

    altosui: Show time since last packet in flight status window
    
    Makes it easy to see when the UI is wedged, and when telemetry data
    are being successfully received.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 392a3107b9e9cc8c1ea51df6ff5ec54817adbc65
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 26 20:11:34 2012 -0700

    altosui: Restructure telemetry classes to be more sane
    
     * Make AltosTelemetryRecord be a class, rather than an interface.
    
     * Inherit from this for AltosTelemetryRecordLegacy and
       AltosTelemetryRecordRaw.
    
     * Remove bogus AltosTelemetryRecordGeneral class.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 77639dae0fb9975219c2e211ea6dd6c7965eeea2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 27 23:50:43 2011 -0700

    altos: Require callsign match in packet code
    
    Ignore packets with mismatching callsigns to avoid accidental
    connections between devices controlled by different stations.
    
    As a special case, if the device is configured with the default
    callsign (N0CALL), then let anyone connect. This allows configuration
    of new devices without needing to change the ground station callsign.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1b4a4c7b6a0c3f93267f33482f490e7aa25c2158
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 13 10:40:30 2012 -0800

    doc: Add companion SPI message protocol doc
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5d42ded7ebdb0c134c8dac61f41525c37d81ae61
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jan 13 10:44:23 2012 -0700

    update turnon_telemetrum to v1.2, add more turnon scripts

commit f450f8bc70f857053b26c4379f54a318062e89a1
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 3 22:27:59 2012 -0800

    altos: Set correct registers for serial0 baud
    
    oops. not going to work very well setting serial 1.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c6821ae734a7efaf2e069f6c5edf9605a9dbe125
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 3 20:46:25 2012 -0800

    altos: flush stdout when fifo from arduino serial port is empty
    
    This avoids leaving bytes pending inside altos
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 65b9b5d0d91fef2c7452dc77017f31f176672304
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 3 20:42:41 2012 -0800

    Build teleshield by default

commit 7a42f2e0f145d2d520aed8e241fa39f7cb62b19f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 3 20:41:15 2012 -0800

    altos: Add support for UART0 in async mode
    
    And copy bytes from it to stdout.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 085625ff3992454b59583d95a3c415597c51f754
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 30 15:42:28 2011 -0800

    altos: More _asm -> __asm changes
    
    Missed a few last time
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 614ab6a991258a5caad0ca12ae35d0288a5b7503
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 30 15:38:32 2011 -0800

    altos: Clean up for SDCC 3.1 - more keywords
    
    _asm -> __asm
    sbit -> __sbit
    remove variables named 'data'
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bbb94a6a25a106316414a9a281e924f6c56e9f38
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 30 12:27:35 2011 -0800

    altos: SDCC 3.1 wants __at instead of at
    
    Older SDCC would accept __at, so just replace all occurances unconditionally.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4783ac9653fd4f816f839452795e0d2e52129d5b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 27 15:47:54 2011 -0800

    altos: Switch teleshield to use radio slave mode
    
    And bring it up at startup time by default
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 791c137728dd3398bd7275be13cc9e6be96d7af4
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 27 15:37:28 2011 -0800

    altos: Add teleshield directory and bring-up code
    
    This is cobbled together from various existing bits, but should at
    least provide some ability to test a teleshield board.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eff8611e3eb19853b06acfcd7e978c9046cd5f78
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 17 17:05:06 2011 -0800

    altos: Create TeleMetrum v1.2 directory
    
    The hardware is software-compatible with v1.1, but it's nice to have
    the right version number in all of the files.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6baf6f41040f7b074d8cc84ef75e254c5d2b466b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 17 16:58:04 2011 -0800

    altosui: googleearth doesn't accept spaces between coordinates anymore
    
    it got pickier for some reason; let's not put spaces in now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dbf7c0c59854e040b65f068069d80716f02fc1bc
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 13 23:03:22 2011 -0800

    altos: Fix pad orientation for pre-1.1 boards
    
    They use a different code path for accel as they don't have the
    VCC compensation code in place.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c1e293ff4953b51c19af8b52f2999419ea84e7e5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 19:19:40 2011 -0800

    altos: Add startup and config (view only) pages to TT
    
    The config page needs a pile of work before it's useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02b4e52a5349217df43105eaa1fff6bfc7dac4cc
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 19:18:53 2011 -0800

    altos: Enable packet master and debug in TT
    
    The code was already getting linked in, so we might as well use it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e7044fd95472449e2fb860cef902fa458b91ccac
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 19:18:23 2011 -0800

    altos: Fix sdcdb settings for telemetrum v1.0
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f9e76e0d3492dcc8bf4b5b1f07c3c727cfdc0ef
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:54:14 2011 -0800

    altos: Trim skytraq NMEA messages. Shrink NMEA header matching code
    
    Tell the skytraq to not bother sending a bunch of the NMEA messages
    that we don't parse.
    
    Explicitly look for 'G' follows by 'P' instead of having some general
    header matching code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d3dcb9451f40506abced72783966104645a73bc7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:52:02 2011 -0800

    altos: Allow TT/TBT reports to escape landed state
    
    The TM altitude reporting code kept beeping out state and altitude
    forever, which isn't very useful on TBT or TT.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0f7d7a4fbede63b51208bf051e08aa73dfbf35a0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:51:31 2011 -0800

    altos: Remove LCD debugging code
    
    This isn't needed anymore.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 430b439b9a5cc98b32273a233505de2c2f975c59
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:51:03 2011 -0800

    altosui: Add ao_lcd_cursor_on/off
    
    This shows or hides a blinking cursor on the LCD.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 75a8490a7bee2a2c7afd559b13f1d9c40c2aa08f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:49:17 2011 -0800

    altos: Add configurable set of channels for TT
    
    This adds the channel list for TT, which will be configured by
    AltosUI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2ba946fea29ff134ffaeaea9d7932f4bd4e953aa
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:48:07 2011 -0800

    altos: Export 'ao_cmd_is_white' for use by other code
    
    This function tests the current input character.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 20282ef00afe70e3f3193f6f0200254cb2c33e93
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:47:08 2011 -0800

    altos: Set default flight log max to 127k on TM v0.1
    
    The flash part on v0.1 boards is only 128kB.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5972c642f0de0789e90268bfa19ef8b51c06eebc
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:44:36 2011 -0800

    altos: Handle internal and external telem monitoring requests
    
    Record separate internal vs external monitoring state, allowing
    both to happen at the same time, and when either is turned off, the
    other keeps working.
    
    This also adds disable/enable so that other radio users can
    temporarily take over the radio; monitoring will resume when the other
    radio user is finished.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ef7f86453d686a49882e8c1b88a59228c4c631a9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:37:53 2011 -0800

    altos: Check pdata+xdata memory usage during build
    
    The sdcc linker doesn't check the sum of pdata+xdata memory usage, it
    only ensures that xdata itself is small enough. This doesn't keep
    xdata below the end of usable ram on the cc1111 though (0xfe000).
    
    Fix up the check-stack program to also make sure all of xdata fits in
    available memory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2bce71eba9f44b6fcf64e307c8174824c3a0fb57
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:32:49 2011 -0800

    altos: Set SPI fill value each time it is used.
    
    This ensures that the final MOSI pin value will be high after a
    receive is finished.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0a705b62829d492e3a48c81077907cee61afb860
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:31:46 2011 -0800

    altos: Initialize DMA config address at boot time
    
    Instead of resetting these each time a transfer is started, just set
    them once at boot time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4de8bf6da4d725bb0514d032b0708c5cf420e8fa
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:30:56 2011 -0800

    altos: debounce buttons
    
    Provide API to clear out any button events that happen during startup,
    and then discard button events 'too close' together.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ad41b5820c2e252627959e4627473f07784be23e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:29:38 2011 -0800

    altos: Build TeleTerra v0.2 by default
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f6db11c3c87725c809c518f5f19b07325faf9c84
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 12 18:10:18 2011 -0800

    altosui: Deal with serial port exceptions a bit better
    
    This catches a few exceptions and tries to make sure the serial port
    is closed afterwards.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b132eefc5f63412bb4a98a4bb72b9055e40d5d42
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 22:30:17 2011 -0800

    altos: Make ao_xmem funcs require __xdata void * instead of casting
    
    Having an explicit cast in the ao_xmem wrapper macros caused the
    compiler to generate garbage values for pdata addresses, making the
    upper byte 0x00 instead of the required 0xf0. Removing the
    casts from the ao_xmem macros exposed this problem, so a new
    PDATA_TO_XDATA macros was added, along with a CODE_TO_XDATA macro
    which serve to cast pointers, with suitable address modifications, so
    that things work again.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ecde50fbebe68a2e2200a2f8d081fd37074f840
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 22:24:22 2011 -0800

    altosui: Make UI Look&Feel configurable
    
    Saves the preferred style and uses that for all current and new windows.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 713bd503902526c17a7657c18be947ef8fa6a47a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 17:18:08 2011 -0800

    altos: Shrink Skytraq NMEA parsing - common nmea_finish code
    
    This shares the checksum testing across all three lines, saving
    another 103 bytes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d3e8275572550b700563b3bde73cd7a43b608f17
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 17:11:39 2011 -0800

    altos: shrink Skytraq NMEA parsing more
    
    This cuts another 78 bytes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8266d8d39c0103e68ef3e476b9639574d9a48771
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 11 16:54:18 2011 -0800

    altos: Shrink code size of Skytraq NMEA parser
    
    Just mess around with the code to make it smaller. These patches save
    173 bytes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit df08b2f6de464f4546c1809b931eb4910d88b558
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 27 01:01:11 2011 -0700

    altos: A bunch of missing .gitignore files (mostly)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a7b285ec0945830b8b31877115157ddd12d6a9fb
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 27 00:57:45 2011 -0700

    altos: Add i2c driver for avr chip
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0669f0d74fc24c4f1925a45a9975b7a49a65b692
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 27 00:49:23 2011 -0700

    altosui: Only update GPS data when new GPS information arrives
    
    Track which telemetry packets are actually producing new GPS
    information and only update the GPS average position and count of
    stable GPS reports with new GPS info, instead of on every telemetry packet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c7e14a2750d437e8b77d68a944a0711e7a0c882b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Oct 27 00:35:35 2011 -0700

    altos: Fix distance/bearing computations. Deal with large values
    
    Lots of little math errors dealing with large distances; easily tested
    as the GPS currently reports lat 24 lon 121, which is a long ways from
    Portland.
    
    Now reports distances in km when large, otherwise in m.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit da330c5975b9f565d059ef8084dfdacc20f34246
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 26 22:49:11 2011 -0700

    altos: Bring up basic TeleTerra v0.2 UI
    
    Lots of fun stuff here -- multiple panes of information.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8e4cceedb5b758faae684978299e667c4bb06f4d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 23 15:24:02 2011 -0700

    altos: Flip button IRQ initialization around
    
    This matches what the docs suggest
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 90e738a3379d258a48a7c92f6708040fc39c373a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 23 15:20:50 2011 -0700

    altos: Fix battery voltage computation.
    
    Full scale is 4.95V, not 3.333V.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f70553106707e3496d07eecb83f0c0a1acad7f77
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 23 14:51:32 2011 -0700

    altos: Add battery voltage sampling driver
    
    For devices without a full ADC compliment, this just samples the
    battery pin and converts to mV.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7e7a10c06a0486e9f869e361e46f2c98db9897b0
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 23 14:08:59 2011 -0700

    altos: Add button driver and sample user
    
    Hook up the teleterra buttons and have them beep
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8e2736226fcd7c1ab1ba93a5ebac9b285ebf4733
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 23 12:55:35 2011 -0700

    src/teleterra-v0.2: Initialize more hardware
    
    Initialize the flash storage and flight state reporting beeper.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 07d4477b2e8477e96a2f155a25f95e14a9a47efa
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 23 12:51:05 2011 -0700

    altos/teleterra_0_2: Initialize LCD driver
    
    Initialize the LCD for testing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 85b259c5bba7edbd2a79471bb1104bcf3904d536
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 21 14:58:26 2011 -0700

    src/teleballoon-v1.1: Use Tm style initial state stuff
    
    Come up in pad mode unless someone talks to us while in idle mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eb61f7aa2c8b692bd892b85e782f249187c80e5c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 21 11:30:43 2011 -0700

    altos: Add teleballoon-v1.1 directory
    
    This is an alternate firmware load for telemetrum v1.1.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a10aa835a06b71e2cefeb6b10daaf8cc394603b6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 15 22:54:40 2011 -0700

    altos: Add LEGACY_MONITOR defines to more programs
    
    Make all monitoring programs define whether they want all of the old
    telemetry formats too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aef732fc9cdf527a18f2959d6fb7903e832209da
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 15 22:54:02 2011 -0700

    ao-bringup: Make it build with source restructuring
    
    Source code all moved around, need to find the header files in new directories.x
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0debe7ffc2aab2b4d08f42e488cb783ae91c36ab
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 23:30:53 2011 -0600

    altos: Add TeleTerra v0.2 product
    
    This includes most of the necessary drivers.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 65873a3ad1d8e8b5ec002be2576c6f496543306a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 23:29:24 2011 -0600

    altos: oops -- forgot to add the cc1111 string code
    
    This is required for all cc1111 builds now; it provides xdata string
    functions.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit badda0d910c56135401dce9adc9e6abebdba2ad7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 23:28:02 2011 -0600

    altos: Split out arch-specific bits of LCD driver
    
    The arch-specific section just puts a single nibble to the device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 47c2c0b79dc516d2566ae149605b7d70ef2dca98
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 20:58:04 2011 -0600

    Bump to 1.0.9.3
    
    TeleScience and TelePyro now work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 652c024ed37bfed5de17f45c772796d5cbe4599f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 18:48:55 2011 -0600

    altos/telescience: Add more header dependencies
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 75960500d1f290fa9f82183431443ac122f12c19
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 18:48:11 2011 -0600

    altos/avr: telescience doesn't have room for the flash write code
    
    This is useful for debugging the SPI and flash drivers, but not
    necessary in production code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b80f8ffb61566cbd134c399ea6ccf9290075490b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 18:45:51 2011 -0600

    altos/avr: Must leave space for init stack in ram
    
    The stack used during system initialization lives at the top of RAM,
    so leave some space for that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f1573a752425121d4c6a14285f1eb0fef3a8bea5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 18:44:48 2011 -0600

    altos/avr: Shrink default stack size to use less ram
    
    Not that we have any way of knowing how much stack we're using, but at
    least this seems to work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cb837d9bb9e6736fcdfca7692b1f9490ea090838
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 18:13:00 2011 -0600

    altos: Allow ao_science_slave to not log data
    
    This is mostly for debugging with flash writes disabled.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac0bebc44bc657b303db4c41fa0c9624f3df9f4f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 18:11:56 2011 -0600

    altos: Make HAS_STORAGE_DEBUG define consistent
    
    This allows products to include the 'w' command for testing flash
    writing as needed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3a28846d3ff8f82b0e97c211b9debf6d67ee5af5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 18:10:45 2011 -0600

    altos/avr: Clear SPI receive buffer before clocking new data in
    
    I don't know why this is necessary, but the receive buffer gets
    'extra' data added somehow.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e60c470b426b7be08a33133e7d8c94201d7e96d4
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 17:44:40 2011 -0600

    altos/avr: Pull-up on the SPI slave select pin
    
    This makes the board work even when disconnected from TeleMetrum.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit af4470f8025116179ef83726a8287e47c465907b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 17:44:02 2011 -0600

    altos/avr: Register stdio handler when using serial for stdin
    
    This code was left in a bit of a mess; just clean it up.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3bda859caf1501f8408703dca81412d70ba00e04
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 17:42:24 2011 -0600

    altos/avr: telescience does not have a serial port
    
    The USART is used for SPI to talk to the flash part.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0a186e92c5773c5d908e9cee889d645a8172dcdc
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 17:39:35 2011 -0600

    altos/avr: Make ao_arch_critical argument be a statement
    
    Wrap the argument to ao_arch_critical in do { } while (0); to make
    sure it gets correctly checked as a statement.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f3453068b0feb640b9d11dbeb021c535ce8b4a31
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 17:39:06 2011 -0600

    altos/avr: Print newline after dumping ADC values
    
    Cleans up the formating a bit.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 06b044629951b06c7ec9b0105b89f51b2880ebd0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 11 16:03:04 2011 -0600

    altos/avr: SPI mutex is now held by the caller, not the SPI driver
    
    SPI transactions generally require a read followed by a write, with
    the chip select held the whole time. As a result, the SPI bus must be
    held across multiple transactions. To make this reliable, the caller
    must hold the SPI mutex, instead of the underlying SPI driver.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5d1361c95f94125cda244b4cc5e55c2fb77b680b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 9 11:09:25 2011 -0600

    altosui: Deal with missing state transitions in FlightStats window
    
    Any missing start/end times are pinned to the end of the flight.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5c82b07471f017171c58a6968adf79901f46a987
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 9 10:55:04 2011 -0600

    altosui: Deal with telem data that goes backwards in time
    
    The new telemetry stuff can send packets with older timestamps, so
    sort telem packets read from disk to create an in-order record of the flight.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 636b7b368e67346b0796cd84fbfd71e10966d61f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Oct 9 10:21:56 2011 -0600

    altos: Respond to telemetry rate changes immediately
    
    Instead of waiting for the previous telemetry interval to expire,
    immediately switch to the new telemetry rate. This will provide
    more telemetry data early in the boost.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca036c5616c3e745c0b878ed90618d4ff710c0e5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 8 22:19:52 2011 -0600

    altos: Improve TM v1.0 apogee estimate
    
    v1.0 boards have noisy accelerometer data caused by interactions
    between RF transmission and the accelerometer measurements; this noise
    generates a negative bias in the accelerometer readings. The net
    effect is that the estimated speed is lower than the actual speed,
    causing early an apogee estimate.
    
    By increasing the sigma value for accelerometer data, the kalman
    filter 'trusts' the acceleration data less, putting more weight on the
    barometer data. This causes the estimated time of apogee to be closer
    to the correct value.
    
    This reduces the response to changes in acceleration.
    
    This new value is applied solely to TeleMetrum v1.0 boards. v1.1
    boards correct for this error, and hence can use the correct sigma
    value for the accelerometer.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 26d7eb7149da8c797d7e704d75f73af2d2aa52c2
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 8 21:31:34 2011 -0600

    Bump to 1.0.9.2
    
    (1.1 RC 2). Flown at Oktoberfest 2011 on 10/09/2011 (we hope)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aad03e3cab4c328e53d3df47b6dac1d3f7a49229
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 8 16:07:57 2011 -0600

    altosui: Remove igniter voltages from chart.
    
    These are just annoying; when we add the ability to turn stuff on/off
    on the fly, we can add them to the list of available items.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6a7363b3ba99310bd44c9b66f6f5159e46762be4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 8 11:51:05 2011 -0600

    altos: Ignore ejection bumps when doing boost re-detect
    
    An ejection charge looks an awful lot like an extra (really small)
    motor burn. Ignore them by averaging the acceleration during
    fast/coast using a /64 exponential decay filter.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 82604193ed0c522c1fba0072b504fe88b027f1ee
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 8 11:50:24 2011 -0600

    ao-telem: Add new program to convert telem data to ascii
    
    This reads telem files and displays them in ascii form. It's not done,
    and it's not documented, but it's a start.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cbf5a649c8b7101bef9d57e48e42ac775e758c79
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 8 11:46:38 2011 -0600

    altosui: Allow for multiple instances of each state in the graph
    
    With the new boost re-detect code, we can get multiple instances of
    boost/fast/coast, so make sure each are displayed in the graph.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f9b0b7423c0640f729d61a91de6ff96ffe4b486e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 8 11:43:37 2011 -0600

    altosui: Max acceleration across boost instead of all ascent
    
    This ignores ejection bumps, making the max acceleration far more useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 258b75498916183ed250d3abb3282fe3d843e7a1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 7 09:53:09 2011 -0600

    altos: Write xdata versions of memory functions
    
    These are significantly smaller than the general pointer versions from
    libc on the cc1111.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>
    
    Conflicts:
    
            src/Makefile.proto
            src/cc1111/ao_adc.c
            src/cc1111/ao_packet_master.c
            src/core/ao.h
    
    Fix up the new makefiles

commit 128bbfa150f88c09f7adde2434b7bf0b5a9ed556
Merge: f6f54d70 246864b0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 7 08:41:56 2011 -0600

    Merge remote-tracking branch 'origin/simple-quiet' into multiarch
    
    Conflicts:
            configure.ac
    
    fix version number

commit f6f54d70b768dca1715ddddea64a4df00d82b09e
Merge: 1c344b76 0d10e257
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 7 08:40:14 2011 -0600

    Merge remote-tracking branch 'uniarch/master' into multiarch
    
    Conflicts:
            src/core/ao_cmd.c
    
    Use ao_arch_reboot after waiting for a second

commit 0d10e25766b96f5660e213115cf27b71ff164405
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 27 21:06:54 2011 -0700

    altos: TM: Don't turn on packet slave mode until idle/invalid state
    
    Leave the packet link disabled until we've checked the
    accelerometer. That way, we cannot accidentally get to idle mode when
    the rocket is on the rail.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fba1d605a627d03f9587ec060c45fb5d3e96aaeb
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 26 11:50:28 2011 -0700

    altos: Delay reboot by a second to avoid re-entering idle mode
    
    TM and Tm go into idle mode if they receive a packet after boot
    time. When tebooting the device over the packet link, the packet
    master would be (rapidly) polling the device for additional data and
    so the device would invariably receive a packet during bootup and go
    into idle mode again.
    
    Delay the reboot by a second to give the controller time to disable
    the master end of the packet link.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1c344b760776cd5d8c0297d8db9bf02687381b4e
Merge: 4ed53ef8 fc4173ff
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 7 08:34:59 2011 -0600

    Merge remote-tracking branch 'origin/master' into multiarch
    
    Conflicts:
            configure.ac
    
    Fix version number and location of ao.h header

commit fc4173ff882dd9718f34ed043276ef612783dfe0
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Sep 27 00:59:08 2011 -0600

    add run-time dependency on libjfreechart-java

commit 989aae5b18856e3420ea5b7a26ddd8dccae9d6d3
Merge: 0552fbed e44f1ffb
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Sep 24 15:34:59 2011 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 0552fbed34c9698dac30c239df2a823a8502b3f3
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 30 16:59:53 2011 -0600

    include 1.0.1 release notes in docs, closes: #642705

commit 4ed53ef838afd4e922deb1c721a311974527525a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 23 10:24:33 2011 -0700

    altos: Debug code for telepyro doesn't fit in telescience
    
    Just too many strings.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f1328d22aab4378c4fb6f0c24dbee95948ca836c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 21 23:21:04 2011 -0700

    Dump test conversion of ADC0

commit 9b498a6b1327f543c73145e02ff16e76d09f2fe4
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 21 22:54:56 2011 -0700

    Dump ADC registers

commit 7bc007ed45af8fe9ef5daeb7844f183cd9a49035
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 21 18:13:55 2011 -0700

    altos: Fix make-kalman to run under dash
    
    Dash can't deal with >&, so use the old-school > file 2>&1
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 74d5dea5d5ef91db823018b631613d15c6da085d
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Sep 21 16:42:52 2011 -0600

    fix bashism that prevents building with /bin/sh->/bin/dash

commit f68f22f527104cdffa1f5e398a51a466a13ff1fb
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Sep 21 16:42:22 2011 -0600

    add missing sense_h entry in TelePyro table

commit 16aa67fc77b82a9d051f205037b27a5384e3e3b7
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 21 14:24:30 2011 -0700

    altos: missing ao_log_single.c
    
    Neglected to add this file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7a02d4bace05cc829522933b9df6b82a9e17336f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 21 11:30:43 2011 -0700

    altos: Add TelePyro v0.1 support
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0820f5c6dfe067590f36e8201a4049719dcf3d7c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 21 11:40:56 2011 -0700

    altos: Support staging by going back to boost as needed
    
    Detect additional motor burns by looking for high positive
    acceleration in coast or fast modes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c8a00bb9ccdf0d4257f037c2bf996ce5e6b0b0c0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 21 11:39:24 2011 -0700

    altos: Pre-compute RDF packet len at compile time
    
    Instead of computing the RDF packet len at run time, which takes a
    pile of code space.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit abf17522c206b465375b73a004a6d67bfa714ba3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 21 11:36:11 2011 -0700

    altos: SPI slave code is now per-product
    
    We can't write general purpose SPI slave code as we must eliminate
    any latency because the SPI ports have no buffering.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 246864b0597ddd397aba39be1fe39df0df189433
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 16 18:27:56 2011 -0700

    Update to version 1.0.2
    
    Bdale is planning to fly this version on 9/17.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eaa7d7c7dd445ade7d8e3228306785f9a545b89a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 4 08:49:16 2011 -0700

    altos: Silence radio while firing igniters
    
    Hold the radio mutex while firing igniters to reduce potential
    interactions between the two.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d1e81db87ce0f89fd0b7651ca00979498cd00b78
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 4 08:48:05 2011 -0700

    altos: Delay restart of RDF at apogee
    
    Instead of immediately trying to send RDF at apogee, start it after
    the usual RDF interval to avoid doing RDF while firing the apogee igniter.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e44f1ffb7104d70f5c9b9a90529ddbe1b75da074
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 30 16:59:53 2011 -0600

    include 1.0.1 release notes in docs

commit b2d4e49bfe88aa61ca36fb1af8f3088c5754304c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 29 14:22:19 2011 -0700

    altos: Split avr clock initialization to ao_clock.c
    
    This will be shared with the attiny code for TeleTerra v0.1
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e66fd72664aae7c000dce9c528803e28e7918fdf
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 28 17:03:26 2011 -0700

    altos: don't beep igniter continuity for telenano
    
    Without any igniters, it's not nice to annoy people.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 122c4101164d598e655fa9ad8473053d30ff4212
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 28 16:55:55 2011 -0700

    altos: Report continuity in telebt
    
    Report continuity values from remote altimeter
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b9568a637ffdbc67225271005f2b996ee08a0df
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 28 16:39:41 2011 -0700

    altos: add 'report' to telebt
    
    This beeps out flight state changes and max altitude at landing, just
    like the altimeter.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 31e3255b6cbfaf95c0e97e2d1ec8de72f845994c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 28 15:50:30 2011 -0700

    altosui: Report error message back from libaltos
    
    This includes changing all of the error dialogs to show the error
    message rather than just the file name.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cf72c2f5a69a736c28a9b63e124d510ef41a9f5d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 28 15:50:01 2011 -0700

    altosui: Add bluetooth bits back in
    
    Stub out functions on mac/windows for now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3d478a39f2ede7b805bbe568cc1c8ecc176d7a04
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 28 15:45:05 2011 -0700

    altos: Add the BT serial debug code back in, disabled
    
    This code is useful whenever the BT stuff is acting up, so just leave
    the source in place, turned off by default.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8eaa1c4697a3cfc2406e1adadc3094f7f712341a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 28 15:43:32 2011 -0700

    altos: Add pragma to eliminate unreachable code warning on SDCC
    
    This pragma was removed as GCC doesn't support it; make it conditional
    on SDCC so that we eliminate a warning message.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7c6a3195dec6ac68f5d7b3f883ccc2c316384e76
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 28 15:42:25 2011 -0700

    altos: Blink on telem packet receive instead of toggle
    
    Toggling the LED was too confusing; just blink for 100ms each time a
    packet comes in.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cff737c290347b61ba16584880c2f4c436b95042
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 28 15:40:40 2011 -0700

    altos: Remove RSSI reporting from telebt
    
    Telebt uses one LED for bluetooth connection and the other for telem
    packet reception leaving none for RSSI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 27835686648e14b030f6f7ec1fc0c0fd1c387ea4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 28 15:38:12 2011 -0700

    altos: Add RSSI blinking to new-style telemetry code
    
    Pull the RSSI data out locally and set the RSSI led blinking when
    using the variable-length TELEM output mechanism.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6f231a3e512ff7fdd87a399a72c7c36f283394f3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 28 15:20:41 2011 -0700

    Bump version to 1.0.9.0
    
    Make it distinct from any production version
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e53557373e539d591a03d02db146b27d08c7eba3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 28 15:18:29 2011 -0700

    altos: Start logging telemetry data right at boot time
    
    Anything logging telemetry data should just start logging packets as
    soon as they boot.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5c3a0263d292cb0675f608d0ef085d13e51ce6ba
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Aug 28 13:39:37 2011 -0600

    update changelogs for Debian build

commit b33a92e372327158ab21c1bb2d091c58761efe10
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 27 15:19:43 2011 -0700

    altos: Share log code between telescience and telebt. Add telebt log
    
    Telescience and telebt both log data in 32-byte chunks, so share some
    code which manages that between the two products. Add simple telemetry
    logging to telebt.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7e2b5e2957ddcb808723081ca7e046a28b7e70e5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 27 13:30:34 2011 -0700

    altosui: launch controller button needs to move over
    
    monitor idle was inserted into position 2,2
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bc827699be4ed9ac60a7e862e6532791968bf685
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 27 13:28:01 2011 -0700

    altos: Fix up telelaunch Makefile
    
    Adding all of the mising sources
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8a1cbef0e316e38c80b71d3bac15641fe56e0a99
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 27 13:27:28 2011 -0700

    altos: Add HAS_LOG for products that log to eeprom
    
    Some products have eeprom for config, but none for logging (like telelaunch)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6afbc1876cd63f64e8975e300692f95a43866f5f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 27 13:27:00 2011 -0700

    altos: ao_launch belongs in cc1111
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9adf2c9c40ea1da2637ed809dc0d004e47844440
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 27 13:25:23 2011 -0700

    altos: add ao_aes/radio_cmac to tidongle, teledongle and telebt
    
    All of these can do the telelco stuff at this point.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b3c95582774355c991d0a9f27d0a86881e643e62
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 27 13:24:41 2011 -0700

    altos: move igniter defines back to ao_pins.h
    
    so that ao_launch gets them too
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6b2db651a1dbc7ea97fce802b5f10b88be1ab42b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 27 12:42:10 2011 -0700

    altos: Add makefile for telelaunch
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02df2141e5a67afc16acd01a6c60f3cc61052b93
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 1 22:45:43 2011 -0700

    altosui: Hook up the launch controller UI from the main button box
    
    Provide a button to start the launch controller UI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4568bc796a6c362ebf7f72ee9a5fa4a9a3c4ba6a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 1 17:08:24 2011 -0700

    altosui: Add primitive UI for TeleLaunch
    
    Display status along with arm and fire buttons.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit be117376179126824439d98379079025ca0b245a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 1 17:06:49 2011 -0700

    altos: Keep relay closed while firing launcher
    
    Instead of opening the relay while checking the desired state, keep it
    closed until the state goes off.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bc1b94df4d6b92e794ec93d9c1682ae5f61efa61
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 21 22:25:45 2011 -0700

    altos: Finish up primitive telelaunch protocol
    
    This adds two commands to teledongle, one to query and one to actually
    fire the igniter. These will (eventually) want to be replaced with
    something nicer.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4299b5a36a2f6f9f7bbbc3a1b935dd2357c1fb0f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 21 20:04:05 2011 -0700

    altos: Implement remote launch protocol
    
    Uses the radio_cmac module to provide secure communication.
    Keeps igniter closed for 500ms.
    Provides remote status for arming and ignition.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 776df9ce2e7b4fa5cedda326988e66c614299af4
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 20 23:46:04 2011 -0700

    altos: Get AES CBC-MAC packet transfers running
    
    This just has simple command-line based packet transfers for testing.
    
    This also adds special ao_telelaunch bits where the launch control
    code will live.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bd0bf00081bb24af5cd67a9351b0b0c1a041d0d3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 16 14:25:01 2011 -0700

    altos: More work on AES bits
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a731d240f802d37524ce84c3c6acf22bcda4d522
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 15 18:51:33 2011 -0700

    altos: Start work on AES and raw radio interfaces.
    
    We probably don't want this raw radio interface, but it's a start.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f145be3fc4ee94fdb5c1e2406b6c11d38bdbbd9b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 13 20:01:47 2011 -0700

    altos: Start telelaunch product
    
    Looks a lot like TM, but without the flight code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 859ee0268b9f2e1f5933019f1231d857a1cac4da
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 13 19:59:58 2011 -0700

    altosui: Add USB IDs for telelaunch and telelco to java bits
    
    telelaunch is 0x000f
    telelco is 0x0010
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b10fbbf0830053a39e4640a53598b1c027615c63
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 1 22:44:13 2011 -0700

    altos: Add 'send all baro' compile-time option
    
    This option creates a new packet type that delivers full sensor-rate
    barometer telemetry data to allow for off-line analysis of flight
    algorithms using all of the data, rather than the slower rate provided
    either over telemetry or stored in the eeprom file.
    
    Define AO_SEND_ALL_BARO and this will get built in. Perhaps this could
    be a run-time option...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1c46c419704f661064d200432eb7efeeb11b3859
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 26 20:46:47 2011 -0700

    altos: re-order ao_task to match single-arch code
    
    This is just for testing to make the new build match the old build
    exactly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c32893ce79835a8f861d6ef414644c2ff9769ff6
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 26 15:02:43 2011 -0700

    altos: Integrate telescience support
    
    Adds a few drivers including an LCD driver
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93b8f40bb451c9ec152490d1f431ab18f8ecb7d1
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 26 10:52:55 2011 -0600

    more release process doc updates

commit 9451ae5e4ea6ecfa512ba93197351682d4d043dc
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 26 10:51:18 2011 -0600

    update release process docs

commit 01aee9ebe517ed657692e0a39a31ae0ddfb5b8b0
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 26 10:39:45 2011 -0600

    update changelogs for Debian build

commit bc399d97a8424a5262f66a03e3bc403f793bb337
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 26 10:38:44 2011 -0600

    roll back packaging changelog for rebuild

commit 13e6e799070a1469cbc2ff990379ee520b8f0e6a
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 26 10:29:58 2011 -0600

    roll release notes version from 1.0 to 1.0.1

commit 1d15c841ad276127edae0345bd316c30731fffbf
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 26 10:24:35 2011 -0600

    ignore generated log file

commit 58a74c3c3dcd01509224326cffeb67a3e809e4e6
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 26 10:07:15 2011 -0600

    fix telemini firmware path name

commit 0a92eb2fa6b213533691288d8f99d72b80312983
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 26 09:43:06 2011 -0600

    update changelogs for Debian build

commit 3cea033ec928c21b9f7b810898ed3c3cc536d2ce
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 26 09:41:46 2011 -0600

    get ready for a 1.0.1 release

commit 674231773256bacd7acb4b5718c47412e47b813f
Merge: 08e3d54b 3bfe8df4
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 26 09:37:01 2011 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 08e3d54bacf8b38a7c33e420a0bc19bcc7acedd4
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 26 09:35:54 2011 -0600

    moving git-buildpackage config into .git/ since it is fairly specific to
    Bdale's build environment, and doesn't need to be in the source package

commit 8125acc030574afed6f23aa8aa302d9c768bb04e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 25 22:55:33 2011 -0700

    altos: get avr-demo to build. Pull in AVR drivers and LCD driver
    
    This completes the basic task of making an AVR version of altos by
    getting the Teensy 'avr-demo' program to build.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e9fab7dc99a0e7c22b511c5919adf7df85213252
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 25 22:04:36 2011 -0700

    altos: add GCC/SDCC compat macros, init_stack, save_context and GCC stdio hooks
    
    More arch-indepdency bits.
    
    GCC stdio is different from SDCC, so create suitable code in
    avr/ao_avr_stdio.c
    
    Create macros to initialize the task stack frame and save the task
    context.
    
    Add GCC/SDCC type definition compatibility macros
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a588092a7d76dab92e4ab11e0fdb457d2ddc9025
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 25 21:10:56 2011 -0700

    altos: AVR changes - create ao_arch.h files, define ao_arch_reboot
    
    Start pulling changes needed for avr port; architecture-specific code
    will live in <architcture>/ao_arch.h. This first change defines
    the ao_arch_reboot macro to reboot the microcontroller.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9513be7f9d3d0b0ec29f6487fa9dc8f1ac24d0de
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 25 20:43:44 2011 -0700

    altos: Restructure altos build to prepare for multi-arch support
    
    Split out sources into separate directories:
    
            core:           architecture and product independent bits
            cc1111:         cc1111-specific code
            drivers:        architecture independent drivers
            product:        product-specific sources and Makefile fragments
            util:           scripts for building stuff
    
    This should have no effect on the built products, but testing is encouraged
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3bfe8df44b575ca430ffaa051e20faa955a06c03
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 25 18:02:45 2011 -0700

    altos: Clear callsign on initial config load
    
    Before being written the first time, ao_config will get set to 0xff
    when the config storage is read. This leaves the tail of the callsign
    filled with invalid bytes. Zero the whole thing before loading the
    default callsign to make sure any extra bytes are set correctly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93ecaf7f18f8f4c15953c2e80dc9e1b20d04fdfa
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 15:46:30 2011 -0600

    update TeleMini turnon script now that we've made a stable firmware release

commit c3314dae2d3df82e188daf6ba8520cce833592c6
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 03:36:25 2011 -0600

    use multimaint-merge to make Debian changelogs less ugly

commit f9d87de0e2681c2ec5753f4fffef0e61a3a9e144
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 02:22:53 2011 -0600

    update changelogs for Debian build

commit 41998645c04a2ee856dec272b40c2dc5913291d3
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 02:16:17 2011 -0600

    add a postinst to remove sources.list.d fragment delivered by old private
    versions of this package, no longer needed once we have official packages

commit d65e4f6b0a8ba8f67c8a916f2e8be0ec5c75f47d
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 02:05:49 2011 -0600

    really, I mean it, no longer deliver the sources.list fragment

commit 0579bd5de9e7686d227a16951dd520439ca5472b
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 01:55:32 2011 -0600

    we need a main category in the desktop file

commit 3ec03792adebbeadc9c0d4985c6f51877e8ab969
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 01:48:11 2011 -0600

    update desktop file for consistency with package section

commit 0b1d5b678f0e36fbe09d4d3babffb77f857f098d
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 01:37:31 2011 -0600

    rewind packaging changelog to last tagged version

commit f0891fc2e4fa4fd6dd5c2bfc74e4514de986a295
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 01:35:18 2011 -0600

    ao-view is no longer included in the altos package, so have the old-style
    Debian menu entry point to altosui instead

commit a7ee1049519bf46b3864666999249876009fc3bf
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 01:35:06 2011 -0600

    changes in preparation for upload to Debian

commit 2992184f7a032c95e22023080fbc26443ed786f5
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 01:30:36 2011 -0600

    don't deliver sources.list fragment in official Debian packages

commit 3fc92a529dae410a41038cce38c6a44f5e58bd1f
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 01:11:47 2011 -0600

    prepare to release

commit 73abe19acf709c00f5352ec12e8cd6edae1d1963
Merge: 1bd781da 5158493c
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 00:34:49 2011 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
    
    Conflicts:
            doc/altusmetrum.xsl

commit 1bd781da934c738e0c9294197c7eb622b0710a9a
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 25 00:32:47 2011 -0600

    more tweaks

commit 5158493c8df527e7527057c719c75248609eb3dc
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 23:21:02 2011 -0700

    doc: Remove duplicate documentation about max flight log
    
    This was described in detail in both the System Operation and AltosUI
    chapters. Remove the duplicate from the AltosUI chapter.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e268798dc260311f5f0167909481b41c9d27fc1c
Merge: 458f816a 242344d3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 23:06:44 2011 -0700

    Merge remote-tracking branch 'origin/master'

commit 458f816ad23fd6784757b13b244057d4be64260e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 23:06:01 2011 -0700

    doc: Describe max flight log, ignite mode and pad orientation
    
    These describe what these configuration parmaeters do, not how to set them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 242344d3e32e7c7cd9270d708555923fa888e4d8
Merge: 5c1cf749 94a1b220
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 23:51:38 2011 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
    
    Conflicts:
            doc/altusmetrum.xsl

commit 5c1cf7492b82e63a9db9d0238ecbcd2b59486893
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 23:50:31 2011 -0600

    tweak tweak tweak

commit 94a1b220bbfbb64b9772f3ee64a8e9d353d65e94
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 22:29:56 2011 -0700

    doc: Move the remaining command-mode descriptions to the appendix
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit edfb553bb4fa5b0c7c6c658505b2a99d05fb13bf
Merge: c74ab82a ec96f116
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 23:23:56 2011 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit c74ab82a7b7a6ad6f79129a9ef5954270e7e8f11
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 23:23:45 2011 -0600

    more changes

commit ec96f11666f9cbd98e16caeccd5d399978bde81b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 22:20:29 2011 -0700

    doc: Updating Firmware is now a separate chapter
    
    The Flash Image paragraph references it, change the reference wording.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 11099fab63d32f53d0f2e04a7ab04392e39b5963
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 22:18:29 2011 -0700

    doc: Move updating device firmware section to separate chapter
    
    This isn't central to operation of the devices, so move it out to a
    separate chapter
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 50769fbbeaaf61111d363411e0ef0b2868681cf4
Merge: 425fa995 d92c1736
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 23:15:20 2011 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 425fa995aeaccc1ec9ecf011f185b4406df61541
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 23:15:15 2011 -0600

    more tweaking

commit d92c173615a5fb0278ff6878595bed3f8d813e03
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 22:12:39 2011 -0700

    doc: use 'radio link' to refer to packet command mode
    
    Make sure 'radio link' doesn't refer to telemetry and eliminate use of
    'RF link' and other similar but not identical phrases.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 65ca6f0d7c96432413868274b2cfdea4b76683e4
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 23:03:23 2011 -0600

    more tweaks

commit 09981cd024297fd4ef093c7468de2b9d5f3c2691
Merge: a476e766 03c8b270
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 22:42:39 2011 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit a476e76622b6fa70bf7c8883d2a2a64a382fbd78
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 22:42:33 2011 -0600

    more doc tweaks

commit 03c8b2702a45a12c4748cd1ec801d720c816d9e9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 21:39:48 2011 -0700

    doc: Move Packet Command Mode section to System Operations chapter
    
    It makes far more sense here.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 221157af586c6fd7368ee858a390f38bc5ed50f5
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 21:31:05 2011 -0700

    doc: Describe packet command mode a bit better.
    
    Include comments about TeleMini in the introduction, and then explain
    a bit better what the best method of reliably initiating packet
    command mode are (start operation, then boot telemini).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d4e1aa92b6ce2f3e4c51029595d1d44a7f2f14a0
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 22:27:35 2011 -0600

    more doc tweaking

commit 6eff8d5831dde8e690586cd2a97ddf1595cd2674
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 20:59:28 2011 -0700

    doc: Document pad-mode 'on-board data logging' indicator
    
    There wasn't any documentation for this field in the 'Launch Pad' tab.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca0879ba6e5295b4fa790705f742eb647a462ea0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 20:42:09 2011 -0700

    doc: Spelling corrections in altusmetrum.xsl
    
    Lots of minor spelling errors.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 963649aa064acfe75d2ff4babd9a0d35dc254e86
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 21:39:21 2011 -0600

    doc tweaks through chap 3

commit 3d88e0493ab446d7c7011786390d30618a72d045
Merge: 02d65453 5a9972d4
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 21:26:26 2011 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 5a9972d41a87d4204c6c93cacf14e2962cc1c59c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 20:22:29 2011 -0700

    altos/windows: Get latest JRE 1.6 version (Version 6 update 27)
    
    No reason to download stale java bits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cbfbaabb39f9f7709d00cf3dc63cc1bc7563062e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 19:13:03 2011 -0700

    altosui: Make flight monitor font size configurable
    
    Tiny netbooks aren't tall enough for the 'usual' font size, so provide
    a smaller option. Then provide a bigger option, just because.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9849883a754a73b861dd7be530753ff5c2abb499
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 01:48:28 2011 -0700

    altosui: Don't trust companion telemetry record 'channels' count
    
    It can be bogus, allowing the code to walk off the end of the
    allocated data array.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02d65453225a3807e61b2ac6e2a26da31a05bd45
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 01:53:02 2011 -0600

    update changelogs for Debian build

commit 1d286dab223e6c44a25180f944ccb5ba8ed9d5f5
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 01:51:54 2011 -0600

    prepare for another rebuild

commit 82634eae16f9691a6c70a48d0858a399814631f2
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 01:50:56 2011 -0600

    add pkg-config to the build deps

commit cf2823cab40aa450375c108bae8ed6b051fbefe5
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 01:45:28 2011 -0600

    update changelogs for Debian build

commit bf6f00693c394f885d3378415dc7c8a1815a31ed
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 01:43:59 2011 -0600

    roll changelog back in prep for another test build

commit 06aee245eb74e839e50226fa2ddb967c3977fe7c
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 01:41:53 2011 -0600

    another test round

commit 4d94e8f9f807a0bbeab0cdead011e74eeca1d1b6
Merge: 4b5369dc 3b0a9a1c
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 24 01:38:58 2011 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 3b0a9a1c87390747492bfef435ac8e0829ec748f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 00:29:36 2011 -0700

    altosui: Try to get dialogs to look a little better
    
    grid bag constraints are not my friend.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2165e82327faaada23f0503b8e49b80f938b746c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 24 00:09:51 2011 -0700

    altosui: Add tool-tips to config dialogs
    
    Provides more information about the various settings, and, when
    they're disabled, tells the user why.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 63808e0392f43633f92fee137d968e969dd364c9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 23 23:20:00 2011 -0700

    Remove stale tools (ao-dumplog, ao-postflight, ao-view)
    
    These tools have all been supplanted by altosui at this point, and
    keeping them around increases the build dependencies by quite a lot.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 186dfc7c72aa7eba281f29f917088e49e44c2ddc
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 23 22:51:57 2011 -0700

    altosui: Use system look&feel
    
    Turn on the 'be less ugly bit'
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4b5369dc3da2fc8441eeacbf094537b0cf52240d
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 23 21:37:17 2011 -0600

    update changelogs for Debian build

commit 99316a17a9642a207c45610e7cc1c33c2600ece0
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 23 21:33:53 2011 -0600

    rewind changelog to 0.9.6.0 for rebuild

commit 192881b7cae49af375cc2b8b7305c937079ee724
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 23 20:11:01 2011 -0600

    update changelogs for Debian build

commit fc7e46b1215ea2b4cc138ed77d8eaa122369b15f
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 23 20:10:14 2011 -0600

    turn off auto-tagging during Debian build

commit 998adccc1c4f8f6c44833bbf4a52d9441748b996
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 23 18:56:07 2011 -0700

    altosui: add tool-tips to the button box.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 754b9591574c12ddd6e4ab590c6a5f3806b80213
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 23 13:29:23 2011 -0700

    libaltos: fix Mac OS X function signatures
    
    altos_list_start was declared to take a (int time) parameter for some reason.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fa6df3fa21e8f09e70371e6c6cc7827a533b4fe6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 22 23:35:28 2011 -0700

    altosui: Update mac os X library
    
    This has been tested on 32-bit OS X and it works; dunno about
    64-bit.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 955989147f90a4fd22c1375d1b41425dae4e7dd1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 22 23:34:55 2011 -0700

    altosui: Reset all config data on 'reset' command
    
    This lets you switch altimeters without getting any stale data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d249da3fb064754753bd20cd2ca1e5ffcce294ca
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 22 23:33:52 2011 -0700

    altosui: Only 'show' config dialog once
    
    Otherwise, the dialog jumps back to the initial position each time the
    data is updated.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e9254c3472e42d93181674b2c3cd80fe6eea696e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 22 23:32:36 2011 -0700

    altosui: fix 'magic' string to signal end of config data
    
    Was using "done", which happens to be displayed by the 'l'
    command. Switch to 'all finished' which doesn't appear in the config
    data output. Yes, this method is a kludge.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4aebe65b089e4b825a5ae238b81e2181bd88175a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 22 23:31:54 2011 -0700

    altosui: Can't configure flight log max on TeleMini
    
    It's only got space for one flight.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3a84e8e0cc86481c301f4335843a0e1a94bad5c0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 22 23:12:30 2011 -0700

    altosui: Make monitor-idle display correct 'On-board data logging' status
    
    Count number of stored flights and see if there's space for another
    one.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit afe6aba9cb91e93234ffee2a22eee40f848ddedd
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 22 18:25:34 2011 -0700

    altosui: Add --summary option to dump flight stats to stdout
    
    useful for quickly capturing sense of a flight.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e2fd7ae76c23aa8da1390ebcbd8f45276cd7a32
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 22 18:24:54 2011 -0700

    altosui: Show filename in AltosGraph window
    
    Makes it easier to tell multiple windows apart
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f4ea46dc205454411c224ada7805f813989efd4a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 22 18:23:41 2011 -0700

    altosui: Add date/time/serial/flight to flight stats tab
    
    And switch to using the AltosConvert units conversions functions.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b4c71ba56c471720c72853057d0a527825a78fa0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 22 18:22:21 2011 -0700

    altosui: Capture date/time/serial/flight in AltosFlightStats
    
    Time is the time when boost was detected.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5ef731bd87c6d2a71a4edcc69a218eaf1aa7c465
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 22 18:21:35 2011 -0700

    altosui: Add a few simple unit conversions
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b83d8eca433ed5796835f6a09271f50c7f27cc81
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 22 17:18:02 2011 -0700

    doc: Add Installation Recommendations chapter
    
    Document installation suggestions, including mounting, RFI, antenna
    issues and ground testing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a0f62b8569c5535a2598cfb6ab52db79f0a52f92
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 22 17:17:43 2011 -0700

    doc: Add note about telemetry disable mode to 1.0 release notes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 393d231b9689cd1c358600ee76e0e808f89670c8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 21 22:52:45 2011 -0700

    altosui: Attempt to make both 32- and 64-bit windows DLLs
    
    We'll see if they work...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d5bd40847b17c32405dfba864a2a5a3b19aa7e85
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 21 22:12:53 2011 -0700

    altosui/windows: Fix a bunch of windows compiler warnings.
    
    Some of these may have actually been serious -- a write length was
    getting stored in a signed char...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2353d83be15b398754c2564f95374c6ea0f8de92
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 21 22:12:04 2011 -0700

    altos-fat/windows: Check and install Java 1.6 as needed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a08826292ebd802a1ff2effccac3b96fd061c47d
Merge: 3366cfe6 55be3db2
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 22 16:08:55 2011 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 55be3db2e31fe97e7f351e3c490b8bc4cf7192b2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 21 19:18:54 2011 -0700

    altosui: Clean up command line processing. Add --graph
    
    Make the command line processing a bit less ad-hoc, track 'mode' of
    processing and deal with all files on the command line.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6823ad5e48fc0a19791d96f886b5689f88c4311b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 18 18:02:02 2011 -0700

    altos/altosui: Add ability to disable telemetry/rdf completely
    
    This turns off the telemetry system so that it never transmits telemetry
    or RDF tones. In idle mode, it will still accept packet mode connections.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a08e7ac8bd3840b699c9a1ffc6b1e115b2b84bad
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 20 11:35:55 2011 -0700

    Bump version to 0.9.7
    
    Bdale is flying 0.9.6 at chili blaster, make sure later firmware gets
    a later version number.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2b0900f8b83fcb3085f3d042ffd961ffd758d5d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 20 11:28:53 2011 -0700

    altos: Merge common config code in ao_config.c
    
    This shuffles code around in ao_config.c to share some common code
    segments for starting and committing config changes.
    
    This also stops printing out changes as they are made which aren't
    needed by the UI code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 67f28c58db0deca8f8050d33e97ad96017f4baaa
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 20 11:19:57 2011 -0700

    altosui: Disable 'max flight log' config when there are stored flights
    
    When flights are stored in flash, the maximum flight log value cannot
    be changed as the flight data might need to be moved around in
    memory. Check for this case by looking for stored flights and
    disabling the combo box when storage is not empty.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fcff63baf8fde1174571a2c7c860099e19dbf629
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 20 10:43:28 2011 -0700

    altosui: remove debug printf in pad pane
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3366cfe6145f64cdb04654854d5390c671a288e3
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Aug 20 09:28:04 2011 -0600

    update changelogs for Debian build

commit 787e4305a05e344c018abb872f788749203690d7
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Aug 20 09:24:29 2011 -0600

    update changelogs for Debian build

commit 605627d03eeb9f34026a84134992ad061b5b3946
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 19 22:47:50 2011 -0600

    update changelogs for Debian build

commit 048b3eb45169e572f33c68ff152b89db9ef97d31
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 14 21:11:41 2011 -0700

    altosui: Add 'On-board Data Logging' indicator to pad tab
    
    This shows whether the on-board data memory is full, or is ready to
    record the flight. This is indicated in the telemetry stream by a
    flight number of '0'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit adb7d345963ab9981c49c7cc68c6b4d7156dce46
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 14 21:09:42 2011 -0700

    altosui: Ancient log files used 'apogee' for 'coast' state
    
    2009-07-18-serial-004-flight-000 says 'apogee' for the apogee-detect
    phase of the flight; map this to coast so that this flight replays
    correctly (although the log terminates at apogee...)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4f64d66295a8f76680af8cfda4650aa4c4f8576d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 14 19:19:50 2011 -0700

    altos: Lost change that reported flight 0 when log memory was full
    
    commit 52ac83fedbfd380d14d4df2e79992bbdfba3552a added coded to check
    for a full flight log and complain with a special tone.
    
    It also reported flight 0 over telemetry, and that part of the patch
    got lost when moving to the new telemetry format. This patch
    resurrects that piece.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ef7f60df841f1eb22b9cec0d7f68cf2c003d6b30
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 14 00:00:54 2011 -0700

    altosui: Respect storage limits in flight log max config
    
    Compute the maximum flight log using the data returned from the 'f'
    command (total storage and erase block size). Limit menu to choices
    which fall within this limit, complain if the user asks for too big a value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 746d6a472a20243a8c0eacc8edf8e81e0641bc17
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 14 00:00:07 2011 -0700

    altosui: don't set channel when using radio setting
    
    altos now sets the radio back to channel 0 when the radio setting is
    changed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 709485f20fb039f8dd087c8491c5f5a76718ae53
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 23:58:03 2011 -0700

    altos: use raw height while waiting for landing
    
    This avoids any noise introduced by the kalman filter, making landing
    detection much more reliable. This patch also changes the interval to
    10s so that the height bounds can be increased to 4m.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa71c2cdcb417eba2a2d30792ece9a47b8b3fc82
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 23:56:55 2011 -0700

    altos: Reset radio channel to zero when using radio setting
    
    Otherwise, it's hard to set the frequency over the radio link.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f74761051f2a5ab45b82c4dd79a8569376bbe2e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 23:56:06 2011 -0700

    altos: Correct AO_CONFIG_MINOR from 6 to 7
    
    Forgot to bump this when adding radio setting.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 924d56a4d2d8b16530cd378b18cfc5d6e08420ed
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 21:10:15 2011 -0700

    altos: AltosSerial.flush_input shouldn't discard Interrupted exceptions
    
    The eeprom download code wants to interrupt serial communication so
    that it can stop downloading stuff in the middle of a run. Make
    flush_input pass the exception along instead of discarding it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dcd15032eec45f3fdd003050710ebd5b85052662
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 21:09:19 2011 -0700

    altosui: Eliminate inter-chunk flush_input calls
    
    Once the serial line is nicely synchronized, we don't need to flush
    input between chunks. This speeds up eeprom downloading quite a bit.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3ba7b6196f68078f4ed4538c4e7fe30699dfe908
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 21:05:46 2011 -0700

    altosui: Devices with log-format can also delete flights
    
    Any device with either flight-log-max or log-format can delete flights.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 03e201e1acc8742399054e4ad36b533120ea1612
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 18:39:35 2011 -0700

    altosui: Add support for TeleScience eeprom download
    
    Using the existing eeprom methods, fetch and save TeleScience eeprom
    data, storing to a filename generated from the serial/flight from the
    TM connected to the TS board.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5a3e96bef31959a287b8696778d7d8cf911a7dc4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 18:36:18 2011 -0700

    altosui: Clean up eeprom parsing a bit
    
    Export basic parsing and checksum functions for shared use.
    Create 'erased' function to check a chunk of eeprom data for data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b0ec30de37aa822ba66d25ceaa8cf8dc967b4371
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 18:31:08 2011 -0700

    altos: wait 10s for companion to boot
    
    In case the companion is delayed while booting, retry the setup 10
    times with a 1s delay between tries.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 41e5be32819d305c8268e6f992be91411ea13435
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 18:30:00 2011 -0700

    altos: Send serial/flight to companion board
    
    Lets the companion log them for later matching with TeleMetrum log
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fa7dd04741bf3fd9cedc59ed3b45b69ef9312609
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 12 21:41:25 2011 -0700

    altos: Send SPI message at flight state changes
    
    Get the companion board starting its data logging as soon as possible
    after boost starts.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c7f540330c040c521f9d7626009a406e704a5e41
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 12 14:58:34 2011 -0700

    altosui: Add companion support to the flight UI and CSV conversion
    
    Shows the companion data in a new tab. Also put companion data into
    CSV file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 18369c58e62bc64b969a7cf8be3103aa33c6d4aa
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 12 06:29:13 2011 -0700

    altos: Check for companion init packet validity was busted
    
    Was using board_id == ~board_id instead of board_id ==
    ~board_id_inverse.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa642cf55c43188e9a21198d828d7ea90ff54280
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 12 05:42:05 2011 -0700

    altos: add the 'L' command to show the status of a linked companion board
    
    This prints out whether there is a board connected, along with the
    various values fetched from it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f87f0787fa5aa528674f3f4919eb22646c87c25a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 12 05:41:15 2011 -0700

    altos: Make sure companion task exits cleanly when done
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ebe2ffb29944abc4d6a35889c7b5f3d9f2871077
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 12 05:38:16 2011 -0700

    altos: Put SPI in slower mode when talking to companion board
    
    The AVR CPU on the other side just can't go very fast. This reduces
    the SPI clock by a factor of 16, just under 200kHz. As the companion
    commands are reasonably short, this shouldn't have a huge effect on
    overall SPI utilization.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 30abbdc7ffcfc809b4a3fc31486fe968161ea225
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 9 16:59:16 2011 -0700

    altos: Add SPI-based companion board support
    
    This sends current flight state information and retrieves companion
    data to include in telemetry.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 578c4b17b8f62f2727654ebda78ee139f9fe13fa
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 18:38:38 2011 -0700

    altos: Don't try to use non-basestations for remote eeprom download
    
    Companion boards may also have eeprom data to fetch; don't try to use
    them as a radio.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bf06af154e232d4caa1585a1d6d5279a075292e4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 12 21:43:56 2011 -0700

    altos/altosui: Report log format in the version command
    
    This will make it easier to figure out what the contents of the flash
    should look like from altosui; the current 'guessing' mechanism will
    not scale to many more formats.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c2f2f519dbc8ce233ab36222088c1be6b1362f01
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 18:28:38 2011 -0700

    altos: re-write a bit of GPS parsing code to reduce size
    
    Use a local variable while computing hdop.
    Place the next incoming character in data instead of pdata.
    
    Saved a surprising amount of memory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7bcf25606cd5892d58295649f3d475d284494ee8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 12 05:26:09 2011 -0700

    altos: shrink text space from ao_config.c
    
    Eliminate redundant config initializers by setting minor to zero and
    letting upgrade code handle all of the new values.
    
    Stop computing (fake) frequency when showing radio channel
    Stop computing feet when showing main deploy height
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 313d740b5284b24f1cc7a1ba5779136b55d49ebe
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 18:33:07 2011 -0700

    libaltos: Mis-allocated device list in libaltos
    
    Would overrun mis-allocated array, causing chaos.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3b87dd6f46922cf5f98deb2dffa2148c4244e48e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 13 15:00:14 2011 -0700

    ao-tools: ao-list was crashing with more than 3 devices connected
    
    the list of devices was getting realloced for each new device, but
    that realloc was too small.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 640422c028a2be898aa3a9048a0f6fad2e43dd8d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 11 16:11:34 2011 -0700

    altos: remove monitor disable stubs from altimeter code
    
    Monitor mode in the ground-station boards must be disabled when the
    radio is going to be used for another purpose, or the radio parameters
    changed. That places monitor-mode disable calls in other parts of the
    system which are shared with the altimeter code.
    
    Elide the ao_set_monitor calls for builds which do not include any
    monitoring code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1d13460412046c53f36466193329caaa657bb278
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 11 15:59:47 2011 -0700

    altos: Apply igniter boot pulse-width reduction to telemini
    
    TeleMini needs the same fix as TeleMetrum to reduce startup igniter
    pulses.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b520c32bcddabd42c07ceafa827694a3ae23a76f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 11 15:57:58 2011 -0700

    altos: Pull igniter pins low as soon as possible at boot time
    
    This reduces the pulse width on the igniter circuit caused by the
    default cc1111 pin configuration at powerup time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 566b16e67be38c6425e616a5c38d641c4e1a9b12
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 10 22:43:26 2011 -0700

    doc: Add 1.0 release notes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a07b07d48f71b9a11e73a82db075cc57bad0c09f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 10 22:14:32 2011 -0700

    doc: Add release notes, include them in altusmetrum doc. Shuffle altusmetrum
    
    This adds release notes and includes them in the main altusmetrum doc
    as well as making stand-alone html available for inclusion in the website.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5aa3e49f794ba5ed2680016f3dca47d67ae99836
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 10 18:32:05 2011 -0700

    doc: Add telemetry docs to debian/linux/mac/windows packages
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7283deaa91e752acc45018ef2ea2f560b09af354
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 10 18:22:16 2011 -0700

    doc: Describe 'stats' tab in Graph UI, 'Graph Flight' button.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 21837e0026c87635abf4baf2c6c574a7b274f449
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 10 18:14:10 2011 -0700

    doc: Document Ignite Mode and Pad Orientation configuration options
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 967c9d5ee691f87bf0d1e49ba055eb366e513e6a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 10 17:43:58 2011 -0700

    doc: Update altusmetrum.xsl for v1.0 software and TeleMini
    
    Add TeleMini references and sections as appropriate, update AltosUI
    docs to describe new bits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit be65308182363ca87db69db530297933324f3806
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 10 16:01:25 2011 -0700

    Bump version to 0.9.6.0
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9f5623c8c32a38eaeb63fa74ab370025ac015d52
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 10 15:00:44 2011 -0700

    altosui: Move launch-sites.txt file to altusmetrum.org
    
    The official URL is now:
    
            http://www.altusmetrum.org/AltOS/launch-sites.txt
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4962bcf1ce15c21a946ea718bd676b901f0f2bd0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 10 14:35:21 2011 -0700

    altosui: Plot reasonable data from Tm files
    
    Don't plot acceleration based on baro data.
    Display baro speed if accel speed isn't available.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 01b9352eb8ca0e4e2d023ce973c4e863cdcc0c51
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 10 14:34:39 2011 -0700

    altosui: Prune telemetry file graphs to just the flight
    
    Remove data earlier than 1 second before boost and data after landing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9e1487b1a5db0afd1d23c86d82c60b1c1a62aab0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 10 14:08:21 2011 -0700

    altosui: Add a 'Graph Flight' button to the 'landed'  tab
    
    This lets you see the results of a flight as soon as the rocket lands
    using the telemetry data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6ac604d11de44cd824f09e4b467264a2b74be7bd
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 10 13:35:26 2011 -0700

    Altosui: Add flight statistics tab to graph window
    
    Provide basic flight stats alongside the flight graph.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 94d9a2c36fabdf24d6a0b985851e95e4eb181fd9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 9 18:28:19 2011 -0700

    altosui: Ship TeleMini v1.0 firmware with fat blobs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a680ce61bdcffeacb7f0e4dcef71a03cb7cfe07d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 9 18:27:19 2011 -0700

    altosui: Ensure serial code tracks reply nesting correctly
    
    Trap any exceptional return conditions from 'get_reply' to make sure
    in_reply gets decremented.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 12bfa6cc42e3689f09abae2bd2584cbacf2aa2e0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 9 18:26:07 2011 -0700

    altosui: Don't export product defs from libaltos
    
    As we add new products, that would change the ABI generated for java,
    invaliding old library versions sitting around for windows and mac.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 81ad44d4b6d9ad2f6b91d0906e8543da82da424f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 9 14:26:43 2011 -0700

    altos: Switch telemini from v0.1 to v1.0
    
    TeleMini production boards are firmware compatible with the v0.1
    design, so instead of creating another product, just rename the
    existing one.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f3985ef8bc69bcec13ce155567a8ed7c5c6051cb
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 20:41:34 2011 -0700

    altosui: Add close button to 'fire' dialog
    
    Easier to hit than the tiny close box in the frame.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cbf54a826d12c49b1b1996be247869d5ff4e2236
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 20:38:44 2011 -0700

    altosui: Make set of telemetries to use while scanning configurable
    
    with a preference to remember across application runs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7146311d9df541e075b4450cf9656a9aa7ffdd93
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 20:38:14 2011 -0700

    altosui: Reading serial from swing thread only bad if remote
    
    Make the warning on this condition based on whether the link is remote.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2662c577a895c96fce7b2bf815b9e752d2dfbde6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 18:53:59 2011 -0700

    altosui: Remove unused AltosConfigData from AltosTelemetryReader
    
    Now that AltosSerial manages this data, it's not needed here.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 13eacb49de4312509c3a729a31dcda4d601f8a8b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 18:53:27 2011 -0700

    altosui: Flush radio setting to serial device
    
    When changing frequencies, make sure the device hears about it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97cf285d041062ae473c2823438b81c8fffe7f67
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 18:53:03 2011 -0700

    altosui: Remove debugging printfs from AltosSerial
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 364102d29ff4de0c252774f26417587fa88b7467
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 18:52:11 2011 -0700

    altosui: Show AltosFrequency in scan results
    
    Include frequency and description instead of just frequency.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d4cc16e111229b02d1081e2693ace0b33f662498
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 18:51:16 2011 -0700

    altosui: Save frequency after setting it in AltosFlightUI
    
    Otherwise we'll just save the old frequency.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 81bb6f42d8b859195ea5a35806c42d98ba82e8e1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 18:49:45 2011 -0700

    altosui: Have single radio_to_frequency function
    
    This takes all three radio params (setting, cal, channel) and computes
    the current frequency.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c8c01684fa011acf3bbe5c3ebbc84aa8e8457a5e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 18:47:36 2011 -0700

    altosui: A few misc cleanups.
    
    Initialize radio_setting as it won't be set for older devices ever.
    Remove unused set_radio_frequency function from AltosConfigUI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd383b86b9a13d7af2d6b07f4fb85ccc666ed898
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 18:45:36 2011 -0700

    altosui: Must set radio calibration before radio setting
    
    Setting the radio calibration erases any previous radio setting as
    the radio calibration change invalidates any previously computed radio
    setting for a specific frequency.
    
    Hence, the radio setting must be configured *after* the radio
    calibration value lest it be ignored.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 40544dbfe09c64f7764a5f0686415805611fab25
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 17:46:04 2011 -0700

    altos: minor type in comment about accel correction
    
    Kurt Roeckx found a typo in the equations describing how the
    accelerometer is corrected by the 5V reference measurement.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a315b200cd0da1a964f5395cd59660be1b49672b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 12:31:48 2011 -0700

    altosui: Pull out BlueTooth support
    
    This leaves the code in place, but commented out so that it isn't used
    until we've got a bluetooth device ready for use.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a65daf94e8fe3e22f770ef76d9104c3dd11d0330
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 12:25:30 2011 -0700

    altosui: altimeter is not spelled altimter
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 84ba927f503f81543dec286c4881be30bb5e60c5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 02:05:28 2011 -0700

    Set version to 0.9.5.0
    
    Make the frequency-based systems distinct
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0e3e4f9c1e6a6bf972514f12c9d622258aa2aec2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 01:47:29 2011 -0700

    altosui: Convert from channels to frequencies
    
    Major areas:
    
     * Preferences are stored as frequencies instead
       of channels
    
     * Serial configuration is done using frequencies
    
     * UI is presented with frequency lists
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f03ca0ab8799bfa5100eaa2577cfd7b9c37d05bf
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 7 14:52:29 2011 -0700

    altosui: Add dialogs to configure 'common' frequencies
    
    These are stored in preferences, but not yet hooked up to the TM/TD
    configure dialogs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ba5dc35388d28c5769eaabc970c4d4b8c2c2ff9c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Aug 3 23:07:53 2011 -0700

    altos: Add ability to set arbitrary radio frequency
    
    This adds a separate config parameter to control the raw radio
    frequency setting, allowing the user to select an arbitrary frequency
    instead of being forced to choose one of the 10 pre-defined 'channels'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e1e5c9b3e24670e9f58c6f7389eafb3338efdb40
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 12:08:45 2011 -0700

    altos: Remove pad_orientation functions from non-accel devices
    
    Anything without an accelerometer can't detect pad orientation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7207a95823dc2a27906759528dd88256cb20679f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 12:04:00 2011 -0700

    altosui: Change button to 'Configure Altimeter'
    
    Now that we've got more than one model.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 30670732ca3f5a34025ab4bc4c69afa45637b4d6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 8 11:58:23 2011 -0700

    altos: Correct flight log max on Tm to 5k
    
    Was using the wrong #define name to check for Tm/Tn devices that use
    internal flash for data storage.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a67c16958df8e60b131b01e00fd5bca590af0e7d
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 8 09:38:53 2011 -0600

    update changelogs for Debian build

commit 4a507898d6de631bb2e8ed4aa3e0933d97222323
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 8 09:34:59 2011 -0600

    rewind changelog for re-build of 0.9.4.5

commit 5082b4998b8a9787e0e2f4d96d912e434aa9b81a
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 8 09:31:18 2011 -0600

    clean up all existing lintian warnings

commit f26c7172a1b2b5344fae6ede562f2da7a56b80e3
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 8 07:54:14 2011 -0600

    build depend on bluetooth dev package

commit 3cad81b0ebb52352c66643a2587e94a2b693a2d2
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 8 07:38:48 2011 -0600

    stop doing automatic tag push during builds

commit ebaad64525119c0fdacf382adc2c99e5df5be23f
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 8 07:37:23 2011 -0600

    update changelogs for Debian build

commit 6f9f75cbfccf975204ab847ca0e9cf86188716c6
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 8 07:35:47 2011 -0600

    update changelogs for Debian build

commit 7c94945690a6ff5cbf872026fd6411a30089c7b1
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 8 07:33:09 2011 -0600

    simplify version in last changelog entry so git-dch is less confused

commit 6d5e5b0be237d5448aa9d15decd6127cf41ca7b2
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 8 07:30:42 2011 -0600

    update version for a Bdale build for use turning on TeleMini v1.0

commit 6492218fc316f8cf6214a577807a8dd0a80a9b6a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 19:07:56 2011 -0700

    altos/altosui: Add pad orientation configure option
    
    Allow TeleMetrum to be operated with the antenna pointing downwards on
    the pad. This provides some additional flexibility when designing an
    ebay.
    
    The accelerometer calibration levels are flipped around to match, so
    no re-calibration should be required.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 11a2bb8e28df7ed87542f2ee726f877971f5d52a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 17:41:53 2011 -0700

    altosui: Add idle monitor dialog
    
    This monitors a telemetrum device in idle mode, either directly or through a
    teledongle, allowing the GPS status and batteries to be monitored
    without resorting to placing the device in pad mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3cc2eed6cdafe788a8617ab45c6664077e76411e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 18:01:52 2011 -0700

    altosui: Simple timeouts don't work with query data
    
    To get the query to come back, it's best to abort and retry the
    command, other wise the command may have been lost to the previous
    connection.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 37c41c962ea4631e62307a57d2ce6572b87fd743
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 17:41:02 2011 -0700

    altosui: Parse accel cal from 'c s' command
    
    These fields weren't used before, so the code to parse them hadn't
    been written.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 95201e7fe4a6a7ec42321e8dbad3aea3bbf4c840
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 17:40:02 2011 -0700

    altosui: Standard text field in flight UI needs more width (now 20)
    
    Latitude and longitude take more than 16 characters.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 82e04a0e3a3296288a524ec582785a36fd644331
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 02:09:23 2011 -0700

    altos: Require sequencing through 'main' state before landing
    
    The old version of the code would permit the flight to go straight
    from 'drogue' to 'landed' without passing through 'main' at all. This
    meant that a false landing detection would leave the main charge
    unfired, potentially causing the airframe to land on drogue alone.
    
    Requiring that the flight sequence pass through main ensures that the
    main charge will get fired at the right time, although if the airframe
    lands higher than that altitude, it will not go to 'landed' mode ever.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6c55bf35b11ae3ddae152795072d69e98184bac1
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 2 01:49:35 2011 -0700

    altos: Reduce height averaging filter time constant
    
    Using the longer time constant could lead to false landing detection
    just after apogee, which is definitely not a good idea.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e19a117b99e8374ca0e8e35948e23bc672ad1a32
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 1 22:33:38 2011 -0700

    altos: Average height values for landing detection
    
    Instead of using the direct output of the kalman filter and hoping
    that is quiet enough to detect landing, filter that with a long
    exponential decay filter and then check to make sure that doesn't
    change more than 2m in 5 seconds as a trigger for landing detection.
    
    Tested with existing telemetrum flight logs and it correctly detects
    landing in all cases.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 146a0ab223e8d9b376125d1e59f597f6d7851a9b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 17 18:49:55 2011 -0700

    altos: Add ability to read new TELEM files to ao_flight_test
    
    Not that telem files are currently very useful as the kalman filter
    gets completly confused by the variable steps caused by missing data, but...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6795d353be91df96a571cebc237e6a54a065a380
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 17 16:44:10 2011 -0700

    altosui: Change continutity colors to yellow/magenta
    
    Makes them stand apart from the accel/speed lines
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f6cce5749724dbb836aaa27bbeedf977106f6f3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 17 16:43:41 2011 -0700

    Add HARA Bragg Farms site
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6796d9e253a808824ba32cdb008da8bf302780fc
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 17 15:53:13 2011 -0700

    Fix NCR Pawnee location
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ddef3e4ec1b3ff86b164f83807c34c2a78f73eb8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 17 15:45:07 2011 -0700

    altosui: Mark preload site location with red circles (like launch)
    
    Just to show where on the map the official launch location is.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1f3f3d575572eff33a2bc7a53d4691e59a428450
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 17 15:09:55 2011 -0700

    altosui: Add a bunch more site locations
    
    BALLS, Rio Rancho, METRA, QRS Cedar Grove and Hudson Ranch
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fef42e0d9e0a20bdbd32e052749fc63575515e1c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 17 11:29:13 2011 -0700

    altosui: Add launch-sites.txt
    
    Contains a few of our favorites.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 81cac174c80ee42d9e94c6500da7c4c760c3ce67
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 17 11:25:47 2011 -0700

    altosui: Download list of site locations for map preloading
    
    The current URL for this is:
    http://gag.com/~keithp/launch-sites.txt
    
    The format is:
    <site-name>:<lat>:<lon>
    
    lat and lon are both in signed decimal degrees.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f7cd8317bf78ece334e1ceb0263b875ca43bbbd2
Merge: 51796e2f a482d904
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 17 08:17:44 2011 -0700

    Merge branch 'preload-maps'

commit 51796e2f1ebce3ee8dc1ac90648381410c1379ee
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 23 11:32:29 2011 -0700

    altos, altosui: Add igniter mode (dual, apogee, main)
    
    This provides for redundant charges for either apogee or main.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1332ed55192f22525f31574f60fae4c6579e6f7f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 17 08:13:15 2011 -0700

    Set version to 0.9.4.4
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a482d904a3f391c3a24df3660acb3f3696aa6766
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sat Jul 16 23:08:49 2011 -0700

    altosui: Make sure degree and minute values are visible (map preload)
    
    Set min size to preferred size so that the value remains visible
    instead of snapping to 0 pixels wide.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1681c57cbbfc5214dbc2a519e54ce9f29ffe3921
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 16 22:43:34 2011 -0700

    altosui: Remove a bunch of sitemap debugging printfs
    
    Seems to work, let's get less chatty
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0a4d934f6e2914bfe2d965630543f029a1576c11
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 16 22:34:44 2011 -0700

    altosui: Display full map preload area in view.
    
    This involved fixing the map view to support arbitrary sizes, and then
    exposing a synchronous tile loading API so that the progress bar could
    be used to show tile loading progress.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit abb8510b97ce9cbbff0275cc31f74780fe1ce138
Merge: 0929ee32 00e6981c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 16 21:06:37 2011 -0700

    Merge branch 'scan-telemetry' into preload-maps

commit 00e6981c2e0a668864fcf391932855cd8942140c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 16 21:05:06 2011 -0700

    altosui: Flush telemetry lines before starting to watch for scan results
    
    This prevents pending telemetry lines from being incorrectly
    attributed to the wrong channel/telemetry.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0929ee32f753255cbe1474988cb41a5a86d29a0e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 16 17:37:20 2011 -0700

    altosui: Try to avoid resize weirdness with map preloading
    
    grid bag + box does some strange stuff, this appears to avoid the
    worst of the interactions.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 225073fd822f9861a83d65386c29fda9b37bf273
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 16 16:37:40 2011 -0700

    altosui: Add map preloading GUI
    
    Provide a way to manually enter latitude and longitude, preview the
    map area while downloading a 9x9 grid of map tiles to be used when
    monitoring flights without network access.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cbd14ba103ee5e3c5eec18e3a4ff13c320b98634
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 16 20:44:51 2011 -0700

    altosui: Set 'seen' bits in legacy telemetry packet reader
    
    Otherwise, the 'scan' code won't show detected flight computers.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e905042879147dd86241bf2dcc7437e5a6eb7578
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 16 20:43:57 2011 -0700

    altosui: Initialize channel and telemetry before use in ScanUI
    
    Otherwise we try to use telemetry format 0, which means 'no telemetry'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 941b90a4905e34936d24a25ca90ac04eb6f5a792
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 16 17:38:00 2011 -0700

    altosui: Generalize and centralize telemetry constants, parse v0.8 telemetry
    
    Move telemetry constants to Altos class, adding functions to compute
    names and lengths. Generalize users of these values to use all of the
    known values.
    
    Add support for v0.8 TeleMetrum telemetry
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ef786276b5d5c7d17c3fe4f36aa41db61a9742f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 16 14:23:08 2011 -0700

    altosui: Finish radio scanning UI
    
    Scans all channels and telemetry formats, presenting visible devices
    in a list. Entries from the list may be selected, in which case a
    monitor window pops up with the appropriate configuration.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ebcba28b3c09925869b617880d2919e5d0e059f0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 16 14:19:41 2011 -0700

    altosui: Configuration telemetry record includes flight number
    
    Mark the reported altos record as including flight information.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d4375bc737655546c2d40f49acdfc2e60ebfea5a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 16 14:19:14 2011 -0700

    altosui: Remove debugging printf from AltosLog
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f32a55ac9a3ebbde2b41782f22491e72258fe05a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 9 19:00:12 2011 -0700

    altosui: Pop up monitor window from scan dialog
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8c20030ea4eb8e068e1ba88e01d07dfbc27bd7db
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 9 18:41:15 2011 -0700

    altosui: Start adding support for scanning radio for available devices
    
    This is untested.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7bb11b716ccb6c80701bc3f34ecf9bef97cbbfc9
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 15 18:53:41 2011 -0700

    Set version to 0.9.4.3 for Bdale 2011-7-16 flights
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0d0cf6f9a1b14a1b66aee3845964cd33d1f035c2
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 9 13:09:57 2011 -0700

    altos: new versions of sdcc require __ prefixes for custom keywords
    
    Fortunately, 2.9.1 appears to accept either, so we can switch now and
    prepare for sdcc 3.0.0.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8f80f5705d64469bcfb00ff11aee68364edb271b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 21:38:57 2011 -0700

    altosui: Don't show missing igniter and gps values
    
    The new telemetry stuff leaves state.gps always set (but empty), which
    seems fine, we just need to look at state.gps.connected to see if
    there's a GPS receiver on board.
    
    For TeleNano, we also want to hide the igniter status fields as they
    won't have any data present.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 80ca066a825646f833ca609190c76c5252118d9a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 21:36:38 2011 -0700

    altosui: Build device constants into .java code
    
    This eliminates a depedency on updates to the system helper library,
    which means we don't have to provide a new library on all platforms
    just to support a new USB id.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 504ab7ab355652d5d01094c927089029596a0753
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 17:49:01 2011 -0700

    altos: product defines are always in ao_product.h
    
    When all products were built in a single directory, each one had a
    separate version of ao_product.h. Now that they all reside in
    sub-directories, each directory has its own ao_product.h
    
    This change is needed so that other modules in the system can use the
    product defines; otherwise, ao_product.h was not built at the right time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 81cf2e833bedbc1ace8fd310e9e94bfb7673d428
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 16:43:17 2011 -0700

    altos: Ensure low-rate telem packets interleave with sensor telem packets
    
    To avoid over-committing the radio link, we want to send only
    one low rate packet after each sensor packet. However, the
    initializations for this were incorrect, causing the configuration and
    location packets to be sent at the same time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5ca6400fd8a360b64d8f96f50d5595a7fd17762d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 16:18:54 2011 -0700

    altos: Remove ao_telemetry_orig.c and ao_telemetry_tiny.c
    
    All products use the common ao_telemetry.c code now
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0154d13756bcb09f009981ee5e4bd27fd04b8788
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 16:19:22 2011 -0700

    altos: Switch Tm and Tn to common telemetry code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b65140a0139075adeddaccf0f4d5c7a75fac4757
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:52:25 2011 -0700

    altos: Switch flash drivers __xdata to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 038d7b25ba833da4be458409670d3f95e8aaf17b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:51:52 2011 -0700

    altos: Switch ao_flight and ao_flight_nano __xdata to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3742b36a528f114c3b1873caa4f39581145b76da
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:28:01 2011 -0700

    altos: Switch ao_dbg.c __xdata to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6903b6464db7eb803de8bf9b897c45431f7a1d63
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:27:32 2011 -0700

    altos: Switch ao_config.c __xdata to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6893752900385ee51cc4cf75e1b672202de7578a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:26:09 2011 -0700

    altos: switch ao_cmd __xdata to __pdata
    
    Saves code space
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2ec986f08ce8d4635f4435bb0042b405d93edc40
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:45:04 2011 -0700

    altos: Switch const for __code in struct ao_cmds
    
    This saves quite a bit of code space when accessing these values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 355db71f4511adff8abcb2caded61c12fe8b7ee9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:41:32 2011 -0700

    altos: Switch ao_usb.c __xdata to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 359baab005c274a0841268c615c23b3ffef813cf
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:41:06 2011 -0700

    altos: Switch ao_telemetry.c __xdata to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f2f8ade6994aa3a69fd08f19c4403ceb8cea295d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:39:44 2011 -0700

    altos: Switch ao_stdio.c __data to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9ba0da9247ea424a7a147aa85daae0d5e6316b81
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:38:46 2011 -0700

    altos: Switch ao_serial.c __xdata to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 86b41d4c2b8a9fa4507cdb75302e0cedebb103cb
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:38:29 2011 -0700

    altos: Switch ao_sample.c __xdata to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 803bf106caf5d6b5ac12eb00a941647c7325edd1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:37:34 2011 -0700

    altos: Switch ao_rssi.c __xdata to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 002f167fc2709aaf1a4984aaa0a3519a97749d5f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:37:15 2011 -0700

    altos: Switch ao_report.c __xdata to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5203ddaac692bfd82a01368da9fb66c25e9e14c1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:36:45 2011 -0700

    altos: Switch ao_log.c and ao_log_big.c __xdata to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 62267144d189967fcd0724b6dfbdbab3cb6fb414
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:33:52 2011 -0700

    altos: Switch ao_ignite and ao_gps_sirf __xdata to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 92047ff86c79c2b18ef565a4560b06fe00d6f159
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 15:31:53 2011 -0700

    altos: Switch ao_gps_skytraq and ao_gps_sirf __xdata to __pdata
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 64860be02b3efa6f784a259249cfa6d14545fbd3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 13:49:05 2011 -0700

    altos: Shrink ao_add_task by rolling up a memset loop
    
    This has a dramatic effect. By pulling the 'stack' variable into
    registers it reduces the size of this function from 550 to 231 bytes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 480b48837db31987b947e4d32248965d4a16be03
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 13:21:25 2011 -0700

    altos: Shrink ao_config_callsign_set
    
    Replacing a hand-coded memset with a function call, using static space
    instead of stack space for an array.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 41c230cac359b4459ca93196d08704b7d35447c7
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 6 12:38:11 2011 -0700

    altos: Shrink ao_cmd_put16, ao_cmd_hex and ao_cmd
    
    No functional changes, just reduces code size.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 481577a29380afe6750ef7c4e928daff837cbc49
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 5 23:38:42 2011 -0700

    altosui: Compress telemetry records marked with the same time
    
    Split telemetry transmits multiple packets with the same
    timestamp. Merge those into a single record when read from a file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7cfd43663cde5ebdf04e4face076d79ff6329ac3
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 5 23:38:28 2011 -0700

    altosui: Remove debug printf.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d0335f83c54df0b23c28d04d34c212a1bdffadd0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 5 23:37:51 2011 -0700

    altosui: Add main/drogue voltages to default graph
    
    Until we get a UI for changing the graph elements, lets add a few more
    potentially useful values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c1f859170b37864b816eb561318dbfb1cafaeed6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 5 23:37:00 2011 -0700

    altosui: Elide missing values from graphs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 72575dcb9cfbb5c1ccdb3510b9962a6f60ca3fa3
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 5 23:35:50 2011 -0700

    altosui: Elide nul bytes at end of telemetry string values
    
    All telemetry fields are fixed length, so any embedded strings are
    padded with nul bytes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6ac34f9c8efd464194137ac4ce8228bf9d7d83be
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 5 23:35:02 2011 -0700

    doc: Add section about TeleDongle USB line format
    
    Describe the format of the TELEM lines sent over USB from TeleDongle
    to the host.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit edf6252450e06fd42fa6dde3acd127baa8fa6d36
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 5 21:44:53 2011 -0700

    altos: Adapt to changes in telemetry Configuration packet
    
    Apogee delay added. flight_log_max changed to two bytes (in kB now).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 938949e39aac834a1c0912f8f307f74fe41418cc
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 5 21:42:22 2011 -0700

    doc: Chang Config and Location packets
    
    Config packets get apogee delay, and have flight_log_max shrunk to two
    bytes.
    
    Location packets get climb_rate added.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4132ac5896114e5f3d8fb3f219422e8933078cf4
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 5 21:41:44 2011 -0700

    altosui: Parse remaining standard telemetry packets
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ef3ce687d73c1274ce5368432f4d449b063ce5c0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 4 23:39:21 2011 -0700

    altos: Complete new telemetry switchover
    
    This involved rewriting the GPS code to use the telemetry structures
    directly so that a memcpy could be used to transfer the data to the
    telemetry packets, saving a bunch of code space, along with fixing up
    the gps testing programs to deal with the structure changes.
    
    In addition, the teledongle code needed to have the monitoring code
    split into separate radio receiver and USB writer threads as the
    packets are now back-to-back, and hence come too fast to wait for the
    USB data to be sent to the host after each one.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 359681f23e2f71bc8f4975a4a76ae28c08ecab2e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 4 18:09:03 2011 -0700

    altos: Add split telemetry code
    
    This sends every packet every time, which isn't correct, but should be
    useful for testing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b51e5466f7a125db873edd1fa9bd3881d7e98aad
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 4 18:08:19 2011 -0700

    altos: Shrink help text
    
    Reduce const space taken by command help text.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9e5e4c1ad82d621ceb7286f72c87eeaf5976f9bf
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 4 18:06:48 2011 -0700

    altos: Add sat info to GPS report command
    
    Plan to use this to report current flight computer state in idle mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 06b6f78e22be38a26bfe11ed4d4b659d5b13f00c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 4 18:04:49 2011 -0700

    altos: Shrink const space in ao_config
    
    Eliminate separate 'cmd' and 'help' struct entries.
    Use \0 trick in cmd strings to eliminate whitespace.
    Edit help text.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d3c26e534d8df34cfbf29b70cd1b2692493ce150
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 4 18:03:51 2011 -0700

    altos: teledongle does not need ao_packet_slave.c
    
    TeleDongle doesn't provide slave interfaces, so remove ao_packet_slave
    from the TD build
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c763a3f9cf2bf055e9705ce5ff4bc172f445037d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 4 18:02:52 2011 -0700

    Version strings must be < 8 bytes long
    
    The new telemetry packets include the version string, so make sure its
    less than 8 characters long
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a08173197d5533ecb395102ed34e751135660d06
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 4 18:01:59 2011 -0700

    doc: Fix a few minor telemetry doc mistakes
    
    Multiple 'accel' entries in the Sensor packet.
    Swap ground_accel and ground_pres to group accel cal data
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 98df3ba984acf3b47a09949bbea0f3264f711f5b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 4 14:17:55 2011 -0700

    doc: Complete initial telemetry description
    
    Finish describing the contents and modulation scheme for telemetry
    data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 06e82bd2c2a5eea153a053e542df9bc3537e9a01
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 2 01:50:33 2011 -0700

    doc: Add telemetry format description
    
    Document the telemetry packet contents.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7fd9b8f720add559b262e81d61ededc9df16ca94
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 28 01:03:00 2011 -0700

    altosui: Support raw telemetry from TeleDongle
    
    Use raw telemetry frames when TeleDongle supports them, this involves
    parsing the hex dump of the packet instead of having teledongle take
    the packet apart. Only the legacy format is working at this point; the
    altos bits for the new split telemetry frames is not written yet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cb239b7161feea8646425b1f5788c3c82ae24321
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 28 01:01:08 2011 -0700

    altos: ao_radio_recv needs byte count *including* rssi and status
    
    That's two more than the actual packet length.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 336224a08327cadc95f6e5b564a4ddc64aaad8f8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 24 08:31:51 2011 -0700

    altos: Start adding new telemetry frame definitions
    
    These use the initial 24 bytes per frame plan, which will probably get
    changed to 32 bytes per frame.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5e111fdf1f23203baeeb490ae1b69402ebd513b8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jun 24 08:31:12 2011 -0700

    altos: Add checksum to TELEM output lines
    
    Verify the received telemetry lines to protect against OS data loss
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 489a68ba8e3bc360e2e8fc887e4c4b840b5a0dd3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 22 12:27:34 2011 -0700

    altos: Add arbitrary telemetry packet monitoring
    
    This adds the ability to monitor arbitrary telemetry packets (up to
    128 bytes), moving the telemetry data parsing up to the host.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0e67b6890dd3a06665239f8dfd2e69266d055e46
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 22 12:26:45 2011 -0700

    altos: Rename telemetry to telemetry_orig
    
    This makes room to create a new multi-packet telemetry format without
    changing anything yet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dc0b49dcbaa2d0a69e002c151337b6e9fd3060d9
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 2 23:16:30 2011 -0700

    altosui: Handle old TeleDongle receiving kalman telemetry packets
    
    The telemetry packets now send the kalman height/speed/accel values
    instead of the ad-hoc values. If received by an old TeleDongle box,
    the speed value will be of the form 0x8000abcd, which will be printed
    as a 32-bit value by TeleDongle. We only want the abcd part, which is
    the speed * 16. Detect this automatically and compute the correct
    values for all three.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4d27e281f81aee88adff3d84085356ec310e4b92
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 25 21:38:02 2011 -0600

    Switch version to 0.9.4
    
    For Mayhem, so we can tell what version each board is running
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 479bdffa35d0b8d4e48868c8d20f3cb1549521ab
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 6 23:55:23 2011 -0700

    Revert "altos: Debugging TBT issues -- check pin configuration after boot"
    
    This reverts commit 514348055630edec12224c4b0964240b929759a3.
    
    Looks like this was never a problem.

commit 66bdf0e066bc0bb7a326a6c2a9c88b69e5c1be66
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 6 23:12:47 2011 -0700

    altos: clear CPU port 1 interrupt flag when handled
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8be559baa979c15e78f8dba7879b383dbe3936d3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 6 22:59:15 2011 -0700

    altos: Hook up the P1 ISR for TeleBT v0.1 bt_link line
    
    Otherwise, we're heading off into the weeds...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 23f441b95e55fbee709382b05d325bc021285766
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 6 22:49:54 2011 -0700

    altos: Initialize beeper for telebt
    
    Needed to get sounds to come out
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 514348055630edec12224c4b0964240b929759a3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 6 22:42:58 2011 -0700

    altos: Debugging TBT issues -- check pin configuration after boot
    
    Make sure the serial pins are configured as peripherals
    Make sure the ser_reset and bt_link pins are going the right direction.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 22e3ac0eb014b8255029763ae8180ad3527ba306
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 6 22:42:32 2011 -0700

    altos: Add beeper to TBT v0.1
    
    It's available, let's use it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6d858b64ee0e8c227c149d2af6d2d634536964f4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 6 22:12:31 2011 -0700

    altos: pull TBT v0.1 ser_reset line low
    
    This line resets the BT module if held low for three seconds.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3336d0f726afd1d43cf62280940e5fb91dab2e91
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 6 21:13:19 2011 -0700

    altos: Fix BT link status pin for real TBT hardware
    
    The prototype used P2_1, while the real hardware uses P1_7. Lots of
    defines to make this work...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 19bfa3882a2d95fcade256c2d63ad24f794281e5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 6 20:33:58 2011 -0700

    altos: Use USART configuration 1 with flow control for TBT
    
    It's just wired that way.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d9cc27641fe1778c098b065bf110be7823e6c9f4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 6 16:57:38 2011 -0700

    altos: Add telebt-v0.1 to Makefile
    
    Doesn't get built without it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c360e5c04e30421e9ea2f7006b7d35aef35f1edd
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri May 6 17:57:17 2011 -0600

    first cut at a telebt turn on script

commit c1760cebd47d0f03808f3204c0fcb1183f754e50
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 6 15:44:56 2011 -0700

    altos: Add preliminary telebt v0.1 defines
    
    This should make the telebt v0.1 binary that works on the real hardware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 72a03baa73698fc1213a74320e6253c2380dd8fa
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 25 23:00:42 2011 -0700

    altosui: Fix BT manage dialog so that the device lists resize
    
    This makes the device scrolling lists fill any extra space when the
    window is resized.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e3bf13a38d24e95b16df1e2f01952d10f24cda10
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 25 22:55:08 2011 -0700

    altosui: Move AltosIgniteUI device open out of Swing thread
    
    Eliminate more blocking code from the Swing thread.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 109344d54d3fa4f79342fd1ea2a3f4085475e30c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 25 22:28:40 2011 -0700

    altosui: Display reader name (usually the device) when an I/O error occurs
    
    Access the reader name directly from the reader object instead of a
    local variable (which wasn't getting set anyways).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa5caf6310f074109472e6f55d8bd9751fb75c4c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 25 21:26:21 2011 -0700

    altosui: Fix TeleBT name in flight monitor title
    
    Was getting the product number, not the product name.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2e7b7b80432bb251ac39efa1fa05d32b5f250e14
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 25 21:17:07 2011 -0700

    altosui: Separate out flash debug code to separate thread
    
    This avoids blocking the Swing thread while waiting for the serial
    device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 214cd69c0e4a1617ed5cde8fc2f46a4cee6ecced
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 23 22:50:58 2011 -0700

    altos: add telebt-v0.0 Makefile
    
    Git doesn't like to add these.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d41edb3384b6336f3482e61b0c9f9400a8b4f519
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 15:29:39 2011 -0700

    altosui: Make flight data download work through TeleBT
    
    This required flushing input before reading data blocks and adjusting
    some delays.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 44fb71ca3e5bccd5f601fc5a2d5da7292050b1d6
Merge: 2ebdb888 c269e263
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 14:06:39 2011 -0700

    Merge branch 'telemini' into telebt

commit 2ebdb888f6792de70b3132950a988d49752d264e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 14:01:19 2011 -0700

    altosui: Eliminate ao_cmd_filter hook
    
    Disabling status messages means we don't need to filter them out of
    the input stream.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f5c9986dfa2d130b6c8c14308638cce49391a6e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 13:42:30 2011 -0700

    altos: remove BT logging code
    
    This was used to debug the serial line startup.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0195ff442c1da5d363dfda3f88f41865d0c6b469
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 13:31:10 2011 -0700

    altos: Remove bt debug command
    
    This will permit some additional cleanups.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ce7cf0c5ddc5405f6f474f4e20752fc0b02f3ecb
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 13:27:40 2011 -0700

    altos: Simplify BT communications
    
    Eliminate stdio I/O wrappers
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e3d501940718428135e04995dff7fef691c08a20
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 13:20:19 2011 -0700

    altos: Solidify BT connections
    
    Use delays while sending commands to BT module.
    Don't use BT for stdio until the module is initialized.
    Add \r to name setting command
    Don't require 'connected' signal for command input.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6b5957d5f6f8181da7be98c9bce49a0ec0b4a713
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 10:41:28 2011 -0700

    altosui: Wait two seconds after bluetooth connect XXX
    
    "something" isn't quite ready to communicate right after the device is
    connected, so we stick a delay in. There should be a better fix.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8de9d3cbfcd1db7b554fb761296a8de09aafc8c3
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 10:25:47 2011 -0700

    altos: Add delays to bt startup sequence
    
    The BT device takes a few seconds after power-up before it is ready to
    receive commands.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 17f38e045fcd8ca0224095c0b2b7b098df77a8d8
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 19 08:43:40 2011 -0700

    altosui: Use persistent list of bluetooth devices for device dialogs
    
    Store a list of known bluetooth devices as preferences. Always include
    those in device dialogs with an option to go browse for more devices
    in both the device dialog and the Configure AltosUI dialog.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f249e5926f5fd9f86c41e7f0a414193533d4d8b0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 18 18:16:38 2011 -0500

    altosui: Make bluetooth dialog modal
    
    This allows it to be displayed correctly while the device dialog box
    (also modal) is up.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 84163eee7847a09fe78f8762b28f857d76bf5755
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 14 10:22:30 2011 -0700

    altosui: Make AltosBTDevice implement AltosDevice interface
    
    This will allow the use of either USB or BT devices through the
    AltosDevice interface.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9cdef76c1275b343099d0d01af82d7eadd36a410
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 14 10:12:29 2011 -0700

    altosui: Create abstract AltosDevice class
    
    This will wrap either USB or BT devices. The USB device constants have
    been moved to Altos.java
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5b3f18b38d80aa041b971204bf7a94278bd9584a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 8 19:46:15 2011 -0700

    altosui: Add primitive bluetooth device manager UI.
    
    This isn't useful, but does inquire for available bluetooth devices
    and show them in a list.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c269e263a6accd815ed5d08c0f5a6c3d5b9d3853
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 14 09:38:48 2011 -0700

    altos: Write a few pre-launch samples for Tm/Tn devices
    
    Record pre-launch samples in a small ring and flush that to flash when
    launch is detected. This provides a complete record of the flight,
    rather than simply starting after launch detect.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a0fb471ce10642fc4a4bd40e4a81f8d6fe7a7c21
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 13 20:27:38 2011 -0700

    altosui: oops - lost state changes when downloading eeprom data.
    
    This would cause the reader to just keep reading past the end of the
    flight.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f49d694e776819e03b2c708e1c4ee23ba311430
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 9 22:53:12 2011 -0700

    altos/altosui: Log averaged baro sensor data in Tm/Tn
    
    Instead of logging the best height guess from the kalman filter, log
    barometer data. The logged data consists of the average value betwen
    log points to reduce noise.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8dd455204cf8712fa8c142b0c0517cec1bf5fd0f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 8 10:13:55 2011 -0700

    altosui: Add low-level Bluetooth APIs
    
    Adds the JNI functions to query and connect to arbitrary
    bluetooth devices.
    
    Adds Java wrappers to construct a list of proximate bluetooth devices.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bf1c7df5301a1727e871a8447f835fe75bdce3fc
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 8 10:12:50 2011 -0700

    altosui: Add TeleBT USB device support
    
    TeleBT can work just like a TeleDongle over USB.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1a54a58d72147888f783a3caf364479efff4ed9b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 7 22:00:38 2011 -0700

    altos: Use PIO(6) on BTM to monitor BT connection. Fix BTM init.
    
    PIo(6) appears to be an active-low indication of the Bluetooth
    connection status. Hook this up using an interrupt to track the
    link state instead of using in-band status messages.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f28efe271f9670473249574f6bcf6e160fe58c7b
Merge: 8db5c52f 835ab3a8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 1 19:35:22 2011 -0700

    Merge branch 'telemini' into telebt

commit 835ab3a8c2741a09b27de58c37439a193c9919ce
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 1 19:35:00 2011 -0700

    altosui: Add missing AltosTelemetryMap.java file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8db5c52f1c76a05020e4e0afbe4ea27485ad9f82
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 1 17:26:08 2011 -0700

    altos: Clean up BT serial communcations
    
    Disable echo on both ends in command mode to eliminate looping error
    values.
    
    Switch to 57600 baud to improve performance.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a5d60fdb9c969c1516feb76a16001c9688112c4c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 1 17:25:07 2011 -0700

    altos: Make cmd echo per-connection instead of global
    
    Allow different connections to use different echo values, permitting
    the packet link to turn off echo while the USB link still has it on.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e2c18249e16c98cf5f7dccdf8d3b84bc473863a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 1 16:48:12 2011 -0700

    altos: Clean up serial initialization
    
    Flush serial input buffers when switching speeds.
    Ensure pin configuration is correct.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 92386f2e8419c4df125692cc998eb72ec49bf991
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 1 14:12:56 2011 -0700

    altos: Clean up usage of serial port for stdio
    
    Code wanting to use this must invoke ao_add_stdio; that way
    the link can be configured before command processing starts.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9f8a96a8516e13878b329dbf1da855ed9a3219c4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 1 14:11:44 2011 -0700

    altos: Make ao_serial_drain public
    
    Allow external code to discard serial input
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4f243a282f9aeb7433ccb2942850d380a091e603
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 1 14:10:37 2011 -0700

    altos: Remove serial monitor command
    
    This takes up space and isn't that useful these days
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 39bde78edc863d9d2ef50a59b8f28ab6274892b4
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 1 14:08:37 2011 -0700

    altos: Allow any stdio to be used with packet forwarding
    
    There's no reason to restrict packet forwarding to work only from
    USB.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 01952da35a57ae4da062facb26b3c6d7de29190f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 1 14:07:23 2011 -0700

    altos: Provide for a pre-filter on commands
    
    This allows for external code to see each command line before it is
    processed and potentially skip it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 359ba0d9fc2c5947e6adc98bebcd061069c61e79
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 1 14:04:58 2011 -0700

    altos: expose set of available stdio values
    
    This lets external code manipulate which connection to communicate
    over.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ce18eaa28b1385c962c09459cbc5f20e234d9ad5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 1 14:03:25 2011 -0700

    altos: Add P2SEL_*_MASK defines to cc1111.h
    
    These are used to avoid having the code "know" which selections are 1
    and which are 0 bits.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8e74cf6d1c70a7a17d01c20f6831571245392498
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 31 20:58:14 2011 -0700

    altos: Add initial TeleBT code
    
    Prototyping with a TeleMetrum v0.1 board and a serial link to a
    bluetooth module.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c0971abc02b05d136aea257f3f40ba3b22b1d441
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 31 20:55:18 2011 -0700

    altos: Make ao_flight_test show true height but report saturated height
    
    To simulate a saturated baro sensor, clip baro data at a specified
    altitude. Continue to report the 'true' altitude in the output so that
    the resulting graphs are useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8a14142e7b37031a51409f121b913fe793bf3603
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 31 20:53:12 2011 -0700

    altos: Baro useful ceiling is MSL, not AGL
    
    Use MSL instead of AGL for detecting over-range baro sensor values.
    Always trust baro sensor during descent; it'll get there eventually.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a9dae18a664f70b668159487015e61be7f776926
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 31 20:51:15 2011 -0700

    altos: Reflect ao_flight split in ao_flight_test dependencies
    
    Need to rebuild ao_flight_test when any of the flight sources change
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f558cfa1df77c36a459168c1953d0945ee5a7f9f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 30 11:48:03 2011 -0700

    altosui: Only plot acceleration when present in data file
    
    Eliminates a bogus axis and data line for devices which do not have an
    accelerometer.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a9df9fc257eb2d7038d66ac7c2539aae4474bf12
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 30 11:47:07 2011 -0700

    altosui: Parse and export Max flight log value
    
    New configuration field might as well get dumped to the .csv files.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 87bff181a95f6bf92c2cec350d331ba6af779e80
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 29 18:11:47 2011 -0700

    altos: Enable logging during nano flights
    
    Not having logging wasn't very useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 011e37f27b3926a42c8c1a74e0f179bb48829ec7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 29 18:10:46 2011 -0700

    altos: Run RDF beacon after apogee instead of waiting for landing
    
    This provides tracking when GPS fails, or on TeleMini.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 08e6bbef2c3529dfd468ef221c526fc9f3ed5b81
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 29 10:08:46 2011 -0700

    altos: ao_sample_preflight was exiting preflight mode immediately
    
    Need to stay in pre-flight mode until we've gotten enough sensor data
    to calibrate things appropriately. The conversion from a unified
    ao_flight.c file was just broken here.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 56d045040c49728a854741e99545766f3723da5e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 29 09:39:27 2011 -0700

    altosui: Don't display 0000-00-00 for missing flight log dates
    
    With Tm/Tn not having GPS to get the current date, it's no longer
    unusual to have no date for a flight log, so don't show the 0000-00-00
    piece in that case.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8ade7d99f02df825e70d0a964b4648156101ef78
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 29 09:38:23 2011 -0700

    altosui: Display exception messages from swing thread
    
    Flight log management exceptions were getting displayed from the log
    serial I/O thread instead of the swing thread. That's a bad plan.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2f9be009ef26e3d7539f5932d267d7a8a7bcb7eb
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 29 09:37:11 2011 -0700

    altosui: Make deployment testing handle Connecting... dialog
    
    Supporting the Connecting... dialog requires moving all serial
    communication to a separate thread. This was done by creating a worker
    thread and command queue to communicate between the UI and the serial line.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 573edcd7dfe10ac3251396eae88eece55d82bcb6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 28 23:38:02 2011 -0700

    altosui: Make flight log downloading handle 'Connecting...' dialog
    
    This required moving all of the serial communication to a separate
    thread and making the bulk of the download operation run after that
    has finished.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c71a145daefb86d2c1297abec68e54bd951e3adf
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 28 23:35:05 2011 -0700

    altosui: Clean up packet link connecting dialog
    
    Make sure the dialog is destroyed after use (otherwise, it hangs
    around on the screen sometimes).
    
    Switch timeout before showing dialog to 500ms -- that brings the
    dialog up less often when unnecessary.
    
    Use 'timeout_started' boolean to indicate whether the I/O thread has
    queued the dialog for display and whether it needs to queue a call to
    close it down.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c6e7e812d67f91c63ba4982f7a899a72584027de
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 28 18:18:50 2011 -0700

    altos: Create custom nano flight code
    
    No igniters, just 'pad/drogue/landed' modes (where 'drogue' ==
    'flying'). A constant 1Hz telemetry and RDF rate.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c754759a2d503633d527da4ebb20eb859cd506fd
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 28 17:54:44 2011 -0700

    altos: Split up flight code into separate flight/sample/kalman bits
    
    The flight code mashed together data processing, filtering and actual
    flight managament into one giant pile. Split things up so that we
    have:
    
     ao_sample.c: Sensor data processing. Reads the ring, handles calibration
     ao_kalman.c: Filter the data to track the accel/speed/height values
     ao_flight.c: Flight state management, specific to rocketry.
    
    The plan is to re-use ao_sample.c and ao_kalman.c for hardware not
    specifically designed for rocketry, like TeleNano.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 006de838bbb096b9443863a46b8a125b1e6b5600
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 27 00:48:07 2011 -0700

    altosui: Handle serial calls from swing thread
    
    Calls from the swing thread cannot be canceled as there's no way to
    put up the cancel dialog. In this case, simply use the 5 second
    timeout and fail if no communication occurs within that amount of time.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f23d0f3cbf1fb0c8eab497e266625f6410b69ba3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 27 00:46:19 2011 -0700

    altosui: Tell serial device which frame to use for timeout dialogs
    
    For the timeout dialog to appear, a frame must be configured for it to
    appear near. This patch sends the frame from the eeprom download
    functions to the serial code. That path doesn't yet work as the eeprom
    download is still trying to talk to the serial device from the swing
    event thread, which prevents the cancel dialog from working.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 067b21993e9a97fceadb355e571e5610535336a8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 27 00:13:38 2011 -0700

    altosui: Allow radio channel to be configured over the radio link
    
    TeleMini/TeleNano can't be configured via USB, so we need to allow
    the radio channel to be set over the radio link.
    
    This change carefully sets the new radio channel, disables the remote
    link and then sets the teledongle channel to the new value and brings
    the link back up.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 91a75279b6d306ba9d068a28c64917d5312122e8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 27 00:12:01 2011 -0700

    altosui: Off-by-one error in telemetry format configuration UI
    
    The telemetry format menu uses 0 for full and 1 for tiny, but the
    telemetry configuration uses 1 for full and 2 for tiny. One direction
    (config to UI) was right, the other (UI to config) was wrong.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ce8c9081e703d1405c2595ab9bda0cfa218c6c4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 26 23:38:54 2011 -0700

    altos: full logging must flush pending data before checking state
    
    Flight state must be checked only after any pending data have been
    written to the log as the 'current' flight state is only valid when
    the pending data values have been processed. This ensures that the
    'boost' state is not marked until the full ring of data is
    written. This ensures that the data processing code can find the
    barometer values from before boost to get an idea of the ground
    pressure value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3945d8f986d8f4bd3186a2cbaed5186e49d59839
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 26 23:15:36 2011 -0700

    altos: Variable log rate in full logging code too
    
    With the fixed ADC rate used to get better data during flight, the
    logging code now needs to vary the data storage rate so that descent
    data is recorded at 10 samples/second while ascent data is recorded at
    1 sample per second. Having the logging code do this itself eliminates
    any interaction with the flight code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97517ee585462c2d355f23f999fb8d9ebd908ec1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 26 00:01:22 2011 -0700

    altosui: Allow TM config connection to be canceled.
    
    This leaves the config UI connection attempt running and pops up a
    dialog box when it takes 'too long' in the remote case so that users
    with Tm or Tn devices can bring up the UI, and then boot the Tm/Tn
    without needing to time things carefully.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2c121f1ef495e8af3eb39210baa40e212b691894
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 25 22:04:09 2011 -0700

    altosui: swing hide/show methods are deprecated
    
    I don't know why, but they are, so just replace them with
    setVisible calls.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b155647472ddfacb07c5ffa832e4d1f4a13ad342
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 25 22:01:18 2011 -0700

    altosui: Remove extra AltosEepromBlock layer
    
    This was interposed between the download layer and the eeprom layer to
    hold a eeprom block full of flight log records. The addition of the tiny
    log format required reworking the code to hold chunks full of eeprom
    data without regard to their content, so this content-specific layer
    didn't seem useful anymore.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 011615d40b3cb1d1c0ab9fa41e139e263a6a51e7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 25 21:34:31 2011 -0700

    altosui: Add support for downloading TeleMini/TeleNano flight logs
    
    Splits the eeprom downloading code into eeprom block downloading and
    separate eeprom data parsing so that the new data logging format can
    share the data downloading code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dea80af81b388cc3d7073444919f4e98b12fa730
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 25 21:29:50 2011 -0700

    altosui: Remove a bunch of debug printfs from the eeprom manager code
    
    Just noise on stdout.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f5b5848ad6ef5c808638a29c3dc0101b56ed11e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 24 08:08:43 2011 +0900

    altosui: Add telemetry format menu and preferences
    
    Switches the TeleDongle between full and tiny telemetry packet
    formats, saving the last used format for each teledongle in the
    application preferences.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f3e68341f6f5daaf26dd162e4f9a06c29988986a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 24 05:27:57 2011 +0900

    altosui: Add support for telemetry version 4
    
    New telemetry format needed to support TeleNano and TeleMini
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1e976a105423f2da1842f70da531c9051ba88a7f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 23 10:42:31 2011 +0900

    Add description to test flights

commit 93040ef4d0bd90ec5ae052f22243cd56adfb300a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 23 10:40:05 2011 +0900

    Add ao_kalman.h to .gitignore

commit 43a94380032300a2e33e1faa1efe93e858e0a2cf
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 23 10:37:39 2011 +0900

    altos: Exit flight test at landing. Allow description in test flight list
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 32364c9e0d346e0e5d517e18d4e90b8ff2fa944f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 23 10:33:38 2011 +0900

    altos: Ignore alt error for fast->coast. Allow larger error for baro apogee.
    
    With the fixed kalman filter, transitions across mach don't cause
    bumps in the merged filter.
    
    And, with working kalman bits, the signal for broken baro detection is
    stronger and so we can allow for baro apogee detection in cases where
    noise occurs close to apogee.
    
    Bump the kalman filter to trust the baro less so that the model tracks
    across mach.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3d2042ccc2d29e4cb8ea39c5c69d07cb7e3daeea
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 22 16:55:08 2011 +0900

    altos: Restore sensible kalman values
    
    Now that the kalman code seems to work correctly, restore the sensor
    errors and model errors to match reality
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7d7b476564a16eda81ab3406f70a21995e1b464e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 22 21:51:52 2011 +0900

    altos: Fix up flight code testing
    
    This automates flight code testing by reporting mis-detected apogee or
    main events.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a80d3836cfce3d4cfa7a71068539415c2dc421cd
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 22 21:50:29 2011 +0900

    altos: Missing parens and some bad arithmetic in the kalman code
    
    Fixed point computations are a pain.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f30de5766c1eefb18c7d024a2cf10ce02de41071
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 22 21:29:05 2011 +0900

    altos: Add ao_flight_debug code
    
    Trace the kalman filter to make sure it's working.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f3053b1f3c85d4fd84b3c6cc87858f433166df34
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 22 17:04:07 2011 +0900

    altos: Clean up some debug stuff in ao_flight.c
    
    Remove some spurious printf debugging.
    Remove an attempt at discovering broken accelerometer code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6864e06d88a5b908cffa7c4cd2be8969ff46ce4d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 22 16:51:04 2011 +0900

    altos/kalman: Kalman terms can be > 1, use 32-bit fixed point
    
    Because speed and acceleration are scaled by 16, it's fairly common
    for the kalman terms to end up larger than 1. Instead of trying to
    fuss with 16-bit values and shifts, just use 32-bit values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c14d6c5ace1d67bd948273ceb7eb6807b29c3806
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 22 08:51:23 2011 +0900

    altos: Compute a 'trust' value for the barometer
    
    Instead of making the baro use/don't-use decision binary, use a 'trust
    value' which slowly migrates from baro+accel to accel-only mode. This
    eliminates bumps in the data from a rapid shift.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7b009b2efe3af8722c358c304c2243652594e0d5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 22 05:42:51 2011 +0900

    altos: Switch telemetrum over to kalman filter
    
    This changes the full telemetry stream to include kalman data instead
    of the old ad-hoc flight data. It's compatible in that the packet
    sizes are the same so teledongle can receive either and figure out
    which it has received.
    
    A few plotting and testing tools are added to make validating the new
    code easier.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 20427ae4965f756aac0cedc5179a1c45b9a781f2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 21 19:59:27 2011 +0900

    altos: Add nickle kalman implementation.
    
    This generates the constants needed to implement Kalman filtering in
    the flight firmware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca3f03ef5c09446bebf0f5734f36a0248c457b1d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 19 23:55:39 2011 -0700

    altos: Add .sdcdbrc file for teledongle
    
    My sdcdb script uses this to set command line options automatically
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit be838db49d999426a9dd02c0166fe161722f1e61
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 19 23:53:08 2011 -0700

    altos: New telemetry report format (version 4). Supports tiny telemetry.
    
    This completely replaces the version 3 format with a much simpler and
    easier to parse scheme. It's described in detail in ao_telem.h, but
    the basic idea is that the whole line is split into name/value pairs,
    separated by whitespace. Every name is unique, and the values are
    either strings or integers. No extraneous formatting or units are
    provided.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ad6bb342d237988404fa32540b38c61d6ddc1f0d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 19 23:51:02 2011 -0700

    altos: The kalman code requires a constant sample rate
    
    The kalman function can't handle a variable sample rate, so keep the
    ADC running at full speed for the whole flight instead of slowing it
    down after apogee.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 31feb7777f73fed61193d3404f457ea1a081fe9c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 19 23:49:41 2011 -0700

    altos: Split telenano main from telemini
    
    Eventually, telenano will run different code; prepare for this by
    creating a telenano-specific main routine.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8950df02382f5f0aea5bac078fdf7134b98c43ed
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 19 23:46:18 2011 -0700

    altos: Split out tiny telemetry from full telemetry
    
    The TeleMini and TeleNano boards do not have either GPS or
    accelermeters, and they also run the kalman filter which produces
    standard unit measurements for the flight height/speed/accel
    values. This makes the telemetry significantly
    different. ao_telemetry_tiny.c sends the required data.
    
    Note that TeleNano sends the same telemetry as telemini at this point;
    there are a couple of values which are not useful, but the overhead of
    sending them is small enough that the hassle of having three telemetry
    formats seemed excessive.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5ba75e95c98d3e441a58d6f75d328d579e1997fe
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 19 23:41:44 2011 -0700

    altos: Make telemetry interval more consistent
    
    Instead of using a delay between telemetry packets, use a telemetry
    period and compute an appropriate delay each time. This requires
    changing the ascent telemetry from a 50ms delay to a 100ms interval,
    to provide a regular 10 packets-per-second rate. Before, we counted on
    the telemetry packet taking about 50ms to send so that we would
    receive about 10 per second.
    
    This also eliminates delays during descent for RDF tones -- those will
    get transmitted in the interval between telemetry packets without
    interrupting the spacing of those packets.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3f0bc801fd08a613c681504f0d1f9374486a2487
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 19 23:31:20 2011 -0700

    altos: Configure packet size from send/recv parameters.
    
    Instead of setting the packet size at configuration time, use the
    provided packet size to the send/recv functions to configure the
    radio. This eliminates many configuration calls, leaving us with 'RDF'
    mode and 'packet' mode, the latter working for telemetry and the
    bi-directional link.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5c28b9312d90a3a66016abc641c20bcd852d69f8
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 19 23:27:15 2011 -0700

    altos: Don't init packet slave on TD. Make slave start optional
    
    Oops. TeleDongle was starting the packet slave code, which kinda
    wrecked its ability to receive telemetry packets. This patch simply
    removes the packet slave code from teledongle as it cannot be used
    (yet), it also makes the packet slave code initialization take a
    parameter which controls whether to start that by default; in the
    future, perhaps TeleDongle will gain a command to start packet slave mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e980b251e5a4d25410710a9aa89ef940e06b0d93
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 19 18:43:52 2011 -0700

    altosui: Add software version to Configure AltosUI dialog
    
    Show this somewhere so we can figure out what is installed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1aeb759c48f475ffaaae787515e080440c8386c3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 19 12:28:08 2011 -0700

    altos: Baro-only boards must not detect launch on accel or speed data
    
    The baro sensor generates too much noise to use small changes in
    computed speed or acceleration to cause a false launch detect.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7a4f6d5ad55637cde97a1e2f247f92df59bc2e14
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 21:01:15 2011 -0700

    altos: Write height values to log for nano/mini
    
    This is a lot more useful than the old filtered pressure data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c985bb6a19c710409629f3c095332ba7afcf5248
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 20:36:59 2011 -0700

    altos/test: Add scripts to run lots of flights through the code
    
    This runs a long list of flights (there's a user-specific path
    pointing at the flights) and squawks if the baro and dual flight
    computers don't match.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dbe915795c66995805b5f37e6eb698cf2c143e61
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 20:26:12 2011 -0700

    altos: Fix mini/nano default log size to available flash space
    
    Also, remove accel cal code from boards without accel
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5db94e1e230bade966a997aa83165405a9ec9d83
Merge: 1a8f45e7 cbb968f5
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Mar 18 21:12:39 2011 -0600

    Merge branch 'telemini' of ssh://git.gag.com/scm/git/fw/altos into telemini

commit 1a8f45e7b720d01d3ff0c35ed1caaf8cbe0c3119
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Mar 18 21:12:12 2011 -0600

    fix up script to work and have reasonable texts

commit cbb968f5cf03625d453d84dc535758072a2c04c7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 20:07:25 2011 -0700

    altos: Add TeleNano support
    
    This just uses the TeleMini bits, which should work fine for now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 32c51840c792a737019fbc9fe42f2ca073b71827
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 19:49:46 2011 -0700

    altos: Tiny logging fixes. Scan at start, stop when land or full.
    
    Initialize the flight log for tiny systems by scanning the log area to
    find the current flight number and log area bounds.
    
    Stop logging data when the flight is over, or when the log area is
    full.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 62eae8a17d870e8ac6937ba23da01a5fbc652c6c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 18 16:53:11 2011 -0700

    altos: Add kalman filters for baro-only boards
    
    This adds a baro-only kalman filter to track the state of the rocket,
    and then uses it to control flight events instead of the existing
    ad-hoc mechanisms.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c826fab31f8aea25a942b6bb8435d4b04c1bef10
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 17 16:00:10 2011 -0700

    altos: Add tiny logging for TeleMini/TeleNano
    
    This splits the logging code into management of the log space within
    storage and separate code to actually write suitable log entries.  A
    new log writing module, ao_log_tiny, is added which writes only
    altimeter data at a fairly low data rate for devices using on-chip
    storage.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8b546b474b7b6c5b4169b4c1ca09c6f17ebb3ae5
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Mar 11 21:41:01 2011 +1000

    ignore new flight test file

commit 82707a05af0eb2d54f46b58805c95cdf4e5a3703
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 16 20:36:50 2011 -0700

    altos: Internal flash ops block when running from flash
    
    The docs say that if you are executing from flash, then the CPU will
    stall after a flash write or erase command is started until the
    operation is complete. Take advantage of that to simplify the flash
    code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1d8579f973bfe1047ee91f03555e74abdc483e69
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 7 16:31:43 2011 -0800

    altos: oops -- altitude reporting wasn't pausing between signals
    
    need to actually alternate the LED/tone with some space so you can
    count.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d007bccf6cb36d24a9c7c48de7d80759ac6f2e37
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 7 15:57:58 2011 -0800

    ao-load: Make usb descriptor rewriting optional
    
    TeleMini and TeleNano don't have USB descriptors to rewrite when
    loading firmware, so allow them to be missing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 57d83f51377fb58018f422e42d74f29b86a821d2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 7 15:26:41 2011 -0800

    bringup: Add script for telemini
    
    Copied from teledongle with a few obvious changes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ddd7485f05d0cad8f5b3e1ee9b9a4d2812ea1837
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 7 08:03:11 2011 -0800

    altos: Switch pins around for TeleMini
    
    TeleMini has fewer sensors and uses P0 for igniters instead of P2.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f8afc2641c779fc312a42a6358187d8716ebe61a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 6 23:52:11 2011 -0800

    altos: Switch LED usage for TeleMini around
    
    We're using the LEDs instead of tones, so make red mean 'low tone',
    green mean 'middle tone' and both mean 'high tone'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fc5d014721a7e5a7b22f07eb4ab0bb3c764473fe
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sat Feb 26 16:06:48 2011 +1000

    ao_intflash: Avoid overwriting code
    
    Require firmware to specify the end of its codespace in its Makefile,
    and use this to determine where the start of available flash is. Should
    give compile time errors if either there's no room left for storage, or
    if there's not enough room for code.

commit 0e4c55d78852415e79f7318471f4d00c89703b78
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 6 21:03:57 2011 -0800

    altos: Add TeleMini v1.0
    
    This adds initial code for the telemini board, a two channel
    flight computer with digital telemetry and a barometric sensor.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2d41358c80f2eb8b6e98d699149bb941a6671475
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 6 21:00:52 2011 -0800

    altos: Start with packet slave running. Turn off in pad mode.
    
    Instead of turning slave mode on in idle mode, start with it running
    and disable it in pad mode instead. This means packet mode is
    available in startup mode too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1e56ed44e562f808addfd76bfb352f981db94094
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 6 21:59:08 2011 -0800

    altos/test: Add baro-only flight test program
    
    This builds the flight code in baro-only mode for testing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e339ffd8bd8b9e3f4758017ba355028000cb612e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 6 21:57:52 2011 -0800

    altos/test: Use ao_convert.c instead of hand-coded pres → alt func
    
    Fix up ao_convert.c so that it can be used within the flight test code
    instead of having a (broken) copy of the code there.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02611efea0c485d78fad08c696c1f56e868d36b8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 6 20:56:25 2011 -0800

    altos: Make serial, usb, beeper and accelerometer optional components
    
    Not all boards will have these, so fix places that use them to deal
    with that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fdd15a254c6fab5ba2d02320ba0ceb3e6a56354c
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sat Feb 26 11:48:30 2011 +1000

    ao_intflash: Use internal flash for storage
    
    Makes any free pages at end of CC1111's internal flash available via
    the ao_storage API.

commit 8f1bd11b61d9423c62162f7bbe573fc69fd75269
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 16 14:10:06 2011 -0700

    aoview: remove -s option.

commit 45395c7825184efb835d5b165fa132be20c7f6fe
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 16 14:08:42 2011 -0700

    Bump published version number to 0.9.1

commit 9f3d26cadf37880d2c9223f59271d295b11c4c2a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 16 14:05:13 2011 -0700

    altosui: Missed jcommon.jar in the Mac OS install image
    
    This caused graphing to fail on Mac OS X
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6e340c87d3198647cf075ed520a82703b0d59beb
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 7 00:26:17 2011 -0800

    altos: Oops. Lost a couple of commands when merging the doc patch
    
    I didn't merge this carefully enough and managed to lose the 'f'
    and 'e' commands, which are kinda useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8cdf4fb051c22b35c251d90bc288551f7c2898bf
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Feb 27 11:11:12 2011 +1000

    src/ao_cmd: Shave off bytes from doc strings
    
    Switch to using { func, "X args\0Desc" } to specify command, saving
    a char field by looking at help[0] instead, and reduce help length by
    doing alignment with printf instead of hardcoded spaces.

commit 2cfe205de4242398e69c9e7c613af0d2a7094686
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Mar 7 00:01:01 2011 -0800

    Revert "src/ao_gps_skytraq.c: Update logging rate to 10Hz"
    
    This reverts commit b080e933a65d268aaaec8cfd5f617a13d5babc43.
    
    10Hz data isn't any better than 1Hz data; it still doesn't like going
    upwards rapidly.

commit 249cd3b63d97581b068fff988e0cd7fcd5bf493e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 19 01:06:01 2011 -0800

    altosui: Display eeprom parsing errors to user
    
    When reading the eeprom, any parsing errors (most likely bad
    checksums) indicate some kind of problem with either the hardware or
    the flight software. Display these to the user and do not erase the
    flight.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 629a7637871b24fe6d1204aaa7185d84933d4639
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 19 01:04:19 2011 -0800

    altosui: Always read whole eeprom block, even at end of flight
    
    Instead of stopping early, continue reading the whole eeprom block so
    that the extra serial data doesn't end up confusing the next user of
    the serial line, which may well be reading the next flight.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ca2cf1b7e03b8453b45b45e313a33ad65da9ad5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 19 01:02:00 2011 -0800

    altosui: Mark empty eeprom records 'invalid', don't generate exception
    
    When reading empty eeprom records, mark them as 'invalid', but don't
    generate an exception as it's normal to read these at the end of the
    flight log.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 690feb166fd2bc6b6dfc26828f1efe9f5f1c6c0d
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Feb 18 23:56:01 2011 -0700

    update changelogs for Debian build

commit 0630e7d6d8cf6abf0fe07f9a6df40ee472cce1ef
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Feb 18 19:54:18 2011 -0700

    tie bringup scripts to Bdale's bench TeleDongle

commit b080e933a65d268aaaec8cfd5f617a13d5babc43
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sat Feb 19 05:49:15 2011 +1000

    src/ao_gps_skytraq.c: Update logging rate to 10Hz
    
    Send commands to skytraq to update baud rate to 57,600 bps, and
    set NMEA output rate to 10Hz.

commit aad7103dcf44e69a5a30e008836cce5542ea33e2
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sat Feb 19 04:17:17 2011 +1000

    src/ao_gps_skytraq: simplify parsing code
    
    Added macros to make correctly constructing skytraq commands easier.
    Simplified code path for NMEA processing marginally.

commit fe5123fa801f5dafed8b052da607899d1ef20500
Author: Anthony Towns <aj@erisian.com.au>
Date:   Wed Feb 2 19:12:57 2011 +1000

    ao_radio: generalise setup of packet size

commit 8b09cc1825645a57c256f38a2f9586ddecf6bda5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 18 10:02:46 2011 -0800

    altos/test: auto-configure acceleration parameters from the log file
    
    The flight test code had static accelerometer configuration values,
    making it impossible to use data from different boards without
    recompiling. As the eeprom and telem log files both contain the
    necessary data, parse that instead.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d3bc27fabb6159ce58b14d0f7929b0f46f67c378
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 18 09:54:01 2011 -0800

    altos/test: Add dependencies in the Makefile for ao_flight_test
    
    Yes, it would be nice to automate dependency generation here, but I
    can't be bothered.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c3080fdafff5212f267ba7c765a2f083435be799
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 18 09:51:37 2011 -0800

    ao-load: fix usage message to note that '=' is required for options
    
    The usage message was suggesting incorrect command line syntax; long
    options use '=' between the option name and value, not whitespace.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a09501ab714c0638410d06f80903a8769d93c688
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jan 19 12:47:25 2011 -0700

    update changelogs for Debian build

commit 2bb83d90aa03d825ca1b751418c91b194b72f1f9
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jan 19 12:46:02 2011 -0700

    elide changelog entries or re-release of 0.9

commit 9541ccd9ff9e67e0862ca31706358d8308fc85d8
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jan 19 12:42:40 2011 -0700

    update turnon script to prefer TeleDongle as programmer

commit 159fda30fe57349660c5e2d95017144ea3f5d7db
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jan 19 12:26:53 2011 -0700

    update changelogs for Debian build

commit 97f4f2e0d28eec1cf19d2d25140e42f6ac277700
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 19 11:21:52 2011 -0800

    altos: Program default flight log max value for new boards
    
    New boards have no config space values at all, and so they need each
    value to be set. Yes, this should be fixed so that there aren't two
    copies of these assignments.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 480587cf514ba21885b24c3b8fcb98d6b76ea8f4
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jan 19 00:05:25 2011 -0700

    update changelogs for Debian build

commit 6244f2316267738781e31a773b377bcf8c476918
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jan 19 00:04:45 2011 -0700

    prepare to release

commit 3c72103866f041107af49e01a5ccb6d4e6b6ac80
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jan 18 23:55:42 2011 -0700

    update changelogs for Debian build

commit 4ae724fe1d2ca0d712321c4fdc2200ff46d77428
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jan 18 23:54:36 2011 -0700

    we need an install target to prevent parent dir make from failing

commit ca7b549fbf62019b01a6e6c85da50645ea9a4502
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jan 18 23:48:08 2011 -0700

    update changelogs for Debian build

commit 9a5666f42d4d90a0a488fd0a85ae9914944fe0be
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 18 22:46:25 2011 -0800

    doc: Build with 'make all' from top level. Build with 'make fat'
    
    This will make sure the docs are up-to-date for both regular and
    fat builds.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 72a04d679d06aaad9c2b4297fefd585fc393ce2e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 18 22:39:07 2011 -0800

    fat: Add docs to Linux package
    
    Oops. Missed this one.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5d91c250179f44ca17c26fff36718b7026aa8ee0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 18 22:34:15 2011 -0800

    fat: Add firmware for v1.1 and docs to mac/windows/linux installers
    
    We'll need to be sure to update this each time we add a product.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 26c4cc3054b1c7c9ed6ce3c2f21f6254b3245718
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jan 18 23:29:03 2011 -0700

    freshen copyright year

commit e2e20f6ce8a9c2bca36fde5730ccd7151377ec6f
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jan 18 23:18:42 2011 -0700

    add 0.9 revision entry, with caveat about telemetry format change

commit 27e6dbbe95ae9b361d60576e0cbadb66792307f3
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 18 20:39:58 2011 -0800

    doc: Add v0.9 features from altosui to documentation.
    
    New flight download UI and new config items.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 92d7841edcfc8a841f71f7f97cc541f8e55c4627
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 18 20:39:30 2011 -0800

    doc: Don't delete telemetrum-outline.pdf
    
    This has a drilling template for the board.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c411dce69be58238b8312c2fd7405cbe8b5d4a5a
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jan 18 17:27:11 2011 -0700

    update changelogs for Debian build

commit da42f406e88ccc821cd45d5a94d5afec65ec50e9
Merge: ea4cdfb8 cf550f9b
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Jan 17 09:50:17 2011 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit ea4cdfb87e03ecfb974f98305671265b6fb95372
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Jan 17 09:49:45 2011 -0700

    update documentation to reflect reality that modifying a board or separate
    pyro battery is not as simple as one trace cut on v1.0 and v1.1 boards

commit cf550f9b96fa94d8db559e01df0e265bb1c7b572
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 16 23:23:45 2011 -0800

    doc: Remove mention of ao_wake_task
    
    This has been removed from the altos sources, so remove it from the
    docs too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4b71c4f4ed6cae23a7f4a2e7ae697da9ec614898
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 15 12:26:53 2011 -0800

    altos: Use 5V reference data to correct accelerometer measurements.
    
    When the 3.3V and 5V values shift relative to each other (usually due
    to changes in power consumption), the measured acceleration will
    appear to shift. This patch converts the 3.3V referenced acceleration
    value into a 5V referenced acceleration, eliminating this error.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2887fe7affc0706dbeb2f04df9a00a9b799903ed
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 15 12:25:57 2011 -0800

    altos: Optimize fetching of ADC data in flight code
    
    This stores the address of the desired sample in a local variable and
    then fetches through that. Saves quite a few instructions.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2681a17500913cbaf3966f09380bb1d6b59e3863
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 15 12:18:32 2011 -0800

    altos: Sample the accelerometer reference voltage on v1.1 boards
    
    This places the 5v reference samples in an array parallel to the basic
    ADC values. It doesn't do anything with the values, just stores them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 69290588980bb15732a99eca5c911a3b6e9a37b9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 15 12:12:02 2011 -0800

    altos: Ensure flight code gets first crack at new ADC data
    
    Instead of having everyone wait on the raw ADC ring, have the flight
    code wait on that and have everyone else wait for the flight code to
    finish looking at the data and move its pointer forwards.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1b8d7313504240ed04e0747e9b0f6e9a83d323e2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 16 15:57:15 2011 -0800

    altos: Auto-calibrate linux-based flight testing code
    
    Use the provided ground acceleration average to set the two
    accelerometer calibration values so that the flight code will
    detect pad/idle mode correctly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit afd3d3cdb8c2291c1c7cda7908392d68cd04f87f
Author: Mike Beattie <mike@ethernal.org>
Date:   Mon Jan 17 15:03:40 2011 +1300

    Rework invalid accel cal detection code
    
    Slightly reduces code space.
    
    Uncalibrated accelerometer now enters invalid state as well.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 3566dee1cf83870396a0bb164f5549dd3faf58f5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 16 14:40:31 2011 -0800

    altosui: Remove spurious colons from eeprom selection headers
    
    This colons make the presentation a bit confusing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ab31b1c737d8fd32af482e5b06699f1b832a25a1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 15 00:56:22 2011 -0800

    altos: Add DATA_TO_XDATA to linux test harness
    
    The flight test harness needs to expose every function used by the
    flight code in some form, and this macro is about to become used.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit add2802a8a33336180fe6856241a7f4a8200e89c
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Jan 16 00:10:30 2011 +1300

    altos: Added check for out of bounds accel
    
    Chose invalid flight mode instead of idle to give user feedback.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 58838c0b96a91da0bd0cd77c3ff312b589c08136
Author: Mike Beattie <mike@ethernal.org>
Date:   Sat Jan 15 23:21:26 2011 +1300

    altos: Added check for an accel value above 1.5g
    
    When detecting flight or idle mode, this should indicate
    that accel cal values are out of whack.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 118fe84c9ff1cc9d1653e67a2315e22e19d60a14
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 15 11:26:31 2011 -0800

    altos: average 512 accel/baro samples at startup instead of 1000
    
    This lets us use a simple shift instead of a divide, saving a huge
    amount of code space.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8a775b8f9ecefa143050653d74dfd218b32b9bb5
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Jan 16 10:54:45 2011 +1000

    altos: Restructure skytraq NMEA parsing code to save some space
    
    Splitting this into several smaller functions appears to make SDCC
    generate better code.

commit 7a35b2d7048669a96256d4ea0086299f8a0cb1df
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 15 22:42:38 2011 -0800

    altos: Flush log when full
    
    When the log storage is full, make sure any pending writes are flushed
    out so that the last bit isn't lost.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 47ee4597e55749e8f66f61a585ea32776979bf80
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 15 16:25:10 2011 -0800

    altos: TELEMETRY PROTOCOL CHANGE. Switch to 16-bit serial numbers.
    
    What a terrible mistake! The flight computer serial numbers were
    recorded in only 8 bits, so serial numbers > 255 would get truncated.
    
    There's really no fix other than bumping the field to 16 bits and
    reflashing every TM and TD on the planet. Very unfortunate.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b22ba359a02297e39a446cbd5ef51e63b795624a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 15 12:05:50 2011 -0800

    doc: inkscape tracks the filename inside the document
    
    telemetrum-outline.svg was renamed from telemetrum.svg and inkscape
    appears to care.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d0a841b285fb398f0be72183ec3c9d1e358419a9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 15 12:02:43 2011 -0800

    altosui: Require 4 sats to light up the 'GPS locked' light.
    
    This tracks the same GPS signal requirement needed for 'GPS ready' and
    ensures that we have a 3d fix.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1bfdce6fc3367fdf03e0dc7ddd94da18723b8ba3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 16 14:30:38 2011 -0800

    altosui: Ensure serial device is closed after eeprom download finishes
    
    As this code is all event-driven, track which events will trigger
    further work and block closing the device in those specific cases,
    ensuring that all other code paths end up closing the device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 987039b8f0b1d889aca9109d4c6a83f034ff64a7
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 16 14:29:57 2011 -0800

    altosui: Remove debug message when eeprom downloads are complete.
    
    This message isn't useful now that this code appears to work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fb534aae15f0f1e5d69790e159d0287b6b8a514a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 16 14:28:35 2011 -0800

    altosui: Use long input flush timeout when remote.
    
    100ms isn't long enough to capture pending remote serial input, so use
    300 ms in that mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d4add23186b3586c99579d83efdc003f79e9bf7a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 16 14:26:18 2011 -0800

    altosui: Make serial debug more complete and accurate
    
    Display all serial input, including telemetry.
    Wait to display serial output until flush time, to debug missing flushing.
    Show when devices are opened and closed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit deb3c7b9206be0c9c46f75d35c8f766c26d9838f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 15 22:43:37 2011 -0800

    altosui: Reset eeprom download instance variables before reading flight
    
    To deal with downloading multiple flights in a single invocation, make
    sure all relevant instance variables are set back to start of flight
    download values each time a log is read.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eec9eb2e81535e62c52fbb2e57a2d33f88f92c1a
Author: Mike Beattie <mike@ethernal.org>
Date:   Mon Jan 17 07:56:53 2011 +1300

    Close serial port if Download/Delete dialog is cancelled.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit df1c6ab3ac079199b5a12328c9ff5cfa6ac29b36
Author: Mike Beattie <mike@ethernal.org>
Date:   Mon Jan 17 00:40:07 2011 +1300

    Convert EepromSelect dialog to use a GridBag
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit fef302656f21ae0ab4772f72979cbb7f071da89a
Author: Mike Beattie <mike@ethernal.org>
Date:   Sun Jan 16 20:25:19 2011 +1300

    Re-order and re-arrange eeprom download dialog
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 35adb7c98fe02e84fff70c1bee22bfa019cfacc2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 14 21:44:59 2011 -0800

    doc: Add telemetrum mounting template in svg and pdf forms
    
    telemetrum-outline.svg and telemetrum-outline.pdf
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fdba0f24afd59becc499d750bbdb80aea86066ac
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jan 14 18:01:16 2011 -0700

    update changelogs for Debian build

commit 646e1926cdf56e2cf2425413ce716e6999b64a58
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jan 14 18:01:00 2011 -0700

    update changelogs for Debian build

commit d908c2ebd0b11a54cfd922a192249d0f0df0ddb0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 14 16:47:36 2011 -0800

    altosui: Add preference for serial debugging.
    
    This dumps serial input/output to stdout.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fcaee12a64d5e195b55b8f77c19dfc0c57ef5d58
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 14 16:47:19 2011 -0800

    altosui: Ensure serial line is flushed after disabling remote link
    
    Flush the '~' character.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2d154be89246e111a36f7c2700effbb2c97da541
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 14 16:44:50 2011 -0800

    altosui: Show dialog after successful delete or when no flights
    
    Make sure the user always sees confirmation for flight log management.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b490455807d1c70c81785ed8931a07ab44e8e421
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jan 14 14:31:19 2011 -0700

    update changelogs for Debian build

commit 97b1ca994599ad262400eb3c685799582f7f1b94
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jan 14 14:30:49 2011 -0700

    update changelogs for Debian build

commit d794ef9e0fbe4d13259db1bbd69f01717c14400b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 12 12:41:26 2011 -0800

    altos: check for valid flight number in ao_log_delete
    
    Zero is not a valid flight number, and ao_log_flight uses that to
    indicate 'no flight in this slot'. Check the user-provided input for
    zero before looking through the slots.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8801b8c1947bd39f7c985b91a2ba8dbc81bcc91a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jan 12 12:40:45 2011 -0800

    altosui: Add eeprom 'manage' ui to download and delete multiple flights
    
    This shows the list of available flights and provides options to
    download and/or delete each one.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 440d52e34364fdeeddc76a2d744cc6d1c934364f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 11 21:28:07 2011 -0800

    altosui: Add support for parsing list of flights from the 'l' command
    
    This adds parsing support to enumerate the available flights, but does
    not yet provide any UI to use it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ad419d81c90ef6a16656970466313767fef830f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 11 21:26:41 2011 -0800

    altos: oops -- 'e' command was only showing 7 of the 8 bytes per line
    
    Just a silly off-by-one error when printing out the data received from flash.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bd2480fd757b67557d9c7de42e402034002c3e37
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jan 11 15:39:24 2011 -0800

    altosui: Split eeprom download code apart
    
    Create separate 'download config data', 'read single record' and 'read
    block' functions. This code will be shared with future multi-log
    reading code for new firmware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c437b14b7fc7afdfc7b809a04d7fa29d5e742307
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Jan 7 21:00:10 2011 -0800

    altos: Remove redundant initialization of ao_interval variables
    
    These are all initialized in the ao_flight_drogue state transition.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 57de960b8148bf485607898c3d66af6994d76481
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Jan 7 20:52:33 2011 -0800

    altos: Remove unused accel_vel_mach and accel_vel_boost variables
    
    Presumably left-over debugging code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca66f86a899c191b6362a334417fc84a79349677
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 7 20:46:29 2011 -0800

    altosui: Add configuration of flight log size
    
    This adds to the TeleMetrum configuration UI the ability to set the
    maximum flight log size.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 52ac83fedbfd380d14d4df2e79992bbdfba3552a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 7 20:26:39 2011 -0800

    altos: Check for full log and complain
    
    Reports special tone along with the continuity checks.
    Reports flight 0 in telemetry.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 00891b40754962ef6530b237ef52017bb58112d5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 7 20:25:09 2011 -0800

    altos: Check requested log max size against available space
    
    Make sure the amount of memory requested for a single log isn't more
    than is available on the device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bbddcae2a15b6d430e84956ddf26955aa9173cc0
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Jan 7 20:18:25 2011 -0800

    altos: Optimize Morse code generation
    
    This reduces the size of data and code needed to report the
    flight states
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 73620c41017c1774d6190dfd4be5b742eb64f8d3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 7 20:13:28 2011 -0800

    altos: ensure erase mark is written when erasing flights
    
    It was getting called only when *failing* to erase a flight (oops),
    secondly, it wasn't getting written because ao_storage_flush wasn't
    getting called.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit edd22ee49adf60c35f2fe6ba97c111b7ad4131c2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 7 17:56:06 2011 -0800

    altos: report flight log offsets in hex block numbers instead of bytes
    
    makes them compatible with the 'e' command.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1cc08af4f4a1ff61fc0deca3bdd95e8a5ca8ec5c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 7 17:55:54 2011 -0800

    altos: white space fix
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d8c9684239b67a69a4a3d24202a6df0d73c4f7f5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 7 17:54:54 2011 -0800

    altos: Speed up at45 and 25lc erase speeds
    
    No need to read the block to be erased before erasing it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2722703bd848b07a02d3ce0c83a502eca52a9f1d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 7 14:58:39 2011 -0800

    altos: support storage of multiple flights.
    
    This adds the logging support for dealing with multiple flights
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a9b210bc33cd95e7108ab51925fdf0d5e8deaf7e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jan 7 10:05:11 2011 -0800

    altos: Add configuration parameter for maximum flight log size
    
    This parameter will permit available storage to be split into multiple
    separate flight logs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3bcf14f12f6681888c3162d0f33ef2d454eb75dd
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Jan 7 00:52:50 2011 -0700

    update changelogs for Debian build

commit 408a3e04362d626778640dd0ce7d356d3863de53
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 6 23:38:13 2011 -0800

    altos: Mark end of available flight list with 'done' to make the UI
    code easier to write
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e991f52276248fa08d96fbecc458bc478e98d299
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 6 23:35:31 2011 -0800

    altos: Rip out 'optimization' in ao_log_scan
    
    Remove premature optimization to avoid re-scanning the flight logs for
    the best empty entry.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 569a1dac55b70c30f01afa7bcb74442ecdd85d85
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 6 22:37:38 2011 -0800

    altos: Move common storage code to ao_storage.c. Add M25P80 driver
    
    This reworks the storage API so that you erase blocks and then store
    data to them so that the M25P80 driver will work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e4ba9bf4291bf17c777c8c3ef7c71e4a30b9947a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 6 17:34:58 2011 -0800

    altos: Require manual flight erasing.
    
    This supports flash chips that require larger erase blocks.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ddcc94da4326f9ce954bd31a46b36165c58e6c18
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 6 12:51:39 2011 -0800

    altos: Simplify storage API
    
    This removes the config-specific APIs and exposes global variables for
    the available storage space, block size and config storage location.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f3f1b1488bdc92fa9277dc549ba9f3210a8d4c8c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jan 6 11:28:35 2011 -0800

    altos: packet and usb i/o routines use 'char', not 'uint8_t'
    
    Just fixing the type of a local variable holding a character
    passed from the packet link to usb.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5688af4e4d7ca8e559d758257e79b7979f1cc924
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 22 21:13:56 2010 -0800

    altos: Add telemetrum-v1.1 directory
    
    This just clones the v1.0 build; changes will be added on top of this.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9f7296b3feab872bf51fc369ade69cc1e7cf7a3f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 22 21:06:22 2010 -0800

    altos: Split out SPI driver.
    
    For TM with the companion connector, the SPI bus will be shared among
    multiple devices. Split out the existing SPI code into a common
    driver, with the SPI bus protected by a mutex.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 51c410c1c952e0e9bcf1b2c438813de63753be5f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 28 00:24:54 2010 -0800

    windows: Update NSIS installer file to use compatibility IDs
    
    This allows the file to contain a single InitDriverSetup function,
    making things shorter and (I hope) clearer.

commit 4a42f9d5c20dcaf5fd7591ccf9e32c6130d9d538
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 28 00:22:14 2010 -0800

    windows: Add compatibility IDs to telemetrum.inf
    
    This will allow the .nsi file to reference just the compatibility ID
    instead of needing to have all of the USB IDs listed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 484b44e81b655f1ecb48256095382a56d2839bae
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 26 17:39:40 2010 -0800

    altos: eliminate ao_wake_task
    
    Waking up a task waiting on some random object is a bad idea. Fix
    the waiters to look for suitable signalling.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 07213dc34fa20470a4b36a327a83d75b0f010ebb
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 26 16:14:15 2010 -0800

    altos: clean up radio abort paths. Share radio code.
    
    Instead of aborting the DMA and radio operation and expecting that to
    be handled reasonably by the radio receiving task, rewrite things so
    that the abort function just wakes the receiving task while that
    terminates the DMA and cleans up the radio.
    
    This eliminates all kinds of nasty bugs dealing with radio abort
    smashing the radio registers at the wrong time, or interrupting a
    radio transmission.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b62580855c5144f5bc7e0172289bce08814d9472
Author: Anthony Towns <aj@erisian.com.au>
Date:   Tue Dec 14 03:40:18 2010 +1000

    altosui: move maps to subdir, fix E/W mismatch

commit b8d2eb5509096fd5bd04598b1312077659109620
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Dec 1 00:15:17 2010 -0700

    update changelogs for Debian build

commit ea95c060f8bd959cefc60dd6d411151f3c91384e
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Dec 1 00:12:05 2010 -0700

    fix symlink paths in rules file

commit f95220b6f0cc74928e0e7d7c7e1f443eafc32a02
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Dec 1 00:03:23 2010 -0700

    update changelogs for Debian build

commit ea7130e953622884afc348265f5a4c58f9876823
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Dec 1 00:00:58 2010 -0700

    modify Debian package build to deliver one copy of background.png for
    the themes and symlink it into place for gdm and slim

commit 3696b30a8d1eb351353d84b5f7af8eeff55c468b
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Nov 29 21:47:13 2010 -0700

    update changelogs for Debian build

commit 11b3f9ff715017a2dec02003275885334f22c009
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Nov 29 21:46:02 2010 -0700

    releasing 0.8.1

commit 5f3f11e11dff9b9f4d1dde279c0d474de0de12a5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 29 20:41:49 2010 -0800

    Add minimal release testing plan to Releasing
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f0a4deee23984a8f779917bbeaf74a66a0abf592
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 29 20:34:27 2010 -0800

    Move "Releasing" to top level
    
    This file documents the AltOS release process for all systems.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b727156ef0a7fb6e442ca28be27eb344a213ecf8
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 29 20:17:35 2010 -0800

    windows: Add jfreechart.jar and jcommon.jar to windows install image
    
    These are necessary for the Graph Data button to do anything useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3e2220a180f95971d222a597d2057ca328c27356
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Nov 29 21:29:14 2010 -0700

    adding Bdale's release process document to the source tree

commit 61a924099800494b589cbbb87c65b552ccbd8394
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Nov 29 14:40:27 2010 -0700

    fix an Altos vs Altus typo in the docs

commit e840b6594b8a939f148fa7231e1b06a280d94074
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Nov 28 22:42:43 2010 -0700

    fix section layering

commit f39698bbc12afdfadfac56c90030e16db93cf4fc
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Nov 28 19:46:03 2010 -0700

    fix publish target in doc/Makefile

commit 13cea7a96821165a10a8b2433af1da7508882b0a
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Nov 28 18:48:31 2010 -0700

    moved doc dir in web content to AltOS tree

commit 6f3c72462af86a7d9dec20f4c813a524a5be9fbb
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Nov 28 18:32:17 2010 -0700

    update changelogs for Debian build

commit a375942979dbcd8239d8c0addb10616e6048f6ea
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Nov 28 18:31:26 2010 -0700

    rewind changelog to recover from stupid build failure

commit 263cf6c4fc5c1a240d719bb0ceb33393864fb3d6
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Nov 28 18:24:00 2010 -0700

    update changelogs for Debian build

commit 2615289265b6f8fa08827be794b4eee569fc6333
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Nov 28 18:23:17 2010 -0700

    update changelogs for Debian build

commit 5e23bcc2d2ad33a839fedd2158213098a05cd9ae
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Nov 28 18:21:31 2010 -0700

    declaring 0.8 released

commit b09d3e11c32abd07f8e11b483ac4b57148f4f2d8
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 27 23:08:41 2010 -0800

    windows: Bump .inf file version

commit 42c2394ccc1a1ee6dc134ed963a4f79acf031d0b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 27 23:04:50 2010 -0800

    windows: more .inf file hacking
    
    Add a LayoutFile reference
    Add the FakeModemCopyFileSection
    
    Copy AltosMetrum.Install section to AltusMetrum.Install.NT section. I
    don't know what this might do; existing files seem inconsistent.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 26369a92398f4ebe3fcd54ce34cebffae0cfdf07
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 27 22:39:31 2010 -0800

    windows: remove some non-existent .inf file section references
    
    The mfglt and VerboseResultCodes sections are not present in the .inf
    file, so remove refernces to them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 641c5373724d34c3adfcf42420a528d6bba736b9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 27 22:35:18 2010 -0800

    windows: try harder to get windows install to work
    
    Add devIDs to .nsi file. Fix install section name mapping from the
    hot-plug info.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cd414e2c04ce5ecbc75f19325a6d6f82cd489fb3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 27 16:30:29 2010 -0800

    altosui: Correct windows hardware IDs for nsis installer file
    
    Need real hardware IDs (encoded USB ids) to get windows to
    auto-install the driver?
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f834b22905db87557f729f942607dc363b013694
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Nov 25 22:31:33 2010 -0700

    update changelogs for Debian build

commit da3b39d6b1b5ba48686c2a4add4b5448fd5711af
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Nov 25 22:29:01 2010 -0700

    changed main document name from telemetrum-doc to altusmetrum

commit ab6c9c983a2830bc8807e1b75d2576141b73632d
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Nov 25 19:30:02 2010 -0700

    update fat target in Makefiles to reflect move of altosui and libaltos

commit b8f05cdc0e9b4a96852eed9d38ff6d5950e2d2ed
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 25 17:29:28 2010 -0800

    altosui: Clean up flash code to ensure swing gets called from right thread
    
    This moves all of the flash code to a separate thread and passes
    messages back to the swing thread to keep the UI up to date.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit adbb14c63d85b7a54223f88ac623571456f4a462
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 25 16:28:04 2010 -0800

    altosui: Remove gratuitous threading from device flashing UI
    
    There's no need for a thread here, and swing doesn't want us to use
    one anyways.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f88520089660845009148b69bfcea6c9dff9672
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 25 16:23:18 2010 -0800

    altosui: Flight data download GUI operations called only from main thread
    
    Swing doesn't like UI functions being called from non-dispatch thread,
    so fix up the eeprom download code to use SwingUtilities.invokeLater
    to make sure this works right.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6d3612e267cd4c1e7fdd74fc33952b3f26f870f5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 25 16:09:37 2010 -0800

    altosui: Eliminate unnecessary thread from config UI
    
    There's no reason to use a thread to run a dialog box, and
    swing doesn't like threads anyways.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 12fb7f0e70cd244475d84469f93283112478d1e1
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 25 15:56:42 2010 -0800

    altosui: Only call swing display functions from main thread.
    
    Swing insists that all display functions be called from a single
    thread, and the flight window wasn't following this for display
    updates. Use SwingUtilities.invokeLater to make sure the flight UI
    updates happen in the right context.
    
    Fixes a UI freeze on Mac OS.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b74cec6cd0bc043f53e9e28472765aa343136813
Author: Bob Finch <w9ya@qrparci.net>
Date:   Thu Nov 25 13:30:48 2010 -0700

    Updated AltOS PKGBUILD to track makefile changes

commit f88bde21d76a4ff91099a5051153ebace1619978
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 25 11:16:55 2010 -0800

    altosui: Hack up standalone makefile to maybe build altosui again
    
    This isn't tested, but at least the paths are more likely to be correct
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3d98440d53378aaa6da87ed65e9abb2f96f7ee49
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 25 11:16:28 2010 -0800

    altosui: Make windows bits build after moving altosui directory
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4893ed50bc14772986ac02f9b39928f1882da923
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 24 23:54:08 2010 -0800

    Revert "altos: Don't abort radio transmissions with ao_radio_abort"
    
    This reverts commit 54468e5dc567aaac5c5c20e921859b7cec28bb88.
    
    With this patch in place, TD could not be placed in 'packet' mode.

commit cb08bc264c71ca972027392b42f347a03df76a43
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 24 22:55:08 2010 -0800

    doc: Rename telemetrum-doc as altusmetrum
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 554bdd25e132dbaec322bc11f94093d2c2e78751
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 24 22:49:33 2010 -0800

    doc: Add more authors, fix URL formatting, note that AltosUI actually exists
    
    Add aj and bfinch as authors. Insert an acknowledgements section. Fill
    in the Fire Igniter section in the AltosUI chapter. Then change the
    section talking about the future plans for Java to mention that they
    actually exist now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bcf78b67717374b5971820021b83061e2e9734cf
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 24 21:39:18 2010 -0800

    doc: Reformat altos to use sections for each function
    
    This places them in the TOC, making them easier to find.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 51c7741040d95c5deece939dae5e4136cc04afc4
Merge: d1dbe3b6 4e47c44d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 24 21:00:52 2010 -0800

    Merge branch 'buttonbox'
    
    Conflicts:
            doc/telemetrum-doc.xsl
    
    Pull the buttbox version of the docs in as it had been updated.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e47c44d335276cf0dc5ed3a0756e50c98c1b9b9
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Nov 24 21:44:53 2010 -0700

    manually fold in documentation work from the master branch

commit 8a68c1da253c0b29a7cb9c7540c20585ad6e3dec
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Nov 24 21:21:53 2010 -0700

    tweak rev history

commit 7cd1c7765d137df711caeeb69abaaba1b36e0a65
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Nov 24 20:53:36 2010 -0700

    fix missing section close in Site Map content

commit db2b19b8f0d452d682d53c7ed0ff6e359b46efa0
Merge: b372f3c0 915f881d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 24 18:57:35 2010 -0800

    Merge remote branch 'aj/buttonbox' into buttonbox

commit b372f3c0ee4ec49aabe61c169cb1eb9bb4fb2cfc
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 24 18:50:46 2010 -0800

    Missing change to top level Makefile to build altosui
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 915f881d61294dc6f5a6a3e8d75567e18492a631
Author: Anthony Towns <aj@erisian.com.au>
Date:   Thu Nov 25 09:52:30 2010 +1000

    doc: Document altosui "Site Map" tab

commit f01096c4b42f9a4720ed0414826c2a283a992545
Merge: 357826aa 3fbefb3e
Author: Anthony Towns <aj@erisian.com.au>
Date:   Thu Nov 25 09:10:50 2010 +1000

    Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

commit 3fbefb3eea981d34a09496cf8abf0119de2e35bf
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 24 14:57:57 2010 -0800

    Move altosui to the top level, placing libaltos inside it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 357826aa9c7b42c59f5d52b8eb016d73b6da0c7f
Author: Anthony Towns <aj@erisian.com.au>
Date:   Thu Nov 25 09:07:34 2010 +1000

    docs: Document altosui "Graph Data" button

commit 7811e6dfa6caf10251da7df7c24b98cdc3787892
Merge: 71b1949e 7a50837e
Author: Anthony Towns <aj@erisian.com.au>
Date:   Thu Nov 25 08:47:36 2010 +1000

    Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

commit 7a50837ea0d92db3f469f197ec8210aee22aa143
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 24 10:55:18 2010 -0800

    altosui: Make sure packet mode is turned off when the connection fails
    
    When the packet connection times out, turn packet mode off when
    closing the serial port.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7d90e2f6009e060fb59c519f7e564483a7ca6872
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 23 20:17:44 2010 -0800

    altosui: Let people fire igniters that don't read as 'ready'
    
    This provides for igniter testing with LEDs or other materials that
    don't look like regular igniters.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f3233985a132e1d660e6df12d0056b6729f16faf
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 23 19:09:31 2010 -0800

    altosui: Disable radio configation over packet link.
    
    Attempting to configure the radio over the packet link will only end
    up confusing the user, so disable it. This also works around a bug in
    older TM code which would lock up when trying to do this.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6cd9be22f06f21d12ee2f668989d83d3c61d14c0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 23 19:08:07 2010 -0800

    altosui: New AltosSerial.set_radio function sets channel/call
    
    Use this anytime you need to set the device radio channel and call
    sign, either for telemetry reception or packet mode origination. This
    uses the saved callsign and per-device radio channel number. Do not
    use this when opening a telemetrum as there won't be a saved channel number.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ed7cf7d262fcf7c0c677c2fb981582b571de9e5e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 23 19:04:55 2010 -0800

    altosui: Make AltosSerial.flush_input keep reading while non-empty
    
    Flushing the input buffer can take a while, especially over the packet
    link. Keep reading while stuff is appearing on the reply queue.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3b9db8c82d26a6a2e43d4ca40742fc1bdc502380
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 23 19:02:54 2010 -0800

    altos: Make radio test command careful with the radio mutex.
    
    Remember whether the radio test mode is on or off and don't try to do
    either of them twice to prevent the mutex from being acquired or
    released twice.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 54468e5dc567aaac5c5c20e921859b7cec28bb88
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 23 18:57:49 2010 -0800

    altos: Don't abort radio transmissions with ao_radio_abort
    
    We only want to abort pending radio reception to release the radio for
    other use, or to change the radio channel. Let radio transmission
    proceed. This fixes a problem with using packet mode to configure the
    radio channel; if the packet transmission is aborted, the TM ends up
    wedged.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d873dc28f0752aeb58a6263e42bdd5b9095bd392
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 23 18:56:46 2010 -0800

    altos: remove unused variable from ao_igniter
    
    The 'status' variable used to hold a reported status value from the
    igniter after firing, but we ignore that now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 71b1949e50f4533bcf44537da65b19bc67863c8e
Merge: a79225c2 f1892b13
Author: Anthony Towns <aj@erisian.com.au>
Date:   Wed Nov 24 12:14:11 2010 +1000

    Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

commit f1892b137b1de3d6caf0293bd40ed5c3e4948066
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Nov 23 18:58:11 2010 -0700

    lose the placeholder on how GPS works, as it's going to be a
    while before I tackle that, if ever.

commit a79225c215f17fa5218ddd9db4fc3f5c563a9f74
Merge: 84cd5d42 853b7112
Author: Anthony Towns <aj@erisian.com.au>
Date:   Wed Nov 24 11:55:14 2010 +1000

    Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

commit 853b7112e34212040c4cb7289f9cfdb2f3ea9f90
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Nov 23 18:53:18 2010 -0700

    merge Keith's AltosUI documention into "the big book"

commit 84cd5d42d8b5659463544fe2a400758b56478609
Author: Anthony Towns <aj@erisian.com.au>
Date:   Wed Nov 24 02:13:32 2010 +1000

    altosui: sitemap uses rocket gps if no pad gps

commit c7119c21baa9d4ca681975b8613ade6593f65577
Author: Anthony Towns <aj@erisian.com.au>
Date:   Wed Nov 24 02:11:36 2010 +1000

    altosui: don't switch away from user selected tab

commit ae55a107f12546dc65f04618c7abc17beb920d73
Merge: d1005f68 737f2fdd
Author: Anthony Towns <aj@erisian.com.au>
Date:   Wed Nov 24 01:53:46 2010 +1000

    Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

commit 737f2fdd012202f453120ece117ae5e859b32082
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 22 22:26:19 2010 -0800

    doc: Add internal documentation for AltOS
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5523e7d55ecc8d310e495fa4f5115f7483c42d65
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Nov 22 21:07:10 2010 -0700

    add a rudimentary --help for command line use

commit d1005f68376d695039c314b8d7a68bbf9acbca4f
Merge: 9a83e0dc 22c09781
Author: Anthony Towns <aj@erisian.com.au>
Date:   Tue Nov 23 10:14:55 2010 +1000

    Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

commit 22c09781af1df4b38562b577e9926c23e4a397f2
Merge: b27327a0 a79606a6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 22 16:02:22 2010 -0800

    Merge remote branch 'origin/buttonbox' into buttonbox

commit b27327a05d249eaf969b67d2a8d12fc6a93841f0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 22 15:56:04 2010 -0800

    altos: assume igniter worked.
    
    Many igniters don't go open when fired, so there's no way
    to know if they worked. Assume they did as a failed igniter is
    unlikely to do anything when fired again anyways.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 68323cbb222f1f33198a42abaa0550af22f75a93
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 22 15:53:27 2010 -0800

    altosui: Close serial port when debug link fails
    
    If the debug connection isn't working, close down the serial port when
    reporting the failure.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9a83e0dc79f7a7467c7814d58daa2a2b89e50972
Merge: 902735ff a79606a6
Author: Anthony Towns <aj@erisian.com.au>
Date:   Tue Nov 23 08:07:04 2010 +1000

    Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

commit a79606a6507fc01a74910f7959e84c4e9a730714
Author: Bob Finch <w9ya@qrparci.net>
Date:   Mon Nov 22 12:24:42 2010 -0700

    Added PKGBUILDs for deps into contribs

commit 377ee7e90ecd028f984cd1abce96b2efc3b5b977
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 21 14:03:17 2010 -0800

    altos: Add on/off modes to 'C' command
    
    This lets the user turn the radio on/off and then invoke other commands.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 902735ffbfdd97672d52b09f17cdcd619193fd05
Author: Anthony Towns <aj@erisian.com.au>
Date:   Mon Nov 22 05:29:26 2010 +1000

    altosui: keep sitemap more centred on rocket

commit b85df38b5611e45cb9296df07b720badf74ac26e
Author: Anthony Towns <aj@erisian.com.au>
Date:   Mon Nov 22 05:22:17 2010 +1000

    altosui: improve sitemap scrolling behaviour

commit 4a9ded5b39ed08e13abc2cddba8b712f62b983f2
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 17:39:50 2010 +1000

    AltosSiteMap: ensure buffer around active tile

commit ec47bc93a487614714a752cb30ec9fe3d8f72929
Merge: 0393830f e7954c82
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 16:08:37 2010 +1000

    Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

commit e7954c820763f80e993f9f822e837725cf36af84
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 20 22:03:26 2010 -0800

    altosui: When fixing eeprom gps time information, make GPS data valid
    
    Eeprom files may be missing the GPS time (due to a firmware bug). Working
    around this involves finding the next valid GPS time and using that to
    create a fake GPS time entry. However, that next GPS time may not
    be locked or may have few sats as it is from the boost stage of the
    flight. Fix this by simply forcing the fake time packet to have
    4 sats and be locked.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0393830f85da5efc96bbdf0d9769b66019c34b33
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 15:13:35 2010 +1000

    AltosSiteMap: limit nr of tiles to 200x200

commit a08b2a6363c194195db92029743f6612676373ce
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 15:03:21 2010 +1000

    AltosSiteMap: never accept 0,0 as lat/long

commit 84e570d8a8a52e0d358582135ec1b3a12be94c26
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 14:45:10 2010 +1000

    AltosSiteMap: refactor tile collection

commit 71e487344395a8efc9cd279aad92f601ff4c6d3d
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 14:05:00 2010 +1000

    AltosSiteMap: thread safe tile addition

commit c040bcd06679484175542208fb564d0271a7fc1b
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 13:19:36 2010 +1000

    AltosSiteMap: try to get new tile construction right

commit c3994dd82d489289ebc99ff9c5fa88f560c023ac
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 13:07:11 2010 +1000

    AltosSiteMap: extend map if rocket goes far away

commit 835b903727a2eabda8d9659cc46e53301f92897c
Merge: 440a0f3f 87891355
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 11:15:02 2010 +1000

    Merge branch 'sitemap' into buttonbox
    
    Conflicts:
            ao-tools/altosui/AltosSiteMap.java

commit 878913551a1e4e3c8f2b39fa4aeb234880735a1c
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 10:55:22 2010 +1000

    AltosSiteMap: explain tile size better

commit 440a0f3f5130eb0c8e614691892be8c94e7fd3c3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 20 16:55:12 2010 -0800

    altosui: Set site map flight path lines to 6 pixels anti-aliased.
    
    Much more visible over the map.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2a7dc3ba36bac81640a9498e0d0caf1470b57c19
Merge: e5b1adae ece2c86e
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 10:45:15 2010 +1000

    Merge branch 'buttonbox' into sitemap
    
    Conflicts:
            ao-tools/altosui/AltosFlightUI.java

commit 8df185cd95cfecbed8272dd1275d077c5b45535b
Merge: ece2c86e 1e712647
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 20 16:35:48 2010 -0800

    Merge remote branch 'aj/sitemap' into buttonbox
    
    Conflicts:
            ao-tools/altosui/AltosFlightUI.java
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e5b1adae9b23b98a6321986f5cd67c9d3166b87f
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 10:34:39 2010 +1000

    AltosSiteMap: better gps check, lower zoom

commit ece2c86e2641b2cd613791293526c492b1606aa1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 20 16:19:42 2010 -0800

    altosui: Rewrite info table to mix with scroll pane well. Fix startup size
    
    Using a single table for the info table means that the scroll pane
    automatically picks up the table headers and shows them above the
    scrollable view.
    
    This patch also fixes the application size at startup so that no
    scrollbar is required in the info table, and the window is < 800x600.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1e712647dd6df1e77650db705f3ac32a3c8f6907
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 08:58:44 2010 +1000

    altosui: reindent

commit a59a204e188e40ec8848a0dc63d6de710cee3039
Merge: 82636305 37f0201d
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 08:56:13 2010 +1000

    Merge branch 'buttonbox' into sitemap

commit 82636305021c41d676f5f0f11378724fe0de0079
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 08:44:13 2010 +1000

    AltosSiteMap: be more polite about preferred size

commit 37f0201d724693528f37ac7d275f68f90cf94da0
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 20 14:31:23 2010 -0800

    altosui: change descent tab formatting to four columns
    
    This places labels to the left of each field. For igniter voltages,
    it uses three columns for the labels.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 66ebd954d9c9a44a8db0ee713c682e39306fabd8
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 08:28:24 2010 +1000

    Add GrabNDrag.java

commit 72f5e05f9f0055f2cef8b840812f090556c94338
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 08:18:39 2010 +1000

    AltosSiteMap: major refactoring

commit b47517d4c2e49f6f7b9954d2c85f96397fe1103e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 20 14:06:37 2010 -0800

    altosui: re-indent

commit 6f8bc2ad20b715343e0510563ab0f14787ef3e07
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 01:34:52 2010 +1000

    AltosDescent: switch elev from height to range

commit 89f44c5587ea4f927d5e398b6af919df0d6561c3
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 01:27:01 2010 +1000

    AltosAscent/Descent: tidy up layout

commit 51e403145d28ac913e36d205077a613845596be2
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 00:17:51 2010 +1000

    AltosSiteMapTile: draw boost circle as well as landed

commit 25ffe1cc7823895886b4777f310b4bda1c80133b
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 21 00:07:16 2010 +1000

    AltosSiteMap: automatic fetching of map data

commit 20f714bbe3137de8fb7491b39985021fd1774930
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sat Nov 20 22:49:51 2010 +1000

    AltosSiteMapTile: seperate map and drawing layers

commit 58f8d069ce9488e2987b8e92caa69fe68cda7569
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sat Nov 20 21:06:37 2010 +1000

    AltosSiteMap: add autoscroll and grabndrag scroll

commit 74cab8503b51ba6fb05a4d12a031c749e870b0ef
Merge: 0ecf0331 9a99cabc
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sat Nov 20 18:20:45 2010 +1000

    Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

commit 0ecf033110084f1a8be98282d7029dc14f70dab5
Merge: 081fbd57 71c41ead
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sat Nov 20 18:14:30 2010 +1000

    Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

commit 9a99cabc1c34c657fc95246192ba6d330f5f22d3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 20 00:13:58 2010 -0800

    altosui: Fix channel changing in flight UI to actually work
    
    Replacing the menu with a combo box required reworking the way events
    are delivered from that widget back to the channel changing
    function. Just delete the old magic and use the JComboBox action
    listener directly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 71c41eadd12c3ece5fffce7669e4991778046d4e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 20 00:09:03 2010 -0800

    altosui: Initialize display thread state in constructor instead of run
    
    Some state will get set before run is called, initializing it there
    can be too late.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 081fbd5715f9d3d81d98e149fb95d40447c07a79
Merge: 90b9bc44 7920ed5c
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sat Nov 20 17:40:49 2010 +1000

    Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
    
    Conflicts:
            ao-tools/altosui/AltosFlightUI.java

commit 7920ed5c34b088f45ce4213b061ddd1ffe22cee8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 19 23:18:51 2010 -0800

    altosui: calling thread.interrupt with null thread doesn't work well
    
    This was a left-over from debugging the previous patch.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8c8dc3794c7b5fa5a5b43b1c461d6c8bb3ab425d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 19 23:09:15 2010 -0800

    altosui: When switching log files, don't terminate log thread
    
    The log thread automatically switches output files when the incoming
    telemetry changes. Don't use 'close' for that as 'close' terminates
    the log thread as well as closing the file. Create a new
    'close_log_file' function which just closes the file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 594e80572821f1848db062d0cff18ca8bf0d90ce
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 19 22:44:48 2010 -0800

    altosui: switch channel selector to combo box. Shorten displayed device names
    
    A combo box displays the current value, which is quite nice to
    have. Add a 'toShortString' for AltosDevice so that the window frames
    and error messages don't have extra spaces generated by the
    altos_device toString method.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fa07afc73bc5eccff8464a2def05ad600da33c97
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Nov 19 23:33:42 2010 -0700

    update turnon scripts to use stashed copies of stable release firmware

commit 9ffc2eb53a47e435f39b02896b0e43ae5f47f450
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 19 18:25:48 2010 -0800

    altosui: Use timeouts to recover from broken packet links.
    
    This puts timeouts every place the system reads from the packet link
    and aborts the in-progress operation if it takes more than a second to
    get a response.
    
    Also mixed in here are persistent igniter status displays for the
    ejection testing UI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 68078eab3c07d8dc83302747cf6f3dcb1797c6ce
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 19 20:44:29 2010 +0800

    doc: Document the 'Flash Image' operation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b4bdda65488e8ef27d2889cb6cc8eda3c5d50e0a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 19 20:29:14 2010 +0800

    doc: git ignore generated doc files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f0542085de2139ef562af068ec05fa73f47c73b1
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 19 20:26:49 2010 +0800

    doc: Add preliminary altosui documentation
    
    Also, update the Makefile to allow for further documents to be added
    without a lot of custom rules.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0e7a10f71803d60f8b34c5a91efd220449442769
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 19 17:16:03 2010 +0800

    altosui: Clean up global AltosUI configuration settings dialog
    
    This dialog had a mish-mash of styles and was confusing.
    Now it's got a label for each line, and suitable setters for
    each element
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8f72f08839346fb225238420324f0edcd070e531
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 19 17:14:17 2010 +0800

    altosui: Unify datafile selection to AltosDataChooser
    
    Instead of having several separate intefaces, use a single dialog for
    selecting data files for graph/export/replay.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 24ffcf86c43290ce0f70fb4ee0984b3debdb8a5f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 19 15:41:30 2010 +0800

    altosui: Add igniter ground testing code
    
    Not yet hooked up, but the UI is finished.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 90b9bc4475011bead7117ed72fa5efa0f77b2813
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Nov 19 13:30:00 2010 +1000

    AltosSiteMapTile: adjust scale to 1 nmi per tile

commit fa45336062523838ba8abb08427cdc4d9c7de7a8
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Nov 19 13:17:29 2010 +1000

    AltosSiteMapTile: adjust centering calculation

commit fda93afcd8aa4133b0e5f008b824d072e338d0ed
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Nov 19 13:02:05 2010 +1000

    AltosSiteMapTile: autoscale to about 2 nmi per tile

commit 483346a03c94b200692f5e6d59f3feee4dcf2ace
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Nov 19 12:09:46 2010 +1000

    altosui: tile site maps

commit 939be6793238a275b7682ecc376fed14379cf044
Merge: e68fe945 1a4b6e96
Author: Anthony Towns <aj@erisian.com.au>
Date:   Thu Nov 18 05:54:06 2010 +1000

    Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox
    
    Conflicts:
            ao-tools/altosui/AltosFlightUI.java

commit 1a4b6e96f823035b113f01d1bdfd61afc1f33e25
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 16 22:46:29 2010 +0800

    altosui: Add igniter status to ascent and descent tabs
    
    Monitor igniters during all phases of the flight.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d0eb41619544ead6d9dab3a8d024a12936c9cdd0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 16 22:20:00 2010 +0800

    altosui: Cleanup flight UI layout
    
    Use common constants for fonts and insets
    Shrink fonts so that the window is < 600 pixels tall.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fcca333cda64be35f0c9fb0109eef1be3709dddd
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 16 21:49:59 2010 +0800

    altosui: Add callsign configuration in AltosUI configuration dialog
    
    This callsign is used during packet communication.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d1dbe3b69e6f95ef8ecd4cf959863b922ab47c66
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Nov 15 11:08:00 2010 -0700

    add a paragraph about forcing TM back to idle mode if an accel cal goes badly

commit 39e371561469d8e5059638ffa4e7075f391de268
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 15 23:14:51 2010 +0800

    altosui: add reboot button to telemetrum configuration UI
    
    This lets you reconfigure and reboot telemetrum, including over the
    radio link.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 257e97137325f5dbbd6aa034f20fd6937b67df90
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 15 22:38:35 2010 +0800

    altosui: eliminate menu bar, moving elements to buttons.
    
    This adds a new 'configure AltosUI' dialog to set the log directory
    and voice preferences.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 524644d8d8ce3f8a5a914ecfc7e2a8d474d89095
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 15 22:04:44 2010 +0800

    altosui: oops, missed a file in the previous commit
    
    AltosSerialInUseException.java just defines a new exception, thanks to
    java for making this live in a separate file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 511903704f7e1b22e88dd3e3cc35fd3c0583820e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 14 03:26:57 2010 -0800

    altosui: With --replay option, exit when replay window is closed
    
    Otherwise, the application hangs around forever.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 11c95f687b1f68d35fa1a0af2c4e7982b8bb226a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 13 17:09:51 2010 -0800

    altosui: Replace flight status table with labels, fix resize.
    
    There's no reason to use a table for the flight status data,
    replace that with a selection of widgets instead.
    
    Also, set all of the grid bag constraints for the various flight
    status displays so that resize does something sensible.
    
    Adds a scrollbar to the table display so that it can shrink.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dcfa56498d1b65a213b8aba9cbd6c4806532383c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 13 16:07:04 2010 -0800

    altosui: Open serial device at 'new' time. Prohibit duplicate opens.
    
    With the per-serial UI, there's never a reason to create a serial
    device without opening it right away. This eliminates the bug caused
    by not opening the serial device for telemetry reception.
    
    Serial devices can now be opened only once; this eliminates errors
    when trying to reflash or configure devices while receiving telemetry.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8463ffcaca6bcd31e645aba71c171f548dce96d8
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 13 15:19:14 2010 -0800

    altosui: Eliminate unncessary import altosui lines
    
    Java appears to automatically import every module from the current
    package.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 566c6486c8815ae241e0b116a93b1a0ff4783831
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Nov 13 12:19:12 2010 -0700

    continuing to work on the docs

commit e68fe9454352087889c560d95797922493117acb
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 14 00:59:01 2010 +1000

    AltosSiteMap: add targeting circles around landing site

commit 1e7e02987276847274493312202d22222c953149
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 14 00:57:45 2010 +1000

    AltosTelemetryReader: actually open serial port

commit 9c32b93ef5fb43558fb0179ea1b047e35b7ed6e8
Merge: 991541f5 a6f30fae
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Nov 14 00:29:11 2010 +1000

    Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonbox

commit a6f30fae906bd87dff192c5fd4d10df283f99930
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 12 17:02:22 2010 -0800

    altosui: Add RF calibration to TeleMetrum config dialog
    
    I think that's the last user-settable value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1bdc6166f3bc5ce3f8e55acb1484923781412e21
Merge: f1118717 5c6a5335
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Nov 12 17:32:43 2010 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit f1118717780a81f9257d2eed7828b66538deb8a8
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Nov 12 17:32:21 2010 -0700

    fold in content from Keith's email on the re-flashing subject

commit 7def9dd0d0a4ce9cf7c65de573100e664f278717
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Nov 12 10:58:54 2010 -0700

    first cut at instructions on how to re-flash TM and TD devices based on email
    reply to a user who asked

commit 991541f57f065f429c6ec425efd6ac731280b2c1
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Nov 12 23:42:42 2010 +1000

    better error behaviour if no map

commit 1bcfa22de7821984149db10cb79913efed36b41e
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Nov 12 23:29:40 2010 +1000

    pull up maps for arbitrary locations

commit beb6c881ec006241c7d2820c64e5381131d41180
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Nov 12 03:24:26 2010 +1000

    make infotable scrollable, revert its fontsize to 14

commit 0327c1da01a3f6ede01f05c1d775651a57fd0c68
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Nov 12 02:08:58 2010 +1000

    tabs -> spaces

commit 81e7b43ecad666e2e2310c7c94184f888bc86585
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Nov 12 02:07:41 2010 +1000

    add site map tab, at least for QRS launches

commit 5394548fa5c7bdbfcc01e8aa19e93e1cf6345e2a
Merge: 891e629f 75f7698b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 10 22:11:21 2010 -0800

    Merge remote branch 'aj/buttonbox' into buttonbox

commit 75f7698b99a661ed17a91748a99699fa6761772a
Author: Anthony Towns <aj@erisian.com.au>
Date:   Thu Nov 11 16:06:32 2010 +1000

    add compass bearing during descent

commit cc0a730de093c49be2a921101d27622b6f592e92
Author: Anthony Towns <aj@erisian.com.au>
Date:   Thu Nov 11 15:57:52 2010 +1000

    add compass bearing to voice output

commit 317ec72a34906faad88c6924e634617b074e71db
Author: Anthony Towns <aj@erisian.com.au>
Date:   Thu Nov 11 15:52:01 2010 +1000

    use grayled.png for off

commit 8503943e3613f8670b128012b12ff14fb54321d7
Author: Anthony Towns <aj@erisian.com.au>
Date:   Thu Nov 11 15:45:43 2010 +1000

    reduce font size for FlightInfoTable

commit 3ffaa5d1c00b28be20fd4a26deb7bd41d953e92a
Author: Anthony Towns <aj@erisian.com.au>
Date:   Thu Nov 11 15:43:05 2010 +1000

    read preferences for --replay

commit 1f3e091efdfb2fe6f06a066cac60f5d267b94856
Author: Anthony Towns <aj@erisian.com.au>
Date:   Thu Nov 11 15:40:37 2010 +1000

    add --replay command line argument

commit b16b873723ee3e5097e6725c59ce191119439ad7
Author: Anthony Towns <aj@erisian.com.au>
Date:   Thu Nov 11 15:38:27 2010 +1000

    use value_font for values

commit 891e629f6ba20654b614f3ca7211a0f1c92670cb
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 10 16:28:19 2010 -0800

    altos: Use grey leds when unlit - easier to see

commit 5c6a5335a057be0219450b4b9889c647d8d4a012
Author: Bob Finch <w9ya@qrparci.net>
Date:   Mon Nov 1 14:36:41 2010 -0600

    Updated PKGBUILD-git.altos
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b0d31910da592e2f67c47c8fc3e15ce8135d5094
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 9 23:34:32 2010 -0800

    altosui: Add ascent, descent and landed tabs
    
    This completes the set of tabs for in-flight status information.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 22d00785188a880700cd372528189a7a15278da9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 9 14:40:58 2010 -0800

    altosui: Add tab UI with 'pad' mode.
    
    This creates a multi-tab interface for flight monitoring
    and includes a special tab for 'pad' mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eb77e806ded99532dc7eaa39c1893f075b028af6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 9 10:21:34 2010 -0800

    altosui: Create abstract interface for flight data display
    
    This allows the implementation of the flight data display to occur in
    the flight UI instead of the display thread.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a0a92c605e238277c9881545a7226e53b5dbc295
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 8 22:17:26 2010 -0800

    altosui: Fix more calls to AltosPreferences.channel()
    
    Oops. Two more.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 94f4a50d6430cc8280cbdaa9f39d3cb858d0e077
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 8 22:10:46 2010 -0800

    altosui: Fix channel setting at serial open time
    
    Was using the previous non-device-specific preferences API.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6b17d276271faa8a420a1c8f6be17faaa0c7043c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 8 22:07:04 2010 -0800

    altosui: Create buttons for main actions
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 16916be51d746b1e1057b3219e5bec8f8814259e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 5 23:44:47 2010 -0700

    altosui: Split out flight monitoring to separate window
    
    This creates a per-TD (or replay) window to contain the flight
    monitoring information, allowing multiple monitors.
    
    This also adds per-TD preferences for monitoring channel.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ca931b1c484bd6b64617370e81b16e169fdae1c2
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Oct 6 17:47:44 2010 -0600

    update changelogs for Debian build

commit 811ced628d586134224c1b501b40ce9eb435fc7c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 6 16:42:27 2010 -0700

    altosui: Separate out jfreechart and jcommon directories
    
    This allows these packages to be referenced separately
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c2c4d515ef9cc2cae8a8f2803e9498bb0794c4ed
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 6 16:25:49 2010 -0700

    altosui: Remove ability to graph data in .csv files
    
    There's no reason to support these files when the raw .eeprom or
    .telem files which generate them should be used instead.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d5caf6f2f4d9257e26aa4305b26c02d1b263fa24
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Oct 6 17:14:35 2010 -0600

    remove the csv build dep, as that code will be abandoned

commit 43e23a60780191e3c6f61df44c5dd08cc8604c51
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Oct 6 16:27:57 2010 -0600

    update changelogs for Debian build

commit 8103432bf7adfe6ee5bf3ee42e1672475e6edd5a
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Oct 6 16:26:33 2010 -0600

    update changelogs for Debian build

commit 635066cd35fb24cacf8400a477ea4b4e3dd2c39c
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Oct 6 16:26:19 2010 -0600

    update changelogs for Debian build

commit 4396aaaf34cda3751dcca0eceb05b4ffeb411cde
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Oct 6 16:25:22 2010 -0600

    add build-dep on libcsv-java

commit 7475ab5804bf3fb12b1b755e850af90d5a15d3eb
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Oct 6 16:19:35 2010 -0600

    update changelogs for Debian build

commit d8a2f4ceb1c70a6be976a78e2264c961de2f2277
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Oct 6 16:18:45 2010 -0600

    add build dep on jfreechart lib

commit f0d1468ceae065f0cdae6f6ae3323dec5636f073
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Sep 28 17:56:49 2010 -0700

    altosui: Add KML file export.
    
    Command line has switches now, --kml and --csv
    Export save dialog has combo box to select kml or csv result.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5a119fd92532d53e552efe1f7c61e87181fcace0
Merge: 28da3406 82744c34
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 27 22:28:07 2010 -0700

    Merge remote branch 'aj/master'

commit 82744c3497d37650b88dee80be7956c4bd1cffb2
Author: Anthony Towns <aj@erisian.com.au>
Date:   Tue Sep 28 15:27:07 2010 +1000

    Add callsign/serial/flight to graph title

commit 28da3406426437604125d332e4cda90d459df487
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 27 22:26:56 2010 -0700

    altosui: use Altos constants in graphing code
    
    The Altos class nicely defines constants for all of the flight states.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ce7f59fbfb5a94a67a4ceced3cc371b4c6b6e5d1
Author: Anthony Towns <aj@erisian.com.au>
Date:   Tue Sep 28 14:45:01 2010 +1000

    Hax0r graphing to support telem/eeprom files

commit e2b9f47a205348d38756c70e928a2a9183de6884
Merge: 7ef3ad0c 80320319
Author: Anthony Towns <aj@erisian.com.au>
Date:   Tue Sep 28 12:55:47 2010 +1000

    Merge branch 'master' of git://git.gag.com/fw/altos

commit 803203197e51e71e9c77b3610047fd5bf9a56c56
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 27 18:52:30 2010 -0700

    altosui: Deal with eeprom dates going backwards across wrap
    
    eeprom timestamps can go backwards as the GPS time stamps are
    recorded when the first GPS character is received, but not placed into
    the eeprom log until the last GPS packet is complete. If this happens
    at the same time the tick count is wrapping, then the tick count will
    wrap backwards across the 0 boundary causing time to jump forwards.
    
    Fix this by letting time go backwards across the tick boundary, which
    requires that we know when the first 'real' tick is read from the
    eeprom file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fe7eba2e4af36cf29d8dc2378ac6985be04f68c6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 27 18:51:05 2010 -0700

    altosui: .CSV output: add link quality, gps hdop and sat C/N0 numbers
    
    This makes the CSV files contain all of the available information.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c89a34d1eb25155405b0036baeadc7bbfeade1c2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 27 17:11:48 2010 -0700

    altosui: Create iterables for log file scanning. Split out display threads
    
    Convert from log file reading paradigm to using iterators which is
    more idiomatic for java. Split more code out of AltosUI.java,
    including the display update threads for telemetry monitoring and
    logfile replay.x
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7ef3ad0c9354c0484c25badc69334b59c7f355e2
Merge: eb74866e e66919aa
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Sep 24 10:28:06 2010 +1000

    Merge branch 'master' of git://git.gag.com/fw/altos

commit e66919aa46193bd8c7a1e86fb32a3367dae121f5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 23 16:52:51 2010 -0700

    altosui: Require 4 sats for 'good' GPS data
    
    Wait for 10 consecutive GPS reports with at least 4 sats before
    reporting "GPS ready" state.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 34ca8c00f4be72c314baff4c96f1e2f010948454
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Sep 20 06:30:49 2010 -0700

    altosui: remove unused ReplayThread wrapper classes
    
    These aren't used now that the replay opener dialog knows how to build
    a reader from a filename.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fd010661ced6075f82a961625826665a3d8d1efe
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 30 14:00:04 2010 -0700

    altosui: Factor some UI elements into separate classes
    
    Clean up AltosUI by moving the two main tables to separate class files.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eb74866e919e8c661153847871f5a79e66d37296
Merge: af404b42 12605899
Author: Anthony Towns <aj@erisian.com.au>
Date:   Mon Sep 20 22:05:26 2010 +1000

    Merge branch 'master' of git://git.gag.com/fw/altos

commit 1260589976c1a95848b298497fd251c4ee7d3f93
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 19 02:52:29 2010 -0700

    altosui: Write raw sensor data to .csv files
    
    For data export, provide the raw sensor samples instead of the
    filtered values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7a4d7110debb88f4e906fee7c46f2badd561809d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 19 02:50:43 2010 -0700

    altosui: Use recorded ground acceleration when reading eeprom files
    
    The flight software records 1000 accelerometer samples and records
    that in the flight log. Use that value instead of using the very few
    samples recorded in the eeprom before boost is detected. This
    generates far more accurate accerometer data in the .csv files.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit af404b428bd742039afc25ff3850f76bc92c7c29
Author: Anthony Towns <aj@erisian.com.au>
Date:   Wed Sep 15 07:24:04 2010 +1000

    Add JFreeChart to Makefile.am

commit 61590b8729831cb138b2ba6b88802c208d114753
Author: Anthony Towns <aj@erisian.com.au>
Date:   Wed Sep 15 06:51:05 2010 +1000

    Add graphing.

commit 3d64f5a6511529ca53699190f4d54de1ba62a9bd
Merge: ec6da082 b9623f8e
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sat Sep 11 15:15:14 2010 +1000

    Merge branch 'master' of git://git.gag.com/fw/altos

commit b9623f8ef26491e9fa14e2478295fe6f5cbbd87f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 10 21:07:14 2010 -0700

    altosui: Remember directory containing firmware files
    
    Instead of forcing the user to navigate to the firmware directory each
    time, this remembers the previous directory and starts there.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f2204e0832b14b1edca4266a2cbc272141ecc2b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 10 20:55:05 2010 -0700

    altosui: set default .csv file name in file save dialog
    
    This uses setSelectedFile to specify which output filename to make the
    default in the save dialog.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7e053ae1f2d09347123ac9fa79e46645378b4c70
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Sep 10 10:42:35 2010 -0600

    make the column headers comma separated, too, so they align with the data

commit ec6da0824474e46de842845d7b53fe1a1dde33ed
Merge: 7c2e4114 10310672
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Sep 10 16:11:34 2010 +1000

    Merge branch 'master' of git://git.gag.com/fw/altos

commit 10310672a83a66dc630718b151d653fc066f8e59
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Sep 10 00:09:25 2010 -0600

    update changelogs for Debian build

commit 9d0e89e8ad8926dc8371fa809835a580ae49711d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 23:04:59 2010 -0700

    altosui: Stop parsing eeprom file after hitting 'landed' state
    
    Sometimes there are additional records found in the eeprom file; the
    reader is mostly worried about not losing anything, so it reads as
    much as it can. However, the last record written for any flight is the
    'landed' record, so we can stop looking at the file after hitting that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 67b6952f7126704478ede5575e5e938d18fcc329
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 23:04:14 2010 -0700

    altosui: Fill in time value of last Eeprom record read from file
    
    The last record is handled separately, and was missing the code to
    compute the time. Sigh.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8b0b584cd0ca7542e65aac0c7897ad7ab4115122
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 22:55:47 2010 -0700

    altosui: Remove debug printfs from AltosTelemetryReader
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a80bfae15f1499c49f7ef47978bf0337d8120892
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 23:57:34 2010 -0600

    rewind packaging changelog, again

commit 78ce3120e5a53858ca0d43c734aa5d28b4948ce3
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 23:52:20 2010 -0600

    update changelogs for Debian build

commit 71c85613a28c24c3aad7b4aa3299d8677ef1268e
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 23:51:23 2010 -0600

    rewind packaging changelog

commit 7c2e4114a3a43f919a7a6c967d3f16e5d630f90f
Merge: ddc83b4c af200f5b
Author: Anthony Towns <aj@erisian.com.au>
Date:   Fri Sep 10 15:50:01 2010 +1000

    Merge branch 'master' of git://git.gag.com/fw/altos

commit af200f5b84555de0556b52146379f3934774a3f3
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 22:30:48 2010 -0700

    altosui: Fix telemetry file reader to handle tick count wrapping
    
    The telemetry reader was ignoring tick count wrapping, so you'd see
    time go backwards in jumps. Not useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 96ca7051f60ea299e3e05bafbe5717fc83c3afd2
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 22:50:03 2010 -0600

    update changelogs for Debian build

commit 2d5e48c5dc0e822fdf430f43804c1e5e79fdbf84
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 21:28:10 2010 -0700

    Add --with-fat-dir configure option to publish finished stand-alone bits
    
    --with-fat-dir specifies a directory to copy the finished
    linux/macosx/windows stand-alone ("fat") packages to. A sub-directory
    will be created under the specified directory based on the product
    version number and the files copied there.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd2b77b2a516a055f29191dcdfeb727e637aae86
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 20:59:29 2010 -0700

    altosui: libaltos.so is built with libtool -- it's in ../libaltos/.libs
    
    It used to be in ../libaltos
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 72a5c1258db92d0ddd660bfa875e8e55cab47af7
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 20:39:41 2010 -0700

    altosui: Remove some debug printfs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 031fd9a954f2e3447d0150eb4ecc81af7b620dca
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 20:36:12 2010 -0700

    Add firmware and libaltos to 'fat' target at top-level
    
    This ensures that all of the necessary bits are available to construct
    the distribution images.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fcaa480b1dfeb2fd4044f9c4e1b6d50c46fc9984
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 21:29:20 2010 -0600

    update changelogs for Debian build

commit 48f57997452e17564e28fe3e37403f6f63d32dea
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 20:24:42 2010 -0700

    altosui: conflating USB product and vendor IDs is a bad idea
    
    We've now got a USB vendor ID called 'altusmetrum' for generic
    altusmetrum devices (old USB ID 0x000A) while the general vendor name
    for all devices is 'altusmetrum' as well.
    
    This patch splits vendors and products into separate name spaces,
    products are prefixed with product_ and vendor with (oddly) vendor_.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 632d276118ab04de67561104be650f8fb69a0450
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 20:34:43 2010 -0600

    update changelogs for Debian build

commit 1ac3d7e3ba52d1b0dc834eaa5d7886c730eaf307
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 20:34:22 2010 -0600

    initial cut at an altosui man page

commit 5c4e437975054d33604402591e1ea2f314932593
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 20:06:09 2010 -0600

    update changelogs for Debian build

commit 0ea75761416bff299233991e961ba25b6c7dcf89
Merge: 35d70c92 8ee3464d
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 20:05:27 2010 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 8ee3464d8064ebe1694c7b20177878c0d9961451
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 17:54:41 2010 -0700

    altosui: Display error dialog when AltOS JNI library can't be loaded
    
    Having an error dialog appear at application startup seems better than
    simply failing to present the device dialog later on.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4224a7526e51eb8fbf1f0a31bae7ee68c6385095
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 17:52:46 2010 -0700

    altosui: Store libaltos.so in $(libdir)/altos
    
    It's not a public library, so hide it away in a subdirectory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1e4c18777d982061f5e507a4d4f4f1cd4d685268
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 17:49:37 2010 -0700

    altosui: Need to have JVM include path substituted into libaltos Makefile
    
    The libaltos Makefile needs to find the relevant jni.h file, which is
    found in the JVM_INCLUDE path, all nicely located by the configure.ac script.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 35d70c92307dd478bc619b2f6c5a88e155cdad28
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 17:27:07 2010 -0600

    handle versioning of ihx files (poorly) by just wildcarding the file name,
    which assumes there's only one matching .. probably ok on Debian?

commit c286ada6457579d64e9d8ca44b927258b4a561da
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 16:27:40 2010 -0600

    update changelogs for Debian build

commit 6c0ae7e966a81ece35bccbe89d626a58afe899a2
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 15:25:18 2010 -0700

    altosui: remove FATJAR from all-local to avoid building fat .jar file
    
    the fat .jar file is used in non-native builds to run from a directory
    containing all of the freetts jar files along with the altosui jar
    file. We don't want this on a real install where freetts is installed separately.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 737a64c57a8f979f51c3fa6b3f214520c736cf8a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 15:22:14 2010 -0700

    altosui: hack to make JAVAROOT directory get created before javac runs
    
    This ensures that the JAVAROOT directory gets created by adding it to
    the variable used to set the CLASSPATH environment value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b456bd9d7bcd9d968e43c38eeb6fa6ad8c58f895
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 15:11:41 2010 -0700

    altosui: fix telemetrum.inf FFFE:000A product names on AMD64 and ia64
    
    This appears to matter to Vista. Dunno why.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 16980b848651a6b20a0b458446f0a19fb517539d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 9 15:10:25 2010 -0700

    altosui: Add explicit requirement to create classes directory
    
    The implicit ordering doesn't appear reliable.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 15da683c2f747baef49c8b8d321a86faede0de30
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 15:51:50 2010 -0600

    update changelogs for Debian build

commit 012e7176954a6b74b3b667317be0f6dc41d7ab70
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 15:51:02 2010 -0600

    add libtool to build deps

commit 3e5824b9a71971ce99bfe38a1e860b421e265f02
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 9 15:43:47 2010 -0600

    update changelogs for Debian build

commit ddc83b4c401be965a9947782becf20cc8c54e6a2
Merge: afea6c26 3d49d5f6
Author: Anthony Towns <aj@erisian.com.au>
Date:   Sun Sep 5 20:49:34 2010 +1000

    Merge branch 'master' of git://git.gag.com/fw/altos

commit 3d49d5f69b41c27003dbc5ccf1899014bd13bd99
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 5 02:05:06 2010 -0700

    altosui: ensure that 'altosui' script is installed. Pass arguments along.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b61fec225ada6a9e252e4c7920101ee18c77cbdc
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 5 01:55:56 2010 -0700

    altosui: eeprom files place 'boost' time in the flight number record.
    
    Instead of looking for the first state change record, use the Flight
    record to get the boost tick.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6c653a4cba5fef8d49261cf1c024f3e86e9058c6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 5 01:52:36 2010 -0700

    altosui: Record flight number when scanning file, not when running
    
    The very first record in the eeprom is the flight number, but it is
    time-stamped with the 'boost' time, and so it gets sorted until much
    later, delaying the return of data until the rocket enters boost
    mode. This drops all of the nice pad GPS and state date on the floor.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 38e1d87c8d449866faac026577fefa9a118428cb
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 5 01:23:53 2010 -0700

    altosui: Use local .class files in the classpath
    
    This ensures that compiling only a few changed files will
    locate the old .class files instead of using a stale .jar file.

commit 9941b05a1d03dafd6cd899b5fe999ed769efb1d6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 5 01:21:14 2010 -0700

    altosui: Prevent voice altitude data from queueing up
    
    When flight status changes rapidly, the queue of voice data can get
    quite long. This change does two things -- first, it remembers when
    the altitude reporting happens due to flight events and delays the
    periodic reporting until a suitable time after that, second it ensures
    that the voice data has all been delivered before generating a new
    altitude report.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4dec5c36702d76dc95beada7c1d3222a638a2cbb
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 5 01:19:11 2010 -0700

    altosui: Add AltosVoice.drain() to wait for queued speech to finish
    
    drain() blocks until all pending phrases have been processed, allowing
    the UI code to avoid pending data that will end up stale by the time
    it is emitted.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 410ba89eef9c9817eef81b702966cb88820ff7c4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 5 01:13:01 2010 -0700

    altosui: Start idle thread after the rocket leaves the pad
    
    This makes the first altitude report time consistently 10 seconds
    after launch, instead of some random time depending on when the rocket
    launched relative to the time the device connection was made.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6205547ec7191aab0259a8449520e966a96129e6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 5 01:08:50 2010 -0700

    altosui: When replay thread is interrupted, don't make final report
    
    Normally, the replay process makes one final report after the file has
    been parsed. However, if the reading process is interrupted to display
    something else, this report is just annoying, so don't make it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3d99584fcfe43b22e8581874e0ac77ce3d635d48
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 5 01:03:18 2010 -0700

    altosui: Add elevation and range data to main display
    
    Reported by voice, it's useful to see these on the display as well.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2d58f319a7c1a6a8ccc6a539722009996ba886ab
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 5 01:01:10 2010 -0700

    altosui: Eeprom files contain only one date; save it.
    
    While reading eeprom files, the GPS record is reconstructed each time
    the system sees the first GPS log item (the time field), but as the
    date isn't repeated, we need to copy it from the old GPS data record.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b2aa689bf3d61e4a3ebe7c828162d1be20aad0f6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 5 00:59:54 2010 -0700

    altosui: Remove debugging printf from AltosEepromReader
    
    These were in place while validing the GPS data reconstruction code
    that handles eeprom files missing the first GPS date line due to the
    record overwriting bug in old firmware versions.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eb0e7a59f0806734a4c959a3ce7c57f71cbe3986
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 5 00:57:38 2010 -0700

    altosui: Return AO_LOG_INVALID instead of exception for eeprom files
    
    When an eeprom file contains an invalid line, just return
    AO_LOG_INVALID instead of throwing an exception. This allows us to
    replay and parse files with extraneous serial communication.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c3a17c71a45207dd715d537704f161de9219f0d7
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 4 18:49:22 2010 -0700

    altosui: Fix linux fat distribution
    
    Again, use 'cp -p' instead of 'cp -a' to get files into the archive
    instead of links. Also, make the shell script 'altosui' instead of
    'altosui-fat'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 828e9e4c68e3ac90b6ba2e9fd5f131a9975f7e4a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 4 18:39:58 2010 -0700

    altosui: Fix up Mac OSX .zip file
    
    Must contain 'altosui.jar' instead of altosui-fat.jar.
    Also, was using 'cp -a' instead of 'cp -p' which made files
    represented by symlinks not end up in the archive.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 044fd27449c70474f51b99dec25fd23d3c03a559
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 4 18:20:45 2010 -0700

    altosui: Fix windows installer to ship correct files
    
    Was shipping altosui.jar instead of altosui-fat.jar
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 148b927c3b8bc7b7b5c5356392032faf2b1203d3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 4 18:04:04 2010 -0700

    Add top-level 'fat' target to aid building distribution files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aed59e1c057c13e28fd368dc2592aa4628211097
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 4 17:59:11 2010 -0700

    Add version numbers to released files. Set version to 0.7.1
    
    Instead of using git revision counts for version numbers, use explicit
    versions numbers configured in the configure.ac file. Expose published
    files with version numbers.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2808bba3efa1cff133cc060dabff06fab8b75388
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 4 17:58:52 2010 -0700

    Ignore libtool files.

commit bc183400ab93d5902c52851319999cc77f27bc81
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 4 17:35:17 2010 -0700

    altos: add some SDCDB config files

commit 887b11f6b9c81b9f15348d54017e700ca7dc5e55
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 4 17:27:17 2010 -0700

    Use autotools for altosui and libaltos
    
    This switches from hand-written Makefiles to automake with libtool
    for these parts of the system.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e844e8a0695e27af6f8e3e37a5e3bcc865b862e3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 4 01:13:42 2010 -0700

    altosui: Add icons to application and Windows menus.
    
    Use the altus-metrum icon for an application icon and a windows start
    menu/desktop icon.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e9ea28504c646fc25791aab09b9e5faf73e0ac0c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 4 01:08:34 2010 -0700

    icon: add some icons for application programs
    
    altus-metrum.ico: Windows ICO file
    altus-metrum-16x16.jpg: 16x16 jpg image for java
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f550677df016070430ed38bfa2b2be33f1b8c40a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 4 00:16:41 2010 -0700

    altosui: oops. renamed the nsis file to altos-windows.nsi
    
    And forgot to change the dependency in the Makefile
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c0988ddbf104ea729090c2e7e2a28cc6dc9e90f6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 4 00:14:15 2010 -0700

    altosui: ignore built files

commit ecb4a09535b6a8da0765010489a96e605dbdeb46
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 4 00:13:11 2010 -0700

    altosui: Add windows installer build using 'nsis'
    
    nsis happens to be packaged in debian, and it appears to build usable
    installers, which is all very cool.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bf22923cd8b4f6f954718358b411b5b10d8e7b4d
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Sep 4 00:46:29 2010 -0400

    update changelogs for Debian build

commit 59798c6fd11502a9c8b66090c23ba50eb250692e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 3 12:43:45 2010 -0700

    altosui: Catch I/O errors on telemetry device, report to user
    
    This catches the USB device being unplugged and makes sure the
    user sees an error dialog in this case.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 16d8d6a8853d09f683b13f9cda3c3174a0aab130
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 3 12:31:05 2010 -0700

    altosui: Must flush serial line after configuring for telemetry
    
    Without flushing the configuration commands to the serial device, it
    never sees them as the telemetry input thread doesn't flush.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d4f64e95e31e2335470efc15df2ab357b7d197f3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 3 11:48:55 2010 -0700

    Revert "altosui: Deal with altos bug setting radio channel while monitoring"
    
    This reverts commit ba65e4aeb952a1cf49a77f1e24e235508fcea71f.
    
    Testing the old code

commit 71191ecef3ba0e00d0f8a7cd1a24982bfa44ec72
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 3 01:30:33 2010 -0700

    altosui: Allow 'connect to device' when already connected
    
    Opening another serial device involves shutting down the display
    thread (to reset its state) and spawning another one. Shutting down
    the display thread normally closes the serial device as a part of the
    process, and if this isn't done before the new serial device is
    opened, then the new serial device ends up getting closed too.
    
    Interrupting the display thread and waiting for it to stop before
    opening the new serial device solves the problem.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ba65e4aeb952a1cf49a77f1e24e235508fcea71f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 3 01:21:57 2010 -0700

    altosui: Deal with altos bug setting radio channel while monitoring
    
    If the monitoring thread is active, then setting the radio channel can
    sometimes cause the monitoring thread to get stuck. I'm not entirely
    sure why though. For now, work around the issue by making sure
    monitoring is off, and the monitoring thread has stopped, before
    changing the radio channel.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e5ef42c2b22c6639d90631dbbb588f9fd2494385
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 3 01:12:24 2010 -0700

    altosui: Report telemetry CRC errors in UI
    
    Telemetry CRC errors can signal problems with TeleMetrum or TeleDongle
    units, so report them in the UI.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3b3aa448f3a0f44137f7530b04b58967ba5f22f5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 2 21:11:29 2010 -0700

    altosui: build Mac OS .zip file to include paths
    
    Without the paths, the OS X zip file doesn't create a usable
    application structure.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cff0d1ef6b338b3d5ad9450d4d5f95df934cb5e4
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 1 22:56:34 2010 -0700

    altosui: Post error dialog on invalid ROM config values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8d8980f56a4f2c7d6f2ce667130706e0f04f8ded
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 1 22:56:12 2010 -0700

    altosui: Remove some debug printfs from AltosRomconfig class
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5ee6cd41ed189c3166f76558ecada80917f40652
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 1 22:47:15 2010 -0700

    altosui: Hide internal rom config UI helper function
    
    This was getting mis-used by the flash UI causing the rom dialog
    'cancel' button to work just like 'ok'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9a690c9795e8257d2a3225f905117681668a472f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 1 22:46:04 2010 -0700

    altosui: allow flashing to be canceled from the rom config dialog
    
    Was using the rom config class wrong, causing cancel actions to work
    just like 'ok' actions. Oops.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2f07ad14a16dbf1b75c71784ceae303825c90ade
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 1 22:43:22 2010 -0700

    altosui: Abort flashing if debug port isn't working
    
    Check each command going over the debug port and make sure it works as
    expected. This commit adds checks for initializing the clock,
    selecting the desired program counter and running the flash
    program.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cf30343aadd5039627a85319872685f743e64b16
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 2 00:55:41 2010 -0400

    update changelogs for Debian build

commit 59a40f6d5a2159b9009a3fa0737bb679efd5b32c
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 2 00:55:01 2010 -0400

    another distclean fix

commit 59ff9180f11063c257746b895a167179b3a4ff7c
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 2 00:53:16 2010 -0400

    and a few more distclean fixes

commit 3aafd70257b70b7c11ba9c55749157979bc61ea2
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 2 00:52:04 2010 -0400

    more makefile distclean target work

commit d5a6ad87c7a9ac03b2e694bed0a54b6cc4322a6f
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 2 00:50:16 2010 -0400

    update changelogs for Debian build

commit 14fa24ed93b3b1cec08a170004c6fb7f4d74f7e5
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 2 00:48:31 2010 -0400

    update changelogs for Debian build

commit 83552dfa0d38db9cdf3efc89e64e6c7896467856
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 2 00:47:54 2010 -0400

    add distclean targets to libaltos and altosui to all Debian package to build

commit 6f24d2a476759104a10b26b54faff2b18b0e208b
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 2 00:46:21 2010 -0400

    update changelogs for Debian build

commit d079bfe86ed40ff450ece445cf5f5e3970e44cec
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Sep 2 00:44:30 2010 -0400

    update changelogs for Debian build

commit a470315e5d822a69ef5304512cf73c604c88e481
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 1 20:14:51 2010 -0700

    altosui: Remove Manifest.txt from git repo as it's built now
    
    This file is built with appropriate contents for each different .jar file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1177e0a684328422be5adc68093d0091a218a824
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 1 19:53:24 2010 -0700

    altos: Bounds check Skytraq GPS tracking data array
    
    Missing GPS serial data could cause the tracking array reset to
    get skipped, causing the array to be overrun, smashing critical data
    beyond the array.
    
    This was detected using the 'altosui' flash command to program a
    device from TM. Hitting the USB that hard caused TM to crash with a
    mutex error (3 beeps) after the ao_gps_task structure was overwritten
    with zeros.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 775acb89660cdee2f3c54c38297baefe39f2414c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 30 22:24:09 2010 -0700

    altosui: missed AltosReader.class in the Makefile
    
    This caused clean builds to fail to make this file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bd2b9d958c2b7f846031b076ed51c4fbaaf2d68f
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 31 00:20:06 2010 -0400

    update changelogs for Debian build

commit d006c5e1255433181aca4c8e6a277b2d1bc0841b
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 31 00:19:37 2010 -0400

    add runtime dependencies for altos binary package

commit c1c7d731e3774883fa0bb5538be225a59334d124
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 30 19:52:51 2010 -0600

    update changelogs for Debian build

commit c35632efb1919764e4b8581ed6fcf2bedd4bd517
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 30 19:37:50 2010 -0600

    update changelogs for Debian build

commit 2a004d17a13b4ff52d892bfdecff8ad3d0823f7c
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 30 19:37:17 2010 -0600

    don't build all the "fat" jar deliverables by default

commit 507e429db6638f82c32449e9c5ca06b46da30134
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 30 19:09:00 2010 -0600

    update changelogs for Debian build

commit 25764fcd1b65c3a5a817afdb5901ac30e8a5f0c0
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 30 19:08:29 2010 -0600

    update changelogs for Debian build

commit 4790f78aead8a816e5b247c022b2998ce3a94053
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 30 18:48:50 2010 -0600

    add a .gitattributes file, configuring the Mac and Windows binary library
    files with the export-ignore attribute, in hopes that this will prevent
    them showing up in source packages

commit 81318e5b7179b0311ab099043ecb04a25d763750
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 30 18:15:40 2010 -0600

    make invocation of 'install' pathless to work on more Unix variants

commit cbc72399a0f4d7429df0189bcdae683dd491cb9e
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 30 17:56:56 2010 -0600

    continue even if rm's don't have anything to do

commit a9a8d23c877e6f6c76857b7c85e3d43b4da1db27
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 30 05:49:11 2010 -0700

    altosui: Devices with USB id 0x000a always get listed
    
    List 'unknown' AltusMetrum devices anytime the UI needs a device
    name.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a94900b8862b99b4e317ea0ee3edd2a560f270c7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 30 05:48:23 2010 -0700

    altosui: build debian-style altosui too
    
    This adds the dependencies to make sure altosui and altosui.jar get built.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 38ac388baf8125c0644b868a7aaf8eba1bdf990d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 30 05:28:37 2010 -0700

    altosui: Build linux, mac and windows archives on Linux
    
    This adds 'fat' archives for each target OS.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 35d9a8214252dbe79aeb69ae47d2e5c58a654702
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 30 05:27:45 2010 -0700

    libaltos: Use overlapped I/O on windows
    
    Otherwise, reads block writes and vice-versa. Crazy stuff.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c7ba92317ac55272acbde12416448ebd17b983a6
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 30 04:52:00 2010 -0700

    altos: Windows sends USB Out packets of 0 length. Ack them.
    
    This was an untested case as no other operating system sents 0-length
    out packets (they're not necessary). The correct response is to ACK
    them by clearing the OUTPKT_RDY bit so that another packet can be sent.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 20a472cfe3369200150ea4ff067ceb28968dbcac
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 30 02:58:23 2010 -0700

    libaltos: Add pre-built Windows .dll
    
    This lets us create the windows distribution on Linux.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0300fe581c949232bc52b05fe9c1f6032cad6b60
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 30 02:56:25 2010 -0700

    libaltos: Add pre-built Mac OS X libaltos.dylib
    
    This allows the mac bits to be built on Linux.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5d48c494325524bbeed10e0dc7300ed44e7e208e
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 30 02:53:26 2010 -0700

    Update telemetrum.inf to include all current USB ids.
    
    Windows 7 has 'encouraged' us to split out each product into a
    separate USB ID. telemetrum.inf now has all of them listed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit df34bbe7d1c43b12ab6d610fe810b6e1683e4c21
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 30 02:49:49 2010 -0700

    libaltos: Improve Makefile
    
    Builds Windows .dll correctly now and sample app.
    Moves linux install target to end so it is not default
    Adds .NOTPARALLEL to disable parallel gnumake.
    Removes -g debugging flags to shrink file size.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd5374b8e660012ae4f8b058454fd101e0749ca7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 30 02:00:30 2010 -0700

    libaltos: Fix windows build.
    
    Need stdlib.h to get calloc/free defined, remove debug printfs, fix
    serial timeouts.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 63c832394a829f41b8f77d075786530536360349
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 29 23:22:27 2010 -0700

    altos: shut down packet mode cleanly
    
    Instead of constantly bashing the packet master thread, let it shut
    itself down in an orderly fashion. It will shut down fairly quickly as
    all of the activities in that thread are bounded. Otherwise, the
    master packet thread might leave mutexes locked and all sorts of other
    horrors.
    
    Tested on Linux and Mac OS X and shown to be reliable.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 43619c13f749b79c096d1e8fdab3d5cfb5fd85f1
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 29 22:42:23 2010 -0700

    altos: Abort radio harder when terminating packet mode.
    
    Make sure the master radio tasks don't get stuck waiting for an
    incoming packet again by aborting the radio each time we poke the
    tasks.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c4a8569f61eddf690d00337543462235ecbfbe54
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 29 22:41:18 2010 -0700

    altos: flush pending output when terminating packet mode
    
    Just in case the last command sent hasn't been transmitted, hang
    around for up to a second waiting for the data to get across the link.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1acd3c7ec167b1b18e4ea493e5978c938a91cc89
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 29 21:45:19 2010 -0700

    libaltos: cjnitest needs altos_flush now

commit 6527357d1f0e94faf9e7dacac10a39875131be7c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 29 21:43:46 2010 -0700

    libaltos: Missing OS_LDFLAGS on cjnitest build

commit b7fa1ea3338f63b8edcf8aacccb5e519ca0b213f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 29 21:41:40 2010 -0700

    libaltos: Mac OS X cannot use 'poll(2)' on serial lines.
    
    Who ships this stuff, anyway? Instead of blocking, we'll poll every 100ms now,
    otherwise, we won't be able to abort the read when the device is closed. Yay!
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e60c59123232915e808cee23ef89eb1a38ced34b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 29 21:40:21 2010 -0700

    altosui: discard invalid lines while reading Eeprom flight data
    
    This shouldn't happen, but it's easy enough to get back in sync by just
    skipping lines with weird contents.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ae02b1590439d5c8dfb472cf1f83a14fdcfbaf11
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 29 21:36:47 2010 -0700

    altosui: provide separate flush_input/flush_output for serial. deal with monitor automatically
    
    (yes, this should be two patches, but the diffs in AltosSerial were merged together).
    
    First, this replaces the existing flush/flush_reply mess with two simple functions,
    one to flush output to the serial device, making sure that all data written will be seen
    while we wait for input. The other sucks any pending input off of the serial line and
    discards it.
    
    Second, AltosSerial now tracks whether the serial line is being used for telemetry
    monitoring. If so, it enables monitoring, otherwise it disables it. Eliminates a
    bunch of manual state tracking elsewhere.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit edcfb1bdf64772d3b83405ccf99385b8fea5d8e4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 29 17:33:59 2010 -0700

    libaltos: AltusMetrum devices use more than one USB ID.
    
    List all usb devices, picking those with AltusMetrum IDs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 236685807b63860ad033aa0254ce8f6d8d36d4ef
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 22:26:09 2010 -0600

    update changelogs for Debian build

commit 1cda15fdef2d9d3e54354bd5c43a0bcc7e3240cb
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 22:24:51 2010 -0600

    fix up for an 0.7 release

commit 4c5c7c7f198775c398c1ad2edafb3488384cc297
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 22:13:38 2010 -0600

    update changelogs for Debian build

commit 42055af5c6f17d14a2f1c6a2b5e1ce6d3b45a615
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 13:13:19 2010 -0600

    update changelogs for Debian build

commit 0bd4cc03b3bf23aa32b5ce1921078021d1d8a9c6
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 13:12:46 2010 -0600

    fix path to installed shared library

commit 99c1d9b4ef10ec4ebbee058ce0bb38c954a0a3a6
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 12:41:26 2010 -0600

    update changelogs for Debian build

commit cf65c6b8056c4af7c26b52ec6f9fbd3400cef638
Merge: 5f2f6a8f ae5eff7b
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 12:38:25 2010 -0600

    Merge branch 'bdale'
    
    Conflicts:
            debian/control

commit ae5eff7bc0b63047737223423009707bedcb00f5
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 12:37:36 2010 -0600

    Revert "lose the prebuild hook for now while I'm fumbling"
    
    This reverts commit a21b6bb60ac1c07ebd161534a4ea63bfde50dcdf.

commit de2e71c4923a0282df74dbe37d087c34b4ddd279
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 12:25:20 2010 -0600

    fix man page delivery path

commit a8dbe082960dc9bdd44c6e4b1198423c4e566029
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 12:18:28 2010 -0600

    install altosui man page

commit 5cc933039e4763b8675611c63b6147b42878a2bb
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 12:16:19 2010 -0600

    fix permissions on installed jar file, switch from ao-view to altosui in
    the desktop file

commit 138009e9fad01f79df4c3820fbc206f78688bdce
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 12:06:01 2010 -0600

    update Debian standards version

commit c280071b7db4e9a7af31dc5740eb8d27f137950e
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 12:04:13 2010 -0600

    fix up the wrapper's path to the jar file

commit 5f2f6a8f9ba56be867888758848bc7f152ccbd47
Merge: 63bd34cd 9d1b27fa
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 27 11:00:31 2010 -0700

    Merge remote branch 'origin/master' into new-packet-format

commit 63bd34cd1b5a411489e8c3ab377f0fe0eec11f67
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 27 10:58:55 2010 -0700

    altosui: add elevation and range information
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 72a18502e40f55cbba6418dc94315517881cd411
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 11:51:24 2010 -0600

    add an install target for altosui

commit 72c33a72ee105ec692dad62d6d9c1ad40b89bfe8
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 11:45:19 2010 -0600

    add install target for libaltos

commit a21b6bb60ac1c07ebd161534a4ea63bfde50dcdf
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 11:26:29 2010 -0600

    lose the prebuild hook for now while I'm fumbling

commit 9ea94411c9730f7a271366d309ab4827beeeb839
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 11:17:54 2010 -0600

    add a dummy install target

commit c443f43f8dee6e0fcbcecf9d09e948fd928b7af4
Merge: 29504311 2923cf50
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Aug 27 03:08:53 2010 -0600

    Merge branch 'new-packet-format' of ssh://git.gag.com/scm/git/fw/altos into new-package-format

commit 2923cf5057f9cef110dd547d8677ea5b60e00796
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 27 00:10:29 2010 -0700

    altos: prepare for sdcc 2.9.1
    
    A few minor language changes -- non-standard keywords are now prefixed
    with __, such as 'at', 'interrupt', 'naked'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 68967157cee620ebedcc8c2ffd6fc7656532087b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 26 23:55:44 2010 -0700

    altosui: command line args are converted to csv format
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7e0506dc2014b7178f52b950e8c1cb820b35f9c6
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 26 23:54:53 2010 -0700

    altosui: Remove debug printf from AltosState.java
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 49364608b59de7421ab00d87d2685bc3b5f58411
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 26 23:53:06 2010 -0700

    altosui: When parsing saved telem files, errors shouldn't abort file
    
    Make syntax errors in telem files just skip the current line and move
    on to the next one instead of abandoning the whole file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a16db143fc7ca72dc91e7989420049192114642d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 26 23:50:51 2010 -0700

    altosui: Serial line is in UTF-8 encoding. Deal with it.
    
    We read bytes from the serial line and need to convert each line into
    a string. So, save the bytes and at EOL, pass the whole mess to the
    string constructor with the appropriate encoding info.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0942912163255523d923140c01afbdb5da1c19b5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 26 23:49:37 2010 -0700

    altosui: Add support for old (version < 3) telemetry files
    
    This lets the code read telemetry files from pre-released versions of
    the software. Not strictly necessary for production, but useful for
    analysing old files.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e383595cd281687de903fb6176564bbef270cb83
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 26 23:47:38 2010 -0700

    altosui: AltosEepromReader was mis-setting boost tick
    
    It was supposed to use record.tick instead of the (unset) state.tick
    value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 651f6102ac79459fc8d5679d852c963dcb5bb3fc
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 26 23:44:25 2010 -0700

    altosui: add rssi and distance/dir from pad to CSV files
    
    Just adds a couple more fields to the CSV files that might be interesting.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3dc67c1401976d6e9e2e942d5a4707a4810a0404
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 26 23:43:00 2010 -0700

    altosui: Add AltosGreatCircle constructors
    
    This adds constructurs from AltosGPS pairs and also one from empty
    args (which defines both distance and bearing as 0).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f0fd423d0bf83bc5c3f9d39e9c09397fbe8caed2
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 26 23:41:26 2010 -0700

    altosui: Move number parsing code to Altos general class
    
    This moves these shared functions to the global shared class.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 68b2b66d7574dfd0bd5e3571b8ffad32ca5d2b73
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 26 23:37:29 2010 -0700

    altos: mark gps date written only after it gets into eeprom
    
    Data logging doesn't start until boost detect occurs. As the GPS date
    is only logged once, if that happens before logging is written to the
    flash, then the GPS date will never get saved.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa6c27df5db6bdae59d00affccb891854a6caa18
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 26 15:59:09 2010 -0700

    altos: print GPS state flags in GPS 'g' command
    
    Having the GPS state information can help with GPS debugging.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 34055129b4008f6a9833887b12dee39ffa408002
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 26 15:57:09 2010 -0700

    altos: always rebuild ao_product.c to track git version
    
    The git version is built into ao_product.c and saved in eeprom log
    files, providing useful diagnostics about the firmware revision used
    for each flight. However, if ao_product.c isn't recompiled, then the
    updated version won't be included. Force recompilation of this file
    each time make is run to ensure that the final output contains an
    updated version number.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 99400fdc0f19ef538fc362dde5c3ab5b7cdac409
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 24 16:43:38 2010 -0700

    altosui: flush replies from serial link when entering debug mode
    
    We use replies in debug mode a lot and depend on them matching the
    expected parameters. The case which caused trouble was using
    TeleMetrum to reprogram TeleDongle -- sending the 'm 0' command (to
    disable telemetry monitoring on TeleDongle) to the TeleMetrum caused
    it to reply 'Syntax Error' which confused the subsequent flashing
    operation. Flushing that reply gets things back in sync.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ba086cc77273efe5397f60dcaccd1e3771441481
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 24 04:02:27 2010 -0700

    altosui: write USB serial number string while flashing
    
    USB serial number is encoded in UCS2 as a part of the string
    descriptors. Place those right after the other rom config bits so that
    altosui can find it. altosui is changed to write the serial number there.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 220f3afdaa432c65f8ad45be7cdbe5c8a3616db3
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 24 04:01:47 2010 -0700

    altosui: always display romconfig ui while flashing

commit f62b2aa08ebfd912b3c732397d43ff9f6162ec88
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 24 04:01:14 2010 -0700

    altosui: fetch existing romconfig for flashing

commit d93787284c8e514a929edb9f944c98ae0206a33f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 24 03:59:09 2010 -0700

    altosui: Delay mapping Flash UI until flashing actually starts
    
    The flash operation may be abandoned before it even starts; this makes
    sure the UI doesn't flash up on the screen.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7d44cbd621d2b113ac2b802ef17e3d8a660ce7f2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 24 03:58:00 2010 -0700

    altosui: disable radio monitoring while using serial line for debugging

commit 7bd220dfd9b3fb0e42eb90c3b37eb7b4169eb21b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 24 00:29:11 2010 -0700

    altosui: Add ability to create CSV file from telem or eeprom files
    
    This creates a comma separated value file to export data for
    external programs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 634a550149e7c344a22a637ba484f115592b1018
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 23:15:05 2010 -0700

    altosui: refactor logfile chooser dialog to share more code
    
    Move file opening logic into logfile chooser as it can be shared that way.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit afea6c264c5ebf12f1d629bd4bc724da86d11b7a
Merge: 0e17853c 9d1b27fa
Author: Anthony Towns <aj@erisian.com.au>
Date:   Tue Aug 24 00:02:31 2010 -0600

    Merge branch 'master' of git://git.gag.com/fw/altos

commit a55b132668a819cc26478a609cb79bd9190deb9d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 23:01:36 2010 -0700

    altosui: Separate out log file choosing dialog to share with CSV generator
    
    This dialog will be shared with the CSV file generating code, so split
    it out instead of duplicating it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 295043112ccde35092945c286596f9045ee6fa05
Merge: 2007288d ef8376c4
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 23 23:11:22 2010 -0600

    Merge branch 'new-packet-format' of ssh://git.gag.com/scm/git/fw/altos into new-package-format

commit ef8376c4dd8262a34e02b6bb9e19e907ac2f4330
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 22:08:30 2010 -0700

    altosui: make default Manifest look for built-in freetts

commit 56b906f535ac2f86bcab71addbbcd376d74f6a73
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 22:03:36 2010 -0700

    altos: Place rom config variables in fixed location
    
    The device serial number and radio calibration values are stored in
    flash, mostly so that TeleDongle gets them saved.
    
    Placing them in well-known locations (starting at 0xa0) makes it
    possible to find the previous configuration and to re-write it
    easily, without requiring the .map file.
    
    altosui doesn't have the .map file parsing code, so it relies upon
    this new technique. As a benefit, it reads the old values from the
    device before reprogramming it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4c0c099716197ef7539be0cf55bbb164f6804958
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 22:02:21 2010 -0700

    altosui: Finish device programming code
    
    Altosui can now reprogram Altusmetrum devices.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bd2b44ddd61fadd8bf8ee6bf783ce019b1be7cc0
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 22:01:38 2010 -0700

    altosui: Remove debug printf from AltosRomconfig

commit c3f57ffdb6c74de90d982eacd604e658ce9b00a5
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 22:01:11 2010 -0700

    altosui: flush serial output before waiting for reply

commit 8857ac5e43eac6db8d5594b8864df497a712242b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 22:00:16 2010 -0700

    altosui: remove debug printf from AltosHexfile

commit b1758be01397fd49c441f40852f3558fe9343a2d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 21:58:50 2010 -0700

    altosui: Add lots more cc1111 debug interface functions
    
    These are sufficient to program the flash.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f9e80f39bc39e5882bfe75f959b6501cb3277cd2
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 21:55:49 2010 -0700

    libaltos: use pipe to wake up getchar on close. use mutexes

commit 86f7b9314b042f2e512fdf35067817e68532867b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 21:54:47 2010 -0700

    altosui: pad TM config dialog values to avoid clipping descenders

commit b8519b8669ff54741dd738ac343fbd2424451247
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 21:53:37 2010 -0700

    ao-dumplog: Fix --remote and --channel options to actually work

commit ebeb13688a9a5442c838641ede6ba0dc92c9a1a4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 14:32:58 2010 -0700

    altosui: Add debug dongle API, split flash UI out
    
    Create an API to talk through the debug port on another AltOS
    device. Split the flash UI out from the flash implementation so that a
    command line flash utility can be written.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7f8d7978606abe544b1b9b6065c5480ed813b8ec
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 23 11:53:19 2010 -0700

    altosui: Add .ihx file reading code and stub out flashing UI
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2007288da8a83e3aa925e11cc196f1c65aab2e5c
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 5 15:00:15 2010 -0400

    working on java packaging details

commit 44b26dd550eef789e70082ccaa46d7d430c67bce
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 5 15:15:04 2010 -0400

    add freetts as a build dep

commit 0e17853c08f77debef3e8cf82e9cdb6a5079fc9b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 22 23:06:15 2010 -0700

    altosui: Set callsign when fetching eeprom data over the air
    
    The updated firmware places the callsign in each packet to comply with
    regulations, this ensures that TeleDongle has the current callsign
    configured.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 953bc3438b10b21f3d65d292356c4ab2de23cddd
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 22 23:05:20 2010 -0700

    altosui: Add TeleMetrum configuration
    
    This presents a dialog with all of the user-settable options in the
    TeleMetrum set for editing. Combo boxes are used for everything except
    the callsign.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e1463d8e265dfd42c824d90088cd2a51b4cf8131
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 21 17:57:31 2010 -0700

    altosui: Make teledongle callsign configurable
    
    Teledongle uses the callsign in packet mode; this provides a way to
    set that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 09252ec22d58e946494e4ca2cf367bf3bbe1cc50
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 21 17:09:41 2010 -0700

    altos: Define USB product ID in per-product Makefile.defs file
    
    This allows Win7 to tell which kind of device is connected purely by
    USB id as it doesn't expose the USB product ID string to user space.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 22800dc094797e1e0ad99124198809d0360f7556
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 17 18:22:28 2010 -0700

    altosui: Select devices by USB vendor/product ID.
    
    Because Win7 doesn't expose the product name, we're swtiching to using
    the USB idProduct/idVendor values. This patch adds support for
    selecting devices by those new IDs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d14c96663a1027164fa30ed89b53f5a9d3fdb82b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 17 18:19:43 2010 -0700

    libaltos: integrate Windows support.
    
    This adds Windows support for discovery and I/O.
    
    The API to the library is mostly unchanged, except that it now exports
    product and vendor USB IDs as Win7 doesn't expose the product name
    anywhere that we've been able to find, so we'll be updating the
    firmware to use unique idProduct values for each product.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9d1b27fa147fc8b765d5be165ebef7ee0f85bd37
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 11 22:11:50 2010 -0400

    update changelogs for Debian build

commit b6da90b4627dde1fe88240c38c51559d8f781dd0
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 11 17:15:39 2010 -0400

    update changelogs for Debian build

commit 4918f73fd0a0f3f5d52907f95a0ec385e901d447
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 11 08:50:27 2010 -0400

    update changelogs for Debian build

commit f63f16a70e4d0535667a6364cafcbff026ee6a8c
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 11 08:36:59 2010 -0400

    update changelogs for Debian build

commit 294d9c7db21eaf1e71504dbcca5040371abcce55
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 7 22:30:55 2010 -0400

    ao-dumplog: add --channel option (for use with -R option)
    
    Sets the channel when downloading data with the -R option.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f317f1324b69b4241f4bb192e164b33d712d5a43
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 7 00:42:25 2010 -0400

    altosui: Start adding code to write csv files from eeprom/telem files
    
    This is a start to code which can write out a csv file full of flight
    data from either an eeprom or telem input file. It's not hooked up,
    but the restructuring necessary is finished and the output is started.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4738cb2fc639adb1d9237e6c903479f0690dd81a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 7 00:40:59 2010 -0400

    altos: add callsign to packet mode, increase payload to 64 bytes
    
    Untested, but it 'should' work. Need to add callsign setting to packet
    mode users.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b7699a5907e64bc7547fcc27e73f4a35bbaabfff
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 6 13:09:21 2010 -0400

    altosui: Add comments to Eeprom reader

commit 0e917f3ff822616adb147517ac961422e5fedbfd
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 5 22:49:53 2010 -0400

    altosui: Compute flight state from eeprom data
    
    This lets eeprom files be used to replay flights.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a0a9b445a4d379730b67720f8d7b682d5206a582
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 5 15:16:48 2010 -0400

    update changelogs for Debian build

commit e075b8623533965b1b77b77d38c2df32f5f77fce
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 5 15:16:24 2010 -0400

    update changelogs for Debian build

commit 410de62715a0830f03b0a65d6c7730dff51e6ef4
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 5 15:15:04 2010 -0400

    add freetts as a build dep

commit 0b85160c44d934f3d1352c1c07c296d01ceffc32
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 5 15:02:17 2010 -0400

    update changelogs for Debian build

commit d091099753d9cae01c4805812425ebea19ec09cf
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 5 15:00:46 2010 -0400

    update changelogs for Debian build

commit aed55ef1ce45b0f6e6fefeebf50be97607b31d65
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 5 15:00:15 2010 -0400

    working on java packaging details

commit d8bf05f7ad55964c9bce0551e58f4ef6c9f721ad
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 5 13:50:18 2010 -0400

    altosui: Split flight record out of telemetry class
    
    This will permit either telemetry or eeprom data to be used to
    construct the sequence of flight events for reply or data generation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 85a670b5a904d6750d0f179ae307baeb8fc7cbd2
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Aug 5 13:40:17 2010 -0400

    altosui: Explicitly initialize Altos class
    
    Because the Altos class is never instantiated, the static initializers
    are never called, leaving the string to state mapping empty. Hand-code
    the call to the initialer instead.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 02f17f2cd26189e2676a9dc0d86bd959ed0bc3f4
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Aug 5 00:54:05 2010 -0400

    move to science menu

commit 9e8f7f75442303f9bfa99a0435984f5d36863ae6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 31 10:34:21 2010 -0700

    altosui: Split status and info panels into separate files
    
    This moves some code out of AltosUI.java into separate files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9c9b35254c693b3ade42b24d1e29eaf31e6ba2aa
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 31 10:24:56 2010 -0700

    altosui: Clear displayed data rows as needed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 88e0137a60d7a13ddb7781befa76650e13ad44ae
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 31 10:07:38 2010 -0700

    altosui: Merge gps date and time classes into gps class
    
    No reason to split out the date and time information from the other gps info.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1c3b2fe357d6acf28f48aeddd91693f10381be51
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 31 10:05:15 2010 -0700

    altosui: Capture config and version info in .eeprom files
    
    Instead of only writing the serial number to the .eeprom file, write
    all of the config values and all of the version reply to the .eeprom
    file. The config values, in particular, contain the accelerometer
    calibration data which is needed to correctly compute acceleration
    from the captured accelerometer data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e286eb61ad2a90746c1c31f95d26d5edb48738d3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 31 09:57:49 2010 -0700

    altosui: rename AltosEeprom -> AltosEepromDownload, split out Altos constants
    
    Renames the eeprom downloading code and adds a new file to share the
    flight data constants across the various UI modules.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e3a9e3815db3f290e28b40ae02aa654f515cfc37
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Jul 31 10:55:27 2010 -0600

    update changelogs for Debian build

commit 8fc261c2b77bb8aab201a0649a84b5ffa236ce26
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Jul 31 10:55:07 2010 -0600

    see if my new freetts package works

commit 2f114c7ff6b0deddb790d34139bb11ac37f8c0da
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jul 29 13:30:36 2010 -0600

    update changelogs for Debian build

commit 7877496d47ce6d25210c0e1c6500666dbfc0876c
Merge: c71061a3 4cf39b13
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 29 12:07:49 2010 -0700

    Merge remote branch 'origin/master'

commit c71061a37d3d3be2855b61cde33d2371989d7681
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 29 12:06:06 2010 -0700

    Make altosui test script executable

commit 4cf39b13a574cb656999cf329f5b08e7f910604b
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jul 29 12:57:31 2010 -0600

    update changelogs for Debian build

commit d1848193d8208388e4ccdfbed4e5663a9ba04dd3
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jul 29 12:56:59 2010 -0600

    add a jdk to the build deps

commit 9ad4984124b6c05114feac4c4ac078dc248ce16a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 29 11:56:24 2010 -0700

    altosui: remove option to install to alternate volume

commit 2e797b18f0724caf7aaf96f45997998c7416f34e
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jul 29 12:50:57 2010 -0600

    update changelogs for Debian build

commit 89109f9dff3ce855d80da166e3362375282f745d
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jul 29 12:47:37 2010 -0600

    ugh, fixing failure due to aborted build

commit 6fb8546575f6d99676dbb1dce190b0b7cf24b657
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 29 11:45:56 2010 -0700

    Moved Mac OS packaging to altosui dir

commit 865d5cdf8931ffc796f608e3e12d7c5a70832825
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jul 29 12:45:18 2010 -0600

    add swig as a build dep

commit 91d75fb3919f606a1956bf8c6423a8012d99a56a
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 29 11:45:12 2010 -0700

    altosui: Switch eeprom extension back to .eeprom

commit 33ffd89d5a64c991d28bd7369b61e1faa18f605b
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jul 29 12:40:52 2010 -0600

    update changelogs for Debian build

commit 62b4cc51a0f54ef363cbff46caef80a0afecdea2
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jul 29 12:40:25 2010 -0600

    update changelogs for Debian build

commit 6f86db5e0360bef26b21336769b7635e3a11e160
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 29 11:24:47 2010 -0700

    Add Mac OS X packaging bits
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 950f0a8c54e5835ee5d8b0aea360bd8362c21bc5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 29 11:09:19 2010 -0700

    altosui: construct Darwin application directory
    
    This adds the necessary files and build steps to construct
    AltosUI.app on a Darwin system.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 669c5f52abb972a82ed6efbee7a8c7d20afb5cd0
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 29 10:48:52 2010 -0700

    libaltos: build with java src encoding UTF8
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit efa0e034a161f4852947cbac06537d6ba4422a0e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 29 10:48:25 2010 -0700

    altosui: remove debug printf
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 53c279b9e96da8b69837ae84038a78ca5707f2a5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 29 10:45:02 2010 -0700

    altosui: Close serial, join reader thread, free altos_file
    
    Separating out the close and free actions ensures that the reader thread will not
    access freed memory or dereference a null pointer while shutting down the
    connection to the serial device. Otherwise, a race condition exists between the
    serial close and the thread join.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b8bc9994d8bfde6116c8a509e70ddf45fc4decce
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 29 10:24:59 2010 -0700

    altosui: Remove unnecessary freetts .jar files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e33dbbba94ce42295e9fed9f4ba7e46f9eff1517
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 29 10:24:09 2010 -0700

    altosui: check for closed serial device before reading
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 27a2d0c00acf78628428c20ab68e2bfba06340da
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jul 29 11:02:38 2010 -0600

    update changelogs for Debian build

commit 537492dc961ee6a1945b1041ee3cc0d3f519a42c
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jul 29 11:01:21 2010 -0600

    update changelogs for Debian build

commit adf6cbcba23e24a3824f7e242ec37baa2750ab94
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jul 29 10:59:18 2010 -0600

    update changelogs for Debian build

commit d0fd53bdab2f480cd43b6d7010c2094f4fccda91
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 28 21:49:23 2010 -0700

    Reset GPS ready status when GPS comes unlocked on the pad
    
    If GPS becomes unlocked, then report that in the UI and via
    voice.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5fd225c3a52445ecdc7c04fac5e3d9a0db177c66
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 28 21:01:41 2010 -0700

    altosui: report rocket ground bearing at landing only if known
    
    if state.from_pad is null, then there isn't any data to report.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d2d772164af95a35ea0f5d2413a5be67de9a210f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 28 20:18:36 2010 -0700

    altosui: Replace device dialog. Center eeprom monitor.
    
    This adds a custom dialog for selecting device, which makes it look
    much nicer on the screen and allows the user to double-click on an
    entry to select it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ea32290704a8ca468f01172166b561833b20c954
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 28 19:37:02 2010 -0700

    altosui: Fix Save flight data monitor layout, add cancel
    
    Use GridBagLayout to improve the appearance of the flight data monitor
    widget, add a cancel button to stop loading data (useful if the
    connection is wedged).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ce90f3fe2aa6e23695ccccb36a8e6e614a08ba31
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 28 17:08:42 2010 -0700

    altosui: Add progress bar for eeprom downloading status
    
    This has a progress bar tracking the state and block count while
    downloading stuff from telemetrum.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6599e9576c3da9325a1731144c1b8bc4943184c0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 28 15:41:34 2010 -0700

    altosui: Add eeprom data capture function. No UI yet.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8a6040e143ecc7830cc1c0114de85f3b72c067eb
Merge: 024d0773 554a97ef
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 28 13:29:51 2010 -0700

    Merge remote branch 'keithp/macos'

commit 024d077302f91bdb17abe70d3211ab0949dab8b9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 28 13:29:21 2010 -0700

    Remove debug printf
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 826061eaca88c0dd75051a6006ef6703c91af595
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 28 13:10:11 2010 -0700

    Add voice test command for help in adjusting volume.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 71da54a5ce255395376a44586782ab8b6f3b289f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 28 13:01:52 2010 -0700

    Make voice and channel menus work.
    
    Stores voice and channel data to preferences.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e76b9cc32bbcc5176d9bdd6f8d79778024627382
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 28 12:24:53 2010 -0700

    altosui: Catch errors opening USB devices. Limit list to relevant devices
    
    Avoids a segfault when failing to open a device. Limit listed telemetry
    devices to just TeleDongle units.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 172a2817dde6718724f2b5fad5a7761801446fa0
Merge: f2a006fd 81bf2042
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 28 11:20:22 2010 -0700

    Merge branch 'macos'

commit f2a006fd98045066bdf429cc142d033e9feb0a8f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 28 09:31:09 2010 -0700

    Make ao_log_data re-entrant as it is used for both sensor and GPS logs
    
    Because ao_log_data is called from two different threads, failing to
    make it re-entrant would cause the 'log' pointer parameter to get
    overwritten if another thread asked to log data while the eeprom was
    busy writing out a block.
    
    This would cause the second thread to re-writing data from the first
    thread's address, but without re-checksumming the data as the checksum
    is computed before the log mutex is taken.
    
    The bug can be seen by log blocks with invalid checksums.
    
    Here's what happens with the ao_gps_tracking_report and ao_log threads:
    
      ao_gps_tracking_report                ao_log
    
       Writes a bunch of records
       *blocks* in the eeprom flush
                                            sets ao_log_data 'log' to global 'log'
                                            computes checksum for 'log' block
                                            *blocks* on ao_log_mutex
       Wakes up
       sets ao_log_data 'log' to 'gps_log'
       writes remaining records
       'gps_log' is left with svid = 0
       *blocks* on ao_gps_tracking_data
                                            writes data, reading from
                                            the current ao_log_data 'log'
                                            pointer which points at 'gps_log'
    
    Making ao_log_data re-entrant fixes this by ensuring that the 'ao_log'
    thread has its own copy of the ao_log_data 'log' parameter.
    
    I made this function take an __xdata restricted pointer so that it
    could be passed in the dptr register instead of needing to go on the stack.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 554a97ef455c801dcab825815f44520f96f4c3f3
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 27 19:29:38 2010 -0700

    Force java source encoding to UTF-8

commit 81bf2042ca39eb106b789e5a08647c3114669358
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 27 15:29:28 2010 -0700

    Java voice reporting cleanups.
    
    Make sure it says something at the end of a log file replay.
    Make sure it reports max speed after motor burn out, and max height
    after apogee.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8f2f38f2a9fb0c106e2c6b60cdc205292ce329ea
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 27 10:18:20 2010 -0700

    Java clean ups -- use varargs where possible, remove AltosSerialReader
    
    Add methods that format stuff using String.format for voice and serial
    link, remove AltosSerialReader class and just embed that in the
    AltosSerial class directly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 734cd15ccff691f851359518ce6118f29dc9f88d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 27 10:18:09 2010 -0700

    Remove directories as .class file dependencies; it makes them get rebuilt all the time

commit 809feb75e2155e84aebfcc431867edcfd9054670
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 27 01:22:56 2010 -0700

    Clean up altosui build a bit

commit 3784578a40dcc61f447435cfdf22e13c409cb9c0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 27 00:16:15 2010 -0700

    Add application icons for Mac OS X

commit 2c273710ea9b76ebee4101893f9fe84be8a02354
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 27 00:11:58 2010 -0700

    Add Mac OS X packaging files for altosui

commit a58c44cd904e5429b807e5c23913051ed6484edc
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 27 00:09:41 2010 -0700

    libaltos: build fat 10.5-compatible library
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4e3285575e0c7d029e799258587e965779990099
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 27 00:09:18 2010 -0700

    libaltos: make clean remove all built files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fb8507975c6e081de2e909eca6faaa8f868b609e
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jul 27 00:08:38 2010 -0700

    libaltos needs -I. on all systems
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0a782026f6b19e84ffd44f1ae1b466363474bd30
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 26 18:10:07 2010 -0700

    Darwin doesn't have strndup.
    
    This provides a private version of this GNU extension.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b51497597868a40df039dd3ca11b35a6258bbbb3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 26 18:04:10 2010 -0700

    Re-enable Linux support for altosui.
    
    This steals code from cc-usbdev for scanning the USB tree and uses the
    same tty code as on Darwin
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e9153c4f2c71ed965822fcfe5112d2bc38506baf
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 26 17:04:04 2010 -0700

    Re-enable freetts

commit 17188f36fe18c23bc2eb877ac9a01b7693f4b863
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 26 17:03:47 2010 -0700

    Present list of altos devices in nice format

commit 005e2d6a7bb3b0546b0c1273296875621632ec6d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 26 15:42:48 2010 -0700

    Switch AltosUI to libaltos for device access
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c726d8f6eb861801d7543552beab6ee2c920c96f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 26 15:41:39 2010 -0700

    Add libaltos which talks to USB connected altos devices

commit 05111d5be4d37bedaaee6415d6ee27347e6a112c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jul 26 12:52:17 2010 -0700

    When the EP0 IN buffer is full, don't panic, just skip sending another
    
    If the host doesn't pull the IN packet out of EP0 before sending
    another SETUP command along, the IN buffer will still be busy when we
    try to reply to the SETUP command. While I don't quite understand why
    this would ever happen, there's no need to panic about it, just drop
    the reply packet on the floor.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d0647950b76bfa9942e4f8cf87353f2b724099f4
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Jul 21 14:26:36 2010 -0600

    fix text since TM only has one led to blink

commit 8eda9fe94a7fd40cb84f50e17e64956f1584ebdc
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 20 22:24:32 2010 -0600

    update changelogs for Debian build

commit cd8aa79de72b8b6b3a26d0c2522e94c621b70f13
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 20 22:24:01 2010 -0600

    update to latest Debian standards version

commit 3284c7516e302e6db403d18866924ad926ffb2a7
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 20 22:20:08 2010 -0600

    update changelogs for Debian build

commit 8f1933717e3acfbcb09191da6e79a7944f91f9d9
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 20 22:19:27 2010 -0600

    reflect documentation file name change

commit 2cf1ef555a7feceeb1c333b273c19dd848e8d03f
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 20 22:15:47 2010 -0600

    update changelogs for Debian build

commit 74c67fc466118b86b4eb5173f7a6886ae220a985
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 20 22:14:27 2010 -0600

    add build dep for sndfile

commit 0794ab1e13313fa49b7caf01aef20b052ad78a88
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 20 22:10:01 2010 -0600

    update changelogs for Debian build

commit 15a6791ba8f8313b6b55752c3fa7dc254d56dd5c
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 20 22:08:56 2010 -0600

    update changelogs for Debian build

commit e747954b6a9e71705f619684df8a118a909b1039
Merge: bd40a5b4 695879db
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 20 22:07:22 2010 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit bd40a5b431847c071f5c486d754eca5627e5e3b9
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Jul 20 02:12:03 2010 -0600

    significant update

commit 695879dbccfc5ec6b79698653c58814158f91686
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jul 14 19:07:02 2010 -0700

    Switch DBG pins to GPIO when using any debug commands. Reboot to restore.
    
    If you want to use TeleMetrum as a debug dongle, you need to flip the
    three pins used to talk to the remote debug port from SPI mode to GPIO
    mode.
    
    This patch doesn't provide any way to get back to SPI mode, so you'll
    have to reboot the TeleMetrum to write out config parameters or log
    flight data after using any debug commands.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a9ec6be0e92dee01f7aac006ef6f7779c1da1b36
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 3 17:42:36 2010 -0400

    Telemetry code was mis-computing RSSI
    
    The RSSI data from the hardware reports in 1/2 dBm increments, and so
    must be divided to report plain RSSI numbers.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 62294ea3830d3ea261a8761edc9fa6f98201d321
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jun 24 12:38:23 2010 -0700

    update changelogs for Debian build

commit 4766b13d1241fa585907c6f77707d2d4b3ccff75
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jun 24 12:37:55 2010 -0700

    update changelogs for Debian build

commit 52834517c0706b1f16fb81643a42dc1c1997e00a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 21 15:53:33 2010 -0700

    Abort any in-progress radio operation when changing radio channel
    
    In monitor mode, the current receive operation must be aborted so that
    the radio channel change can take effect without receiving a
    telemetry packet on the old channel. Aborting any in-progress radio
    operation will make sure that happens.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5933eaa44fe45027b856f1303dd657b974eb53e7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 21 11:44:32 2010 -0700

    ao-postflight: was walking off state.data array

commit 11d155d558d0b121b66f089adee0a47d71f65a78
Merge: 544003a8 24393eab
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 16 21:54:06 2010 -0700

    Merge remote branch 'mjb/master'

commit 544003a8da0248fd6f3c62ded86af74ab7cdadf6
Merge: 267923e5 93c1e29b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 16 21:52:23 2010 -0700

    Merge remote branch 'origin/master'

commit 267923e56e22b3635a21f42ef77a3a36158bc273
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 16 21:49:43 2010 -0700

    Add special code for USB panic's.
    
    The USB system may panic if the hardware isn't ready for IN data when
    the driver thinks it should be. This adds a special panic code to make
    figuring this out easier.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 50ae347bf9de49ccfc92d26888f36e155fb406a3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 16 21:48:04 2010 -0700

    ao-view: disable radio telemetry monitoring during channel change
    
    This makes ao-view disable the radio so that the channel change has an
    immediate effect rather than waiting for a packet on the old channel.
    
    Note that this should also be fixed in the TM code itself so that this
    change wouldn't be required.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 24393eab0ea085f2d0224b59fdc3c00693e5d3a9
Author: Mike Beattie <mike@ethernal.org>
Date:   Thu Jun 17 14:04:01 2010 +1200

    Extension to KML output format, and minor bug fix
    
    Extended KML output by breaking flight into coloured segments representing
    flight state. Add extra statistical information to description bubbles
    visible in Google Earth when clicking on links in My Places.
    
    Fix Bugs:
    * output kml to file provided as argument.
    * move kml coordinate output code to take advantage of nsat calculation
    * remove superfluous %9.2f format specifier from raw_file output.
    
    Signed-off-by: Mike Beattie <mike@ethernal.org>

commit 93c1e29b07c331a5ca6e0f647b9d2e9266ed3014
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue May 18 23:12:45 2010 -0600

    updates from Bob

commit bb46c9a1da5788a082e4483e576a5a6d3963507b
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue May 18 00:26:28 2010 -0600

    update changelogs for Debian build

commit 16c4cae7ebed7bd3ee0f12b8872bf950574f17e8
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue May 18 00:26:00 2010 -0600

    update changelogs for Debian build

commit bc89d962c87b50e5487628f8ca25e4443ac4823d
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue May 18 00:24:03 2010 -0600

    merge the altusmetrum-themes package

commit 0c6cf621dfd8339b8bc3915750a3147235f1331b
Merge: 32e430b8 563a9dcd
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon May 17 23:59:43 2010 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 32e430b8a5f93b312f6359b4d553bad92ed37b19
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon May 17 22:43:19 2010 -0600

    merge in a derivative of Bob Finch's mere mortals guide as a getting started
    chapter

commit 563a9dcdfef42718370c49f16cc2271642b3e055
Author: Keith Packard <keithp@keithp.com>
Date:   Mon May 17 21:30:57 2010 -0700

    Finish basic flight monitoring UI with voice using FreeTTS
    
    This captures telemetry data to log files and presents flight status
    information in audio form using FreeTTS.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 69092ffd23ac1928d5c84413fd00c2423f313fc2
Merge: 3c2211ad cc002c0a
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon May 17 20:10:46 2010 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit cc002c0a43a02845ba67d1a61828be382f307b2e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 16 22:31:23 2010 -0700

    Fix telemetrum.inf, tested by Adrian and Keithp

commit 3c2211ad7877d622435bc9e8c9c0b01d62be6ff0
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu May 13 15:37:37 2010 -0600

    typo fix from Bob

commit f0433c83d76e90d78fb86a1f4a2f145f3c57fb25
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu May 13 01:27:39 2010 -0600

    updates from Bob

commit 0f05cf06e3f1ec510b11d993d9038211ac66c97b
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 12 19:54:04 2010 -0600

    update changelogs for Debian build

commit 6bd85138c1bfbc1d8b78dce1501870a65a64db36
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 12 19:53:40 2010 -0600

    lose the quotes since they apparently aren't necessary

commit d639144b9bb840fbbced199738787ec054eddf12
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 12 17:04:41 2010 -0600

    update changelogs for Debian build

commit ae6854df00579ea1c3486f1bf8f19443d5ac9498
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 12 17:04:13 2010 -0600

    update desktop file for conformance with current standards

commit 7191d74e680a63728f5eb139069a674fef969e6c
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 12 16:45:00 2010 -0600

    update changelogs for Debian build

commit 68eaaa694bb7bf20642ad11eac8a13c1c8e21b7d
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 12 16:44:14 2010 -0600

    add desktop file

commit 9d3d09578381bb6e6f88c39b0e945371bbc22c5a
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 12 16:34:49 2010 -0600

    add desktop file provided by Bob Finch

commit 3cc1dad3b497524ffef61190dd68908cb19e8c35
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 12 16:28:35 2010 -0600

    add initial package build scripts for Arch Linux from Bob Finch

commit 1b8671bd0a00cec6ae4ccf442cd007b18af82fb0
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun May 9 01:41:00 2010 -0600

    lots of updates

commit 53b9a9bc28a9278249ff37f92110c21380e93cda
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu May 6 13:59:23 2010 -0600

    update changelogs for Debian build

commit cde60f16f6ab2cdd5010a0e106ae312d144947cf
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu May 6 13:58:31 2010 -0600

    Revert "Merge remote branch 'remotes/origin/fix-reset'"
    
    This reverts commit 314d27a73c903fef2968dabac3d5313573713460, reversing
    changes made to fa77db2ffd8a749c93767db5a6311131e00473ae.
    
    For whatever reason, this is utterly not doing the right things today!

commit 8be04df7e1e0a369ffb1137c6e2ec63585e3c935
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu May 6 12:48:00 2010 -0600

    update changelogs for Debian build

commit 314d27a73c903fef2968dabac3d5313573713460
Merge: fa77db2f 823fc0ac
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu May 6 12:47:30 2010 -0600

    Merge remote branch 'remotes/origin/fix-reset'

commit 823fc0ac27b8df9b4ba1ca0f229b431baf5b46dd
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 5 12:50:39 2010 -0700

    Don't change dbg clock while changing reset_n. Use 20ms everywhere
    
    This changes the reset code to be more conservative about changing
    things at the same time, and also sets all timings to 20ms to make
    debugging with the scope easier.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fa77db2ffd8a749c93767db5a6311131e00473ae
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 5 02:34:41 2010 -0600

    update changelogs for Debian build

commit 8b6767e24a88482dbd3d4c4c969a0be08917d22b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 5 01:32:46 2010 -0700

    Use ao_delay to sleep for 2 seconds instead of trying ao_sleep
    
    ao_sleep doesn't delay for a specified time interval as much as one
    might want it to.

commit e6bb80975fde20928a830170f0821d59a8c72690
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 5 01:31:57 2010 -0700

    Fix all stdio reading functions to be __critical
    
    Oh, right SDCC has '__critical' to mark sections of code that need to
    run with interrupts disabled; no need to use EA = 0 and EA = 1.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ff03cdf746b83542ebcca00d32e6cc69ccfc122d
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 5 01:57:54 2010 -0600

    update changelogs for Debian build

commit 8702f497c4278648303eced1aed5bd76d559521a
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 5 01:57:11 2010 -0600

    initial attempt at a telemetrum turn on script .. needs work

commit 01cefa181b04e53c20109ef8f3ffff633744da73
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 5 01:56:51 2010 -0600

    update changelogs for Debian build

commit 45a1c2d2dfb69e5269ef2756fcd0f734b48d41cb
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed May 5 01:54:33 2010 -0600

    update changelogs for Debian build

commit f7ff3278bb670df59d7425a014cfe8e3718fea3f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 5 00:44:42 2010 -0700

    Disable interrupts while reading from stdin
    
    With multiple input source support, there is a lag between asking a
    device if it has data and then waiting for more data to appear. If an
    interrupt signalling additional input arrives in this interval, we'll
    go to sleep with input available.
    
    This patch uses a big hammer by just disabling interrupts for the
    whole process.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa9ff021d683764a43800eaa18ea0c9be5134939
Author: Keith Packard <keithp@keithp.com>
Date:   Tue May 4 21:42:54 2010 -0700

    Revert "Add optional 's' command to packet slave to enable/disable slave mode"
    
    This reverts commit e7dc7fab787df63a4de72c8450e94092eb04d7db.
    
    This patch didn't work, and magically appears to break flashing TM
    from TD.

commit 8c95f33686f69da717013ec2c25dbcd99c03aa45
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 29 17:48:44 2010 -0600

    more text created during SFO->DEN flight

commit af0613ffc178b9b1f011c315923f92f2581fe53e
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 27 00:18:43 2010 -0600

    update changelogs for Debian build

commit 99094f02bf4849ba1f6b9842ded6c39d894320f7
Merge: 641e76c5 75d8ffd4
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 27 00:17:37 2010 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 641e76c5d419dab057298541b3a7546877643198
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Apr 27 00:17:15 2010 -0600

    add some RF usage information from an email reply sent today, and re-indent

commit 75d8ffd4eadf31d50b2f58c021530c17ff1bdc66
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 23 13:53:25 2010 -0700

    Autodetect flite voice registration function
    
    Old versions of flite exported the function 'register_cmu_us_kal'
    while new ones export 'register_cmu_us_kal16'. This patch just checks
    which one is available and uses that.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97f4874d19ec05c81a04a3ecd06abffcf7fbfafc
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 22 16:25:35 2010 -0700

    More ALtosUI changes

commit e7dc7fab787df63a4de72c8450e94092eb04d7db
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 22 14:53:44 2010 -0700

    Add optional 's' command to packet slave to enable/disable slave mode
    
    This option has been selected for teledongle so that you can use slave
    mode and hook two teledongles together over the RF link.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f4383394b5d2b275b21e3ce8040d8cb9e48bb375
Merge: 5f93cf8c c879b178
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Apr 18 08:36:07 2010 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 5f93cf8c73555f43c14b1b0757f264bde69e9b8a
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Apr 18 08:35:43 2010 -0600

    capture work done on SFO->DEN flight

commit c879b178d83c9a9a521f42a960b10e19b11cee92
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 10 22:09:57 2010 -0700

    Increase reset switch time to 100ms
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b3a2e1221735d54dc3f2b97b4e75ed6f33ab8227
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 10 15:01:14 2010 -0600

    update changelogs for Debian build

commit 9394393c24c0a96b94319f2d0aa78fb498a121c9
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 9 17:51:01 2010 -0700

    Only have the slave return a packet if it received one.
    
    When the receive is aborted to switch modes, it's important to not
    immediately re-acquire the radio and try to send a packet as the
    aborting thread won't know to kick the receiver again.
    
    This prevents the 'C' command from locking up as it tries to stop the
    packet slave before turning on the transmitter.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ce39372a3aeffff1a08d609e63164a00cf974663
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Apr 9 13:50:49 2010 -0600

    wrong Yaesu model

commit a832c7e9d9e9e420e1281136188bd53b34c56464
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Apr 9 00:10:03 2010 -0600

    update changelogs for Debian build

commit c0ee1ae25e1d18138d8372f47085de48ffada344
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Apr 9 00:09:21 2010 -0600

    file changed by auto tools

commit 25e69ebfec94560e0714cf2cc623dc9697b4ea99
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Apr 9 00:08:32 2010 -0600

    update changelogs for Debian build

commit ea5d4f01d18d93d032f05933041b7b6881289780
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 8 22:45:04 2010 -0700

    libflite may forget to reference libasound

commit 4b02f293e9c32a568fad89558274f21157e7d473
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 8 20:08:07 2010 -0600

    update changelogs for Debian build

commit 5c3b6e2d1989bcaa19ae3e294f297ec3e5648a53
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 8 19:56:40 2010 -0600

    update changelogs for Debian build

commit 01e524f11a67390a8ea1f20aa2d611909b4da363
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 8 19:55:05 2010 -0600

    choose a better set of docbook xsl files

commit f93c9bf3695862db31f2c3b3bc5a7bb24ef3766c
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 8 17:28:17 2010 -0700

    When changing RESET line, delay 20ms
    
    The GPS data sheet suggests a 1uF cap on the reset line to ensure it
    is held low long enough for the power supply to come up to voltage. TM
    v1.0 loads a 0.001uF cap there, but in case that isn't large enough,
    it could be replaced with the larger one. This change makes sure that
    even with that larger value, the debugging link will be able to reset
    the target.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit baaaac499cfbc1286ae55374cfdc796d32983b92
Merge: a4356b9b dec9971d
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 8 13:31:23 2010 -0700

    Merge remote branch 'origin/master'

commit a4356b9bcf679c4d7b88fbbad77a98ecb0f80098
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 8 13:30:16 2010 -0700

    Use 16-bit flite voice (which appears to have changed symbols recently)

commit 447c121fc1ceb878e45718ad1364a5349965a59a
Merge: 10330d23 53ca3f98
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 8 11:46:56 2010 -0700

    Merge remote branch 'origin/master' into altosui

commit dec9971d70f17067ba0051206851b49c7604ac85
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 8 12:43:03 2010 -0600

    update changelogs for Debian build

commit 6629ec52def8917ad033847812a1adc4c3e9c947
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 8 12:42:47 2010 -0600

    lose the url entirely for now

commit a1539a075a0cc79c9122fea878d9a20ee722a18c
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 8 12:41:42 2010 -0600

    update changelogs for Debian build

commit 934434ffb3514fe9ff95692784750d7c5217a5d3
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 8 12:41:28 2010 -0600

    fix typo in url

commit 8a067cd0eebbec313fc39086747ef618f2d1cf37
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 8 12:36:18 2010 -0600

    update changelogs for Debian build

commit 05ad58389fa3814ecb56344bf4ec3a3e025920a2
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 8 12:34:54 2010 -0600

    need another build dep

commit 6fbdc7037db185f03bd5ff96b9d9320646572df7
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 8 12:28:49 2010 -0600

    update changelogs for Debian build

commit 8f1d47e9cd61738e516d15fc97d5730d80611e87
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 8 12:28:20 2010 -0600

    update changelogs for Debian build

commit 10330d23518c94a8b791193a97a6cc07b1c9a97c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 6 00:58:00 2010 -0700

    Enable telemetry monitoring
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9e10e43eff9de3f034da49c4f88728fb933f5035
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 6 00:56:57 2010 -0700

    Tasks may move in task structure as a result of ao_exit
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a7fc7901cd591c93d9d0cffeec2977ebb17554d4
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 6 00:55:19 2010 -0700

    TD reports "not-connected" when GPS has 0 sats

commit e064d05da87926c19fb665b40fb280fb59328183
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 6 00:54:52 2010 -0700

    serial port read function cannot be interrupted. poll every 1 second

commit c099a67d9ea37e731e0eca318102560281ac240f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 5 22:42:05 2010 -0700

    Interrupt running replay thread when starting another replay
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cc600a0389720bc7e435dbda8bec080ef19e0c58
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 5 22:21:46 2010 -0700

    Add Linux device discovery
    
    AltosDeviceLinux.java scans /proc to locate suitable devices. This
    will be hooked up to the UI shortly.

commit c28646d72005daeadb70b95fd3b0050bd752cc55
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 4 20:55:30 2010 -0700

    Switch TeleMetrum from v0.2 to v1.0
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d22ba55ae0e056530a727df50f14ad853d79a2c8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 4 20:55:18 2010 -0700

    Clean up some altosui comments

commit 6251e89c6eea655769f77bc18e98e79c99cf3cad
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 4 19:54:46 2010 -0700

    Don't abort the radio when enabling telemetry monitoring
    
    If telemetry monitoring is already on, then there isn't any point, and
    if it's not on, then presumably there isn't any radio work to abort.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b0b99f30c4e00689e9faceb363a5c7284541c6be
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 4 19:48:50 2010 -0700

    Make ao_radio_idle keep trying to get the radio to idle.
    
    Attempting to abort a radio operation could lead to a hang if the user
    of the radio jumped in and started using it again before the task
    attempting to abort woke up. This change just keeps smacking the radio
    until the radio goes idle long enough to detect it.

commit 0e7abc9fedec568b431c983d3df1b0b29f4f10e3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 4 16:32:04 2010 -0700

    Use RXTX for serial comm. Add logdir preference saving

commit c66eebad323e4572bb7cc23bc476ee144f03e9b8
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Apr 3 08:02:44 2010 -0600

    rewrite urls in docbook format

commit 3d34c488c5b71020d86f83156fd821fd860bf214
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 3 00:02:44 2010 -0700

    Make .jar file

commit 4bea4c327e002ce8f88218f0d840af7c1521bc35
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 2 23:25:02 2010 -0700

    Remove unused cell renderer class

commit 4ad062969ae8a608b8428620579bbe114e580a11
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 2 23:20:38 2010 -0700

    Remove GPS data missing from skytraq. Save max height/accel/speed

commit ebd49d4ec6b0b60c85b2de45cfe2e36add8fe9bf
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 2 23:05:40 2010 -0700

    Report current gps nsat, not last locked nsat

commit 3f9b66b307ee88172151e3bee58e50f5acbde109
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 2 23:00:30 2010 -0700

    Clean up GPS data formatting

commit 9cc48698ec14c34d437baad7b6540edc31e9741c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 2 22:47:40 2010 -0700

    Fix state updates

commit 6d523ee4dad3b9890d3cf05852459101fe7e26ea
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 2 21:48:41 2010 -0700

    Fix status update

commit caa0bf49668344937483190d1c258bfa32971d19
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 2 21:44:00 2010 -0700

    Fix up table formatting

commit a579402f428dd6a0529505069d1846f70b83ab5d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 2 18:10:59 2010 -0700

    Display table of flight info. gps is not working yet though

commit 65079f84ea64220fa928c3ad96652fed159bf74b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 2 16:07:40 2010 -0700

    Steal C code from ao-view

commit 02f2be90879b682b6e648cf2debc83223d127b9d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 2 13:37:52 2010 -0700

    Add telem parsing code

commit 8c600abf87c95f8f214b5e56ff6eab955795dff5
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 1 23:56:47 2010 -0600

    crudely incorporate "day in the life" info from web page

commit 53ca3f98aeb70cb780031fee788de950e4388cf6
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Apr 1 23:39:42 2010 -0600

    tweak copyright assertion

commit 6454e309858aeef7912e862de8632618d89b4205
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 1 18:31:14 2010 -0700

    Fix windows install file

commit 584ab100640a07dec6e06829e73b7260d17d2232
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 1 18:30:56 2010 -0700

    Add Windows install .inf file

commit a06bee96e648d9ded8776f3d6cba9505e7be1a60
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 31 23:05:03 2010 -0700

    Add telemetry data parsing code

commit 7f233369e32c3254165ee251df0a3dbc21ea5a29
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 31 13:49:54 2010 -0700

    Start adding java-based UI

commit 76768804e68ed09421d7a48cb0b390f102ce2d76
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Mar 30 23:26:35 2010 -0600

    make lintian happy

commit eb3cc3e9b60ec23acbb7d797affa743d671801ab
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Mar 30 23:19:48 2010 -0600

    update changelogs for Debian build

commit 00f49c8fb0aa38331360bdb85c32bcebe60dcdc3
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Mar 30 23:19:07 2010 -0600

    fix typo

commit f03ed0876c67b58624abf0c14bf73444b0322d3c
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Mar 30 23:18:37 2010 -0600

    update changelogs for Debian build

commit b41e617080fe825f7810ee5eee52ea37f7618ec6
Merge: 28e40ccf df7bda1f
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Mar 30 23:15:32 2010 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
    
    Conflicts:
            ChangeLog

commit 28e40ccfcd80ab8764d4aa235257cea4d193a0c1
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Mar 30 23:14:47 2010 -0600

    update changelogs for Debian build

commit 20d4d410e0fc04fe192e309811eed6c0194fa5a8
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Mar 30 23:11:40 2010 -0600

    initial harness for documentation

commit 9801ff7de21027935f52ccabaa3ff157e22d21ce
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Mar 15 12:04:18 2010 -0600

    move gbp.conf into debian/

commit df7bda1f32b0049c3878c325ea0b55999f3980e3
Merge: 23da4f3b a7042fe7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 12 10:38:26 2010 -0800

    Merge remote branch 'origin/master'

commit 23da4f3bcdd1d780c9e1f6b68ad2fb309fcae6ba
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 12 10:37:32 2010 -0800

    Document the ao-dumplog '--remote' flag for radio-link downloads
    
    The --remote (or -R) flag uses TeleDongle to fetch data over the radio
    command link from TeleMetrum. It's been there for a while, but the man
    page failed to mention it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93df98898f8cd199ae13158bc4f65e3494c954ad
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 12 10:35:12 2010 -0800

    Round radio calibration value instead of truncating
    
    The radio calibration function in the bring-up code was truncating the
    radio calibration value which caused the resulting frequency to
    always measure above the target frequency, instead of trying to get as
    close as possible. This change will result in a closer frequency
    match, but may sometimes be below the target frequency.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a7042fe7d065d1da1252be5ad43e3c9856214dc8
Author: Bdale Garbee <bdale@Deborah.(none)>
Date:   Fri Mar 5 19:11:11 2010 -0800

    update changelogs for Debian build

commit eda5e1166a97766aa22561beaa1086ba4e19ee16
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Mar 4 17:33:39 2010 -0700

    update changelogs for Debian build

commit 6e61170d42936c18cd6efba6f4c14af616a30745
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 28 18:24:46 2010 -0800

    Need to duplicate new altitude conversion code in aoview.
    
    Altitude conversion is now done with a smaller table and interpolation
    instead of a giant table.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e4e17e6d3844ae682a0e7a9469a522359bac77b6
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Feb 27 17:36:13 2010 -0700

    update changelogs for Debian build

commit a1478f65538fdaac7b58ffbd958a035b74956099
Merge: 901fce5f bbf8c9f1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 27 15:19:33 2010 -0800

    Merge remote branch 'origin/master'

commit 901fce5fe3e2762406079ecaa787612b5ed4b34a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 27 15:18:47 2010 -0800

    Add .gitignore for ao-bringup
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7aab73a265841aac817ea34235dd1eb819debf76
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 27 15:14:04 2010 -0800

    Fix up LED colors for each product.
    
    Different products assign different color LEDs to the two available
    LED drivers (P1_0, P1_1). Make the LED color pin assignments
    per-product (in ao_pins.h), then deal with not always having a green LED.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1d6d8d76ec65373ffee70add75d183f5c4168f61
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 27 15:11:44 2010 -0800

    Eliminate deadlock when writing config from radio link
    
    Writing the 'Saved\r\n' string would fill the packet buffer and cause
    a flush to occur, which would need to wait for the radio link to
    receive and transmit a packet. The radio link always re-fetches the
    radio channel number when lighting up the radio, so it need to look in
    the config space. If the config mutex was held by the config writing
    process while the radio was trying to get the channel number, then
    we'd get a deadlock.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f1956ebadd7bf46b84a05a0c383b6404ca26b344
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 27 15:10:16 2010 -0800

    Leave .ihx files in the build directory too - easier to debug that way
    
    sdcdb wants the .ihx and .cdb files in the same directory, so humor it
    by copying the .ihx files to the src directory instead of moving them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bbf8c9f1748af3f1fac08ddf80ae98da2e9b5727
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Feb 26 15:21:12 2010 -0700

    create a turn on script for lighting up TeleDongle v0.2 boards

commit 461d4a1948e112ec7353caf88967391d876469dd
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Feb 26 10:33:13 2010 -0800

    Add LED test

commit 5d7a3a5fbc0af4621c67a6fd51a9c9d5ae688fa5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 25 16:40:13 2010 -0800

    Fix and document the ao-rawload --run flag
    
    This allows ram-based programs to be loaded and executed easily.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1e60deca147c85a064719dfad14ccabd1049bbbd
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 25 16:33:34 2010 -0800

    Allow product names to have suffixes (like board revisions)
    
    When looking for a board by product name, just look at the prefix of
    the name instead of requiring an exact match. This will allow products
    to have board version suffixes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f4d5790a284e2d02dd7568fbca90402fa5ed1aea
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 25 16:32:57 2010 -0800

    Add ao_radio_xmit to help test boards without flashing them.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d7d551b0078acb1596a9b9023c3df6dbfa46213c
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Feb 24 17:30:23 2010 -0700

    update changelogs for Debian build

commit 2f45953ee54034209a23c254e65da36e44cf075f
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Feb 24 17:29:47 2010 -0700

    un-muck changelog

commit 540f86678853e7ea80ae91f3f2ec0ec88c5b1ca7
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Feb 24 17:27:51 2010 -0700

    debugging

commit cdccd92f6ed97be7385e84de5694064cb8f43946
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Feb 24 17:25:28 2010 -0700

    conditionalize use of git on executability of /usr/bin/git binary

commit 54dd7a200e6956aace5a580d4c4d6a10a13c654b
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Feb 24 17:22:45 2010 -0700

    update changelogs for Debian build

commit 4b6b28530206c6fdbe46699b81746fbbcab5b148
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Feb 24 17:22:20 2010 -0700

    see if this works

commit c74958d3e8c5ce8006a9f9f6853238fce0c77432
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Feb 24 17:13:29 2010 -0700

    move git-using variable declaration into the prebuild target

commit cf091a7252eba09902a42a3cfe7b4d6a343907ce
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Feb 24 16:44:44 2010 -0700

    update changelogs for Debian build

commit deccc10f0305c0cd02bf6317d6dc9d2ae38c3dac
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Feb 24 16:43:32 2010 -0700

    add gawk as a build dependency since strtonum is a gawk extension

commit ac45da6e61597dcdb119b976f7301b2cc7fdced4
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Feb 24 14:57:26 2010 -0700

    update changelogs for Debian build

commit 24912821b3230b8357b9e0094cd69fa0bccc5513
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Feb 24 14:53:27 2010 -0700

    update changelogs for Debian build

commit 82fdbfe1229d1ea5e6906ea240d54b3da73d9a69
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 20 21:35:43 2010 -0800

    Must install .map files for ao-load to work
    
    ao-load uses the .map files to rewrite the serial number and other
    config parameters into the program flash.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a5215c2bd9249a285fc834db0c453fb3e7daed87
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 20 21:20:05 2010 -0800

    Add back stack size checking to altos linking phase
    
    This verifies that the stack start specified during the compile
    will work with the resulting program
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 18eeb79026f7e5c54bf99435537c024427011a36
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 20 21:05:45 2010 -0800

    Quiet make output.
    
    This borrows ideas from the notmuch project to reduce the command line
    clutter seen when compiling or linking stuff.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 004c2a9b7a4b44ef71ca60482573e8e9d8c6ce93
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 20 20:36:08 2010 -0800

    Update .gitignore files

commit 84c93bb2fc4558a5e4654794ba90e730a84eaf67
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 20 20:22:16 2010 -0800

    Change altos build process to support per-product compile-time changes
    
    This creates per-product subdirectories and recompiles everything for
    each product, allowing per-product compile-time changes for things
    like peripheral pin assignments and attached serial devices.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fd0a42e0e96dcb8ecc9e999f70bcf70692692af9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 20 20:21:07 2010 -0800

    Change barometer conversion code to shrink conversion table

commit 876e9a10b9096ead85fbe08ec9a6a0329cf7cbd4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Feb 13 16:42:27 2010 -0800

    Log GPS data on pad after boost detect.
    
    This wakes up the two GPS reporting tasks and gets them to report out
    any existing GPS data to the log file. To make sure the timestamps in
    that GPS data are accurate, this also records GPS time on receipt of
    the GPS data instead of when that is logged.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c83615567b4567f3dc45a7f7b894943b45fbb65c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 7 00:25:22 2010 -0800

    Pull in a bit more data for filtering the start of the boost

commit f8967607b3dda0c0ce7afe8bb077da2da5ed3dcd
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Feb 7 00:24:56 2010 -0800

    Compute daytime using GPS as time base

commit 2a6350149407c7d2e7d143906c40c5e331248aeb
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Feb 11 18:48:56 2010 -0800

    Missing ao_mutex_put in gps_dump

commit 9856b7c4397afcecc8f541af9a83824e817b3612
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 10 16:31:50 2010 -0800

    Switch to using internal cc1111 temperature sensor
    
    v0.2 has no temperature sensor, and several of the v0.1 boards didn't
    get a temperature sensor loaded. Use the internal temperature sensor
    on the cc1111 in all cases instead.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0c2533be15858774ef9381aa8c8344356fd5b971
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 9 22:06:19 2010 -0800

    Force idle mode by shorting the SPI clock to ground at boot time.
    
    This allows you to override the flight mode detection code in case the
    accelerometer calibration is broken somehow. Hold the SPI clock shoted
    to ground until the LED comes on, then remove it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 28346736a7799c0767e54511d9949cd61d35e471
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 9 20:57:48 2010 -0800

    Add simple gps dump command 'g'
    
    This just dumps out the data in a very simple format to verify the GPS
    receiver.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a6082a8b4501ac4cb18584ace1f0c40e088e5484
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 9 20:57:29 2010 -0800

    Remove flash debugging printfs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 05bb953830604721c9a49dd56256b86f3666b5ff
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 9 20:42:57 2010 -0800

    Don't set ao_flash_setup_done until we're actually done.
    
    Because we're accessing this variable outside of the mutex, we need to
    make sure it isn't set until the data it covers has been initialized.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 327e5e782958e516a7b7a786ab6c176b0decb8b8
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 9 20:04:42 2010 -0800

    Dump config block from read/write config and flash_status commands

commit 05e5bb2d330b755967d06fb859585c81f5f5fbb5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 9 19:46:46 2010 -0800

    Dump more flash parameters for the flash_status command

commit d4c8895b349998e02e03ed83466a0ca7afb3d99b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 9 17:57:52 2010 -0800

    Add 'f' command to display flash status register contents
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c1334f712f01543adb10809bc1a3ca120e27290b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 9 09:55:04 2010 -0800

    Add at45db161d.h header file for new flash part.
    
    Forgot to add this when I added the driver.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a0d4c1b06d27e850d233f8ddf8fe32912bf0ec8f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 9 01:29:41 2010 -0800

    Remove green LED and temp sensor from v0.2 code
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dc8d18736239b14c2ec48a40a01515912c5c25e6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jan 9 01:22:06 2010 -0800

    Add AT45DBxx1D driver
    
    This driver supports the AT45DB011D through AT45DB321D DataFlash
    parts as found in TeleMetrum v0.2
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3bab7e66d25988f5d63ec139c8814a85b983f8f3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 19 20:32:18 2009 -0800

    Remove dbg driver code from telemetrum/teledongle
    
    The only board with debug outputs is the TI dongle at this point, so
    the debug modules were disabled in TM and TD some time
    ago. Unfortunately, the code was not removed then.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eddb82390a0ecb07ef83c04861993842906b03ab
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 19 15:31:36 2009 -0800

    Ensure that ao_alarm waits at least the specified time
    
    Because the timer tick may happen soon, it's important to delay by
    another tick to ensure that we don't wake up early.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 598d168bd6552c3756e4b0267de44147eadab9f6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 19 14:03:11 2009 -0800

    Disable monitor mode before attempting radio test.
    
    If monitor mode is left active, then the radio lock will not be able
    to be acquired for the radio test.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d4cf1446680d8b47396bcda338e8df7af395d102
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Dec 19 13:53:38 2009 -0700

    update changelogs for Debian build

commit 10d1bbcd9709a5eee8d50989215242b16feb7232
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 19 11:34:16 2009 -0800

    Use ao_radio_get/ao_radio_put in packet code.
    
    The ao_radio_get function both acquires the mutex *and* configures the
    radio channel and frequency. Failing to use this in the packet code
    would leave the radio frequency unconfigured.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a15abc1882a3bdd2c980eed169f3b80337528390
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Dec 19 12:15:29 2009 -0700

    update changelogs for Debian build

commit bbb152c712801653374a8f82869e2e8bf41f7279
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Dec 19 12:05:40 2009 -0700

    update changelogs for Debian build

commit 7ac8efea5d60b81adccdc1e38ac4c13facfae7c9
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 15 23:58:29 2009 -0800

    Add --cal to man page

commit 5481082b18226a0de6b377215b3b330bdbc4a6c6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 5 19:50:38 2009 -0800

    Allow radio calibration to be set from ao-load
    
    This moves the initial radio calibration value into const memory where
    it will be used if no eeprom configuration value is available, either
    on an unprogrammed board with eeprom or a device without an eeprom.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 46f03ab3145a61139c8ca6fc99e8f2798728b5a9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 5 15:36:12 2009 -0800

    Re-order config values. Change frequency to cal
    
    Place more often used values at top, and consistently call the radio
    value 'calibration' instead of 'frequency'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bf29a62532fec12e6af2d2f3a6624882c863e933
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Dec 5 11:03:42 2009 -0700

    update changelogs for Debian build

commit cd49847f3125df1733f298b56a43e8027ab5ce05
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 4 23:38:26 2009 -0800

    Add radio calibration configuration.
    
    The crystal we use is only good for 20ppm, which generates a fairly
    significant error bounds at our RF frequency. This commit adds a
    configuration variable that sets the RF frequency control variable so
    that the output frequency can be adjusted.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c671a3f31f54715284beef5baa4a72ca922e4018
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 4 23:36:54 2009 -0800

    Make ao_cmd_decimal produce both 32 and 16 bit values.
    
    ao_cmd_lex_u32 is produced in addition to ao_cmd_lex_i so that
    functions can easily read 32-bit values from the command line.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e6d6ad66ce177eb6e49eaa04b1ecc6426f4bbdbf
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 4 23:35:40 2009 -0800

    Remove send_serial and serial_baud commands.
    
    No longer useful, and they take up space.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ce7325cefbbe91054c1e8174cf40a6c687f6694b
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Dec 4 21:02:07 2009 -0700

    update changelogs for Debian build

commit 9a1d7dd78c07d18954ef620b6ed25d6701df21e2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 4 14:35:39 2009 -0800

    Change default callsign to "N0CALL"

commit 291e2004e77debdc1543912cf11043c849305de8
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Nov 26 11:18:37 2009 -0700

    update changelogs for Debian build

commit 40533095a96b6c6364eebdc4b7d53c4eabe72e9a
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Nov 26 11:16:04 2009 -0700

    update changelogs for Debian build

commit ab1075e7219b02258c1613d93379582be4168947
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Nov 26 11:15:13 2009 -0700

    change home URL in control file to be the AltOS page

commit d34dcc5f3616e59ee90ed172770fe2a3eb1e0cac
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Nov 26 10:40:07 2009 -0700

    fix absolute path in debian/dirs, add Suggests for slim-altusmetrum

commit ea40561b36519a5dcabedabe18672b79ea5e9993
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Nov 22 10:18:44 2009 -0700

    update changelogs for Debian build

commit d6ba07e885bdc62ba64719c9d8cc42fcecbcb09d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 22 01:10:44 2009 -0800

    Automatically extract flight number for eeprom and telem filenames.
    
    Extract flight number from either telemetry or eeprom files and use
    that in the resulting filenames. To ensure that files remain unique,
    add a new field, -seq-%03d. This is appended only when the sequence
    number is non-zero as it shouldn't occur in normal usage.
    
    This also eliminates some duplicate filename creation code in the
    library and aoview sources.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 06cebd1026dc1bd6ee51526fa2d02905df3b3b37
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 22 00:52:58 2009 -0800

    ao-postflight: don't try to use missing gps sat data
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a9ada1b538af3308e1b22bd024d9204521184173
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 21 22:12:21 2009 -0800

    ao-postflight: compute barometric alt for each GPS position
    
    Print that to the --gps file, and use that in the --kml file for the
    altitude. Gives a very different picture of our flight tracks,
    presumably far more accurate (at least in altitude).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b84b634d9ae8ce6ab1c02833a3ed8514404e1ca3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 21 22:11:45 2009 -0800

    Don't crash if --plot isn't passed on ao-postflight command line
    
    Crashing is not nice.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2d77c18b15834046b7b79d49d87211828f2409e9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 21 21:10:09 2009 -0800

    Convert telemetry file GPS satellite information in cc_log_read
    
    The satellite info wasn't being correctly converted from telemetry
    files to the data log structure, so ao-postflight was not seeing it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1e7fb61700f1f6f2ed5fdbc4380d7187b0cd187b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 21 21:09:03 2009 -0800

    Fix --plot arg handling. Add -all option.
    
    The --plot file name handing is special as the library wants a
    filename instead of a stdio file pointer.
    
    Add a --all option that just creates all of the possible outputs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 199f0cecae22645140185238682b9e1aba0e5715
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 21 20:36:20 2009 -0800

    Make TD print 0000-00-00 for invalid dates.
    
    This 'shouldn't' happen, but in case it does, I want to know about it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 238d03462a56dc1b7c871608cb00f961a88c1b97
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 21 20:35:22 2009 -0800

    Make ao-postflight create filenames using input filenames.
    
    Instead of requiring the user to provide names for the various output
    options, just create them from the input name by replacing the extension.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1a3b4c02a01187f8b7b9a9c97712476d0007ab35
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 21 19:52:26 2009 -0800

    Document ao-postflight --gps and --kml options.
    
    These were missing from the man page, but included in the --help output.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 80b23f3044a654d61212891a61fadb8a3a4e5572
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 21 18:57:45 2009 -0800

    Decode HDOP data from skytraq GPS
    
    The hdop data was getting dropped on the floor, but is rather useful
    when deciding if the GPS position is crazy or not. This reports HDOP *
    5 (giving a useful range of .2-50).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8f036ee7cd30ce3ed2e5cc8501914a4c19b73875
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Nov 20 13:19:02 2009 -0700

    update changelogs for Debian build

commit 87e6f3e5c1688503ab8595912d8d6eb7139830b7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 20 12:16:37 2009 -0800

    Eliminate SiRF state values from ao-view.
    
    With Skytraq not having any visible GPS state information, just
    remove this from the display.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8065b8146a31438e66f83c13b99281ec47439a73
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 20 11:56:48 2009 -0800

    Add GPS date/time output to ao-postflight.
    
    GPS date/time information was already being stored in the log, it just
    wasn't getting displayed by ao-postflight.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6894541e0ee144bfc689cc02d4ed333711d3b500
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 20 11:55:28 2009 -0800

    Reduce igniter firing time from 500ms to 50ms.
    
    Given that the system will brown-out with the longer pulse, it doesn't
    make sense to even try; failure at 50ms probably indicates a short.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b75aa1c825b84bd7fa1578320fbc7e904c373a7d
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Nov 19 21:43:13 2009 -0700

    fix typo in comment

commit c2f661b75ec035f6a3f700962290ef297f9ab0af
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Nov 20 11:44:06 2009 -0700

    update changelogs for Debian build

commit b0d7e3f9c9322542e9b649bb6ad7f7e5bb99dffa
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 15 16:20:18 2009 -0800

    Stop using SiRF state info.
    
    With the switch to the skytraq GPS unit, we don't have the same level
    of detail in the GPS stream, so stop reporting that in the telemetry
    stream, in the UI and writing it to eeprom.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 524665fc221b0d483453c67b7211e282cebc8980
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 15 16:04:41 2009 -0800

    Add date to GPS data, captured from GPRMC packet.
    
    Pull the date out of the GPS stream and send it over the telemetry
    link and write it to the eeprom.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3ee279ba76c2a79d142c466f19ef758cf4c01d70
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 15 15:59:01 2009 -0800

    Add flight number to telemetry stream.
    
    This makes it easier to tie the telemetry and eeprom files together as
    they're now both labeled with serial and flight numbers, which should
    be unique.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6391c89bd5b89f5f46255b8365c658a873e5959a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 15 15:53:01 2009 -0800

    Switch order of serial/flight in ao-postflight summary

commit 9b06e294e2777f69bcf5e98789c3f5477097d53b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 15 15:51:58 2009 -0800

    Enable telemetry receive in ao_view

commit 4cffc9c4b079e39c8196ddbaf91129cda6df7f8b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 14 22:24:37 2009 -0800

    Share telemetry parsing code in cc library.
    
    ao-view had a private copy of the telemetry parsing code which
    included the ability to parse the newer version of that file. Those
    changes have been moved to the library version and the private copy removed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0e0db8ca3af4c07bae909938486766c646bf580b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 14 22:24:09 2009 -0800

    Provide a dummy 'uninstall' target in the src directory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1c654a9369294c9b8066c33f91161d8005b96680
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 14 22:17:24 2009 -0800

    Loosen tolerances for main->landed transition
    
    Detecting that the rocket has landed is required for the system to
    flush the eeprom log and re-enable the RDF beacon. This patch changes
    the landed state entry requirements for the accelerometer to require
    only that the accelerometer stay within a quarter of a g (down from
    1/10g) and changes the testing interval from 20 seconds to 5
    seconds.
    
    The requirement that the barometric altitude be within 1000m of the
    launch altitude and that the barometer change by no more than 0.05kPa
    are unchanged.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 03092d1a72a9651711e22c58dca6d6aba5705c5e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Nov 14 16:35:12 2009 -0800

    ao-postflight: fix sloppy gps sat data realloc code (was crashing).
    
    Realloc'ing the wrong data, and failing to set the realloc'ed size was
    causing ao-postflight to crash while reading long logs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit adf656192441eb7f44792955c86e469145477e29
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 5 22:11:59 2009 -0800

    Return radio to telemetry settings when packet system closed.
    
    To receive telemetry after disabling the packet system, the radio must
    be reconfigured for telemetry mode.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 83afdbdc154fe013bfe35ce5ecf1d61570b04ed6
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 5 21:45:00 2009 -0800

    Add reboot command.
    
    This resets the processor using the watchdog timer.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0358988ac0ee25a564d48af79b1c3fb0c0fe0a88
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 5 21:44:31 2009 -0800

    Add Watchdog Timer Control register definitions
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4114210e0b813f4af99d0cb7755ad2ac2c4b120e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 5 21:43:21 2009 -0800

    Move ao_match_word from ao_ignite.c to ao_cmd.c
    
    This is a generally useful command line utility.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5a79a04ddb0b3ee64de34e366f71a0f6db509c01
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 4 21:59:51 2009 -0800

    Stop recording in ao-dumplog after receiving an invalid block
    
    If no samples in a block are valid, assume the flight log is over.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 843ee489aac34ad6d81f55f1c85fb9eecc42d86b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 4 21:59:12 2009 -0800

    Flush pending input when switching to remote packet mode
    
    Any pending input would just confuse the application, so pull it off
    the link and dump it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 036400a2db303f3db3be7cc0426f88359c6bd2b1
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 4 21:42:51 2009 -0800

    Explicitly use USB I/O routines in packet code
    
    Using the implicit stdio functions (putchar/getchar/flush) would
    result in essentially random redirection of each, depending on whether
    the packet code had characters available when getchar was called. This
    would cause lockups in putchar.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3ece984f4d72b4f720a5efdfaad7cff77a93d676
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 4 21:32:07 2009 -0800

    In USB pollchar, wait for packet before re-checking USB out len
    
    This probably wouldn't actually cause a problem, but it seems more
    reliable to wait for a packet interrupt before re-reading the packet
    OUT len register. This could avoid spinning while waiting for a USB
    packet, which seems like a good thing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bc62bb254085cc705203b57260c04ac5e14c6611
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Nov 4 21:29:37 2009 -0800

    In packet master, move USB flush from packet thread to echo thread
    
    This keeps the packet thread from blocking on USB and also makes the
    flush happen after every packet (slightly more USB traffic, but
    packets are slow anyway).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 27ebaf8e13aed06bb1ea6e770f767495a02be6c5
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 3 01:27:37 2009 -0800

    Add ability to dump eeprom data over radio link.
    
    This adds a '-R' option to ao-dumplog to redirect the connection
    through a USB attached TeleDongle over the radio link to a remote
    TeleMetrum device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1de322b960005c9a16051afa1881fadb00f4bcd6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Nov 3 00:40:38 2009 -0800

    Pass accel calibration over telemetry stream. Telemetry data format change.
    
    This allows the ground station to convert the accelerometer sensor
    values into acceleration and speed data. This requires a new telemetry
    data structure, and so TeleMetrum and TeleDongle units must be updated
    synchronously. ao-view will parse either telemetry stream, and the
    serial format from TeleDongle now has a version number to allow for
    future changes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b529e5e8998702986909111a457f3ce9932e1ccf
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 2 23:48:29 2009 -0800

    ao_flight_test was using accel value for pressure too

commit f57bea012d4fbca097df0d98fcd30eb4abd9701a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 2 21:47:41 2009 -0800

    Reformat ADC values to show all 16 bits

commit 79718e798e96567f0ba11c61f187e432fdcf95ee
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 2 21:48:16 2009 -0800

    Remove "f" command

commit a4137263b69864c524d39c6ff88a0225fd06e79b
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 2 21:47:15 2009 -0800

    Remove "d" command

commit 47f510464907d2b9488109c96ade87a41d878842
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 2 21:46:39 2009 -0800

    Remove "l" command as ao-dumplong no longer uses it

commit 144db05f6b286a0450d486f69ce192632a2c0656
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 2 21:38:18 2009 -0800

    Add two-point accelerometer calibration.
    
    Calibration now uses two values, one upside right and the other upside
    down instead of a single horizontal value. This allows the use of
    other accelerometers and compensates for variations in the divider
    circuit to provide more accurate data.

commit 17611788aadc9460287145a340a7c18bf63766aa
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Nov 2 16:54:06 2009 -0700

    update changelogs for Debian build

commit 7db9d86178ecfd58cc1c17ac9fcbdcfd2f13aaec
Merge: b219801f f9de2000
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 2 15:47:40 2009 -0800

    Merge remote branch 'origin/master'

commit b219801fb0e5eaff7778d21701da977104522da3
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 2 15:45:58 2009 -0800

    Add ao_usb_pollchar to ao.h

commit b92333ff5e75bf96804359e9fbf464d3b518bd95
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 2 15:45:42 2009 -0800

    Disable interrupts while removing tasks from task list

commit d519564fd08d2defe1211de83ccbdfa3c7cfe702
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Nov 2 15:45:07 2009 -0800

    Add more docs to the README file

commit f9de20000794c97a04d5bc2476191864bd2af371
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Nov 2 16:00:11 2009 -0700

    update changelogs for Debian build

commit 127c3125e5a4b86b8f304bc2889e313688c3d83e
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Nov 2 15:59:12 2009 -0700

    update changelogs for Debian build

commit 6b1e77569e2fed3c44606ed268421df5d3ed4020
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Nov 2 15:57:41 2009 -0700

    update changelogs for Debian build

commit 8203bfa58af32a1d07a44c1c151b200df0b65f15
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Nov 2 15:56:42 2009 -0700

    de-version the libreadline-dev build dependency

commit 0b483233118673cbc2cda1be6acd379df82bc95a
Merge: ca5d323a 550482d9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 1 20:59:02 2009 -0800

    Merge remote branch 'origin/master' into skytraq

commit ca5d323a3d206050d95f52a61e92c69e1f54e7b5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Nov 1 20:57:03 2009 -0800

    Enable packet-based communcation to command processor
    
    This splits the packet code into master/slave halves and hooks the
    slave side up to the getchar/putchar/flush logic in ao_stdio.c
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6c1a9ce16b966a21c885bf3be31cbcb85368b3fa
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 31 01:30:22 2009 -0700

    No need to wakeup &ao_tick_count now

commit cd0d495d7ef276956e730196476daa70a4359918
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 31 01:20:26 2009 -0700

    Poke master to speed up packet rate when things are busy

commit 442b1ef18c8320d4e5329dc92bb5268a36058fc5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 31 01:19:41 2009 -0700

    Use ao_alarm for ao_delay so it can be easily interrupted

commit 4f7ed9ff484778381db647c27d2a34d0cadec41e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 30 23:53:03 2009 -0700

    Do more flushing in packet test code

commit 6a7aa1810a90a9216160aec55ec4bd02b3240e1b
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 30 23:52:44 2009 -0700

    Add RFIM register

commit bf65e0b2a1299b49adc2d339ab9d9c7599aded9e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 30 23:52:22 2009 -0700

    Send SYN packet to set sequence numbers

commit d46797e5c08d4955d516458185e2cfb51ee2d567
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 30 23:51:38 2009 -0700

    Use ao_radio_done to wait for TX to completely finish with packet

commit c5ec6fcfa1bd17aad0f85d2fbe603f1d125836e6
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 30 23:50:54 2009 -0700

    Switch packet code from timer thread to ao_alarm

commit b428faf74ae145126ec1da972028fcfe0b4b2b18
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 30 23:48:36 2009 -0700

    Remove reason from ao_dma_abort

commit 73db30b2f9128c37dc7fa075793a8862814ce044
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 30 23:46:21 2009 -0700

    Add ao_alarm

commit 251b0971f049cbf2f8db79a32729d47441ce65f3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 30 23:45:43 2009 -0700

    Wait for TX to finish sending data

commit 9b31f07fe3556896b3e997bba156e30ef5777a80
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 30 23:43:52 2009 -0700

    Add radio carrier command

commit 7b14c3e609749f4fc00dbd660541375048535218
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 30 16:39:15 2009 -0700

    Initial packet bits. Just testing transmission

commit 690fc263516d8beb6b24e86fbcd6588f42ce4e5c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Oct 21 17:18:49 2009 +0900

    Add keyhole-markup generation for ao-postflight.
    
    This lets you see the flight path in googleearth.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b657aa209b9ea3b3efd33a940283b3ba60a169af
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 16 12:59:53 2009 +0900

    Add ao_wake_task and ao_exit
    
    ao_wake_task signals a specific task to wake up.
    ao_exit terminates the current task.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d709a0688eff84e25e24d755850ef045d6b0c3de
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 16 12:56:45 2009 +0900

    Save some DSEG space by marking cmd functions __reentrant
    
    __reentrant causes the compiler to place args and locals on the stack
    instead of in the data segment.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 550482d953c491a5ede9f2d243493afb13289898
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Oct 12 16:58:46 2009 -0600

    update changelogs for Debian build

commit 2de548f45d0f50b558acc83f57e1e2fc1223ab92
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Oct 12 16:58:19 2009 -0600

    oops, forgot to specify the repo to push to

commit 68008ac11c2735ca53a1b474324df43f2f1d5cdd
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Oct 12 16:57:33 2009 -0600

    update changelogs for Debian build

commit 513328ac5f7c25f9ee144ab6befbea60d69eed1a
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Oct 12 16:56:50 2009 -0600

    automate push of updated and tagged master branch during debian/rules prebuild

commit 67bf7d388a6dd2dbf65575bf4f0423ad355b4f2f
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Oct 12 16:54:44 2009 -0600

    update changelogs for Debian build

commit 23bc21a93ccb9f35917f283ac5df6ce0870df71a
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Oct 12 16:54:16 2009 -0600

    undue damage from partial build

commit 7da56ad8576ef212ffb6cb573bdaf578453e3fe0
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Oct 12 16:52:52 2009 -0600

    add support for tagging git repository on each Debian package build

commit 8d4aa4ee54f85f4951cdd7293d58aaa405cfcdc5
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Oct 12 16:49:34 2009 -0600

    update changelogs for Debian build

commit 241a860fe856b1dfad6e792736313648300d5c24
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Oct 12 16:48:43 2009 -0600

    flush repetitive junk out of debian/changelog, and update the prebuild target
    in debian/rules to put git commit details into the Debian changelog

commit 6c4cdc927b43736b39be29d23ac3dc723f69e4d6
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Oct 12 15:57:19 2009 -0600

    update changelogs for Debian build

commit c57bd7fd2f80e50b0b4c87fccb024ab07c93773d
Merge: adf8764b 2b765728
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Oct 12 15:57:08 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 69b6f6bb465163cf767bb68e0e4a716d8ad2b39c
Merge: bc77da68 2b765728
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 10 17:16:21 2009 -0700

    Merge branch 'master' into skytraq

commit 2b765728ce177e26899f6feef00bfdf6aeaf2678
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 10 17:15:38 2009 -0700

    Add apogee igniter delay.
    
    Provide for a delay after apogee before the drogue charge is
    fired. This allows TM to be used as a back-up altimeter.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bc77da68c9cb7d4cca483eadbbb7e9ccf71c0060
Merge: 46cccf62 8f7ea3de
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 10 15:09:48 2009 -0700

    Merge branch 'master' into skytraq

commit 8f7ea3de7037f40b0ff462b60d503c19431ae62b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 10 15:08:14 2009 -0700

    Report igniter continuity in pad/idle mode via beeper
    
    one short beep = drogue
    two short beeps = main
    three short beeps = both
    one long warble = neither
    
    In idle mode, it does this just once. In pad mode, it keeps testing
    and reporting.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit adf8764bc4591795ba4e618ccbd6393fc6ce6450
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Oct 10 15:11:23 2009 -0600

    update changelogs for Debian build

commit 541da6f3bbf81be93dfe3c01f7c8cfd757b28a2b
Merge: dfc73cba 5f26ad66
Author: Bdale Garbee <bdale@gag.com>
Date:   Sat Oct 10 15:05:50 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 46cccf62fb40514b5930fcb2ffdaf2735415c764
Merge: fb8f3fee 5f26ad66
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 10 14:00:03 2009 -0700

    Merge branch 'master' into skytraq

commit 5f26ad663b3f60dddc9d967206e365f45dc4acd1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 10 13:58:16 2009 -0700

    ao-dumplog: switch to 'e' command, display progress
    
    Using the 'e' command allows additional checking of the data,
    including end-to-end checksums and detection of missing data.
    
    Progress is displayed by showing the recorded flight state along with
    a '.' for each eeprom block read.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fb8f3fee6a1bab1e46d782e84405845cee2dadb4
Merge: 22856cf8 b8fc3975
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 10 13:41:00 2009 -0700

    Merge branch 'master' into skytraq

commit b8fc3975bd92037a0cf53b0ff2b0e05ce0ba668f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 10 13:39:01 2009 -0700

    Send 0-length IN packet to flush USB after full packet
    
    USB bulk transfers are a sequence of maximum-sized packets followed by
    a short packet, which signals the end of the transfer. When the last
    packet of the transfer would be a full-sized packet, an additional
    packet of zero length is sent to signal the transfer end.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 22856cf8bb0f5e1f37c9b774132d9ef6934526ed
Merge: 2f760349 e29961fd
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 10 11:44:20 2009 -0700

    Merge branch 'master' into skytraq

commit e29961fdb2a48874c895829880eadbf13e094c0c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Oct 10 11:43:31 2009 -0700

    Add channel menu to ao-view.
    
    Sets radio channel when TD is connected, saves selected channel in
    gconf database.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2f7603490a169df8f18b565db4fa967832ffc9bd
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 9 22:48:29 2009 -0700

    Build two versions of TM, one for SiRF, one for SkyTraq
    
    This creates two separate images, depending on which GPS unit is
    connected.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 33b0b6f2f2e07de105619a7b463226d2813152ab
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Oct 9 22:02:40 2009 -0700

    Add support for the SkyTraq GPS unit
    
    This is a build-time option selected by hacking the Makefile at present.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a3771bfc5ce740f9d89193e9f8b1d7987aa57264
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 6 20:06:00 2009 -0700

    ao-view: fix snd_pcm_open return checking
    
    I don't know how this code was supposed to work before...
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac4b8a73848f434999a532eab4665253c267c597
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Oct 6 20:05:36 2009 -0700

    ao-postflight: dump out GPS signal data
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dfc73cba1bee8b121e00e8cba45e7dfaaf79e9d8
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Sep 21 22:46:59 2009 -0700

    update changelogs for Debian build

commit 459ff3d377297f80ee2fba0df0a29ff6603467a1
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Sep 21 11:00:32 2009 -0700

    update changelogs for Debian build

commit 327c64305a59f48ababf19875874a550af6b9cef
Merge: c8a81a41 74f0fb4d
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Sep 21 11:00:22 2009 -0700

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 74f0fb4dd189abc1d5027c64fa5a648a6003285a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 20 13:33:59 2009 -0700

    make bit-banging reset script actually reset

commit 7ea371a09385e2a93199f78685e8cb86793ed104
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 20 13:33:26 2009 -0700

    Add --gps option to ao-postflight

commit bc7ccb339e538a0e6120db0e5c0d9130c565e0dd
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 20 13:32:59 2009 -0700

    ao_rawload: Don't reset after we finish loading

commit c8a81a419f7f2331624f90bd6c107a86f6b04451
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 20 09:21:00 2009 -0600

    update changelogs for Debian build

commit df42ccaaf468cdc5d93cbd1c001f58df58419722
Merge: 0b24e403 078e9cdb
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 20 09:19:28 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 078e9cdbdb388b22c6151f76ff0660fc14b8ef55
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Sep 10 11:53:06 2009 -0700

    Plot raw accel data for the motor accel section.
    
    This shows a short sequence of accelerometer data without any filtering.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8b485d937ff148848ebda7f9ca6be29bb1de1f16
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 6 21:02:48 2009 -0700

    Show acceleration only during boost phase.
    
    We're interested in motor performance; the rest of the flight is
    boring, after all.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9e660315e1bd2bf71ab1c0574e895e1f7608a58f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 6 21:01:44 2009 -0700

    Fix cc_period_make to not get stuck on samples with matching time
    
    When two samples have matching times, step to the second one;
    otherwise, we'll get stuck forever.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 932f1539b38567e565fd484171c13539b1467308
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 6 20:26:17 2009 -0700

    Color plots, integrate only flight portion of data.
    
    Telemetry files have piles of pad data which shouldn't be integrated
    into the velocity data as it tends to generate huge values from the
    noise of the sensor.
    
    Also make the data lines colored to keep them visually distinct from
    the rest of the plot image.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9177f5f4e9d832558ddd9ab227c4511f6201e7e5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 6 18:11:24 2009 -0700

    Update usage and man page for ao-postflight

commit 0b24e4034f93010372a3d084668d10f0e4a2c2e1
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 18:01:20 2009 -0600

    update changelogs for Debian build

commit a5e94aa0677070a051714443cf7fd7e2b5e90269
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 17:59:47 2009 -0600

    need a run-time dependency to pull in the cairo module

commit 97acef95cc9843998963921459fdd71dd7eaa6b4
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 17:48:23 2009 -0600

    update changelogs for Debian build

commit 3f95a5abbf8ada70328ced45fbb2781ed1cb3d29
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 17:48:10 2009 -0600

    more build deps for plotting lib

commit 9d7e96e323d652de08b2f2a73e0eb3c321080185
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 17:47:56 2009 -0600

    update changelogs for Debian build

commit ae4e131b61244e06020b82919e31e05dd7dba88f
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 17:46:39 2009 -0600

    update changelogs for Debian build

commit 37e6c9a492a1d51373bf9333fb3172e0c377720f
Merge: d256f820 2e6686b1
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 17:46:10 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 2e6686b1e183c66188ea447b8a54e4c29402443b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 6 16:45:47 2009 -0700

    Use plplotd instead of plplotd-gnome2

commit d256f8204e9fce53ae4309562bb4c0cde1fae43e
Merge: 0fc344df 32d35367
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 17:34:08 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 32d3536706324808df6cd02248a236302b831571
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 6 16:24:35 2009 -0700

    Add plots to ao-postflight using the plplot library
    
    It's not perfect, but it generates .svg plot output.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0fc344dfc031a8b1eef7cc40efb1d5ba7782269d
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 14:15:57 2009 -0600

    update changelogs for Debian build

commit 4b0de757874c0ecaf38e3dfd3beefc398150e3d5
Merge: 773c4ffb d0eac989
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 14:15:53 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit d0eac989b1ffc8ae30ba12da403eb4bf1ad42d6b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 6 13:15:10 2009 -0700

    Don't look at NULL strings (summary_name)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 73f4a57239f770aff603b961169c0e2cfe2c276b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 6 13:08:54 2009 -0700

    Use pressure speed for drogue and beyond states. Fix differentiation time.
    
    Drogue state should always use pressure speeds.
    
    Differentiation code was using centi-seconds instead of seconds.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 773c4ffbc1d2e02eb02cfa543a077a408986da30
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 14:05:55 2009 -0600

    update changelogs for Debian build

commit 45ede4a4b203ef9da5bf05c49cb9c5a2e6382ec5
Merge: 45e29381 e35e485f
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 14:05:51 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit e35e485ffe6b26034788ab295121bc2693b7eec1
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 6 13:04:31 2009 -0700

    Initialize summary_name and detail_name so stuff appears on stdout.
    
    Uninitialized variables lead to mysterious results.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 45e2938121411d1fc9b3aec3fdeaaeb3c90db5ed
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 14:02:14 2009 -0600

    update changelogs for Debian build

commit d42ebf0661ecf15455e5051de1e16ae66f8dd857
Merge: 384dbe9f 7a19aac5
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 14:02:09 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 7a19aac5e881e635962a64fff73027ca2143b96f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Sep 6 12:51:48 2009 -0700

    Add DSP code to filter data, allowing for integration/differentiation
    
    This adds the computation of speed from both accelerometer and
    barometer measurements and then presents a periodic flight profile
    using filtered data as a detailed flight record.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 384dbe9fc7fa8e4e5dceec5e150f0f1d3383bbdc
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 10:40:06 2009 -0600

    update changelogs for Debian build

commit 35c54b3a278fa9bc2bc7f4b5ee04866697c93ba0
Merge: 4f8eff74 6d018ab9
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Sep 6 10:39:23 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 6d018ab933832e2d80bb1564c339d9fb18b57be2
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 5 22:45:49 2009 -0700

    Handle vageries of .telem files in ao-postflight
    
    Telem files have multiple entries of the same state, and sometimes
    long gaps between recordings. Deal with this as best as possible.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit c46e832b28820d7c5be4efaacbbd7c0607927fe5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 5 22:03:31 2009 -0700

    Add simple post-flight analysis tool (ao-postflight)
    
    This tool reads either an eeprom or telem log file and displays some
    rudimentary data (max accel/alt for each flight stage).
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 26f56b51bd11aa91f1d77b81827b49c28cb6ec5f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Sep 5 00:29:26 2009 -0700

    Add ao-dumplog to capture flight log from command line
    
    This duplicates the functionality of the flight log stuf in ao-view,
    except from the command line where it belongs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 73adae3661160d410dcc802873b530d255c210e5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 4 15:30:22 2009 -0700

    Add --device/-D support to the command line tools and manuals
    
    Use the new cc_usbdevs_find_by_arg function to locate suitable target
    devices connected via USB.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4f8eff7401ee2d8092ab36fa33411f9b23dda880
Author: Bdale Garbee <bdale@gag.com>
Date:   Fri Sep 4 16:03:55 2009 -0600

    update changelogs for Debian build

commit 332b056459b1352e233a8bf5f08498df12d32160
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 4 15:01:32 2009 -0700

    'fix' ao-eeprom to read two blocks at once. Work around kernel bugs.
    
    The kernel appears to leave serial data undelivered at times. Reading
    two blocks at once appears to make it relinquish the queued data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit df88ae4c5f229efcc0ea5cb0a81fc2bb8f96fea2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 4 14:23:02 2009 -0700

    Add 'ao-list' utility to show attached AltOS devices
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0935d6a7e907e20381a42882ae728051f9bece02
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 4 14:21:19 2009 -0700

    Parse the USB serial number as an integer.
    
    AltOS devices use simple integer serial numbers, so parse the USB
    value as such to make matching values more forgiving.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0c771d999914f9d17c723900f2987acc45fd0fbb
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 4 13:00:02 2009 -0700

    Move usb scanning code to ao-tools library
    
    This will allow the scanning code to be used by the command line tools
    as well as the ao-view GUI.
    
    Now that ao-view depends on the ao-tools library, it has been moved to
    the ao-tools directory as well.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 15341b6e6dcf52df083d6aa37ef881ea6ad48ee5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 4 12:25:37 2009 -0700

    Set all of the values to reset the radio for telemetry
    
    Was sizeof(rdf_setup) instead of sizeof(telemetry_setup) when
    resetting the radio back to telemetry data mode from rdf mode. With
    the length value removed from the rdf config, these two arrays are no
    longer the same length, and so the last config value was not set
    leaving the radio sending garbage.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fee46389b70a624ab5b1128a8b4c3083c7747bcb
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 4 11:46:55 2009 -0700

    Make RDF beacon only run on pad and after landing.
    
    It's pretty much impossible to RDF the rocket during flight, and it
    interferes with the telemetry data stream. Leave it enabled on the pad
    so that radios can be tested, and then re-enable it once the rocket
    has landed.
    
    This patch also turns the rdf 'on' time into a parameter so it can be
    changed, and then sets that parameter to 500ms, once every 5 seconds.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 54545640b0db7747137655f84bc67fd290ecb904
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Sep 4 11:45:52 2009 -0700

    Add back the RDF tone generator
    
    Tracking the rocket on the ground may be easier using tones than using
    the digital data stream, so we'll try that and see what we think.
    
    This reverts commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9fafee109e96435c96639b21211cac0500673a63
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Sep 2 23:18:15 2009 -0600

    update changelogs for Debian build

commit cb4a73f3b65ba72f645fd37ab8712829c9537bf8
Merge: 9ddd8696 e2e449d5
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Sep 2 23:17:37 2009 -0600

    Merge commit 'origin/master'

commit e2e449d5c23356e913f312de1fb2611a9dd5a352
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 2 22:01:52 2009 -0700

    Remove bit-banging debug support from TM board builds
    
    Our current TM boards don't have the wires to do bit-banging to
    another cc1111 board, so it doesn't make sense to fill up their flash
    with useless code (and the 'help' text with useless commands). Leave
    this to the TI board until we have boards that can serve as debug dongles.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit acea083d80e1ecc4287083519ea666964016b257
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 2 22:00:37 2009 -0700

    Make the ao_log_record structures 8 bytes again.
    
    When the GPS signal strength data was added, the structure was
    accidentally extended to 9 bytes, making all log records 9 bytes
    long. While not a serious problem, this left log records spanning
    across eeprom block boundaries, which seems like a bad plan.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7d39f17684feb49ac8a0017902158f298696e37c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 2 21:57:54 2009 -0700

    Make eeprom reads and writes across block boundary work
    
    Reading and writing across the block boundary was not stepping the
    eeprom position after the partial i/o operation at the end of the
    first block. This meant that the operation would re-use the end of the
    previous block, either re-reading or re-writing it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9ddd8696b4004ccc03238d95a8c2a1d07075e0fb
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 31 16:48:03 2009 -0600

    update changelogs for Debian build

commit 6926c4ab5d87a8f2eb4fcde2c673fb3a4639e115
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 31 16:47:44 2009 -0600

    pixmap file should not be executable

commit 1495e2f27acde3743c3764a0c31ee082224d6c64
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 31 16:42:55 2009 -0600

    update changelogs for Debian build

commit c8c5b7963babe8eb16e2651fba9cd2c8d1cba74e
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 31 16:42:37 2009 -0600

    deliver an icon for the Debian menu system

commit 591b99c232e780246fc07841c09c8c4e7835facb
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 31 16:26:00 2009 -0600

    update changelogs for Debian build

commit b34474c1f3083e73b7184d519f54d4c8031836fd
Merge: 8df16979 0d65bff4
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Aug 31 16:25:32 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 6358041f846ba9a20fa650c367d907dc4336e54c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Aug 22 13:38:56 2009 -0700

    Enable GPS degraded mode, set 10 sec degraded timeout.
    
    No reason not to let the GPS report solutions whenever it likes, let's
    see how this works.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0d65bff443c17d4d98c18b620ec075ab66b30efd
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Aug 21 10:47:46 2009 -0700

    Turn off GPS tracking data when not present in data stream
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8df169791835510d96c11a3b0aa3cc5b79fa7fde
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 19 02:21:23 2009 -0600

    update changelogs for Debian build

commit 42ab6d52540d0326ef89e9d57954b08248558468
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 19 02:21:06 2009 -0600

    fix location for delivery of sources.list fragment

commit 977f5dc0bc7c666dcc1f21db77416efca0d696aa
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 19 02:11:11 2009 -0600

    update changelogs for Debian build

commit 8d4d6655f1b4c2fbc522fd255bfb75406e5ddaef
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 19 02:11:00 2009 -0600

    oops, aoview is now ao-view!

commit b9a97aea65f871fd287bc0bb566d8664766f4afd
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 19 02:07:16 2009 -0600

    update changelogs for Debian build

commit 21e3dd0affac89919e5d0e29c6e9eb1eacb51801
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 19 02:06:49 2009 -0600

    enable support for Debian menus

commit 0087c1776e0253fc2bd3b86f15bf9d1b32bdc45a
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 19 00:52:57 2009 -0600

    update changelogs for Debian build

commit 4486d9156e19e4280b42bcd422d81d04f2d04a92
Merge: dd09f0bc 33edd629
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Aug 19 00:49:24 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 33edd62992a32b0ec8ca66d879fa300871db5937
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 18 23:38:16 2009 -0700

    Update ao-view to add GPS satellite tracking data
    
    This adds another column to the display to hold per-satellite GPS
    tracking data and a count of the visible and locked sats.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 29687cbd462a332d9a36ed87500c5b737dcae3f4
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 18 22:35:15 2009 -0700

    Handle GPS satellite tracking data
    
    SiRF message #4 includes signal strength and GPS engine state for each
    of the satellites being tracked. This data is now parsed and sent to
    eeprom and the radio.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dd09f0bc2b950c00f3b489878cd69ad8a003f46c
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 18 21:57:01 2009 -0600

    update changelogs for Debian build

commit cd5ce661e2a8f9694933358ccb5b916fbed089c2
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 18 21:49:39 2009 -0600

    add support for building Debian package

commit d996aa9b32fb0eb385bd3d158256c29788a42fe3
Merge: b3b2d3c4 7d4ceb75
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 18 18:56:09 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit 7d4ceb75a454e6c9b3fe0bd934fadcb5104dea36
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 18 17:55:22 2009 -0700

    Add ao-ejection.1 man page
    
    Document the input requirements and output format
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b3b2d3c475a135084b5628c730fc6fca1ba0817b
Merge: 4685fc54 da12b89f
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 18 18:36:03 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

commit da12b89fb056a68e65ba363fef91d266727cb685
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 18 17:30:43 2009 -0700

    Create ChangeLog from git log

commit 7d69e2b3715faed10ce21ad562fc4d25dfc5f9c1
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 18 17:29:29 2009 -0700

    Fix ao-bitbang examples to not have . in the first column

commit 4685fc541466afbeefc151bcb64cd054739c048b
Merge: 1c2a0b66 c29275b7
Author: Bdale Garbee <bdale@gag.com>
Date:   Tue Aug 18 18:09:38 2009 -0600

    Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
    
    Conflicts:
            ao-tools/ao-bitbang/Makefile.am
            ao-tools/ao-eeprom/Makefile.am
            ao-tools/ao-load/Makefile.am
            ao-tools/ao-load/ao-load.c
            ao-tools/ao-rawload/Makefile.am

commit c29275b72438637d46d7a50742882d2736eb176a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 18 15:21:57 2009 -0700

    Add manual pages for remaining commands.
    
    Manuals written for ao-bitbang, ao-eeprom, ao-load, ao-rawload and
    ao-view.
    
    Manual for ao-dbg updated to reflect program name change.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b03d620722dc54630539afba40720c30de69b2d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 18 12:19:31 2009 -0700

    Use --tty/-T on command line to specify target device
    
    Also, use the ALTOS_TTY environment variable in all tools. Note that
    the magic value of "BITBANG" switches the library to connecting
    through a CP2103 instead.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7c790fe859dff062692964338091ffbbcdf63257
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 18 12:40:24 2009 -0700

    Rename tools to ao-<foo>
    
    Use a consistent prefix to make it easier to remember which programs
    belong to this package
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1c2a0b6653623b689d68d7349a6b2dce3e20a4a6
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 18 13:36:54 2009 -0700

    re-add debugger sources

commit 9a9cce5510b87252f863239ac807b9fb4395b288
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 18 12:19:31 2009 -0700

    Start working on using getopt for the tty name

commit 9789ca5e8caa9a013e804f307b9da380e147bd75
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 18 12:40:24 2009 -0700

    Rename tools to ao-<foo>
    
    Use a consistent prefix to make it easier to remember which programs
    belong to this package
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a5782398d968e7cb11f7203afada7c216f233b3b
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Aug 18 11:34:28 2009 -0700

    Remove unused cctools code paths for old libusb and cp2103 ioctls.
    
    Communication with the CP2103 board has gone through three revisions,
    first using ioctls supported by the CP2103 kernel driver, then using
    the old synchronous usb library and now using the newer libusb
    asynchronous interface. There's no reason to keep shipping the old
    stale code now that the new stuff works reliably.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7cba411de0780c65e3490ab67186a514f0ea42ec
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Aug 17 20:47:31 2009 -0700

    test for sdcc, nickle and readline
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f48dcffae761700355a17b59345d55a60703f0c4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 9 20:43:10 2009 -0700

    Sync USB data after each memory write command
    
    This makes sure we flush the USB link often enough for the other end to keep
    up.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cd5456f18e4b39ad76d5549df91a0e0cfb18a2e9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 9 16:08:07 2009 -0700

    Handle partial ALSA PCM writes
    
    The ALSA spec says that snd_pcm_writei will not return a partial write, but
    at least on the OLPC, that's not true. Deal with this.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3056cb8eef5aee0dcd342488386355d8b8f574c8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Aug 9 15:55:19 2009 -0700

    Check more alsa return statuses

commit 8ddf3345afd8cbf638e81993633f7861d8dbca63
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 18 01:47:34 2009 -0700

    Don't report distance to rocket without valid GPS
    
    When there's no valid GPS data, don't try to report the distance and bearing
    to the rocket after landing.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fbcb7b20fa701a6e534d38e307839466545668e3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 18 01:05:33 2009 -0700

    Add B command to set serial baud rate
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 91b023e7e4eeed838e0320d2ddac0f6aac39e565
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 18 01:05:13 2009 -0700

    Get rid of spaces after minus sign in climb value

commit 28be20cf914fb34dc3c776519708d0f02091764e
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 18 01:04:39 2009 -0700

    Switch to 57600 baud for GPS data

commit d3f76ce58b9c0ed2e5a9fe3bbc7fb9cb38247714
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 18 01:04:17 2009 -0700

    Drain serial port before changing speed
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d7c2d358ed8a1afc9f0ba2bd830b10f6b56dc7b1
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 18 00:44:42 2009 -0700

    Display last known GPS coord while unlocked
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5195fcfe239e430e1f9f11774c9a245c7b29dae9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 18 00:44:01 2009 -0700

    use g_source_destroy instead of free on serial object

commit 1e5e98bd8f5ea0bc15592de454e3629383462371
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 18 00:43:22 2009 -0700

    Trim aoview_serial_set_callback args down to just port and callback

commit 08f37056deec25d77062bc411a04033401b033a5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 22:11:03 2009 -0700

    Reset GPS at boot time

commit 1150aa850f5a025b849556e32c4dddb27937d9af
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 22:10:43 2009 -0700

    Fix up serial debug output

commit 2a7956a64935246475f92d44c08369e0230b676a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 21:34:13 2009 -0700

    Allow the GPS port to run at 4800 baud if desired

commit 8d650769c319261c97f5e68eff9138207b95c0f8
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 21:33:53 2009 -0700

    Initialize the GPS serial protocol state
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ab40d224b39ba6d29c4056e2d2c365e1eb3d3793
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 21:33:18 2009 -0700

    Use uint8_t for comparisons to avoid int conversions
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d6749bf24792bb41ca700cf4b8e5e1ac1a63cbf0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 21:30:53 2009 -0700

    Add AO_GPS_RUNNING state.
    
    This tracks whether the GPS receiver has ever sent a valid report to the
    flight computer, allowing the user to tell whether the GPS receiver is
    working at all.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a1da7e871aee75308bc05ce1b7a0dc402e4c9509
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 21:25:35 2009 -0700

    Add M command to monitor serial bytes

commit ddfa2308c0be4c002f982ae9da6032ee7854117d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 21:24:45 2009 -0700

    Support the not-connected GPS state

commit 34f148500df427c148188c0ada20bf914a7c74ba
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 19:23:10 2009 -0700

    Use 57600 baud for GPS. Clean up gps init.
    
    Assume GPS is either in 4800 NMEA or 57600 SiRF mode, send just the sequence
    to get from 4800 NMEA to 5760 SiRF.
    
    Also, eliminate threads from the gps test program.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2deca0c52cd6cfb4baceb59c8a5458344bada338
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 17:09:20 2009 -0700

    Try harder to get the GPS receiver serial link sync'd up.
    
    We cannot assume that the GPS receiver is in any particular state when it
    boots, so we try to send the serial configuration at several rates and hope
    that it eventually sees something that it likes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 31d5670a9144b943ce9c8cb00deb5fb659af0b1c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 17:06:18 2009 -0700

    Rolling average for pad location. Say 'GPS ready'.
    
    Use a rolling average for the pad location, instead of just averaging all
    positions. This filters out old (presumably less accurate) values eventually.
    
    When enough GPS samples have been acquired, say 'GPS ready'.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bfe1e76c82738baaf65abbc58c3244a07ea8fefe
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 16:22:51 2009 -0700

    Split GPS data into a separate column
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5f0179652e8bb85add9067e5253e981c60f2c51e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 16:03:35 2009 -0700

    Fix up SiRF parsing and test code so that it actually works
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0b35447d05a0c7eaf4fefcbcf0065fe3320bba82
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Jul 17 13:58:14 2009 -0700

    Add host-side gps protocol testing program

commit fef7334bddb9fccfbd6deab7d5d466ab3e76323a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Jul 11 00:56:13 2009 -0700

    Hook aoview directly to alsa
    
    This skips the flite internal audio stuff which opened and closed the audio
    device for each phrase. This caused the first part of some phrases to be
    missed when using an external audio device.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 80cadf44f5f1accd6ddfca25c2af8d4d424f26d9
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 9 20:55:10 2009 -0700

    Show speed. Format numbers. Timeout and report final status.
    
    The speed value is now shown in the top label bar. Ascent shows
    accelerometer-derived data, otherwise it's baro derived.
    
    All of the numbers displayed are now given sensible printf formats so they
    don't contain way too many digits.
    
    Instead of doing periodic reporting based on flight tick count, data is
    reported every 10 seconds based on wall time. After landing, or when no data
    have been received for a while, final flight information is spoken.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 19630ef084866f4230e68ccf11284b30c68128b1
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jul 5 08:35:28 2009 -0700

    Dont smash aoview_monitor_parse input buffer

commit e506ed4b6efb86eab50204658fcd433b987e3831
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 30 15:25:52 2009 -0700

    Integrate flite into aoview directly. Fix great circle computation.
    
    Use a separate thread for flite rather than a separate program.
    Save voice state to gconf.
    Add filters for replay file selection
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5b988e0146075d57434f8484e1ec9fcf3e183df2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 30 15:24:53 2009 -0700

    Make window taller

commit 696233b088645bba1aaa6aa6c5358c3ecfa5cd3f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 30 15:24:31 2009 -0700

    Use 16kHz voice

commit 2e06772c8b6fd74f86e640ed97f0d5bc8c095c2f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Jun 30 11:58:30 2009 -0700

    Add telem replay and larger labels
    
    Replays telemetry files in real time
    Shows height/state/rssi in big values at the top.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 566dde161385263700eaae51095eecfa9b5972ee
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 29 23:06:47 2009 -0700

    Update aoview/.gitignore
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4ca2d910f3be689fd3c78a4f1be0555d6b1a30c1
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 29 23:05:27 2009 -0700

    Use flite to announce flight state
    
    This uses the flite voice synthesis library from festival to announce
    altitude and speed information during the rocket flight.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 527d7c803ed9597b210634018cb2eb9d048d9846
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 29 23:03:58 2009 -0700

    Add GPS speed and error data to telemetry and aoview
    
    Having switched to the SiRF binary GPS format, the velocity and error data
    can now be displayed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ee4919dd771b00e2a2dd1083c9528efa7baab50f
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jun 29 13:54:00 2009 -0700

    Convert GPS to SiRF binary protocol.
    
    This switches the GPS unit from NMEA to SiRF protocol at startup and then
    parses the binary data. The binary data uses a different encoding of lat/lon
    than the NMEA strings, and so the telemetry and eeprom data formats change
    with this switch.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 49bf37767d2453869f2ca2c0832d1124322c66e0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 17 23:22:25 2009 -0700

    Add ejection computation utility
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e59520e343c2573b1b92c0b3c4aaa93e51bc55d3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 17 13:55:23 2009 -0700

    Fix clock initialization to not try to use 32kHz xtal on P2_3/P2_4
    
    None of our boards have a 32kHz xtal oscillator, instead we use those pins
    (on Telemetrum) for the deployment firing circuits. The old clock
    initialization code was switching from the 32kHz RC oscillator to the 32kHz
    crystal and overriding our use of those pins.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1c3cc12c08ddefbd6456a55c54ef87dd94d4ae9a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 14 17:25:34 2009 -0700

    Some kernels reference USB ttys as tty/tty* instead of tty:tty*
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0f2cbd41332b1b63865c5f1a4e749419b469853a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 14 16:45:19 2009 -0700

    Rename state apogee -> coast

commit 5834a12c1d3d71105c9e3d1ceaf9f3ffac9ff1eb
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 14 16:39:28 2009 -0700

    rename states. launchpad -> pad, coast -> fast

commit 8c40f19acd09fe93d492c9355da8a1198c34b1c3
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jun 14 16:36:29 2009 -0700

    Disable monitor mode when communicating via usb

commit 7adea9c59c73acd52743446c74fb675e0a1d6d05
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 4 14:38:45 2009 -0700

    Format GPS seconds as %02d.%04d to avoid spaces in the value
    
    The aoview GPS parsing code doesn't deal well with spaces in the middle of
    the value, so pad the seconds field with a zero as needed.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a0e6bfee635b64092262936c858542318f6fc6dc
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jun 4 13:11:48 2009 -0600

    newer INSTALL file pulled in by autogen.sh

commit cf1e258d52b878df10b51a047709b10ecd51a68e
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jun 4 13:09:29 2009 -0600

    add a distclean target to src/Makefile

commit 176052b7c14fcad067835ecb550778faf67cf4da
Author: Bdale Garbee <bdale@gag.com>
Date:   Thu Jun 4 13:07:10 2009 -0600

    add lib to the front of the subdir list

commit 208bc15714c7b4020c017eef19011c4eb9ab51e2
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 4 11:20:10 2009 -0700

    Move build and debug tools to 'cctools' directory.
    
    These tools were merged in from the ccdbg package.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 17d2432a8b9c15963cd3b821f025ad33972ef477
Merge: 210dbaa2 8a9a3f02
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 4 11:13:15 2009 -0700

    Merge ccdbg and altos sources into one giant repository
    
    Keeping these separate isn't making things any easier.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 210dbaa23cdacf3a6f2d6e23493e96ee2ac9bca7
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 4 10:41:34 2009 -0700

    Use autotools, move altos to src subdir
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8cce307bb3156584ba17ae5a787f645dfee5fb94
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jun 4 10:25:30 2009 -0700

    Make menu seperator insensitive

commit 778cae8fc5a4b30e5045e4703316fc61ae18562a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 3 17:07:34 2009 -0700

    aoview: Add eeprom data fetching
    
    Fetches the last flight data from a TM device connected via USB and writes
    it to the flight log directory.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit bf140966e9649e75b884c8aa5f25ffbf9eed10ea
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Jun 3 10:57:46 2009 -0700

    Stop log dumping at flight end. Print 'end' at end of log.
    
    No reason to continue dumping data past the end of the flight now that the
    logging stuff has been demonstrated to work reliably. Also, to make
    automated log dumping easier, this prints out 'end' after the log data so
    that aoview knows when to stop reading.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 35ac66969abe24ca23776618306a59fc17770e06
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 31 09:22:01 2009 -0700

    Start adding bi-directional packet link

commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 28 23:17:33 2009 -0700

    Eliminate RDF tone generation.
    
    Now that we have a viable telemetry-signal based RDF device via TeleDongle,
    there's no reason to continue to waste power and bandwidth with a NFM tone.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4d83eef0fe1d24a845ab29a535dfc56e13e7ee20
Author: Keith Packard <keithp@keithp.com>
Date:   Thu May 28 23:17:25 2009 -0700

    Change .gitignore to match new aoload procedure

commit dcfcf3bec6788460b6fe8c239c80bad4526bd15b
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 27 22:01:37 2009 -0700

    Leave serial number writing to aoload
    
    Instead of building per-serial hex files, leave that
    process to the new aoload program
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8a9a3f02b951382573ff74dd6ce5a1c0f335fa86
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 27 21:53:15 2009 -0700

    Add aoload to load serial-numbered altos binaries.
    
    aoload is a custom version of ccload which edits the data before sending it
    to the target machine, writing the target serial number into the data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5a7a63c34b778e40a61ddabd16ec1af9a2be50c3
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 23 21:20:12 2009 -0700

    Fix aoview telemetry GPS parsing code to use correct columns
    
    This code was trying to pull the GPS data from the wrong columns, causing
    aoview to fail to display GPS information.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 26988c3e7acb2fa832810475e43e08fd2867459c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 23 21:18:57 2009 -0700

    Parse both telemetry or log data ao_flight_test
    
    Change the way data is fed from files to the flight test rig to handle
    either kind of input file.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d6f5a0689023546464a71561f53fa2c943077c88
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 23 21:16:22 2009 -0700

    Avoid 16-bit overflow in velocity computation.
    
    Adding two 16 bit integers together can wrap around to negative numbers,
    this resulted in velocity values which never decreased, making the switch
    from coast to apogee state not occur.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aa6d87aeb616dd62f0debaded297232022b4f8bd
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 20 09:44:55 2009 -0700

    Make file handling more general so it can be reused.
    
    The log file handling stuff will be useful for saving eeprom data, so pull
    it out of the real-time log handling code and make a general interface.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b730c8bcbce649cdddba935e1112aaae538bc526
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 23:54:44 2009 -0700

    Ignore aoview_glade.h

commit 91b07410122d0eaaf292cdb31c200925d45eaf2c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 23:36:21 2009 -0700

    Transmit computed ground pressure and acceleration values
    
    These are the last two values relevant to figuring out the state of the
    flight computer, and as they are computed by averaging 10 seconds of 100Hz
    sample data, they're a lot more accurate than anything the receiver could do
    on its own.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 71d1689759829f1bc8550f1a4d8c9f2dc90b2ab4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 23:18:09 2009 -0700

    Provide install target

commit f301b95e87c8ec1e3b58d595a05d486bede5e0c2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 23:13:20 2009 -0700

    Embed glade file in executable
    
    This eliminates install issues nicely.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 26361686d6fc63dc22d22285f0543c5c2c756fb4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 23:05:23 2009 -0700

    Add About dialog to aoview.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0f3233c49f43cd4e372e613303919ce4d50255b2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 22:44:19 2009 -0700

    USB device names can contain '.' too
    
    Depending on the hierarchy of devices, names can contain '.', so allow those
    too.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 33221277690e6ee30387c506c3f2b8237ed48efd
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 22:43:34 2009 -0700

    scandir returns -1 on error
    
    In which case, the namelist is invalid, so don't look at it, and don't free
    it.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7cb9fb675f56bf30ab6bf0bcdc5cb679709ffe3e
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 22:29:54 2009 -0700

    Send computed accel/vel/pres values over the radio
    
    These computed values reflect what the flight computer is actually refering
    to for state changes, and will be useful in debugging the flight software as
    well as provide a filtered view of the data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 2c780d67b8a22d75a2da4b2af21fd35f0c6f5236
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 22:29:06 2009 -0700

    Handle disappearing serial devices
    
    Put up a dialog when the serial open fails, and shut down monitoring when
    the serial device disappears while running.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 69616104813fc5ba89fb3128d04fb9328961c59c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 22:24:53 2009 -0700

    While on the pad, zero out velocity every second
    
    We integrate acceleration to get velocity, but that means sitting on the pad
    for a long time can add substantial error to the velocity value. Each
    second, take the velocity value from a full second ago and subtract that out
    of the current velocity. Once we detect boost, this will stop, which means
    that as long as we detect boost within a second, we won't have subtracted
    out any "real" velocity.
    
    This keeps the pad velocity hovering around zero, which is pretty useful.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1234694eb903b204488ddc7cb30bcfe34bf1e677
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 01:29:06 2009 -0700

    Clear table, reset log on disconnect

commit 4316b6af86b37522038e642235c163fcaad52e96
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 01:28:16 2009 -0700

    Add pad lat/lon, max accel, max height
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4348281bd788a13ea700413537f12da3c00356e4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 00:46:09 2009 -0700

    Clean up GPS display
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ff68e38770351ddac3285ce275cd85adab01fd3d
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 00:45:38 2009 -0700

    Make aoview window taller
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit be3f4fed7b863c8cdaabe32b61b65a8b3cd11355
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 17 00:13:45 2009 -0700

    Add lots more aoview UI bits
    
    Logs data to files, displays current state in window.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 93d7ce8e054515ed7b166eb042ae7f47e564d21d
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 16 20:45:26 2009 -0700

    When logging starts up, right the whole ring to the log.
    
    This preserves the data pre boost-detect for later analysis.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fec4212a59a7b3321536b25707dcabc43c797c33
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 16 20:04:31 2009 -0700

    Abandon use of accelerometer for apogee detect.
    
    Integrating the accelerometer data to compute velocity worked for one rocket
    flight, but additional testing shows that it doesn't work in other
    airframes. Until we figure out how this should work, we'll rely on the
    altimeter to detect apogee.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 09771c644de54ae354e8f98af7ba74289b3c0fcc
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 16 02:25:04 2009 -0700

    Add preliminary aoview code
    
    AoView connects with TeleDongle to present telemetry information in a
    reasonable form. Right now, it just displays information to stdout, but it
    does have fancy dialogs for finding the USB devices.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 37250b00f6286aee4b3b28604f5d463db3079a89
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 13 20:41:54 2009 -0700

    Discard usb output before connection. Handle USB reset.
    
    Discarding output before USB is plugged in allows threads that send output
    and do other things to work without a USB connection. Unfortuantely, there
    doesn't appear to be any way to detect when the USB link is disconnected,
    which means that once USB is enabled, future writes will continue to block.
    
    USB reset causes the USB interrupts to all be reconfigured back to power-on
    state.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9b974217958b1017e62d6c4f4568f547ccc30c58
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 13 20:40:42 2009 -0700

    Enable radio monitor by default in teleterra, teledongle and tidongle
    
    These ground loads want to monitor the radio constantly, and not require use
    of the 'm' command before listening.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 25fc03a333b2cfad0a93ebc385fbcf74b63c229e
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 13 20:39:28 2009 -0700

    Remove monitor/rssi functions from telemetrum load
    
    Telemetrum is now a flight-only load, use teleterra or teledongle for ground
    boards.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 05493b98eb1ae4d30cb0b600849d70b03fa33594
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 13 20:38:11 2009 -0700

    Split out ao_state_names to separate file
    
    Allows state names to be used in programs without monitoring enabled.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d085d43701e3cdd2119e947a9ae45baa78c80318
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 13 14:29:30 2009 -0700

    Indicate RSSI with a blinking LED
    
    Blink the red LED at a rate proportional to the RSSI value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 055331d5f7d5adc40c348c3efd331a562dcda82a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 13 11:19:13 2009 -0700

    Make ao_flight_test show AGL altitude and positive acceleration under boost
    
    This makes the output more readable
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d91208fbf5fc7797b93087ef8619454c4bed0130
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 13 11:18:24 2009 -0700

    Make ao_flight_test able to read raw logging data
    
    Protect ao_flight_test reading functions so that a simple
    'script' output can be fed to the program and have it work correctly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d3dbd8949e1102220ad5fd0863f493c819b96e46
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 13 11:16:53 2009 -0700

    Print only RSSI when packet CRC is invalid
    
    Packets with invalid CRC usually contain bogus data, so don't print that,
    just print out the RSSI which may contain useful data.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8168820b667cc1deffab64dd81cb4e6e2e6eabe4
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 13 11:00:43 2009 -0700

    Accelerometer-based velocity values are invalid after apogee
    
    Because the orientation of the flight computer relative to the ground is
    unknown after apogee, the accelerometer data cannot be integrated to compute
    velocity. Main deploy is now based purely on barometric altitude and landing
    detection no longer checks for a low velocity value.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 24fdda44ff8604e40510b196ead17564d8f8cd3d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 13 10:59:04 2009 -0700

    Add velocity check for boost detect via accelerometer
    
    Bumping the rocket can cause a brief period of high acceleration, which may
    cause a mistaken boost detection. Require both a high acceleration and
    reasonable velocity to trigger boost phase.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7a1aa3fdbc0d1fae5e7ee027bf8904598c6ebe41
Author: Keith Packard <keithp@keithp.com>
Date:   Wed May 13 10:58:30 2009 -0700

    Typo in callsign

commit 497c89a7d08920630894b2605c3b6a0bdc4c229b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 10 23:11:06 2009 -0700

    Use recorded accelerometer baseline data in ao_flight_test
    
    With the flight computer recording a long-term average value for the
    accelerometer in the flight record, use that to prime the flight test code
    when running a log file through the simulator.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ba3c53636e485450f48093d0a88a6629775f7c3a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 10 23:01:16 2009 -0700

    Don't re-initialize the landing range data at each apogee detect sample
    
    The landing range values are used only after apogee detect, so we need only
    initialize them on the transition from apogee to drogue.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit b623b1098bc7a10d471730259438fb82804221d0
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 10 23:00:06 2009 -0700

    Initialize ao_min_vel with |ao_flight_vel|
    
    As ao_min_vel is stored as an absolute value, it's important to preserve
    that invariant, even though we don't expect ao_flight_vel to be negative at
    coast.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e9584e846b9bd7926d61451d32ba5d7a30416f7b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 10 22:58:31 2009 -0700

    Decrease telemetry rate on the pad to 1/sec instead of 20/sec
    
    Transmitting telemetry through the radio consumes a significant amount of
    battery; reducing the rate to 1/sec will reduce power usage while waiting
    for launch.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 97cecb517cd7bf75e1219c76a93bfe6964c07052
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 10 22:57:19 2009 -0700

    Increase the initial accel/baro average to 1000 samples
    
    To get an accurate baseline of the launchpad state, take a longer average of
    the two sensors as the unit boots up.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 98806b1ff3f41484663d61ff430e9e2764c7b5e6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun May 10 22:54:14 2009 -0700

    Record average accelerometer value in flight start log record
    
    The average accelerometer value cannot be extracted from the log as the
    record starts after that is computed. As that drives much of the
    accelerometer-based state transition logic, it is an important value to
    have, so we log it as part of the flight start record now.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit a12edbfe21fe27a9efbf87bacda9ab4806256e2b
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 9 10:24:10 2009 -0700

    Add version command to show product information

commit e80b87f5e3ccf152d67a2e87bdefda161c455599
Author: Keith Packard <keithp@keithp.com>
Date:   Sat May 9 10:23:49 2009 -0700

    Pad callsign with nuls

commit beae3360828da21eb1a3c4f88e930f242d4e36b7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri May 1 08:14:57 2009 -0700

    USB spec limits bulk endpoints to 64 byte payload max.
    
    For full-speed devices, bulk endpoints may use 8, 16, 32 or 64 bytes, but no
    more.

commit de7814c738488c2c16c6216c93fa78128895e5d5
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 29 17:46:56 2009 -0700

    Use 'char' instead of 'uint8_t' for character data
    
    String and character constants are of char type, so using uint8_t causes
    promotion to 16-bit types when comparing the two.

commit 4ae74fffb939d67424efa3e7f433637f1f920ebc
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 29 17:46:36 2009 -0700

    Eliminate incorrect cast in printf string argument
    
    char * is a pointer to a string in the default address space, not a generic pointer
    to a string. As such, the compiler (at least 2.9.0) mis-compiles this if the
    cast is included.

commit 39f2a3c6bd501d12a92bfd38434ce67bb5beb70d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 29 17:44:41 2009 -0700

    Correct radio frequency shown in config display.
    
    Radio frequency base is 434.550, not 435.550

commit 75ca1751b7cac2f8074d0713ee96d6ab45b54f19
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 29 17:42:26 2009 -0700

    Reset landing interval tests at apogee
    
    This moves all of the interval management into the landing test code and
    out of the main loop. The interval is reset at apogee to make sure the
    sensors produce a stable reading for at least 20 seconds

commit 7a1b77c2d7253a681389f32b70e2460aac188807
Author: Bdale Garbee <bdale@gag.com>
Date:   Sun Apr 26 17:53:13 2009 -0600

    clean up host programs, too

commit 5df80c346d65a9d56a8699b056dc44924acb31fe
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 26 16:04:07 2009 -0700

    Was missing v_batt in adc dump command

commit c3fec2c4c65db71e88ef0c05c69463438a7cfc6c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 26 15:38:28 2009 -0700

    Add manual ignition and igniter test commands

commit 819f1de8dd6010fae050bcef930943c7923929f9
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 26 15:38:03 2009 -0700

    Clean up commands a bit

commit 178abb5c8439509926a5507911d7148b84f051b8
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 26 15:08:58 2009 -0700

    Clear more files on make clean

commit 70a69f3acdca27b80cdb2069de59bbc6dba83dbd
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 26 15:05:29 2009 -0700

    Label binaries with product and serial info

commit 5ed3b1cb52b573db1fee9655a29a0e6dd72f53fe
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 26 01:37:02 2009 -0700

    Make sure full log is written and flushed on landing.
    
    The final state change to landing is recorded in the logging thread, so have
    that turn off logging once it has recorded that state. Then make it go to
    sleep.

commit 2e737ad00cad5d893b252d8aa9dbff3d9b800731
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 26 01:36:53 2009 -0700

    Clean up monitor output a bit

commit 38a0b61b0a0b3c00f064c8d562950a17a6ddff4a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 26 00:11:32 2009 -0700

    Add configuration support
    
    Current config variables:
    Main deploy altitude above launch (in meters)
    Acceleration zero g calibration (manual or automatic)
    Radio channel (freq = 435.550MHz + channel * 100kHz)
    Callsign (max 8 characters)
    
    Supporting this involved shuffling code around so that the
    non-telemetrum builds could include only the stuff they needed.

commit c65f1a1acd2ca00758833cec5d3f8056d303d3e2
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 25 14:44:33 2009 -0700

    Allow for slower ADC operation. Add power saving code.
    
    This tries to make the flight computer use less power by disabling USB in
    flight mode, lowering the telemetry rate after ascent. It also disables the
    RDF beacon during ascent and re-enables it once descent has started.

commit 8e7b48b5f090be81980ab00fbce814ae1cc253e4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 25 14:44:04 2009 -0700

    Allow ADC to be disabled

commit 7bc3d9962872850e7b420221cf689db16b4305cc
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 25 14:43:23 2009 -0700

    Place CPU in P0 state while idle

commit e45fce7f82d704d677f84c69b0e07588d109d780
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 25 14:42:20 2009 -0700

    Add RDF beacon and callsign to telemetry

commit 61510f98404bca6861b2da98f6cd9ba9deb76968
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 25 14:40:51 2009 -0700

    Add radio code to emit a 1kHz tone

commit 0f07803d84b5ac89500ee33a6818c50583e3ff7f
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 25 13:18:37 2009 -0700

    Allow the USB system to be disabled/enabled at run-time

commit 45976af820fc41099928df71ea8304c56eb9fc7c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 25 13:16:27 2009 -0700

    Make LED usage depend on target device

commit 4a050704ad2c497e9f1b0988334228b0bbc4c170
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 25 13:13:24 2009 -0700

    Make some functions reentrant to save DSEG space

commit 6b3d25a6d6d7847765eb03b836913dd5ecef2993
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 24 19:17:37 2009 -0700

    Add monitor task to flight software
    
    Allows the use of telemetrum in teledongle mode.

commit ad0d2d88a91cbd02c56ea5ff6dab23e16aec6510
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 24 19:17:19 2009 -0700

    Report difference from ground to max altitude at landing

commit f94ab879ff6f97708827c74facd11003a2d8b590
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 24 19:16:29 2009 -0700

    Display data with units while running simulation

commit 6fb26340b150e831a8a9e25e3b68074c29e48dbe
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 24 19:13:31 2009 -0700

    Enabling apogee detect via speed: < 200m/s && < max_speed - 50m/s
    
    This change ensures that we actually got going fairly fast, and then slowed
    down a bunch before enabling apogee detect. Otherwise, we'll detect apogee
    right off the pad as we're not going very fast at that point...
    
    This also adds the 'f' command to show the current flight status on the USB
    port.

commit 20b9f304ecbddd73a0ee2461b4c5e80f08157f98
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 24 19:12:28 2009 -0700

    configure igniter ports, set values to measured ones

commit 6bf1d91ce0b723abe2bcec89668c13135ec044cf
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 24 19:11:40 2009 -0700

    Move ao_led_init to end of file to be consistent with other files

commit b4de7d550ec9a09ccf5f6a72debc6646706e3516
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 24 19:10:20 2009 -0700

    Define ao_state_names in ao.h so other people can share

commit 8e62747b3692d0ac75b08eaf5c3e4b5d766be6ad
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 24 19:09:31 2009 -0700

    Bump NUM_CMDS to 10

commit 2f781beb73ef24ab5fbe2688a83d07ad26c15972
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 24 19:09:09 2009 -0700

    Move beep_init to end of file to be consistent with other files

commit b99315cee4ab796376458a2442cf36806fa4aed3
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 24 10:19:31 2009 -0700

    Update flight algorithm based on data collected from SN-1 Flight 1
    
    This now correctly sequences through the flight data collected from the
    first TeleMetrum test flight.
    
    This also completes up the flight algorithm test harness (ao_flight_test),
    which runs the flight algorithm on the Linux host from a captured data log.

commit b32f2f0090ff967edac07ae4d7a9895ed0b96d31
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 23 22:17:44 2009 -0700

    Add igniters and update flight control algorithm

commit f155333ae18a25068644792e8940269d9fb28033
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 24 00:15:09 2009 -0700

    Avoid ram from 0xfda2 through feff, its funky

commit f9c1c545c9dc11c3190a6cf7504883131fffce2f
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 23 22:18:33 2009 -0700

    remove ao_flight_test until its ready

commit 86e73c009f78dc4664883353124fc891fbb01dce
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 23 20:50:07 2009 -0700

    Add teledongle module

commit 204daac71ad56926730f5d6860bd70c645302e19
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 23 14:26:01 2009 -0700

    Set telemetry rate to 100ms

commit 306b28f632e21b42ab165e7944283cf9764b590e
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 23 14:23:26 2009 -0700

    Wrong license on ao_monitor.c

commit dca3a6de26d26c0020f3fb2cf5d8ac1552c195b1
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 23 14:23:00 2009 -0700

    Crank up radio to 10dBm

commit fbe3096f7e9a8112dbc79f376eccdaa6872ae520
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 22 16:03:28 2009 -0700

    Add COPYING file

commit 9b7788f18bbaf3c4e5ebbf6c5ebd926468b0e045
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 22 15:55:01 2009 -0700

    Clean up TeleTerra files

commit 61cee50c86e275f9fde875bd317c3e74255394ec
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 22 15:53:55 2009 -0700

    simplify ao_time function

commit 3703ecdc9e190f2e0b7ead0e71b78be881c1f3b7
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 22 15:53:46 2009 -0700

    One line radio status

commit 1fbb3c17672a03ea6318fee07f9c2dcd7a8d0b16
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 22 15:49:16 2009 -0700

    Add new binaries to .gitignore

commit 00d5610caff61559eb24c24beaa56629d6bb03be
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 22 15:49:00 2009 -0700

    Speed up dbg port bit frobbing

commit c7555eb16876aa8ff9fe7f648d325a1b8fb54d23
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 22 15:48:28 2009 -0700

    Use sdcc from path

commit ada6dea04b94be016598566c4c13e6105aaec353
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 22 15:48:14 2009 -0700

    Clean up task list formatting

commit 0a1b2297ee9f5bbb918bd72f26088a3e0b84839a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 22 15:47:57 2009 -0700

    Control radio monitoring with the M command

commit 837c620f07b63efc171be3ac14c78bc99adf7592
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 22 14:25:43 2009 -0700

    Shrink USB output buffers, work around USB packet errors

commit d87e9c25947d7cc2eba8894a524977f2c55a089a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 21 02:07:24 2009 -0700

    Clean up telemetry now that all packets are the same

commit 1b333def5052d2ed47fdeaef23a897fe326f6340
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 21 02:07:08 2009 -0700

    Add longer debug delays to reset/debug_mode entry

commit d1887ded41a5bfec8e10e9fd736fa9444b9b6222
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 21 01:17:03 2009 -0700

    Fix up fancy dbg stuff. Add teleterra initial bits.
    
    The dbg stuff needed a bit of help to actually walk the tables; it appears
    that complex expressions confuse sdcc.
    
    This also adds primitive teleterra bits, but no UI, etc.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 43c8f7012102cdb591ace899420c10e4a78385ad
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 20 23:33:41 2009 -0700

    Add radio support. Build separate executables for TeleMetrum and the TI dongle
    
    Ok, way too big a patch, but things were in rough shape.
    This patch adds support for the radio, both transmit and receive.
    Then, because I could no longer run the TeleMetrum code on the TI
    dongle, I ended up building a separate image for the TI board, which
    involved creating a mechanism for having multiple command sets and splitting
    code for different functions into different files.

commit 5be13b76a2e29b84cd6d1eec065e3354b0dafce5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 18 23:19:24 2009 -0700

    Start using pdata area for less-frequently used data

commit 3e18b5a0d4c7d84df98b6ed0b7783de1d42d45bf
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 18 23:19:05 2009 -0700

    Slow down panic presentation

commit c4e983daa4579896b227fdcb2be43fad75e94307
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 18 23:17:45 2009 -0700

    Parse GPS data locally. Add 'g' command to display recent GPS results.
    
    This parses the GPS GGA message and stores it in a global variable,
    protected by a mutex.

commit ed6f67dc47d750d5ff8bea63ae7cbb560689b9b6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 18 23:16:01 2009 -0700

    Add task names and 'T' command to show task status.
    
    The T command shows the current wchan and PC for each task in the system.

commit 3d5a5fc4db5f681e848202c4ee4099d2879677d6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Apr 18 19:32:18 2009 -0700

    Fix GPL version at 2
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 022f83ca6fd589005d8eb3e25e633950fef69fa7
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 17 23:38:14 2009 -0700

    Add gps, debug dongle support and pressure alt tables
    
    GPS also pulled in serial support. The altitude tables take raw 11-bit
    pressure sample numbers and convert them to standard pressure altitude
    values.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 31fce622b1bab7e3f421069d7f6d4d9bdcd825de
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 17 10:32:45 2009 -0700

    Enable FEC in radio packets

commit 293a357911090a2f37bdd6f7ea96942079ffdf2e
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 17 10:29:42 2009 -0700

    Add CRC to radio packets

commit 20834caf01ddf481e8362b0d2627ef383a82e09d
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 17 10:23:10 2009 -0700

    Add data whitening

commit 94e5343a72121a81ab19bf5025e6b6fc9847eb4f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 17 10:19:25 2009 -0700

    Add packet status byte defines

commit 04bc51c170c6f22bb5cc16867ce9a307818a7a00
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 17 10:11:31 2009 -0700

    Add separate xmit/recv programs to radio demo

commit fafe55c3405964e0defdf25b6c00236f9aaefbc5
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 17 10:11:11 2009 -0700

    Get env var for debug method selection

commit 26095fc0511ee0d5213f038986032f7c59964cf0
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Apr 17 10:10:47 2009 -0700

    Run-time selection between cp2103 and cc1111

commit 543bedde83cbce5145668e72965e02d892187b59
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Apr 16 20:38:14 2009 -0700

    Send data

commit 5e2393eb6b1a6d7b180bd63d5165ee7b7ff5f9e0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 15 14:25:26 2009 -0700

    Move a bunch of variables from __data to __xdata

commit 4d1091d9bd121f05f5fe0a9c9d2bc0da8c562b9a
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 14 21:25:15 2009 -0700

    Slow down panic code, disable interrupts

commit 545478dd02eaeff6a65d318e722b1e4fce5e01b4
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 14 21:24:25 2009 -0700

    Keep reporting flight state while it changes

commit 9605045164882b4ca3d1317ac860b02513a51f30
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 14 21:23:55 2009 -0700

    use red LED to indicate system startup

commit dc844ee7e49a3b6145b3165252a592ed070d600f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 14 21:23:13 2009 -0700

    Use ao_ee_flush_internal while holding mutex

commit 5e45d1c89b00e74d5b2730345843f43aab516af2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 14 21:22:56 2009 -0700

    Leave beeping and lights to the flight code

commit 902c342289c1d13a4d55b9224acb6d67578b7a60
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 14 21:22:31 2009 -0700

    Make mutex functions reentrant

commit acc4fc635edb70ec1ba2dff9f7ac0c8542c72c47
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 14 19:08:01 2009 -0700

    Add in existing flight pieces: flight/report/log
    
    These pieces come from the old telemetrum firmware.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ac99982b10fd5772218660137ee21db9b90cd885
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 14 14:21:56 2009 -0700

    Add eeprom driver and command loop
    
    This involved adding dma control and a mutex implementation.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fbd8f4aff5058f4d371596b04715b7cb6d38e729
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 14 11:04:09 2009 -0700

    Switch from --model-large to --model-small
    
    This shrinks the application quite a bit, and should make it faster as well.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fb63262699d3a6fbf347d24efda8b01f75b7d0d3
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Apr 14 10:02:19 2009 -0700

    Add comments, clean up white space, etc.
    
    Various clean ups now that the basic code appears to work.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7e4abf3a40c39d0ce4f466281bef9a464df85dd4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 13 21:58:07 2009 -0700

    Switch USB to double-buffered

commit b56a44e48552bc32dbba9ff21770c370219a684a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 13 21:51:59 2009 -0700

    Fix USB input/output by reloading packet limits.
    
    The USB controller is reset during the connection process, which clears the
    packet limits set in the controller at initialization time. Reload those
    values when the configuration is set.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit cdaf3fc5802acf2ddc7972a15649ab0e1b31b873
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 13 20:39:46 2009 -0700

    USB working up through reading strings

commit c5c1e3fb1c253d387be02c127253ac2a55d577b4
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 13 13:51:08 2009 -0700

    Add USB support.
    
    This offers a single CDC ACM device over USB.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f3f25a1cec7d2a034aa544569cfd23bea1a996c5
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 12 23:53:55 2009 -0700

    Add beep/led support.
    
    Support our P2_0 connected buzzer, and formalize LED output support.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e14f07bfdb8824fc7ed6df1129c66ee39ffd6d54
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 12 23:17:16 2009 -0700

    Add A/D sampler
    
    Sample A/D at the timer tick, placing data in a ring
    of samples.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 823f4f92de0c1f8dd7a644a8e56ffe9822bee6e2
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 12 22:52:47 2009 -0700

    Add 100Hz timer
    
    Use Timer 1 to generate a 100Hz timer interrupt

commit 650a77e209dbb54c8d8fd9824cee430985564973
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 12 21:58:49 2009 -0700

    Update README

commit 870e98334018a66de8a6e4a659d2dc5dee1cbecf
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 12 21:52:56 2009 -0700

    GPL Version 2 only

commit 11c526bdcbf4012e18fbfdc29ca8832870ca38f0
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 12 21:47:32 2009 -0700

    Add load command to s51

commit 55402ba3e87fd699c51079843309f1f0d1534724
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 12 21:33:55 2009 -0700

    Make test more complicated

commit 3d3f849c9af9028f667cef4afedc0798d39a9efc
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 12 21:33:46 2009 -0700

    SP points at last pushed byte

commit f72c4cbc8fd9412dd1cce0fc446e7bbd2edc2d34
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 12 20:27:03 2009 -0700

    Add .gitignore

commit 1903a86bf2cc6b685ccc475e62eabe49a4ec5b43
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 12 20:25:39 2009 -0700

    Initial AltOS import

commit 5221dc63cf3a059a32aca2bfa7828c215be814a1
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Apr 12 12:38:58 2009 -0700

    Add ccdump

commit ee110425fb814780476d1d3d8a257af126f41763
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 6 17:09:23 2009 -0700

    Bump buffer pointer as data is written to cc-usb

commit 2d9b8a83a2d9f495199033e43f519d26f27938fe
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Apr 6 11:31:49 2009 -0700

    Add support for a serial-connected custom debug dongle
    
    This uses the cc1111 board as a custom debug dongle with faster
    methods for communicating with the debug target.

commit 24edd56155ed0fa02fdd8f66fdc7aa5a1021bf7d
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 1 17:50:47 2009 -0700

    Reset cc1111 on s51 exit

commit 5fcfe854d29e1862d9a6adcbef3ef5119eb52fa3
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Apr 1 00:06:45 2009 -0700

    Add timer-based beep test

commit 91607bebdd167ac632aca4b66e22cb0cabdf0d20
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Mar 26 22:41:47 2009 -0700

    Add readline support to s51

commit 66ee94ed10e3d79b24f45a5c63e58456d4d30343
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 11:37:48 2009 -0700

    Deal with MSB-outputing DMA engine

commit d3732fd405af03c3752a84c4b78da7ef5ebd3744
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 11:14:03 2009 -0700

    Flip ADC bytes around

commit 50cc8e97e76d9b60c622962e1c74cf422dfb2c0f
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 11:01:30 2009 -0700

    Add spacing for serial adc data

commit 5577ca3762bfc000b0bc3782c73a8f95996a28a6
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 10:58:57 2009 -0700

    Inc only one on dest addr

commit 378227d869a3e8787c532c8c4e1563b44002c4b5
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 10:55:17 2009 -0700

    Dump remaining inputs

commit f54a41e37d6897db2e24fbc82880076b78a0ae41
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 10:50:36 2009 -0700

    Remove poll for ti demo button

commit 2b93a70fdd9e47e8195855451aa19ecad5d8b068
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 10:50:14 2009 -0700

    Add adc to serial conversion

commit d9fd548db15232e3a8823815962b252c7a5e7cba
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 10:04:50 2009 -0700

    Add ADC via DMA example

commit 61faf2b773300988fe27cfde5bc045be9950a1b0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 09:45:14 2009 -0700

    Add DMA example

commit 7b3fdf5b42c9be9bebc1ceb7a52ff0f5a2a28fcd
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 01:05:36 2009 -0700

    Back to 0dBm

commit 31d59b88baa2cd96dc6263d1c5877283f2cd8c36
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 01:03:08 2009 -0700

    Make radio test compile again

commit 9ce713fdd19bf1a51370dacba3670504356c5c11
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 01:02:07 2009 -0700

    Wait for xtal to stabilize

commit ffd43886dc902f3bb7407294018e3d62cac39480
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 00:55:11 2009 -0700

    Check serial input

commit 029963cc94fbb47560118b5de73c537e2c14ed7c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 00:50:02 2009 -0700

    Eliminate array walking

commit 019456a17d36f8f9f9b72cfbc980492175086d32
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 00:41:49 2009 -0700

    Add a per-char delay

commit cfaf187e96ba98eb8dd934409a10bc70273fe68a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 00:36:35 2009 -0700

    Use UTX1IF to wait for serial TX complete

commit 006124529b243c7657a94312d2c868a82878d8bb
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 00:29:29 2009 -0700

    Send more interesting text

commit 5049acd3d1ae42304513f667f55a2ddffa4c685a
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 00:24:56 2009 -0700

    More random serial bit frobbing

commit 50bdc2407c674a4770912d3a626f36820a7f1527
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 00:13:15 2009 -0700

    Flip serial TX code around a bit

commit 7b7617e376afe0df1d505375b76198358330370c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 00:09:47 2009 -0700

    Try serial polarity high/high

commit 18edacdb1e6e429cc29a164e22ef2a566096b9d9
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 00:06:32 2009 -0700

    Make serial test simpler

commit 62744c186792739c3bf5798c80ff87c69fbe2b65
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 25 00:03:45 2009 -0700

    Flip start/stop bits around

commit 9e96107d5d1a9681b07c36bb5860c748bfe10ec0
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 23:57:12 2009 -0700

    Stop high

commit c41ceb9a488b2209d1d3c09967d1473ce608030f
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 23:24:01 2009 -0700

    Change radio to -30dBm

commit c35de083ca3d4f362063b056a0fd74ffe629d168
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 23:11:48 2009 -0700

    Add serial test program

commit 8ecbd8734f0fb5588b2a8eb20720cfc6f43dfb47
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 22:37:38 2009 -0700

    Wait for xtal to stabilize after changing to 24MHz

commit e120269fc0f8e14ddf1755337b1d092173e16da2
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 22:21:31 2009 -0700

    Actually return byte read from SPI

commit de1ac6f99a1526fa840a52cfc10fa3edc0589bed
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 22:12:51 2009 -0700

    Clear UxCSR_TX_BYTE after transmitting a byte

commit 3ed3ff63e46767a256d30c5da5c52ae20089a91d
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 20:04:58 2009 -0700

    Led the LED turn on

commit 91b3a6ae74184692f45702587c4d678b2799ad8c
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 19:55:04 2009 -0700

    actually write and compare SPI test bits

commit 7de3a43887485c3c6cf52960376ccde33fb33985
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 19:54:02 2009 -0700

    Add USART-based SPI test code

commit ef0eef68280e9b6ca5e3bb71062e23054340e1ed
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 17:22:36 2009 -0700

    Change spi test string

commit 8131389ee5018c05b721146a98367150cf500fdf
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 17:15:09 2009 -0700

    Oops, not merging in the bit read for SPI test

commit 3429016d1359ec650993d2fb0596184e3f717871
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 17:04:45 2009 -0700

    Adjust clock/data phase for spi test

commit fedd18b28ea54e1dabcd2f9e8cab3ae4ee0fd070
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 16:35:13 2009 -0700

    MISO needs to be an input

commit f0c233f25a208a636833312b1766825815735304
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Mar 24 15:41:55 2009 -0700

    Add bit-banging spi eeprom test program

commit 6eeee64cf16ccc9218dbdde5426f25bda5e3407f
Author: Bdale Garbee <bdale@gag.com>
Date:   Wed Mar 18 02:58:33 2009 -0600

    working beep at around 4khz

commit 4726317de811c20e8d6754762437b5c9cbb3a48c
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Mar 18 01:54:34 2009 -0700

    Add simple test program to light up the transmitter at 434.550MHz
    
    This starts a transmit sequence, but doesn't send any data so the
    transmitter just locks on.

commit a0a27600ee2bf237e74eb83767a8d2e7c91df24f
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 15 18:14:21 2009 -0700

    Correctly comment which bit the beep program uses

commit 25b77d236c01258abfc03114c2fc9ea2d69ca6e7
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 15 18:11:53 2009 -0700

    Add telemetrum beeper example

commit 164b4e4749ad64ebbe26e84fd7b4fa1aa733dbe4
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 15 18:11:20 2009 -0700

    sdcc gets the lib path correct based on the model

commit 04a316133af93b79bfbebb91f05eec1015ec2abc
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 15 18:10:43 2009 -0700

    Bump debug speed back up

commit 9fd63972758d6d5572f7bcaadec9b1c0e974a2e8
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 7 21:05:40 2009 -0800

    Only flip changing bits in async mode

commit c8fd04e154bcfd65ae1200980bd8163caabd7fe4
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 7 21:05:06 2009 -0800

    The debug port only works if reset is higher than clock. weird

commit ade11f88754b4ab0386ebf86afc5257e59238f62
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 7 21:04:38 2009 -0800

    Make manual bit flipping sync after every transaction

commit e63b5271bb54afc36e4b9891e51e053ff6011092
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 7 14:49:22 2009 -0800

    Add ccmanual

commit 77d754afc2d14aaa4413c13ebe3777ef385f62a9
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 7 14:48:49 2009 -0800

    Sync after manual bit reading

commit 5a338c8a7394d003355f96a8777b6fe83bb8493c
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Mar 7 14:48:35 2009 -0800

    Flip debug pins around to match telemetrum

commit cc0495b7028f4b1189a00707d828a68534d1dea2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Mar 6 22:52:35 2009 -0800

    Wait for a while when switching the RESET_N line
    
    The cc1111 manual suggests placing a 2.7kΩ resister and 1nF capacitor on the
    RESET_N line to filter out noise. This increases the time necessary to reset
    the chip to several microseconds which is longer than the interval between
    two USB packets. Flush the USB packet queue and sleep for a while after
    changing the value on the RESET_N line to make sure the chip sees the state
    change.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 41289e6d8f1767547a33fea349866e928e44910f
Author: Bdale Garbee <bdale@gag.com>
Date:   Mon Mar 2 07:46:20 2009 -0700

    minor s51.1 formatting fixes
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fdee231ed097a4348aee78fbd4aa92826b80de03
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 1 23:12:31 2009 -0800

    Add s51 manual.
    
    This documents (briefly) the s51 hex debugging interface program, including
    some simple commands to test the operation of the system interactively.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit f7d91bd23b8214e09deae0aafb516331e934c49b
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Mar 1 18:43:03 2009 -0800

    Sometimes the link breaks and the GET_PC command returns garbage

commit 3cc8d11eb8d5d0b42141dd84a58d461287f59e3a
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Jan 25 08:38:48 2009 -0800

    Support 'set' command
    
    The 'set' command modifies target memory and registers
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 60940b4be23962db79b8e914ec943d0636dd68ad
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 5 21:45:21 2009 -0800

    Expose ccdbg_set_clock API
    
    This allows applications to change the debug port clock
    rate on the fly.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eb09e61b0682eb2aeac8e1a34d58b897ba6db8e7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 5 21:44:44 2009 -0800

    Use custom sdcc libraries (this needs to be configured...)
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1ccfe0887c794397131ab1c986c25f66eea86a6c
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Jan 5 21:43:44 2009 -0800

    Have S51 ignore SIGINT while running under sdcdb.
    
    This prevents keyboard interrupts from accidentally stopping
    s51.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 7c03937b36aac82b08f4ea0c6da33a994fe15ec7
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 30 22:40:13 2008 -0800

    Add simple and timer sample programs
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 6c2a65c743a4ffae96ed27dbc38c1bf9242ed1df
Author: Keith Packard <keithp@keithp.com>
Date:   Tue Dec 30 22:35:53 2008 -0800

    Save/restore registers to host during memory operations. Cache ROM data.
    
    Because the debug port uses instructions for most operations, the debug code
    will clobber registers used by the running program. Save and restore these
    to avoid corrupting application data.
    
    If the ROM file is known, use that to return data instead of fetching it
    from the target to improve performance.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ea366058aa467a8a7caf17e7014758f3741ea7f7
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 29 12:35:11 2008 -0800

    Fix flashing less than a full page of data. Verify page at a time.
    
    The 8051 flashing code requires special help with counts with non-zero low
    byte. Also, instead of verifying the entire flash contents at the end,
    verify each page as it goes.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e0697186a2f9b6139636ff5d5c162879c85caf9c
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 28 00:11:13 2008 -0800

    Use SFR access funcs. Support 'dump' command. Add -m (monitor) flag.
    
    Not all SFRs are visible in the unified address space, so the SFR-specific
    accessors are required.
    
    The dump command is the same as the various 'd*'
    commands, but also supports dumping program memory.
    
    The new -m (monitor) flag watches the command stream between s51 and sdcdb.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 23aca1fcbc169184e32d4ec19f28dd4fd4cfda36
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 28 00:09:30 2008 -0800

    Save/restore regs when reading/writing memory. Add SFR access.
    
    The DPL and ACC registers are used by the memory access code,
    so they need to be saved and restored. Stuff them up high in ram for now;
    this should probably be fixed to pull them back to the host instead.
    
    Special SFR access is required as not all SFRs are visible in the unified
    address space.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1405838160b69e2cda456e21502a1d03b3aa7548
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 27 11:25:58 2008 -0800

    s51: get start address from ihx file. re-enable breakpoints after reset.
    
    Use the start of the ihx file when asked to run from 0x0, this lets
    sdcdb run programs from ram.
    
    The reset command clears all hw breakpoints, so reset them afterwards.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 1264c3676e95427bba5d01e05c303d036a7f9eca
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 26 23:05:04 2008 -0800

    Switch to libusb-1.0 and use async interface.
    
    The async libusb interface offers substantial performance benefits by not
    making each command wait for the reply. This makes talking over this
    interface almost reasonable.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d2d9cfd74fd66836c913c02276e09136d83b35dc
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 26 17:58:48 2008 -0800

    s51: add breakpoints and the ability to block awaiting a breakpoint.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 4c4093c3fdd309123fdd068c0e1ff4947104492d
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 22 19:11:56 2008 -0800

    Add more commands to s51 assembly-language debugger
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 55eba4fa08b022197106245d36a70f575a070b0a
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 22 19:10:27 2008 -0800

    Make read_memory debug output use ccdbg_debug.
    
    This makes it default to not being presented, which makes s51 much happier
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e75918f3667a5c8ad294bec4acef6fe81682edf6
Author: Keith Packard <keithp@keithp.com>
Date:   Sun Dec 21 23:33:35 2008 -0800

    Add preliminary version of s51, a UI clone of the 8051 emulator.
    
    sdcdb provides source-level debugging using the 8051 emulator, s51. By
    emulating that emulator a the UI level, we should be able to get source
    debugging right on our target platform.
    
    This is just the preliminary structure for the program with most commands
    not yet implemented.

commit f7d49868aeae80d515b12a7e339628f1296754a6
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 20 23:30:06 2008 -0800

    Cleanup work; separating out the cp interface to be more abstract.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 30f23f23a6db3d12fdc9c088cf6ab47c5e5077fb
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 19 21:13:04 2008 -0800

    Clean up autotools stuff.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 9025eb792861930e6af918d2727c4f5d97a69936
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 19 21:11:45 2008 -0800

    Autotools.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit ab909db28307cfbf7ee8d692506bb79d7ffd627a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 19 19:08:13 2008 -0800

    Ignore .ihx files

commit cc8db276bc4f2fd7eb00168a5c0689a8457a5c6f
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 19 19:07:37 2008 -0800

    Move blink example to subdir
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 82e2d7ebed6682062dc400478c736bd6c91195c9
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 19 19:04:26 2008 -0800

    Clean up makefiles, move ihx files to .ihx

commit 52fb5f795adfd7f62e5b6dbe65877d14361cfdae
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 19 14:39:57 2008 -0800

    ignore more stuff

commit 4ecfc33f16aa36b315519e6f279da65374b67aba
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 19 14:37:53 2008 -0800

    Add cc1111 isr stub example

commit d32e6658c3e489b62ba3cf6d22e3ab177b9b8a3a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 19 14:37:29 2008 -0800

    Add blink-tiny flash and ram versions

commit b4d1127ef007843c643b778b3b2f6b915b1d5d9a
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 19 14:19:29 2008 -0800

    Flash multiple pages. Eliminate off-by-one error in hex_image length.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 55995515b9d4fc1e193039eab697c5d03db417c2
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 19 11:04:16 2008 -0800

    Add flash writing code.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 0bc52385b8f86f9ca1c450ad106e6d8afe3bc153
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 18 12:37:32 2008 -0800

    faster
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 3779cc8b32cac3640f42bd0400d4199ddae965a1
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 18 12:17:41 2008 -0800

    cq
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit dc03adc179669d41e3551d74b3c5a60db41ff217
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 18 12:07:06 2008 -0800

    Add ability to load Intel HEX files. Add sample sdcc LED blinker.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 807e2adacb025af77bb53c03209e9c8e0d7a5f95
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Dec 18 00:18:50 2008 -0800

    Add ability to read/write arbitrary memory. Write LED blinker program.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 8c879bf51c14a5928135d59211facd72f6a32808
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 17 23:15:47 2008 -0800

    Move manual bit-banging debug code to separate file
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit aec3bbce84a5ceb92060a4b3889379f2af2404ac
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 17 23:15:19 2008 -0800

    reduce clock to 50us
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit fa168f963f8b00144d12aa2770e9c0917cfae123
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 17 23:12:59 2008 -0800

    Fill out ccdbg-command to support all debug commands.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 5df84df7cd6a31527dcfd11030f00ef9d8abf170
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 17 22:24:59 2008 -0800

    Clean up bitbanging layer. Add debug printfs.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 584e28bac8af38de433767e017977ed1adddeb36
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 17 12:32:15 2008 -0800

    Clean up sample debug files
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit e64b4dbf15e9ee1cb0de002985de7575e83d46e9
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 8 17:25:28 2008 -0800

    Add support for input-only lines (-)

commit 4f38974a9941cddaba27c17c5a46f923db386c94
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 6 16:32:27 2008 -0800

    Add another example

commit 3709ec3205cfb152b6568f3ea505c67fe7504c2a
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 6 16:32:12 2008 -0800

    Add libusb support and lots more examples

commit 39801e6e9fb9388072ee414a447f74095a6ac960
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Nov 28 22:57:07 2008 -0800

    Random hacking

commit 01cb2799875e086ee6096627c058ee235bbc33d5
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 27 17:07:15 2008 -0800

    Add prototypes, add stub mainline, add .gitignore

commit 0ffe4ef870b0e564789a1990aeab5b6651868e5b
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Nov 27 12:33:40 2008 -0800

    cc1111 debug port access through cp2103 serial chip