From: Bdale Garbee Date: Thu, 13 Sep 2012 01:49:51 +0000 (-0600) Subject: Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos X-Git-Tag: 1.1~4 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=fe009534ce6846b6db96cac8f6c2d53ba8010d91;hp=8ee29fe48771dd22a0c5428761ee53a728495d11 Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos --- diff --git a/ChangeLog b/ChangeLog index 2711173f..bc9670f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7388 @@ +commit e5a55dbf265354e7c94be3e2be53c2d5c8fba056 +Author: Keith Packard +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 + +commit 73d05650eae1d3958e02e9ffde2020a2438eccbb +Author: Keith Packard +Date: Tue Sep 11 15:30:45 2012 -0700 + + Add Version 1.1 release notes. + + Signed-off-by: Keith Packard + +commit 7ae3e4cea1cd180ff18b5293a67b4520cc8292be +Author: Keith Packard +Date: Tue Sep 11 01:00:05 2012 -0700 + + altosui: Imperial units for graphs too + + Just to be consistent + + Signed-off-by: Keith Packard + +commit 95268d681c9a6652d84db383f55a4fe8a4ac5173 +Author: Tom Marble +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 +Date: Tue Sep 11 12:44:24 2012 -0500 + + Add appropriate Java build deps as given from autoconf + +commit 8e506274a35eccacd2d4523faa08d279a201753f +Merge: 0bc3ed5 1fc97dd +Author: Tom Marble +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 +Date: Tue Sep 11 11:37:14 2012 -0500 + + Use explicit build deps for altosui (avoids * wildcarding) + +commit 1fc97dd9875a7639533a34438c4c7c999412eb3a +Merge: 8397d2b 4420d4a +Author: Bdale Garbee +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 +Date: Tue Sep 11 10:34:00 2012 -0600 + + update Debian build-deps in preparation for 1.1 release + +commit 4420d4a9fc011ed970af506ef771dfb81580b666 +Author: Keith Packard +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 + +commit 708e7937cba52982b91244cf89bfbff46d346135 +Author: Tom Marble +Date: Mon Sep 10 16:54:27 2012 -0500 + + Changed package name from altosui to AltosUI + +commit c2ebebc4967043b16380b8ec8800862993005358 +Author: Tom Marble +Date: Mon Sep 10 14:50:37 2012 -0500 + + Test commit (comment) to confirm push works + +commit 67da878f740a387d0092631ad672e024d26e4192 +Author: Keith Packard +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 + +commit 66a1e07efcac9324d33a1eca0dfb58a2724b667a +Author: Keith Packard +Date: Mon Sep 10 09:14:03 2012 -0700 + + altoslib: Add imperial units conversion support + + "Redneck" mode support + + Signed-off-by: Keith Packard + +commit 51836cedce41d8b36eac34c69370489162aaa2b5 +Author: Keith Packard +Date: Sun Sep 9 14:02:57 2012 -0700 + + Bump version to 1.0.9.7 + + Signed-off-by: Keith Packard + +commit e45c47c52f9cc9c43b81148e0e58fdedb3af1eb8 +Author: Keith Packard +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 + +commit 77775711d414227b3ed97859d1b21ab1c689a724 +Author: Keith Packard +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 + +commit f2933103be122414a9b1795b37003b7a2aa9f3d7 +Author: Keith Packard +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 + +commit 0339583996fc57a666f8d3007a0f4b1034039a73 +Author: Keith Packard +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 + +commit 3fa71c497a5bf576974e70af06762f75734e6699 +Author: Keith Packard +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 + +commit 27ab744c6eec9243b7aa14161eec2fbf7003531e +Author: Keith Packard +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 + +commit ced6a020d6d94b1c63837a7ab5b0091b7b8ea3c9 +Author: Keith Packard +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 + +commit e053da3e7cb5a4c9ebbffd245cb5d83932183b22 +Author: Keith Packard +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 + +commit bb5ab29b6744b382bb2f09486a7a6db7d12a3608 +Author: Keith Packard +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 + +commit 47d87872c11a63a435fe5b703a4ce33503790d96 +Author: Keith Packard +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 + +commit e2b458a448106ba1ab207f0ea6824b56927d8547 +Merge: 9682e9e 3fe9322 +Author: Keith Packard +Date: Sun Sep 9 13:03:47 2012 -0700 + + Merge remote-tracking branch 'mjb/altoslib_mjb' + +commit 9682e9e6fe730417a77b47795fbe1f06c9a51177 +Author: Keith Packard +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 + +commit d65d921b9b2340fa23d3b55b4ae755324d392303 +Author: Keith Packard +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 + +commit 3fe932206f40f4d6f83a4ef49e064109a7a3de92 +Author: Mike Beattie +Date: Fri Sep 7 18:19:43 2012 +1200 + + altoslib: move distinct classes to separate files. + + Signed-off-by: Mike Beattie + +commit da053875c12b25b627e83430c3a956a994b435d5 +Author: Mike Beattie +Date: Fri Sep 7 18:19:07 2012 +1200 + + altoslib: remove obsolete class + + Signed-off-by: Mike Beattie + +commit 218c73b5bd5bd5673dc6f259f62b39541c52d6ff +Author: Mike Beattie +Date: Fri Sep 7 18:11:13 2012 +1200 + + altoslib: move distinct classes to separate files + + Signed-off-by: Mike Beattie + +commit 42170d0e3a3b68a9d3db69714e043f7273a714fb +Author: Mike Beattie +Date: Fri Sep 7 18:10:21 2012 +1200 + + altoslib: remove duplicate AltosGPSQuery class + + Signed-off-by: Mike Beattie + +commit 82f798e7b1343a56203af2e89790f6de9ab9f98d +Author: Mike Beattie +Date: Fri Sep 7 18:09:37 2012 +1200 + + altoslib: remove duplicate AltosIdleMonitor class + + Signed-off-by: Mike Beattie + +commit 88667f7b7dff52eaf5e30f8f83fed0d7f767268d +Author: Mike Beattie +Date: Fri Sep 7 18:07:45 2012 +1200 + + altoslib: rename AltosIdleRecordTM.java to AltosGPSQuery.java + + Signed-off-by: Mike Beattie + +commit bbbe1846346b4ba61330f535a12b7a5029877ee6 +Author: Mike Beattie +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 + +commit 02d31db3d3255568cc348a41aa37a461d63ffde2 +Author: Mike Beattie +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 + +commit 639f3e5e5171769429eac9e2f17a7b315fd62135 +Author: Mike Beattie +Date: Fri Sep 7 17:39:25 2012 +1200 + + altoslib: comment out unused methods + + Signed-off-by: Mike Beattie + +commit 369c5e23ac6d65bab4b456ed86737576ac61102f +Author: Mike Beattie +Date: Fri Sep 7 17:35:29 2012 +1200 + + altoslib: access static variables via class, not instance + + Signed-off-by: Mike Beattie + +commit b02c17b26e028a6f3a46781211a86a18272da4d0 +Author: Mike Beattie +Date: Fri Sep 7 17:34:17 2012 +1200 + + altoslib: comment out un-used variables + + Signed-off-by: Mike Beattie + +commit 20bc23ddb90f8a6da1f7ea70f02cf3a038059d32 +Author: Mike Beattie +Date: Fri Sep 7 17:32:07 2012 +1200 + + altoslib: Remove un-needed imports + + Signed-off-by: Mike Beattie + +commit c5e98d2b226824f2012e5710ac4b1596b9f0bfb1 +Author: Keith Packard +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 + +commit 01820c3e95fe85d2bee648d41809f1a753f81020 +Author: Keith Packard +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 +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 +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 +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: 503eabd 6d31f8d +Author: Keith Packard +Date: Fri Aug 31 22:24:16 2012 -0500 + + Merge remote-tracking branch 'mjb/freq_menu' + +commit 503eabd0e351ecdffda1416b7d00f8ef1d6913c9 +Author: Keith Packard +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 + +commit 48a3e6e073e927e456ef4e456e512f6fb8e3b9ee +Author: Keith Packard +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 + +commit f9af7819de086d9179c3a4d1df7c88ab67a7d7c7 +Author: Keith Packard +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 + +commit 6d31f8d15ef4bf75ae039dd7b1a6a615d00eb215 +Author: Mike Beattie +Date: Fri Aug 31 17:53:53 2012 +1200 + + altoslib: add missing manufacturer parsing for AltosConfigData + + Signed-off-by: Mike Beattie + +commit 4e3ac2b624f68dd5a8f6dd7a33eb10cd78497964 +Author: Mike Beattie +Date: Fri Aug 31 17:42:22 2012 +1200 + + altosdroid: invert channel/freq ordering + + Matches Channel Selector in altosui + + Signed-off-by: Mike Beattie + +commit 80bc985f79e616e5327aed4f7acc9bca71b8db54 +Author: Mike Beattie +Date: Fri Aug 31 16:50:53 2012 +1200 + + altosdroid: also display channel numbers + + Signed-off-by: Mike Beattie + +commit b6a21856c68ca8cca93eb755285be1927acb91e7 +Author: Mike Beattie +Date: Fri Aug 31 16:39:10 2012 +1200 + + ao-send-telem: fix frequency set command + + Signed-off-by: Mike Beattie + +commit 543ecb530d6fdf188a746ac59b72544e69bad830 +Author: Mike Beattie +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 + +commit f1a9fff865e0b226a97ad5d6eaaac64bd5e5d410 +Author: Keith Packard +Date: Thu Aug 30 23:07:43 2012 -0500 + + altosdroid: Start a hacked-up frequency dialog + + Signed-off-by: Keith Packard + +commit 6d8858ca1899c8b64f107ebb45711efbb7b8d62a +Author: Keith Packard +Date: Thu Aug 30 16:30:04 2012 -0500 + + altos: another .gitignore file + + Signed-off-by: Keith Packard + +commit ab9d5bf13e6f1735a0463f4bcab13d65170b7015 +Author: Keith Packard +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 + +commit b635cb26ba54c8f5c6a958e0ab0bc4d34d33b635 +Merge: 354c1fe a8ecf3a +Author: Keith Packard +Date: Thu Aug 30 16:24:38 2012 -0500 + + Merge remote-tracking branch 'mjb/master' + +commit 354c1fed7f06c2c45c661e7265c2ac4bc47e2750 +Author: Keith Packard +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 + +commit 2c59954fdf204f443d9bb28c4a66a30f925ef348 +Author: Keith Packard +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 + +commit 72d44d14aefcb754b871835aec8d265771357212 +Author: Keith Packard +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 + +commit a8ecf3aa4e88d4c76643fb541fb1d5535a454aba +Author: Mike Beattie +Date: Thu Aug 30 21:08:41 2012 +1200 + + altosdroid: Implement voice just like altosui + + Signed-off-by: Mike Beattie + +commit 2e6af70c87e7cc62a92b09bbbde745a31d83b5eb +Author: Mike Beattie +Date: Thu Aug 30 21:08:06 2012 +1200 + + altosdroid: Move bluetooth check to first task + + Signed-off-by: Mike Beattie + +commit 519887571cee2840024c5c8f4b7f0e5c352d3323 +Author: Mike Beattie +Date: Thu Aug 30 13:23:29 2012 +1200 + + altosdroid: add rssi/serial/flight, and re-work UI ordering + + Signed-off-by: Mike Beattie + +commit 14022b002d2201fb3ca28292d976c90e2d9a15a2 +Author: Mike Beattie +Date: Thu Aug 30 13:23:04 2012 +1200 + + altosdroid: rename ambiguous TextView name + + Signed-off-by: Mike Beattie + +commit 91606c89828e60d8cf9a5ea4ff75b951d6fc042a +Author: Mike Beattie +Date: Thu Aug 30 13:21:38 2012 +1200 + + altosdroid: formatting/whitespace, correct ids + + Signed-off-by: Mike Beattie + +commit 2137a112b4217d84041f749b8aa5eb8f4d330ba0 +Author: Mike Beattie +Date: Thu Aug 30 13:20:10 2012 +1200 + + altosdroid: rework lat/lon to more common format + + Signed-off-by: Mike Beattie + +commit c32325af6605e78c1d1147d466f3ea12ce94124a +Author: Mike Beattie +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 + +commit 8ffa4f9a474026f5a6523b26919a78565e0ed74c +Author: Mike Beattie +Date: Thu Aug 30 13:13:20 2012 +1200 + + altosdroid: move units into code, to match altosui + + Signed-off-by: Mike Beattie + +commit 583458772746317b98fced907ec780edff465888 +Merge: aea10c1 17b6ffb +Author: Keith Packard +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 +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 + +commit 3e7e8e21f2bb823cb6e74c73d0feddbc3a891107 +Author: Keith Packard +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 + +commit 1b6ed262460ee75fb5bb684d13d19c26c7ea750b +Author: Keith Packard +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 + +commit 442f1bfc89528103e2c28f768c954b956e39afc5 +Author: Keith Packard +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 + +commit 7f64e62356bcfcd6ba8a88b09251793481bcd56c +Author: Keith Packard +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 + +commit 1a7d2faf76a46271532102e217c2dd5515e38b72 +Author: Keith Packard +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 + +commit 17b6ffb6c090112367eac944494f0fa58da453c7 +Author: Mike Beattie +Date: Thu Aug 30 01:01:06 2012 +1200 + + altosdroid: initial attempt at a UI. + + Signed-off-by: Mike Beattie + +commit 98f65994ee547feb8cca63ff4ed0fefd3fb2d37d +Author: Keith Packard +Date: Tue Aug 28 23:05:02 2012 -0700 + + altos: Oops. forgot ao_data.c + + Signed-off-by: Keith Packard + +commit 3a3982ceb721910c6a4f75badebb62baa6c6568e +Author: Keith Packard +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 + +commit fc9841ee5e92318471b6bec09b7075a788ab8872 +Author: Keith Packard +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 + +commit 27a879b4069ccedf8bbe39d7dbecf45000f29d8c +Author: Keith Packard +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 + +commit eb1a9a8c3f3d3993d5986925bc4ad112c2bbc119 +Author: Keith Packard +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 + +commit 3fe5a70d9ac2114ee554813b1dbb3019a3e4aff7 +Author: Keith Packard +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 + +commit 18b5021e99c1eef32d2d85f619c84e89cecae7a7 +Author: Keith Packard +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 + +commit 78cd26eec77adda23ef1b5ca2d91027f1e059868 +Author: Keith Packard +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 + +commit f2d919a2147025daa332957cda6d91959e4731ab +Author: Keith Packard +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 + +commit 31b42b99edbb976534ac432c07e218f13d1f5f9b +Author: Keith Packard +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 + +commit ac5d053e6d766d243b7a425ae19779810c350125 +Author: Keith Packard +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 + +commit 68df2b1173e82d48f7857ad2e9325e6a9cbbedfd +Author: Keith Packard +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 + +commit c677f26852b70bcbb303382c306ce06664fde028 +Author: Keith Packard +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 + +commit 5ed88fb72c3e3ecf3333c700d838667db71cfbdc +Merge: adbe64c 621d093 +Author: Bdale Garbee +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 +Date: Tue Aug 28 23:37:00 2012 -0600 + + libelf-dev added to build deps + +commit cb8f01745c9e8f258f96358b46e1caf17d6b0c9f +Author: Mike Beattie +Date: Tue Aug 28 23:20:04 2012 +1200 + + altosdroid: update Makefile.am for source file changes. + + Signed-off-by: Mike Beattie + +commit c220369953d351f49a5f45bfb5e317859d3a9843 +Author: Mike Beattie +Date: Tue Aug 28 22:26:12 2012 +1200 + + altosdroid: Add Dumper class for testing + + Signed-off-by: Mike Beattie + +commit 6c985c2b0433a08add3bbf55fdb30102157b4ede +Author: Mike Beattie +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 + +commit 781bdb6c15b7dd3cc2280b08a2f47ce0f92cf53f +Author: Mike Beattie +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 + +commit ea5fe9e95a888d623329d17d048ee360ea114ad1 +Author: Mike Beattie +Date: Tue Aug 28 22:08:49 2012 +1200 + + altosdroid: move methods around + + Signed-off-by: Mike Beattie + +commit c6d667a6ac0decfde5bc8a180b14774e9942dd0c +Author: Mike Beattie +Date: Tue Aug 28 22:08:19 2012 +1200 + + altosdroid: tidy up old messages + + Signed-off-by: Mike Beattie + +commit 5c7370dcd7a65c81a3c903a71167e07cfcbade53 +Author: Mike Beattie +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 + +commit 5ce8c63850dbc6462d7c41ce917e0e06672ec0ab +Author: Mike Beattie +Date: Tue Aug 28 22:00:14 2012 +1200 + + altosdroid: whitespace + + Signed-off-by: Mike Beattie + +commit df7b74909c3794b7b2397275e7fce9226cb99489 +Author: Mike Beattie +Date: Tue Aug 28 21:59:40 2012 +1200 + + altosdroid: override add_reply() to add android based debugging + + Signed-off-by: Mike Beattie + +commit 9d0f187f06c411f0d82e13ee4f2faea789ed9e79 +Author: Mike Beattie +Date: Tue Aug 28 21:59:15 2012 +1200 + + altosdroid: more logical name for connection_lost() method. + + Signed-off-by: Mike Beattie + +commit 7664ecc0003151d3f05537f17914df2bf48e4275 +Author: Mike Beattie +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 + +commit 502b24eb2c9c76e4e2bdcc79be0b71a869488b37 +Author: Mike Beattie +Date: Tue Aug 28 21:55:40 2012 +1200 + + altosdroid: fix a connection retry having a null pointer + + Signed-off-by: Mike Beattie + +commit c7bef83fd553987f83c0bf7ff37ef941872564fe +Author: Mike Beattie +Date: Tue Aug 28 21:54:05 2012 +1200 + + altosdroid: fix double call of stopAltosBluetooth() + + Signed-off-by: Mike Beattie + +commit 150a726e125aa7d181c00348ddd1791fd84164e5 +Author: Mike Beattie +Date: Tue Aug 28 21:53:01 2012 +1200 + + altosdroid: Miscellaneous comments/debug/etc cleanup + + Signed-off-by: Mike Beattie + +commit 162c640d382b9f823573578fe97584adc94cd9b6 +Author: Mike Beattie +Date: Tue Aug 28 17:37:45 2012 +1200 + + altosdroid: miscellaneous cleanup + + * Copyright info + * whitespace + * comments + * unused imports + + Signed-off-by: Mike Beattie + +commit ae03d8e87985b9f746e9e22b2394a0a5b4f39f1c +Author: Mike Beattie +Date: Tue Aug 28 17:36:41 2012 +1200 + + altosdroid: Add passing of Device Config at connect + + Signed-off-by: Mike Beattie + +commit 03563c765d8b0ab3689c91b2b533c68e11650577 +Author: Mike Beattie +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 + +commit ed653a1e6dc8884cb171af1406fd0999ef125a4d +Author: Mike Beattie +Date: Tue Aug 28 17:26:09 2012 +1200 + + altosdroid: create connected() method + + Signed-off-by: Mike Beattie + +commit 621d0930244f25165d2ac5da596dcc87e253b965 +Author: Keith Packard +Date: Mon Aug 27 13:52:11 2012 -0700 + + altos: Add spiradio product + + Implements the SPI radio protocol + + Signed-off-by: Keith Packard + +commit 61d094f281431e9f11f806454981da8e1245fb5c +Author: Keith Packard +Date: Mon Aug 27 13:51:53 2012 -0700 + + altos: sdcdb rc file for telefire + + Signed-off-by: Keith Packard + +commit c31d07fb35a5b4d283facf649bed3f0f9802d1fc +Author: Keith Packard +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 + +commit 0f3483f93137f41a61f3fcbe06afcaffb1b9e17b +Author: Keith Packard +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 + +commit 85fd7ab504a9fac1de90bbe7df8ea477a092c2b0 +Author: Keith Packard +Date: Mon Aug 27 13:45:56 2012 -0700 + + altos: Build telelco and spiradio when possible + + Signed-off-by: Keith Packard + +commit 467acda662de8b96e7d0df729c2e4761686b82a1 +Author: Keith Packard +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 + +commit e7443bf350afe273e87a884915ea1e7662630cd3 +Author: Keith Packard +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 + +commit 708d49e498bbdc59bb5af9bf4ca5fcea5689547a +Author: Keith Packard +Date: Mon Aug 27 13:41:13 2012 -0700 + + altos: Test multiple quadrature devices. Export quadrature count. + + Signed-off-by: Keith Packard + +commit 8bfe8157cd9fe488d1ee961f200ffa0866322f2c +Author: Keith Packard +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 + +commit 28c3923b6180e24a77aecc7162bb2852cec7d770 +Author: Keith Packard +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 + +commit a27b9b5c36cf748e415ba210c8d8ae72d8227a98 +Author: Keith Packard +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 + +commit 304909b7534768bfc8da62954effb37ba86806ea +Author: Keith Packard +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 + +commit c1168f40223ca09df23215f2e2fc445a8a03aea9 +Author: Keith Packard +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 + +commit fa8668931cbbc1506560222f2db7e427b514a351 +Author: Mike Beattie +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 + +commit 9a41508d92f95012a37bb75603e6e48a2c405204 +Author: Mike Beattie +Date: Mon Aug 27 19:41:29 2012 +1200 + + altosdroid: Add Connected/Connect_failed messages + + Signed-off-by: Mike Beattie + +commit e121ec3ae634f41979717281a28af5e4a38e8f3a +Author: Mike Beattie +Date: Mon Aug 27 19:40:30 2012 +1200 + + altosdroid: don't need keys for Bundles anymore + + Signed-off-by: Mike Beattie + +commit afac4d6c82916eea67ac838cd22806bd73db00a9 +Author: Mike Beattie +Date: Mon Aug 27 19:39:53 2012 +1200 + + altosdroid: Toast() requests don't need Bundles + + Signed-off-by: Mike Beattie + +commit 18c380120fe37a4bdc8f295e86c6c4413d1aa037 +Author: Mike Beattie +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 + +commit 6441437d3b0e848b225a3d6c78ab00e2590c6988 +Author: Mike Beattie +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 + +commit f89e7de20374141b367205aa517a08ee203bfaf3 +Author: Keith Packard +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 + +commit dec1481786ad54e22634e32109b5ed6e5483938e +Author: Keith Packard +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 + +commit d13d0fbfcb0fd6d8a1af46f6270a968d746c830e +Author: Keith Packard +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 + +commit 1c9baa88d6cd931c66d453674322908eb267ba4c +Author: Keith Packard +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 + +commit ea4db73328e865fd658b573da256ca0004c69c61 +Author: Keith Packard +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 + +commit 89f1a685a02c7808cf03853aa9a5ee50c6baf49e +Author: Keith Packard +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 + +commit 58d2b70575f3616a056d2356a737b3be15ed3d66 +Author: Mike Beattie +Date: Sun Aug 26 23:38:33 2012 +1200 + + altosdroid: begin adding TextToSpeech support. + + Signed-off-by: Mike Beattie + +commit 11896d22b7bc6e34e3f6109d28f8b6a2d37e6c25 +Author: Mike Beattie +Date: Sun Aug 26 23:38:10 2012 +1200 + + altosdroid: whitespace cleanup + + Signed-off-by: Mike Beattie + +commit f8211fee3c8a5de6925eadca2679441801ac793e +Author: Mike Beattie +Date: Sun Aug 26 23:37:58 2012 +1200 + + altosdroid: Send device name and connected state back to TelemetryService + + Signed-off-by: Mike Beattie + +commit 8fdde3e74c6dce35f90f4575ce6914516fc56aba +Author: Mike Beattie +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 + +commit dba71db022ae4a9f7c5fd128b90caa73aa4e99da +Author: Mike Beattie +Date: Sun Aug 26 23:34:59 2012 +1200 + + altosdroid: remove old commented code + + Signed-off-by: Mike Beattie + +commit 38827db5131a2681243649c76bfd1d7d9801f9ba +Author: Mike Beattie +Date: Sun Aug 26 23:34:45 2012 +1200 + + altosdroid: add handling when restarting BT. delay start after stop. + + Signed-off-by: Mike Beattie + +commit 30d107882b62edf4e6d48923209da6ce3dabeef7 +Author: Mike Beattie +Date: Sun Aug 26 23:34:28 2012 +1200 + + altosdroid: set devicename and pass on to clients + + Signed-off-by: Mike Beattie + +commit d95b84b56c63002788939b93b6ce949d921a4892 +Author: Mike Beattie +Date: Sun Aug 26 23:30:45 2012 +1200 + + altosdroid: Send current state to client on connect + + Signed-off-by: Mike Beattie + +commit cf94a86f37284b53e89b13a7eeb871db647c61ba +Author: Mike Beattie +Date: Sun Aug 26 23:30:00 2012 +1200 + + altosdroid: add missing break; (just in case!) + + Signed-off-by: Mike Beattie + +commit 24fe48f66f94c99b8197a612afe6f98e980e9796 +Author: Mike Beattie +Date: Sun Aug 26 23:29:25 2012 +1200 + + altosdroid: debugging statements + + Signed-off-by: Mike Beattie + +commit 2ef1723091b0c491ef445474844376185ca4102b +Author: Mike Beattie +Date: Sun Aug 26 23:28:59 2012 +1200 + + altosdroid: forgot change to IncomingHandler constructor call. oops! + + Signed-off-by: Mike Beattie + +commit d40f96fcc961cfbf6af67fc84591d2660d065ca0 +Author: Mike Beattie +Date: Sun Aug 26 23:28:26 2012 +1200 + + altosdroid: Strings and Layout changes + + Signed-off-by: Mike Beattie + +commit 3d6fc5fe462531e05ca4b9be1a421490e067a28b +Author: Mike Beattie +Date: Sun Aug 26 23:26:58 2012 +1200 + + altosdroid: lots of debugging statements + + Signed-off-by: Mike Beattie + +commit 31bffa435cec2098c7ab5c42c829ba6e1578b5d2 +Author: Mike Beattie +Date: Sun Aug 26 23:24:13 2012 +1200 + + altosdroid: need sendMessageToClients() for setState().. oops! + + Signed-off-by: Mike Beattie + +commit a9ec3c96288b7ea4e40586321a0a98edf0c8fee5 +Author: Mike Beattie +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 + +commit d7173e814c49826f39bba1ff6b024819c555860c +Author: Mike Beattie +Date: Sun Aug 26 23:20:01 2012 +1200 + + altosdroid: reflect change in message name + + Signed-off-by: Mike Beattie + +commit 215d78f06093bd8a8b08a85cae0f1f34aee2a6ec +Author: Mike Beattie +Date: Sun Aug 26 23:19:06 2012 +1200 + + altosdroid: begin adding state support + + Signed-off-by: Mike Beattie + +commit fe6680dd3b4c31b3d4edc3f06a142f02bcb879df +Author: Mike Beattie +Date: Sun Aug 26 23:16:49 2012 +1200 + + altosdroid: init device variable... oops! + + Signed-off-by: Mike Beattie + +commit 2c5513c51b187ad26a59b193b401f38c35141d27 +Author: Mike Beattie +Date: Sun Aug 26 23:16:04 2012 +1200 + + altosdroid: Rename Connect message, add connected message + + Signed-off-by: Mike Beattie + +commit a6373e84393312ed0fbf22285c704819c2011588 +Author: Mike Beattie +Date: Sun Aug 26 23:14:09 2012 +1200 + + altosdroid: init telem blocking list.. oops! + + Signed-off-by: Mike Beattie + +commit 21359f600354e8ee840e839e61ef97d30f3586fc +Author: Mike Beattie +Date: Sun Aug 26 23:13:33 2012 +1200 + + altosdroid: disable NotificationManager stuff for now + + Signed-off-by: Mike Beattie + +commit 54baecc208a40606e3242b2cbd5e66567053646f +Author: Mike Beattie +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 + +commit bf7def1a7b93867dfe16fe6499ee028747634c41 +Author: Mike Beattie +Date: Sun Aug 26 15:28:58 2012 +1200 + + altosdroid: Remove Binder import from TelemetryService + + Signed-off-by: Mike Beattie + +commit 5f4c47389a3d0d10d659a2e00fc74a150b5fed88 +Author: Mike Beattie +Date: Sun Aug 26 15:28:36 2012 +1200 + + altosdroid: Add State constants for future usage + + Signed-off-by: Mike Beattie + +commit 6ffcc82d8d18d3f05d4f5881e50dda298b43c114 +Author: Mike Beattie +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 + +commit a33333b97e810f50db36f345aab71a3200feccc3 +Author: Mike Beattie +Date: Sun Aug 26 15:24:19 2012 +1200 + + altosdroid: remove old Binder from TelemetryService + + Signed-off-by: Mike Beattie + +commit b69796991c1da6baf245349fcc4392668b9b5570 +Author: Mike Beattie +Date: Sun Aug 26 15:23:17 2012 +1200 + + altosdroid: begin adding IPC to main thread + + Signed-off-by: Mike Beattie + +commit bcd53483ccf4bbb2f163a011faae6d19a7bbed0d +Author: Mike Beattie +Date: Sun Aug 26 15:22:23 2012 +1200 + + altosdroid: Add TBT initialisation to AltosBluetooth + + Signed-off-by: Mike Beattie + +commit ef29a197ce3318404f37e8a0b24d235e8b024a1f +Author: Mike Beattie +Date: Sun Aug 26 15:21:57 2012 +1200 + + altosdroid: Add debugging statements to AltosBluetooth + + Signed-off-by: Mike Beattie + +commit fb8cd14cca61ca59b95c23e71505607b4509d4ed +Author: Mike Beattie +Date: Sun Aug 26 15:21:36 2012 +1200 + + altosdroid: Add input thread for reading from TBT + + Signed-off-by: Mike Beattie + +commit 5ce132b3366cd120499fcbe22b5fbe96d21b8584 +Author: Mike Beattie +Date: Sun Aug 26 15:20:42 2012 +1200 + + altosdroid: Move constructor for AltosBluetooth + + Signed-off-by: Mike Beattie + +commit b59e7d0b201290f2cb0fd494ef28c1402e11ba3b +Author: Mike Beattie +Date: Sun Aug 26 15:18:44 2012 +1200 + + altosdroid: clean up stub functions in AltosBluetooth.java + + Signed-off-by: Mike Beattie + +commit d184638be79dafd6fb43df21040eb52402f54ea5 +Author: Mike Beattie +Date: Sun Aug 26 15:11:12 2012 +1200 + + altosdroid: AltosBluetooth.java + + * clean up variables/comments + + Signed-off-by: Mike Beattie + +commit bad155538c4630c62ade80afd20830aad37c287e +Author: Mike Beattie +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 + +commit c9689a3ef65ea9da5a7009834add789737ffb6a9 +Author: Mike Beattie +Date: Sun Aug 26 15:03:54 2012 +1200 + + altosdroid: Clean up imports in TelemetryService + + * Begin adding AltosLib usage + + Signed-off-by: Mike Beattie + +commit ffdfc08c317f503e30604d058749b24c3ca7bafa +Author: Mike Beattie +Date: Sun Aug 26 15:00:23 2012 +1200 + + altosdroid: Add service start/bind/unbind to AltosDroid + + Signed-off-by: Mike Beattie + +commit 95a34caa8343997bcf7d8969ee8ae3124efcb573 +Author: Mike Beattie +Date: Sun Aug 26 14:57:04 2012 +1200 + + altosdroid: Remove AltosLib import from main thread + +commit cfe93315fc0e4b01a95b8e59f24aca96b5a66daf +Author: Mike Beattie +Date: Sun Aug 26 14:55:19 2012 +1200 + + altosdroid: whitespace + + Signed-off-by: Mike Beattie + +commit 3f3da6626ef41b2cab116d6299d2a89cbf7718a9 +Author: Mike Beattie +Date: Sun Aug 26 14:54:54 2012 +1200 + + altosdroid: Re-locate TextView initialisation + + Signed-off-by: Mike Beattie + +commit 917f519a4e876087590a3a260fbbccf4c0ac3e31 +Author: Mike Beattie +Date: Sun Aug 26 14:54:06 2012 +1200 + + altosdroid: remove UI components/imports no longer used + + Signed-off-by: Mike Beattie + +commit 80bf63702175322053f2b38c4fff56b653ab7c70 +Author: Mike Beattie +Date: Sun Aug 26 14:52:30 2012 +1200 + + altosdroid: excise BluetoothChatService example code + + Signed-off-by: Mike Beattie + +commit 372840b4ebfd3da3cd713b6bc6a8ffc8cd6b6b8c +Author: Mike Beattie +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 + +commit 24503eb330bf887f5c76afe2aaa9c9f2ce177460 +Author: Mike Beattie +Date: Sun Aug 26 14:44:09 2012 +1200 + + altosdroid: whitespace (spaces to tabs) (part2) + + Signed-off-by: Mike Beattie + +commit 7aab6e6b6e361455a7515fe6db7b0e9a6e4c786c +Author: Mike Beattie +Date: Sun Aug 26 14:29:36 2012 +1200 + + altosdroid: whitespace (spaces to tabs) (part1) + + Signed-off-by: Mike Beattie + +commit 0f3597389977f86a8c1bdff1b7f46107c43ef306 +Author: Mike Beattie +Date: Sun Aug 26 12:41:24 2012 +1200 + + altosdroid: Update copyrights + + Signed-off-by: Mike Beattie + +commit 7ecb429fe4682faf209452b1738ff3c8096fc5d5 +Author: Keith Packard +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 + +commit 310c1d0bf83448eb12e5d64ac09a4279c25fd258 +Author: Keith Packard +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 + +commit 6581fa1641882198c870c2f7b1340794b9d47f29 +Author: Keith Packard +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 + +commit 83e0d4352041b3964ea7a133b0f67da9ebaa1c77 +Author: Keith Packard +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 + +commit c64999c39d6d9242f98bdc9312436c3333115bfd +Author: Keith Packard +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 + +commit a8e9906513227600599da12b268ff5f807ae98c7 +Author: Keith Packard +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 + +commit 50b58d703b8b48005a3ca9ad4e3603d6f7ac1430 +Author: Keith Packard +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 + +commit 7a0ed0ff4192060854d69e640de2c30105eb2f62 +Author: Keith Packard +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 + +commit 659c0cd3ee4b9581c12ac2cd1b4162bf07a921ce +Author: Keith Packard +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 + +commit ab1279cc6a683595631d7ac8bed7b36e0c8a691c +Author: Keith Packard +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 + +commit 93db8febda03d9a02c5c1ccdc6ad44eaf00a433b +Author: Keith Packard +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 + +commit 8457ca81adc9d62a7ffe56a7c0c36f2fcadaa682 +Author: Keith Packard +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 + +commit f46d94ca5c969c88dd307d1b684d6fafa2157020 +Author: Keith Packard +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 + +commit a1a48aa9ee0bf7fa6720b34c0f544485caea7cac +Author: Keith Packard +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 + +commit 00abbbb79de67dc95176fe48b23ce3e8614e8d3a +Author: Mike Beattie +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 + +commit 9456332fc16269270a2e9b7ef0b54523800cfe27 +Merge: bd02349 4d4ad34 +Author: Mike Beattie +Date: Wed Aug 8 06:49:15 2012 +1200 + + Merge branch 'master' of git://git.gag.com/fw/altos + +commit 4d4ad34aec0c75c66162b992f1e52947e4685730 +Merge: c7f2285 8e4ebd1 +Author: Keith Packard +Date: Tue Aug 7 11:48:20 2012 -0700 + + Merge remote-tracking branch 'mjb/master' + +commit bd02349111ae0f39b320e6a10a330051ddc39fdf +Merge: 8e4ebd1 c7f2285 +Author: Mike Beattie +Date: Wed Aug 8 06:46:56 2012 +1200 + + Merge branch 'master' of git://git.gag.com/fw/altos + +commit 8e4ebd1f6eb928b5cb7bcda4ed88851aa9e61bdf +Author: Mike Beattie +Date: Wed Aug 8 06:45:03 2012 +1200 + + Add ao-send-telem to .gitignore + + Signed-off-by: Mike Beattie + +commit c7f228503870c44dfd278ede8b0980dbac73d3c7 +Author: Keith Packard +Date: Tue Aug 7 11:32:16 2012 -0700 + + altos: Fix .sdcdbrc file for telebt-v0.1 + + Signed-off-by: Keith Packard + +commit c58f3d1a373b20fac3f51037008bcc40955f1348 +Author: Keith Packard +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 + +commit 46f87373bc8c28442273ee4f8da3a352223150f5 +Author: Keith Packard +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 + +commit 11046bc89b3ce6386f1005fc8476b08f54d6f5fb +Author: Keith Packard +Date: Mon Aug 6 21:54:58 2012 -0700 + + altos: Support multiple quadrature encoders. + + Signed-off-by: Keith Packard + +commit 5f7e61c749b02ed16e368502062e39b0471e9257 +Author: Keith Packard +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 + +commit ab379493dbe9923db8e458d2f4e0344df17d331c +Author: Keith Packard +Date: Mon Aug 6 19:35:02 2012 -0700 + + Signed-off-by: Keith Packard + + altos: Test quadrature driver + +commit b0b52ca73bc836336ecc70247a9ed1dd633920d9 +Author: Keith Packard +Date: Mon Aug 6 19:34:34 2012 -0700 + + altos: Add quadrature driver + + Signed-off-by: Keith Packard + +commit 6171892fa32e8a662a494ec6ba28a82fddc68589 +Author: Keith Packard +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 + +commit de701d5a234cd21930cf92c9cabebb0e230da9b5 +Author: Keith Packard +Date: Sun Aug 5 14:58:40 2012 -0700 + + altos: Build ao_kalman.h from cc1111 subdirs as needed + + Signed-off-by: Keith Packard + +commit fc9aed1ef3485d259722c9b89e19969e0afe257c +Author: Mike Beattie +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 + +commit b80d1f4e8a2df3ace64468a38a815a4f982aa179 +Author: Bdale Garbee +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 +Date: Sun Aug 5 12:17:25 2012 -0700 + + src/cc1111: Enable SPI slave mode + + This is untested... + + Signed-off-by: Keith Packard + +commit 39594fdb3e30a1a25dd894c217e3d9d773bab972 +Author: Keith Packard +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 + +commit 2610b316eb939c1532061646b05207fcd54d984f +Author: Keith Packard +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 + +commit 82a37d70e3cacf792c1aa18f8c0d2a19d6f321ed +Author: Keith Packard +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 + +commit af34baf5dc587bee4cffa699ef383f85dde8c7cd +Author: Mike Beattie +Date: Thu Aug 2 23:38:26 2012 +1200 + + Reduce size of textview. + + Signed-off-by: Mike Beattie + +commit 359d7353fd7b7d4d537db04c5e89724502333ff8 +Author: Mike Beattie +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 + +commit c5304ac976dd44344a0b70ae3622e1f2d112a147 +Author: Mike Beattie +Date: Thu Aug 2 21:20:23 2012 +1200 + + Fix min/target SDK versions + + Signed-off-by: Mike Beattie + +commit 7481d06bebc2dc1473f451971d8b744c9da4e726 +Merge: 599e28b c56dead +Author: Mike Beattie +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 +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 + +commit c56dead72f65e7468017656347dba531ab2ca480 +Author: Mike Beattie +Date: Tue Jul 31 20:05:35 2012 +1200 + + Ignore autogenerated file: altosui/Info.plist + + Signed-off-by: Mike Beattie + +commit fb79f8fb358f8df25674336cd558fc3998cb7d9e +Author: Mike Beattie +Date: Tue Jul 31 20:04:34 2012 +1200 + + Don't build ao-stmload if stlink is not available. + + Signed-off-by: Mike Beattie + +commit 2e7e304e67bc1e094282c8668fa8cccf09f9c9b4 +Author: Keith Packard +Date: Sun Jul 29 19:48:08 2012 -0700 + + altos: Add driver for STM internal flash + + Signed-off-by: Keith Packard + +commit 843fcab46d633e5bb6959286adeb68e41a4c30a3 +Author: Keith Packard +Date: Sun Jul 29 19:44:56 2012 -0700 + + altos: Add telefire-v0.1 + + Signed-off-by: Keith Packard + +commit e4d244eefa4c779cd9c8a91389bf998c54705b72 +Author: Keith Packard +Date: Sun Jul 29 19:42:53 2012 -0700 + + altos: Add software AES implementation + + This is untested + + Signed-off-by: Keith Packard + +commit 21e39811bd234c6f66ab7644864fcc1b8c316998 +Author: Keith Packard +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 + +commit 743dca54012758d3ae54312d542b34afa88495cd +Author: Keith Packard +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 + +commit 0bf21399d3d47d58410df4c6ce89fc20fcd42c89 +Author: Keith Packard +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 + +commit 59588ba34159b27c02e1a886b46497ecfa0cf4d3 +Author: Keith Packard +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 + +commit 52e920bc7a98edf5c6f2ad0bd59d581011dcd5c9 +Author: Keith Packard +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 + +commit 233ab58df8ac8e1fdeab8d4c2f6c8c9d3f6e7be1 +Author: Keith Packard +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 + +commit 38f66a31174dd367e39d717c527f555add60a9d4 +Author: Keith Packard +Date: Fri Jul 20 12:04:17 2012 -0700 + + tools: Use pkgconfig to find stlink for ao-stmload + + Signed-off-by: Keith Packard + +commit e033a72d3f420e18ed24354c7dfc7e1317a03fb6 +Author: Keith Packard +Date: Fri Jul 20 11:08:22 2012 -0700 + + Add stlink pinout + + Signed-off-by: Keith Packard + +commit 15ebd9c75aa57572040e3b1ee41e6f3eb8cf92ee +Author: Keith Packard +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 + +commit ada6f2dfc045e77cb9499f20cdec1b4a54ef0db1 +Author: Robert Garbee +Date: Wed Jul 18 18:41:00 2012 -0600 + + telescience: correctly calculating rate values with higher resolution + +commit e2b472bbb2418fc13be42dbc7c52beb88479c46d +Merge: 75d6aa6 b242f27 +Author: Robert Garbee +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 +Date: Wed Jul 18 14:24:05 2012 -0600 + + ICP3 working + +commit 49b1ff4c614d24977b33cd17b583acc87acff476 +Author: Robert Garbee +Date: Wed Jul 18 13:41:27 2012 -0600 + + Timer 3 working with slower clock and all 16 bits. + +commit b242f2756a8d9419a9bdba890b9e6b73560bdc19 +Author: Keith Packard +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 + +commit f164e48cbeff521d45737794e2046a08322951d6 +Author: Keith Packard +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 + +commit a698cd68968fc0be5f96b1729cdea2f65d2ccbf6 +Author: Keith Packard +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 + +commit 9fd5e3c28fb0fd6da8641e7dd18b9912866d1b75 +Author: Keith Packard +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 + +commit 700818c8ff0518e79bff2f0e80b2cc3cb3b48bf0 +Author: Keith Packard +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 + +commit f6921c9040b1f1fc4408d163532b0695a3611195 +Author: Keith Packard +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 + +commit b4be63627e146c7c868b5b3468d34880a561cfba +Author: Keith Packard +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 + +commit 97c1cfee929a35dd1596dc02ce519b80132f3c5c +Author: Keith Packard +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 + +commit 99b7eaf8d1b312443b842d078fb8464032b3a39b +Author: Keith Packard +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 + +commit e93c6bcc799d76d4ff425815e2601a25e6796229 +Author: Robert Garbee +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 +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 + +commit 20877ae9de8bb5d3a29e2a96024e53afbd396f55 +Author: Keith Packard +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 + +commit eda636c5f309b85282b4142118ee65673d28d137 +Author: Keith Packard +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 + +commit 52196975c447851f14619213c1de5101d334eebc +Author: Keith Packard +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 + +commit 0edb5616a70fd480317acc99ec3c28c662aa8556 +Author: Keith Packard +Date: Mon Jul 16 15:34:01 2012 -0700 + + altos: megametrum depends on ao_companion.h + + Signed-off-by: Keith Packard + +commit 5860f75677ee20fcf35ab89a6b62f3e14a1c32f5 +Author: Keith Packard +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 + +commit 3ce645a79b54e22d7835c6e390a22a5ad501a339 +Author: Keith Packard +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 + +commit 6581eefbdbd8d3e94f615bdf11652a000d131c8e +Author: Keith Packard +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 + +commit 1887ca3d7d4a0259686f8c1e68d1e47c47b4ab84 +Author: Keith Packard +Date: Mon Jul 16 15:25:47 2012 -0700 + + altos: Pass flight dynamics to companion boards + + Necessary for TelePyro + + Signed-off-by: Keith Packard + +commit 90507d4f7ef77b0870a032b1d9809898c2924721 +Author: Keith Packard +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 + +commit 184e2ff4790974733df57facdeeb96bfe692ab54 +Author: Keith Packard +Date: Mon Jul 16 15:21:21 2012 -0700 + + altos: Remove some debug code from avr ADC driver + + Signed-off-by: Keith Packard + +commit e7ca3a7849b3cbbb38143d35fe86972290bd4e61 +Author: Keith Packard +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 + +commit 4de789331098abc24abcb9390a35aef889a41784 +Author: Keith Packard +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 + +commit 84d5e00d417af4924594908d19346bb965089cdd +Author: Keith Packard +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 + +commit 2a23030031c31267fc4f14accd9220f285c03b61 +Author: Keith Packard +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 + +commit 366217e86a4c353012b5102322ee6927f7b27a21 +Author: Keith Packard +Date: Mon Jul 16 14:39:05 2012 -0700 + + altos: Remove unused 'func' from ao_config_set + + Signed-off-by: Keith Packard + +commit 81b7b58c9df01847fa47747deeff8c3c91304ad1 +Author: Keith Packard +Date: Mon Jul 16 14:37:58 2012 -0700 + + altos/avr: Remove debugging command from USB driver + + Signed-off-by: Keith Packard + +commit 42a51becf4b76f23dbd4f5f80f8879ce696aa543 +Author: Keith Packard +Date: Mon Jul 16 14:36:51 2012 -0700 + + altos/avr: Remove debugging printf in avr stdio startup + + Signed-off-by: Keith Packard + +commit 0cfd22baa6af44e053428c30c1a95cf5551b68af +Author: Keith Packard +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 + +commit 37032e4b0cbac4c823e3dd18e60ad8900e9ceff1 +Author: Keith Packard +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 + +commit 82b50fc1b7f2c6af7264fbad2c35508abc15e81e +Author: Keith Packard +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 + +commit 726e0f2c547b6bae1f1e640e2c1155c0b9631a9b +Author: Keith Packard +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 + +commit d90587535676f9492f0fde6b974353158104ef88 +Author: Keith Packard +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 + +commit 09633cac697e37d770b2b666ab20cab30628484f +Author: Keith Packard +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 + +commit b5f6d4e5251a825395c93916afa3af659c678498 +Author: Keith Packard +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 + +commit f078a591cf2fafe89bb1bb883f49d80750129d44 +Author: Keith Packard +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 + +commit 846a6298e4a8bfbe87bb24d7b0802c0bf6f233be +Author: Keith Packard +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 + +commit cf44ea354c2d1780cee343132c6058e11e9eefa3 +Author: Keith Packard +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 + +commit fe70611c3c7d4b8cce3b5292f0ec549f3191bf86 +Author: Keith Packard +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 + +commit 18431c88c8a6cb267922b97192e8b7ddb88d0e7e +Author: Keith Packard +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 + +commit 726f47c8a07f060aed930e1d102a1e8b5a5c7aed +Author: Keith Packard +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 + +commit 7be98836e69a222b2f9f4baacddcf12d168e2207 +Author: Keith Packard +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 + +commit cc5d106f014f714a9a2d5f595a2de0da8f7da80a +Author: Keith Packard +Date: Wed Jul 11 13:40:07 2012 -0700 + + altos: Ignore megametrum built files + + Signed-off-by: Keith Packard + +commit 675ccd41e3b668cd4e1d2dd282dd317a00d00151 +Author: Keith Packard +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 + +commit 46407f7f3e4d2b6e74b3a2e90b38736a792cfc54 +Author: Keith Packard +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 + +commit aa305da7e5dc182c99c09e422c053d85ed48d5d5 +Author: Keith Packard +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 + +commit 0b92164143aaf0d2aa3d5d742484391c16545289 +Author: Keith Packard +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 + +commit fb60d87b02c0fc83a0b4268212f0b6b740c984e3 +Author: Keith Packard +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 + +commit bca72b782a2909ecedef15ad589292647221ca56 +Author: Keith Packard +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 + +commit aafa8859ecb27383f697b98f6991643b44f4721a +Author: Keith Packard +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 + +commit a60c5a728530e4659a6750d8d5b87000735d4531 +Author: Keith Packard +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 + +commit b89d37d357273b97050c00d7fe12022e32799fa8 +Author: Keith Packard +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 + +commit 6694cedd560a7ea9520ef11472c2770b489187c0 +Author: Keith Packard +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 + +commit 1ae3f467a1d7be2fc3b1a45ba12568a3a25a0099 +Author: Keith Packard +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 + +commit 702ca87983594880d7926d2317d63802af82746e +Author: Keith Packard +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 + +commit 31b05454ec8d90b89fa3039563ff0e86ae80b2a0 +Author: Keith Packard +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 + +commit 939ad8bfd640ed55116703a58f87af06e75ef87e +Author: Keith Packard +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 + +commit e8ab00cc45e48230e3b2018ce959114d3fedd228 +Author: Keith Packard +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 + +commit ea957f9e6144f8411ac84ee2905700f55f5a6e8a +Author: Keith Packard +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 + +commit 933fc7e4c2f617e49e1cfdf45b83695290b51456 +Author: Keith Packard +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 + +commit 50b343d389039eae082e82b8ac0b76ae3e2b3ad4 +Author: Bdale Garbee +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 +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 +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 + +commit ccf64117662fc800a07b3a25e52255b80f8b5eaf +Author: Keith Packard +Date: Thu Jun 28 16:42:59 2012 -0700 + + Update version to 1.0.9.6 + + Signed-off-by: Keith Packard + +commit ca1bc20735a170a77066f5f37e0ad728899a3989 +Author: Keith Packard +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 + +commit 572e1664938c7ce6c308b36779f6a412959e03f1 +Author: Keith Packard +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 + +commit 79dbe1a5e46d7f0b8929400897631ab969cd2bc0 +Author: Keith Packard +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 + +commit aab7b31b71aa7c87c5a5003084e4b7773c30835f +Author: Keith Packard +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 + +commit f9f65211c378849270a6138fda05ed2a166f7d82 +Author: Keith Packard +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 + +commit dd623b21cb904238c6d903b6936ff2f8ebf6f339 +Author: Keith Packard +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 + +commit bd21c050fd8b96b33ab6859c942bf55cf2b91868 +Author: Keith Packard +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 + +commit 407cefae9cb95c5910b3bd79851776c48729e06b +Author: Keith Packard +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 + +commit 4f258fe565dc3e58b83761bfa1a2276946012163 +Author: Keith Packard +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 + +commit 84f9a525c64491afa9b7a565e3c10a4cee106e14 +Author: Keith Packard +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 + +commit b0b7f5da2d29716959c6793d744e47a3d435c247 +Author: Keith Packard +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 + +commit e63d624f9670b5e2e002fcd5f24b80cf7f1effdf +Author: Keith Packard +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 + +commit 08a4ed8fe794a2b2b52147bd5535fe0954822e95 +Author: Keith Packard +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 + +commit 1a1d4a557a30e2e743936b828b654187ec562ca8 +Author: Keith Packard +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 + +commit 9695a217e13f9d194b6dc40e2696017e5f8e8176 +Author: Keith Packard +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 + +commit b96eece8e42df0713fc92d47b6bb27604c0168a2 +Author: Keith Packard +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 + +commit a00aff5ee93ea9763b5c0466fcecc823cad135ef +Author: Keith Packard +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 + +commit 8fc643c9768f0db31a248331681af9490f5715af +Author: Keith Packard +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 + +commit 0285696e5280fc64774b6c3a2fcdaa36bd36ae7c +Author: Keith Packard +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 + +commit 4847595e0383e5ff9c5a373f3c7f2af8c210c50a +Author: Keith Packard +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 + +commit 8efac8eb99a9aabb45d9fbf742e4be91e4b331a5 +Author: Keith Packard +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 + +commit ebeac02a990da3fa6dd71487141d0bc6f78b42de +Author: Keith Packard +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 + +commit fb2b83fcd28199d8c686e676d46d6ecfbf706f37 +Author: Keith Packard +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 + +commit 097b337eb9b7deff13d5dcdafddec9bec3868b93 +Author: Keith Packard +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 + +commit 1ae69a1c2ce7e45db9d9c175bc63867eff68ebe5 +Author: Keith Packard +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 + +commit c4036bf6e7997b618f89a05dd1214c16066ba2b2 +Author: Keith Packard +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 + +commit b5f5fd92109ac6f4909a81303d52bc9220cc2520 +Author: Keith Packard +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 + +commit f1ae622eff60e05c1f5d8f822a3cf6a85750c6cc +Author: Keith Packard +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 + +commit 936ecad62596f34773afb7460b10f63df7d0896d +Author: Keith Packard +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 + +commit 33f8f7add27a02d24b0671da353b59762224c1ee +Author: Keith Packard +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 + +commit 03dc80d15a2f8fe9d7340351226dadd8bc3cfdb9 +Author: Keith Packard +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 + +commit f11f05c5d634de2a80c34d0d3dc93925980f52e6 +Author: Keith Packard +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 + +commit 9dcb4e2ab60ecf0cc7371c1b1a620be952fa8776 +Author: Keith Packard +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 + +commit eab18714ed9eabbcef0ff81b07427da042a58ccc +Author: Keith Packard +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 + +commit 09761fe0f6ed40ff74317fbb47d6a74068fb4ce4 +Author: Keith Packard +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 + +commit 628076aa90e7bc9a894646e417dd8e1fe149b60d +Author: Keith Packard +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 + +commit 70cf32e89df19bde5185339fc703532c8a5b8be6 +Author: Keith Packard +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 + +commit 246174b32bb6cf827d240c32d6a51c3513a08c37 +Author: Keith Packard +Date: Mon Jun 25 05:03:16 2012 -0700 + + altos: Forgot ao_telemetry.h + + Not much builds without this... + + Signed-off-by: Keith Packard + +commit b292c14790fc225029cba3f80ce8ad6c5652bc4e +Author: Keith Packard +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 + +commit 74f6a1a8c8fa9d5bb8d74c99782310b431dd4727 +Author: Keith Packard +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 + +commit 566a0c277de01963922cabc80db8ec3a129923bd +Author: Keith Packard +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 + +commit 83549f8bde42c3fddbdc817540c869dc8aefd013 +Author: Keith Packard +Date: Sat Jun 23 02:13:52 2012 -0700 + + altos: Make ao_fec_tx_test build cleanly with -Wall + + Signed-off-by: Keith Packard + +commit f7bf07dfdad260c1f219064957ef08fb480bf20f +Author: Keith Packard +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 + +commit ff8de3af193839de4bacfd07ade7a5f9ac0bf5b3 +Author: Keith Packard +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 + +commit 047e95421c87c5d056038797b48f759bedabf245 +Author: Keith Packard +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 + +commit cbf79a0f9cb859d04e8e03d627219cb2bf49611f +Author: Keith Packard +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 + +commit 75e4521ec42a368cebc67a07f8713d7a854ea265 +Author: Keith Packard +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 + +commit 0b5548d6ced67201311e1072d37fbedd3d9929c9 +Author: Keith Packard +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 + +commit 6f421818fd7062f03bfaf9e606d6a4cfdcb13b49 +Author: Keith Packard +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 + +commit ff5b0ba90e73a83360a2e8a7e9969ed2c3ce1514 +Author: Keith Packard +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 + +commit d2bd95edb6f77daeb1e8f043c4a239c248728e0c +Author: Keith Packard +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 + +commit 419a801131c1034f1fa149a67850290431cbda72 +Author: Keith Packard +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 + +commit 611f37607fadcdc9908d67456f844a452ad4a87a +Author: Keith Packard +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 + +commit ae3662c56effda9f0516c7d6ffd2d5f56b859593 +Author: Keith Packard +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 + +commit 976a8375932ddb46ca3100863b0a892732c0923e +Author: Keith Packard +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 + +commit 629f43e7c7abbff33e14b168a08a4b6a9c88b937 +Author: Keith Packard +Date: Sun Jun 17 19:04:22 2012 -0700 + + altos: Add telemetry to megametrum + + Now that the radio works + + Signed-off-by: Keith Packard + +commit 9b24f413da0b6d989b32e8654a91c8deee4c81dd +Author: Keith Packard +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 + +commit 4cb46b8a84a0dd5b8fcb479d7aa5157480e1bc67 +Author: Keith Packard +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 + +commit 55747ce210d7d80d5b4fdaaf9dc7ee0f7bc8b0a3 +Author: Keith Packard +Date: Sun Jun 17 18:58:56 2012 -0700 + + altosui: Move product definitions from AltosUI to AltosLib + + Signed-off-by: Keith Packard + +commit e6d236fdc615625fbbf28377453f920729e49b0f +Author: Keith Packard +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 + +commit 1a294852b3607947f0f86bf236785456d8719e5f +Author: Keith Packard +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 + +commit 9d3fe2a80d0925e3eded6d738d05c5b4ea61504c +Author: Keith Packard +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 + +commit 4e6d96816e6604ee8d9bb49345a1c1211699a655 +Author: Keith Packard +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 + +commit ca310342d7b0bd1b78318cae38d920b8690dfd36 +Author: Keith Packard +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 + +commit 58e005375ca29dec6091d87159055004e7f19605 +Author: Keith Packard +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 + +commit 5df94f74522357e062f4ec2786ff825381b2fb10 +Author: Keith Packard +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 + +commit e856df474c386b8df3d2bd9e87b766ae0439efbf +Author: Keith Packard +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 + +commit e09e35471e788b88909ff01037fb8e0e4eabcd7d +Author: Keith Packard +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 + +commit c2949ea15c59215834fedac7646f50c8a09f716f +Author: Keith Packard +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 + +commit 1b7e4c29bf9608bfc972ae28b53cc823f4c37f92 +Author: Keith Packard +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 + +commit 27c95adf35e646840b9bd562497eea0dc96bb9bb +Author: Keith Packard +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 + +commit 93e6d0a2c0b60e7bedd34f06ba63b468dcc8e013 +Author: Keith Packard +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 + +commit c96e60bedeb00d28c36436c12b803fd8cbadce26 +Author: Keith Packard +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 + +commit 97d163c88ed8c8f64a9714018863d0b6eedab38f +Author: Keith Packard +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 + +commit a5a7df405c242593cbc828d5b66bbfc141a35947 +Author: Keith Packard +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 + +commit baf1be1def01266512e67068948bf19b04ead6aa +Author: Keith Packard +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 + +commit bfbd1d82f4c25120a97840a1bd4787680823afd8 +Author: Keith Packard +Date: Tue Jun 5 15:15:25 2012 -0700 + + altosdroid: Add files necessary to build application + + Signed-off-by: Keith Packard + +commit b8c363d9411fd5e79e3f806894dbc12bcc106b88 +Author: Keith Packard +Date: Mon Jun 4 20:56:25 2012 -0700 + + altosui: More changes to migrate code to altoslib + + Signed-off-by: Keith Packard + +commit 5634192a6036c6c7b47d224e2988e81bb71a4557 +Author: Keith Packard +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 + +commit 705891be53e298ac6ced4ba02b87d2f6d1085b34 +Author: Keith Packard +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 + +commit a9ad342ae4c34626df4f2891da4c7f6d2c14d73e +Author: Keith Packard +Date: Mon Jun 4 20:53:53 2012 -0700 + + altos: Other half of the ms5607 prom reporting patch + + Signed-off-by: Keith Packard + +commit dec5cbee22f13c47690b0c6bf7ca724ef132fe5e +Author: Keith Packard +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 + +commit e687a9bafc696998b47fd0300fbc89dece09509c +Author: Keith Packard +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 + +commit 1832e2f76c844e97a2bd11226b003fb2af8057db +Author: Keith Packard +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 + +commit 06afa2c3e78ea5bc9f1eb4913ee35c0eab0ac1bf +Author: Keith Packard +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 + +commit f1b14932149153a096961fff94191778f88581d9 +Author: Keith Packard +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 + +commit 718a8affe1df98eacfd707b5c8c34f9456dcff14 +Author: Keith Packard +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 + +commit 7a19d6790a9800f925c8de24aac71796351e2c04 +Author: Keith Packard +Date: Mon Jun 4 19:28:58 2012 -0700 + + altos: More cleanups for moving files to altoslib + + Signed-off-by: Keith Packard + +commit f86dac643081987c8994ab57a96640d5e91b342a +Author: Keith Packard +Date: Sat Jun 2 19:59:40 2012 -0700 + + altoslib: Clean up random rebase failures + + Signed-off-by: Keith Packard + +commit dd43a2ae7594f062a8980d1756a07488ee54b447 +Author: Keith Packard +Date: Sat Jun 2 19:42:47 2012 -0700 + + altoslib: Move new sensor library code into altoslib + + Signed-off-by: Keith Packard + +commit 0772020c969a69c3b0a705de7362340a9732daab +Author: Keith Packard +Date: Fri Mar 16 20:27:45 2012 -0700 + + Build altosdroid + +commit e81163ed875dc93a618baf9278f43ed7dd0f730e +Author: Mike Beattie +Date: Thu Feb 23 16:43:04 2012 +1300 + + Add local.properties to .gitignore + + Signed-off-by: Mike Beattie + +commit 392c878000e9909d37dae6342df3d6cb8f217a1b +Author: Mike Beattie +Date: Thu Feb 23 16:41:26 2012 +1300 + + Add TelemetryService.java and associated files + + Signed-off-by: Mike Beattie + +commit 69e6df07976a56b49e07c242cd6e5b2cbd2a578d +Author: Keith Packard +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 + +commit 9b659904109f992b8a3e61efb94e81cdb19af1c9 +Author: Keith Packard +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 + +commit a018724e40f2a4c0bae8b3d5c77bb90328ad4314 +Author: Keith Packard +Date: Thu Feb 23 11:15:23 2012 +1300 + + Ignore generated altoslib files + + Signed-off-by: Keith Packard + +commit 025eb09b5de9b50de143da9f36bc02818e018ba9 +Author: Keith Packard +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 + +commit 3a80545d4ecedc4b98a9ee8296ab6abbbf64312d +Author: Mike Beattie +Date: Wed Feb 22 23:40:25 2012 +1300 + + Add $HOME/android as an SDK location + + Signed-off-by: Mike Beattie + +commit 091affece185dcd0832a55b0befeacaa182a57bb +Author: Keith Packard +Date: Fri Jan 13 10:40:30 2012 -0800 + + doc: Add companion SPI message protocol doc + + Signed-off-by: Keith Packard + +commit bb5b5312a0c6102b12f3d4710ef213f0f6c67412 +Author: Keith Packard +Date: Sat Jan 7 20:56:49 2012 -0800 + + altosui: Clean up a few 'fat' build rules + + Signed-off-by: Keith Packard + +commit fc86ae58c3a296730fa99010cc27b8b3c2c3b780 +Author: Keith Packard +Date: Thu Jan 5 16:30:41 2012 -0800 + + Add altosdroid/Makefile.am + +commit dfa059b22bf15de3f25328aeef4fdb8e5ca664dc +Author: Mike Beattie +Date: Wed Jan 4 21:01:44 2012 -0800 + + Add AltusMetrum Logo as app icon, and change app name + + Signed-off-by: Mike Beattie + Signed-off-by: Keith Packard + +commit 402f1e76909229fc0c3b54743ba577b657495faf +Author: Keith Packard +Date: Wed Jan 4 20:54:40 2012 -0800 + + altosdroid: build android bits when possible + + Locate android sdk automatically + + Signed-off-by: Keith Packard + +commit a48e4d40729e736929632ec422fd189ecdfba33b +Author: Keith Packard +Date: Wed Jan 4 20:33:06 2012 -0800 + + altosdroid: import code from mjb + + Signed-off-by: Keith Packard + +commit 81465a20049da40cd8d3cda920d6585ffe87bfe3 +Author: Keith Packard +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 + +commit d6df16525927d8096d1c0cccf4c86bf4c6599d53 +Author: Keith Packard +Date: Mon Jan 2 22:43:48 2012 -0800 + + Add altoslib/.gitignore + +commit 02b53b7f592b78b2fec4f4a17b6b3e114d2bf3c5 +Author: Keith Packard +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 + +commit 9fb15d397890c7e78bf3c1438f142f62bfc2bd35 +Author: Keith Packard +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 + +commit 5270a0f1416baef5fde08547c6c98d97f973ae95 +Author: Keith Packard +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 + +commit 93305717ac4c993c88d9144d797ca64d26db97c5 +Author: Keith Packard +Date: Mon Jan 2 22:13:38 2012 -0800 + + altosui: Move AltosState.java to altoslib + + Signed-off-by: Keith Packard + +commit a5ac5c37ea385e3a2b2703c6f125b4e3b55e867a +Author: Keith Packard +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 + +commit 18914b9a84bbd8c4364a1568bb07dcc2b04ad7ba +Author: Keith Packard +Date: Mon Jan 2 21:12:45 2012 -0800 + + altosui: Move AltosGreatCircle.java to altoslib + + Signed-off-by: Keith Packard + +commit 027863b737190bccc3b5cd032d77587396d0c5c4 +Author: Keith Packard +Date: Mon Jan 2 21:08:34 2012 -0800 + + altosui: Move AltosEepromTeleScience.java to altoslib + + Signed-off-by: Keith Packard + +commit 346df410f570a67cda057550a067fa2b451b785d +Author: Keith Packard +Date: Mon Jan 2 21:05:02 2012 -0800 + + altosui: Move more eeprom stuff to altoslib + + Signed-off-by: Keith Packard + +commit a4ccdd253a9873c16f194a63a79f0c26feaafa29 +Author: Keith Packard +Date: Mon Jan 2 20:57:57 2012 -0800 + + altosui: Move eeprom managment code to library + + Signed-off-by: Keith Packard + +commit 89aa06cfdcb02de1894ccb01aed97782f9eec9b2 +Author: Keith Packard +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 + +commit b273b8b298540b1a6d0a87b1cf61df1fbf62e013 +Author: Keith Packard +Date: Mon Jan 2 20:39:16 2012 -0800 + + altosui: Finish moving AltosConfigData to altoslib + + Signed-off-by: Keith Packard + +commit 4c88b0ca96758b663c82395e63b338043d1c1a10 +Author: Keith Packard +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 + +commit ead8f1cfca2c454d18dce56479899f2b423d8bdd +Author: Keith Packard +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 + +commit 3c2f601139d36761de6a8a2210545d082ef16133 +Author: Keith Packard +Date: Mon Jan 2 17:26:59 2012 -0800 + + altosui: Complete split out of separate java library + + Signed-off-by: Keith Packard + +commit 40ee170753f4fd422c848e34a8da104683b7c8a2 +Author: Keith Packard +Date: Mon Jan 2 16:16:51 2012 -0800 + + altosui: Clean swing/awt bits out of altoslib + + Signed-off-by: Keith Packard + +commit 71636c1ed7cbe075921391605d1ac4edaa6ee52b +Author: Keith Packard +Date: Mon Jan 2 16:13:46 2012 -0800 + + move a file back + +commit 6510e8495fc5e8057b6092963def4d78978625a0 +Author: Keith Packard +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 + +commit 97663f922e236f4ee7bd08277ca80d419b5cd10f +Author: Keith Packard +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 + +commit c9e52287751867d9e451146ccde78109609d30d7 +Author: Keith Packard +Date: Sat Jun 2 19:06:08 2012 -0700 + + altosui: Fixed width format for new IMU values. + + Signed-off-by: Keith Packard + +commit 9aa7993ee31bdfd6890ad7262a0375c07464ee76 +Author: Keith Packard +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 + +commit 69a8907ecbb7ca0e8526aeea0dc7490a191a0f8b +Author: Keith Packard +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 + +commit 97317d332f21c42860747c4ecde633bd0228ef52 +Author: Keith Packard +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 + +commit 64e2e66a5239541b15f43172655cfb3560bec79b +Author: Keith Packard +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 + +commit 8d425ffba84ec6f632e8c0d44105de73242a86a9 +Author: Keith Packard +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 + +commit 1353b277f8314fbddef81c743bd6ea229364fd18 +Author: Keith Packard +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 + +commit c04af7533bd3fd3f3260338c0753fde966131720 +Author: Keith Packard +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 + +commit 1824761f5b98e92485e2dd347b1c4d043ec207e2 +Author: Keith Packard +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 + +commit ab85337aa942cb73a08bd3b783771179773b9a67 +Author: Keith Packard +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 + +commit ff4f3a56e09d595abbe32293cbdf1fe368633c49 +Author: Keith Packard +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 + +commit 6806103bad98385c0ec122d400f981eb81c59dd3 +Author: Keith Packard +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 + +commit e5aebfe0203de9e69712fac291c8cd0d3a96a385 +Author: Keith Packard +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 + +commit 7fce3ddf5e7e92a14cefb7fcf35e4014df744987 +Author: Keith Packard +Date: Mon May 28 11:48:04 2012 -0600 + + Bump to 1.0.9.5 + + Signed-off-by: Keith Packard + +commit 47bc9b2a39b7a8d3ef3fe8acc7fbf0512695e548 +Author: Keith Packard +Date: Mon May 28 11:47:28 2012 -0600 + + altos: Clear stm i2c transfer timeout alarm + + Signed-off-by: Keith Packard + +commit 8164cd95db62e4564b3a9ba5c06a74c870c03841 +Author: Keith Packard +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 + +commit ee61fb8ccb47f94b7c39e803f5a0248840d1eea6 +Author: Keith Packard +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 + +commit 2df9113a22f4f67707d9ee777bd6b23ff671b105 +Author: Keith Packard +Date: Mon May 28 11:45:30 2012 -0600 + + altos: All cc1111 products have a radio + + Signed-off-by: Keith Packard + +commit a53b8b84283eb62157b0f8ecd8061f61a4b6bd6f +Author: Keith Packard +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 + +commit 43e558738c76afd72fc01660884be3158f44470d +Author: Keith Packard +Date: Mon May 28 11:44:07 2012 -0600 + + altos: Try to get hmc5883 working + + No joy yet + + Signed-off-by: Keith Packard + +commit 9f5e4cf7d8204016e023cf439d93de1203dc406e +Author: Keith Packard +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 + +commit 5dd5e0284c8b26b0d4ce69c64bb7864e0ae83db7 +Author: Keith Packard +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 + +commit 29edf6d901432a1afc65900ff599c963edac5a2b +Author: Keith Packard +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 + +commit 5fd869b244f8f2b76258dc31a5507a73fd47cf1d +Author: Keith Packard +Date: Sun May 27 17:31:12 2012 -0600 + + altos: Make telenano build with new ao_data structure + + Signed-off-by: Keith Packard + +commit 627b904b36e129ff2ead436a626699abfc3b3211 +Author: Keith Packard +Date: Sun May 27 17:29:27 2012 -0600 + + altos: Make stm-demo compile with new ao_data structure + + Signed-off-by: Keith Packard + +commit 090dc9aecdf4cfd1ac727325ae141d441c5b28aa +Author: Keith Packard +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 + +commit 98e992b65d366d9f79d7d2dd2dd4d1886dd1d9c4 +Author: Keith Packard +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 + +commit ce8153472069ed56b24ac36f297ac569d1f767d4 +Author: Keith Packard +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 + +commit ed635545e0b965901032ed2c3474ffe997c73de3 +Author: Keith Packard +Date: Sun May 27 16:52:45 2012 -0600 + + ignore pa to altitude conversion file + + Signed-off-by: Keith Packard + +commit dd73c9b441f7672fb9982c4caeb5178df30f5d2b +Author: Keith Packard +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 + +commit 9eeba439ce8c9dc1def8528f96b6a67c6578d656 +Author: Keith Packard +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 + +commit d01c10eff4b70af13347969a7cece8730cf1a3f1 +Author: Keith Packard +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 + +commit 78423f3fc5164ea9fd428606419784c1700ad5c5 +Author: Keith Packard +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 + +commit 0239e4dfe587528524b6380bbf6d9583047e52d6 +Author: Keith Packard +Date: Fri May 18 21:23:47 2012 -0700 + + altos: Poll mpu6000 values every tick and stash them locally. + + Signed-off-by: Keith Packard + +commit 34bb17bc1a3d8a1c95b5e57f059e7a1747e17a03 +Author: Keith Packard +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 + +commit 5d8b9d524d6424ff98dcc4155fe8b8bd892b6d8f +Author: Keith Packard +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 + +commit 1541fc0bde71f503b1ae5757497e9e1e6d023111 +Author: Keith Packard +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 + +commit 6a62edd4a1f01a6ee380c3aabaff3f437e8d6f1e +Author: Keith Packard +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 + +commit 6a973f788563ccc66b01cc7557a004dabef18d09 +Merge: d387f24 da2c920 +Author: Bdale Garbee +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 +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 +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 + +commit b5b898264077fcada29e73efa28dcbe4729f2709 +Author: Keith Packard +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 + +commit 73c26f39b1a08fcc13e23a5b1a4293bc7df9f163 +Author: Keith Packard +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 + +commit 318b564486aa9965bbad54c71e51fcb32b414162 +Author: Keith Packard +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 + +commit af949c67eeb9dc310b1430d3435d241adccfc0a9 +Author: Keith Packard +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 + +commit dd7699cf8daded17ac41abf5c5170cfb599b6ff5 +Author: Keith Packard +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 + +commit 744d05e6037ffc11688a9faa9c7b5dcda4065ee3 +Author: Keith Packard +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 + +commit ddaf501ddcfc1a5f74a1ef1b6b76e1c82d89c77a +Author: Keith Packard +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 + +commit fad6cda3d081d438b18305611f37fe05335aa372 +Author: Keith Packard +Date: Sun May 6 22:53:25 2012 -0700 + + altos: megametrum needs ao_mpu6000.h + + Signed-off-by: Keith Packard + +commit f66f5de7a6cae71948da777ad0638bc6267a710f +Author: Keith Packard +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 + +commit 0f0cc91ce8e9807dca48a5c0c53d821f5060e245 +Author: Keith Packard +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 + +commit 69feb1e3d94a028d04529edb015654bafd06353b +Author: Keith Packard +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 + +commit 8b08095b3d41e21684a10bddfb54431019da5af6 +Author: Keith Packard +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 + +commit 7b0b6bcc40891d8dd106d091d3af8107b2941c66 +Author: Keith Packard +Date: Wed Apr 25 23:29:20 2012 -0700 + + altos: Add hmc5883 and mpu6000 drivers to megametrum build + + Signed-off-by: Keith Packard + +commit e0b8c614ec4d11f432963e48d94e4497d31a9ddc +Author: Keith Packard +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 + +commit 0266e08dbf19e2204fb5f758d5d0f944d2afff7d +Author: Keith Packard +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 + +commit 962476911aaab17fd482593a0e8b95fe47de2f29 +Author: Keith Packard +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 + +commit 5f55d0490017faa19b8d70b1742e4a45266c7e79 +Author: Keith Packard +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 + +commit 1489263b895a2a825e29d0560c9b1dbba8a3f431 +Author: Keith Packard +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 + +commit cc305ea231ae22278abf91c0d9925f5992945369 +Author: Keith Packard +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 + +commit b4ab9f5dfa9f2a50e0528acf0a1fdeaa1f9bc523 +Author: Keith Packard +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 + +commit 5c8af6d35ebfc8fd896dfbf9928ec8f9dbfa531f +Author: Keith Packard +Date: Sat Apr 14 12:05:28 2012 -0700 + + altos: Remove debug printf from cc1111 check-stack script + + Signed-off-by: Keith Packard + +commit 6cb744e305116a738b5d71686c6748f6f08c12ea +Author: Keith Packard +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 + +commit 9a8fec1b6d8f3346f988882ffb03d7d0e45b3c81 +Author: Keith Packard +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 + +commit e9f6fca7cfe796cbd86ae9d8f1ebe31bba7251db +Author: Keith Packard +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 + +commit 1a84d34fa08f43a5f79b1a5f8d8de7674d04647d +Author: Keith Packard +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 + +commit 3c67543f3e5fddc6a8850f33ac519ccd55b607f0 +Author: Keith Packard +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 + +commit 0667261e03b3fd403e97d02ea6204b007bb13f58 +Author: Keith Packard +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 + +commit 2b4a53342980618b193cbee5b803e56f7c937893 +Author: Keith Packard +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 + +commit 040a6eb119451026e1ec7c3a6a8e76b439c632d5 +Author: Keith Packard +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 + +commit f952f9c285e2718a433c8c720c9b5d9c369e7036 +Author: Keith Packard +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 + +commit 6d1606895f70c6bca20c25084107f90bd0b613ec +Author: Keith Packard +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 + +commit 49ac2828510e8b5fcba7e31631dac0580a455011 +Author: Keith Packard +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 + +commit 93ef7e4a23d13540615f1a9782e1d58ddb7f258e +Author: Keith Packard +Date: Wed Apr 11 23:29:38 2012 -0700 + + altos: Use new USB driver in megametrum-v0.1 product + + Signed-off-by: Keith Packard + +commit d432307a3c2709634350eaa1262b935028d073d3 +Author: Keith Packard +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 + +commit afd52a8b54fe31577d939a161ea9cf5ad48e3a43 +Author: Keith Packard +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 + +commit 150881f86f8d90b5867507889441990d18223e62 +Author: Keith Packard +Date: Wed Apr 11 23:25:36 2012 -0700 + + altos: Add register definitions for STM syscfg and usb + + Signed-off-by: Keith Packard + +commit 0dd9e1dd62656a931f9559af6da9131f704f83f9 +Author: Keith Packard +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 + +commit 35e3c47da895bdd868b9b66b98bca64bd82db862 +Author: Keith Packard +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 + +commit 9804528e249db256e020d4b5340ba6216d3474f0 +Author: Keith Packard +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 + +commit d15c4976ed9c23c861e620eb9c429d1cb7eedbee +Author: Keith Packard +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 + +commit 0cd682ef0c8cdcf364b7e173ff3a9f84e485c113 +Author: Keith Packard +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 + +commit 3909fca0a3f918121888a415f9bf9bca99505366 +Author: Keith Packard +Date: Mon Apr 9 22:22:58 2012 -0700 + + altos: Add missing parens in ao_ms5607.h + + Signed-off-by: Keith Packard + +commit c5bbfc7244faaae41c7b581644c3c253e9b7f462 +Author: Keith Packard +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 + +commit 51aef5d4fc29986353ad887f4a67ed2fe35f8c8e +Author: Keith Packard +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 + +commit 1dcfbb05531767e67df45c2799a2fe533834fb71 +Author: Keith Packard +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 + +commit 67044cca5b463772491d0712d0ce07a8f897a476 +Author: Keith Packard +Date: Mon Apr 9 00:10:43 2012 -0700 + + altos: Test I2C code on discovery board. + + Signed-off-by: Keith Packard + +commit 0a198dfcd1b0defe194feaf301f4586e5573d6e9 +Author: Keith Packard +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 + +commit 597c3df668ccf656d8c014f665c154a03166577c +Author: Keith Packard +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 + +commit e9362841b1075a2ae59eecc73137b20e700567a8 +Author: Keith Packard +Date: Mon Apr 9 00:08:20 2012 -0700 + + altos: add STM I2C driver. + + Not well tested yet... + + Signed-off-by: Keith Packard + +commit e027247a9ef82746c26bcb8d0a851a0fa06511de +Author: Keith Packard +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 + +commit 059f09dbca4703c25b42389b54c6510331c39485 +Author: Keith Packard +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 + +commit f7cfbbce2b94b5ac0094a0e34e1766fe1ceb12c8 +Author: Keith Packard +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 + +commit 98aa481741b8fbc617545beda3d295b53de90716 +Author: Keith Packard +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 + +commit 0bce68e6a0abc19f49c573331164d13643c9bee5 +Author: Keith Packard +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 + +commit a41628c97e90770890cce1d6f580e92c1cad1a7f +Author: Keith Packard +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 + +commit 9b9357f48597a034211affb3f18fc6089816456d +Author: Keith Packard +Date: Sat Apr 7 18:55:20 2012 -0700 + + altos: Add ADC tests to stm-demo + + Signed-off-by: Keith Packard + +commit b5e9d14b4e3e8f29ad8a7bb9b339890be4bcfa2f +Author: Keith Packard +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 + +commit 5e41d1e03680af9806c599aad80b9b64dd719f9b +Author: Keith Packard +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 + +commit fa96ee3db9b57cc2a88e9edd74bb9efcc228ccf3 +Author: Keith Packard +Date: Sat Apr 7 18:44:11 2012 -0700 + + altosui: remove debug printf from AltosFlightStats + + Signed-off-by: Keith Packard + +commit e56038b65ba1c6413ba9942be3c092644986f126 +Author: Keith Packard +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 + +commit 20066268d8d1853055d0afe108584db34b425fcb +Author: Keith Packard +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 + +commit d35c4df12a3d8e2dab5d41f8d918ff4237f91e46 +Author: Keith Packard +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 + +commit 4700f63937786e8f6e9b4882363234a33eb54c46 +Author: Keith Packard +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 + +commit a0a650a2be007b0436bd527d6c18f36eef6fbe2b +Author: Keith Packard +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 + +commit c7119405a3dd7128120374a2a001bc98ef523619 +Author: Keith Packard +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 + +commit d0d0d20c20e5eeacbc9a1ec1c93141a2044830fb +Author: Keith Packard +Date: Sat Apr 7 00:24:59 2012 -0700 + + altos: Shorten help strings + + Save a bit of code space + + Signed-off-by: Keith Packard + +commit 8405efb6ca68c8216413b94e7acbdf51af00554a +Author: Keith Packard +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 + +commit 41a8383ccd29351f3a88a374f9456d6efb71b9a0 +Author: Keith Packard +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 + +commit 5f63065a16b65618b39314880c72074f0a8b5550 +Author: Keith Packard +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 + +commit 5569e4df50648a3ec131ba5e244da9b67d1a67db +Author: Keith Packard +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 + +commit 2db6b0f58811ffc44a468c8fbcacc08d37edd26c +Author: Keith Packard +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 + +commit 89201cdf2062b7319a0da4e266e4d6edba1493f8 +Author: Keith Packard +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 + +commit 0bcc23c3be1a20a362fea268901c600f9f0d287a +Author: Keith Packard +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 + +commit 20926b62a87154a846cb950dc542c737cd54826d +Author: Keith Packard +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 + +commit 9b12bc445fe482306e4587ad60c6d2daf65a60f3 +Author: Keith Packard +Date: Fri Apr 6 18:07:07 2012 -0700 + + altos: Add DMA, SPI and MS5607 drivers + + Signed-off-by: Keith Packard + +commit 2a04ac8dff1bfc3efba8c7e4dc9c1a827496dbdf +Author: Keith Packard +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 + +commit cf1e4d60e1fcd75fa734365a2666ea8930938128 +Author: Keith Packard +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 + +commit c09d155328bd446bb84ac1068d380cceb884df22 +Author: Keith Packard +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 + +commit 440226df03a85cd0047d876b57b2a3410bfb2b02 +Author: Bdale Garbee +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 +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 +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 +Date: Sat Mar 31 12:44:14 2012 -0700 + + Build megametrum-v0.1 by default + +commit bbf31b8591f89e2a1fcc7dac5f42d730a81473d2 +Author: Keith Packard +Date: Sat Mar 31 12:43:58 2012 -0700 + + altos: Add stub cc1120 driver + + Signed-off-by: Keith Packard + +commit 1f2b75518169c4f2da9762de46bf1d9a71a04d17 +Author: Keith Packard +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 + +commit 47a9925f16f6a13b173c49d3873d91fc7cf6d46e +Author: Keith Packard +Date: Wed Mar 28 21:53:30 2012 -0700 + + altos: Move cc1111 AES driver to cc1111 directory + + Signed-off-by: Keith Packard + +commit 93ae5f6ce09fa71ebd34f77a884684b3670c8b44 +Author: Bdale Garbee +Date: Sat Mar 31 13:29:15 2012 -0600 + + openocd config file for MegaMetrum + +commit b711768da6310a1b06f3b995a280587fed5f26cd +Author: Keith Packard +Date: Wed Mar 28 21:45:44 2012 -0700 + + Bump version to 1.0.9.4 + + Signed-off-by: Keith Packard + +commit 0993595035a2813deba6991fa25bc0d475f2e6bb +Author: Keith Packard +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 + +commit a157edbe1bf7fffd5a6041f7b1760674addd2229 +Author: Keith Packard +Date: Sun Mar 25 13:08:05 2012 -0700 + + stm-demo does not use altitude.h + +commit c1531fb26461b9f4ec39672bbfaeb70e6f4d1056 +Author: Keith Packard +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 + +commit f2c110fb4531144f18f62200e4127738c84e87f1 +Author: Keith Packard +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 + +commit 0bda768c2be5b81bec13f21d4d3bb6a11a8e88fa +Author: Keith Packard +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 + +commit c27e211796a64b6bbacfe6a1516e9872fdb0853e +Author: Keith Packard +Date: Fri Mar 23 00:43:17 2012 -0700 + + Use new Makefile.defs in stm-demo + + Signed-off-by: Keith Packard + +commit d7ddfd4e6d75e50ca64a342181f5c52e9f4919af +Author: Keith Packard +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 + +commit 606d866153cb639a2400cbedbc45046372ad1b30 +Author: Keith Packard +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 + +commit 25184baa36c20e3d661f94e642a33e8aae179d60 +Author: Keith Packard +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 + +commit 87ca5c9c5f9cea1b9e14468e4694ce6acc21955a +Author: Keith Packard +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 + +commit 41a3fded116a3101789df44647d0eb06be07a25b +Author: Keith Packard +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 + +commit 9b5e98a3407b369803109bfc1409e4f8b6e848ba +Author: Keith Packard +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 + +commit 6337b5f522be11926a6490d7bb27a4f7795da569 +Author: Keith Packard +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 + +commit c9e61a4f1f0ce5e5177a2252e8b7a02a578e77f1 +Author: Keith Packard +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 + +commit bf060b3e3ed655bbb8464f342d0a0b1745a06173 +Author: Keith Packard +Date: Fri Mar 23 00:01:50 2012 -0700 + + Allow for more than one serial port in core AltOS + + Signed-off-by: Keith Packard + +commit d236a5c7cd6e9b1d7192e801d63b4bd348cc2f12 +Author: Keith Packard +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 + +commit 6da2f5846f2d28ea1f09f60ef2cc3f68113ac62a +Author: Keith Packard +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 + +commit a953ac32033ded18adf0cb3ca20134385fcd0a6d +Author: Keith Packard +Date: Thu Mar 22 19:42:18 2012 -0700 + + Add defines for LCD controller and RTC clocking + + Signed-off-by: Keith Packard + +commit f6e557bc2f0bd6d4272ed00dd09554d27a83be89 +Author: Keith Packard +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 + +commit 03fbc18ea17a9e77a1d4d8e0ddb97abbe5da3658 +Author: Keith Packard +Date: Wed Mar 21 16:24:06 2012 -0700 + + Clean up multiple serial port support for STM32L + + Signed-off-by: Keith Packard + +commit f560c961ae4fedec0c9f11d5b3635fcb0d67ed8e +Author: Keith Packard +Date: Wed Mar 21 16:18:26 2012 -0700 + + Add support for multiple serial ports on STM32L + + Signed-off-by: Keith Packard + +commit faf2bea4fdb3dca7fbed35423a4fe4459ee92ceb +Author: Keith Packard +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 + +commit 6a14bee42a8431c909bcd74b0acec57329bc0284 +Author: Keith Packard +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 + +commit 7662a0096a860cddac413a310305fe842830c3b5 +Author: Keith Packard +Date: Sun Mar 18 22:29:51 2012 -0700 + + Add .gitignore file to stm-bringup + + Ignore generated binaries + + Signed-off-by: Keith Packard + +commit 4be74ef0d13114707fd8217907a5ec457f886160 +Author: Keith Packard +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 + +commit ab6ea9043b592c25948a70b6204d613756a9a250 +Author: Keith Packard +Date: Sun Mar 18 22:10:02 2012 -0700 + + Basic OS running on STM32L + + This gets stm-demo working + + Signed-off-by: Keith Packard + +commit 0cc01d378ae96325e429ad608b953661582939b0 +Author: Keith Packard +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 + +commit 1ca46760cf903860dccb4864578558a1abb6e0fa +Author: Keith Packard +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 + +commit 4bfce11873f34af9621c60f83a8355f85769f6d3 +Author: Keith Packard +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 + +commit 93481fd3d9305a107b88c8a64de4194a6d94dc0e +Author: Keith Packard +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 + +commit 8ba5344514f8ed51f6fd69ca09f6c7035c4fd0da +Author: Keith Packard +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 + +commit 1d1b24bb20dec09145fbaa6fe6897898d47dd16e +Author: Keith Packard +Date: Fri Mar 16 20:24:29 2012 -0700 + + These were moved to the src/stm directory + + Signed-off-by: Keith Packard + +commit b8100ea5042013bb4eed67907b4e9d4e5c196df2 +Author: Keith Packard +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 + +commit 9279fd42793123784ce83ca151df6f4630487722 +Author: Keith Packard +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 + +commit e2f13aa43ba79becbff6c9bfc18c665a58d96185 +Author: Keith Packard +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 + +commit 3c7d1f6cfffb43299041f2850a48177f4e9b83a5 +Author: Keith Packard +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 + +commit bdfcc9112c41c494de23594963980a730b625cc4 +Author: Keith Packard +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 + +commit cf1e95810559584705d0b8a787375938c68e07c6 +Author: Keith Packard +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 + +commit d60862fce6ac27a97ad6337eea32a4b48645d158 +Author: Keith Packard +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 + +commit b98f75dbcccd40c8cbf32c3bfd21bd6f5648b861 +Author: Keith Packard +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 + +commit b6c7ae2c1f8cba7351cd139c49322280d9d3af47 +Author: Keith Packard +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 + +commit 3f0379db7067eaf104892a82b9c49142087adece +Author: Keith Packard +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 + +commit 7a9baabaf33db5e30eb4ef8f923a4fd96fd28fb4 +Author: Keith Packard +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 + +commit 2f19f9a0eaba22789fdc07a52849e8aaf6fe4695 +Author: Keith Packard +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 + +commit 170510bb183715e9ba580b180f20657d6602644e +Author: Keith Packard +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 + +commit 0952224c36eba25db34bd147d2d579c66b15bbf8 +Author: Keith Packard +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 + +commit 7dd1d62676c1e605fe69a4c0acfe7638c6b79aa5 +Author: Keith Packard +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 + +commit d77a4ea206d627635159f35c76c744687d4e633b +Author: Keith Packard +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 + +commit d8ebb83e64d66fa159e75aa560d39d80bb6d9d04 +Author: Keith Packard +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 + +commit c1d12a117b36de7fe8dd992959b890bfd1163e81 +Author: Keith Packard +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 + +commit c2550d72aee371676d2f09316051567681e53a7c +Author: Keith Packard +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 + +commit 8610fdae8f47e1e8b6e8525227cc912664ecfafd +Author: Keith Packard +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 + +commit 392a3107b9e9cc8c1ea51df6ff5ec54817adbc65 +Author: Keith Packard +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 + +commit 77639dae0fb9975219c2e211ea6dd6c7965eeea2 +Author: Keith Packard +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 + +commit 1b4a4c7b6a0c3f93267f33482f490e7aa25c2158 +Author: Keith Packard +Date: Fri Jan 13 10:40:30 2012 -0800 + + doc: Add companion SPI message protocol doc + + Signed-off-by: Keith Packard + +commit 5d42ded7ebdb0c134c8dac61f41525c37d81ae61 +Author: Bdale Garbee +Date: Fri Jan 13 10:44:23 2012 -0700 + + update turnon_telemetrum to v1.2, add more turnon scripts + +commit f450f8bc70f857053b26c4379f54a318062e89a1 +Author: Keith Packard +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 + +commit c6821ae734a7efaf2e069f6c5edf9605a9dbe125 +Author: Keith Packard +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 + +commit 65b9b5d0d91fef2c7452dc77017f31f176672304 +Author: Keith Packard +Date: Tue Jan 3 20:42:41 2012 -0800 + + Build teleshield by default + +commit 7a42f2e0f145d2d520aed8e241fa39f7cb62b19f +Author: Keith Packard +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 + +commit 085625ff3992454b59583d95a3c415597c51f754 +Author: Keith Packard +Date: Fri Dec 30 15:42:28 2011 -0800 + + altos: More _asm -> __asm changes + + Missed a few last time + + Signed-off-by: Keith Packard + +commit 614ab6a991258a5caad0ca12ae35d0288a5b7503 +Author: Keith Packard +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 + +commit bbb94a6a25a106316414a9a281e924f6c56e9f38 +Author: Keith Packard +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 + +commit 4783ac9653fd4f816f839452795e0d2e52129d5b +Author: Keith Packard +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 + +commit 791c137728dd3398bd7275be13cc9e6be96d7af4 +Author: Keith Packard +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 + +commit eff8611e3eb19853b06acfcd7e978c9046cd5f78 +Author: Keith Packard +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 + +commit 6baf6f41040f7b074d8cc84ef75e254c5d2b466b +Author: Keith Packard +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 + +commit dbf7c0c59854e040b65f068069d80716f02fc1bc +Author: Keith Packard +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 + +commit c1e293ff4953b51c19af8b52f2999419ea84e7e5 +Author: Keith Packard +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 + +commit 02b4e52a5349217df43105eaa1fff6bfc7dac4cc +Author: Keith Packard +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 + +commit e7044fd95472449e2fb860cef902fa458b91ccac +Author: Keith Packard +Date: Sat Nov 12 19:18:23 2011 -0800 + + altos: Fix sdcdb settings for telemetrum v1.0 + + Signed-off-by: Keith Packard + +commit 7f9e76e0d3492dcc8bf4b5b1f07c3c727cfdc0ef +Author: Keith Packard +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 + +commit d3dcb9451f40506abced72783966104645a73bc7 +Author: Keith Packard +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 + +commit 0f7d7a4fbede63b51208bf051e08aa73dfbf35a0 +Author: Keith Packard +Date: Sat Nov 12 18:51:31 2011 -0800 + + altos: Remove LCD debugging code + + This isn't needed anymore. + + Signed-off-by: Keith Packard + +commit 430b439b9a5cc98b32273a233505de2c2f975c59 +Author: Keith Packard +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 + +commit 75a8490a7bee2a2c7afd559b13f1d9c40c2aa08f +Author: Keith Packard +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 + +commit 2ba946fea29ff134ffaeaea9d7932f4bd4e953aa +Author: Keith Packard +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 + +commit 20282ef00afe70e3f3193f6f0200254cb2c33e93 +Author: Keith Packard +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 + +commit 5972c642f0de0789e90268bfa19ef8b51c06eebc +Author: Keith Packard +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 + +commit ef7f86453d686a49882e8c1b88a59228c4c631a9 +Author: Keith Packard +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 + +commit 2bce71eba9f44b6fcf64e307c8174824c3a0fb57 +Author: Keith Packard +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 + +commit 0a705b62829d492e3a48c81077907cee61afb860 +Author: Keith Packard +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 + +commit 4de8bf6da4d725bb0514d032b0708c5cf420e8fa +Author: Keith Packard +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 + +commit ad41b5820c2e252627959e4627473f07784be23e +Author: Keith Packard +Date: Sat Nov 12 18:29:38 2011 -0800 + + altos: Build TeleTerra v0.2 by default + + Signed-off-by: Keith Packard + +commit f6db11c3c87725c809c518f5f19b07325faf9c84 +Author: Keith Packard +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 + +commit b132eefc5f63412bb4a98a4bb72b9055e40d5d42 +Author: Keith Packard +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 + +commit 7ecde50fbebe68a2e2200a2f8d081fd37074f840 +Author: Keith Packard +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 + +commit 713bd503902526c17a7657c18be947ef8fa6a47a +Author: Keith Packard +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 + +commit d3e8275572550b700563b3bde73cd7a43b608f17 +Author: Keith Packard +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 + +commit 8266d8d39c0103e68ef3e476b9639574d9a48771 +Author: Keith Packard +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 + +commit df08b2f6de464f4546c1809b931eb4910d88b558 +Author: Keith Packard +Date: Thu Oct 27 01:01:11 2011 -0700 + + altos: A bunch of missing .gitignore files (mostly) + + Signed-off-by: Keith Packard + +commit a7b285ec0945830b8b31877115157ddd12d6a9fb +Author: Keith Packard +Date: Thu Oct 27 00:57:45 2011 -0700 + + altos: Add i2c driver for avr chip + + Signed-off-by: Keith Packard + +commit 0669f0d74fc24c4f1925a45a9975b7a49a65b692 +Author: Keith Packard +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 + +commit c7e14a2750d437e8b77d68a944a0711e7a0c882b +Author: Keith Packard +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 + +commit da330c5975b9f565d059ef8084dfdacc20f34246 +Author: Keith Packard +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 + +commit 8e4cceedb5b758faae684978299e667c4bb06f4d +Author: Keith Packard +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 + +commit 90e738a3379d258a48a7c92f6708040fc39c373a +Author: Keith Packard +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 + +commit f70553106707e3496d07eecb83f0c0a1acad7f77 +Author: Keith Packard +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 + +commit 7e7a10c06a0486e9f869e361e46f2c98db9897b0 +Author: Keith Packard +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 + +commit 8e2736226fcd7c1ab1ba93a5ebac9b285ebf4733 +Author: Keith Packard +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 + +commit 07d4477b2e8477e96a2f155a25f95e14a9a47efa +Author: Keith Packard +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 + +commit 85b259c5bba7edbd2a79471bb1104bcf3904d536 +Author: Keith Packard +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 + +commit eb61f7aa2c8b692bd892b85e782f249187c80e5c +Author: Keith Packard +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 + +commit a10aa835a06b71e2cefeb6b10daaf8cc394603b6 +Author: Keith Packard +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 + +commit aef732fc9cdf527a18f2959d6fb7903e832209da +Author: Keith Packard +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 + +commit 0debe7ffc2aab2b4d08f42e488cb783ae91c36ab +Author: Keith Packard +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 + +commit 65873a3ad1d8e8b5ec002be2576c6f496543306a +Author: Keith Packard +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 + +commit badda0d910c56135401dce9adc9e6abebdba2ad7 +Author: Keith Packard +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 + +commit 47c2c0b79dc516d2566ae149605b7d70ef2dca98 +Author: Keith Packard +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 + +commit 652c024ed37bfed5de17f45c772796d5cbe4599f +Author: Keith Packard +Date: Tue Oct 11 18:48:55 2011 -0600 + + altos/telescience: Add more header dependencies + + Signed-off-by: Keith Packard + +commit 75960500d1f290fa9f82183431443ac122f12c19 +Author: Keith Packard +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 + +commit b80f8ffb61566cbd134c399ea6ccf9290075490b +Author: Keith Packard +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 + +commit f1573a752425121d4c6a14285f1eb0fef3a8bea5 +Author: Keith Packard +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 + +commit cb837d9bb9e6736fcdfca7692b1f9490ea090838 +Author: Keith Packard +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 + +commit ac0bebc44bc657b303db4c41fa0c9624f3df9f4f +Author: Keith Packard +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 + +commit 3a28846d3ff8f82b0e97c211b9debf6d67ee5af5 +Author: Keith Packard +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 + +commit e60c470b426b7be08a33133e7d8c94201d7e96d4 +Author: Keith Packard +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 + +commit af4470f8025116179ef83726a8287e47c465907b +Author: Keith Packard +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 + +commit 3bda859caf1501f8408703dca81412d70ba00e04 +Author: Keith Packard +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 + +commit 0a186e92c5773c5d908e9cee889d645a8172dcdc +Author: Keith Packard +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 + +commit f3453068b0feb640b9d11dbeb021c535ce8b4a31 +Author: Keith Packard +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 + +commit 06b044629951b06c7ec9b0105b89f51b2880ebd0 +Author: Keith Packard +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 + +commit 5d1361c95f94125cda244b4cc5e55c2fb77b680b +Author: Keith Packard +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 + +commit 5c82b07471f017171c58a6968adf79901f46a987 +Author: Keith Packard +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 + +commit 636b7b368e67346b0796cd84fbfd71e10966d61f +Author: Keith Packard +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 + +commit ca036c5616c3e745c0b878ed90618d4ff710c0e5 +Author: Keith Packard +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 + +commit 26d7eb7149da8c797d7e704d75f73af2d2aa52c2 +Author: Keith Packard +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 + +commit aad03e3cab4c328e53d3df47b6dac1d3f7a49229 +Author: Keith Packard +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 + +commit 6a7363b3ba99310bd44c9b66f6f5159e46762be4 +Author: Keith Packard +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 + +commit 82604193ed0c522c1fba0072b504fe88b027f1ee +Author: Keith Packard +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 + +commit cbf5a649c8b7101bef9d57e48e42ac775e758c79 +Author: Keith Packard +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 + +commit f9b0b7423c0640f729d61a91de6ff96ffe4b486e +Author: Keith Packard +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 + +commit 258b75498916183ed250d3abb3282fe3d843e7a1 +Author: Keith Packard +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 + + 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: f6f54d7 246864b +Author: Keith Packard +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: 1c344b7 0d10e25 +Author: Keith Packard +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 +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 + +commit fba1d605a627d03f9587ec060c45fb5d3e96aaeb +Author: Keith Packard +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 + +commit 1c344b760776cd5d8c0297d8db9bf02687381b4e +Merge: 4ed53ef fc4173f +Author: Keith Packard +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 +Date: Tue Sep 27 00:59:08 2011 -0600 + + add run-time dependency on libjfreechart-java + +commit 989aae5b18856e3420ea5b7a26ddd8dccae9d6d3 +Merge: 0552fbe e44f1ff +Author: Bdale Garbee +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 +Date: Tue Aug 30 16:59:53 2011 -0600 + + include 1.0.1 release notes in docs, closes: #642705 + +commit 4ed53ef838afd4e922deb1c721a311974527525a +Author: Keith Packard +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 + +commit f1328d22aab4378c4fb6f0c24dbee95948ca836c +Author: Keith Packard +Date: Wed Sep 21 23:21:04 2011 -0700 + + Dump test conversion of ADC0 + +commit 9b498a6b1327f543c73145e02ff16e76d09f2fe4 +Author: Keith Packard +Date: Wed Sep 21 22:54:56 2011 -0700 + + Dump ADC registers + +commit 7bc007ed45af8fe9ef5daeb7844f183cd9a49035 +Author: Keith Packard +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 + +commit 74d5dea5d5ef91db823018b631613d15c6da085d +Author: Bdale Garbee +Date: Wed Sep 21 16:42:52 2011 -0600 + + fix bashism that prevents building with /bin/sh->/bin/dash + +commit f68f22f527104cdffa1f5e398a51a466a13ff1fb +Author: Bdale Garbee +Date: Wed Sep 21 16:42:22 2011 -0600 + + add missing sense_h entry in TelePyro table + +commit 16aa67fc77b82a9d051f205037b27a5384e3e3b7 +Author: Keith Packard +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 + +commit 7a02d4bace05cc829522933b9df6b82a9e17336f +Author: Keith Packard +Date: Wed Sep 21 11:30:43 2011 -0700 + + altos: Add TelePyro v0.1 support + + Signed-off-by: Keith Packard + +commit 0820f5c6dfe067590f36e8201a4049719dcf3d7c +Author: Keith Packard +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 + +commit c8a00bb9ccdf0d4257f037c2bf996ce5e6b0b0c0 +Author: Keith Packard +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 + +commit abf17522c206b465375b73a004a6d67bfa714ba3 +Author: Keith Packard +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 + +commit 246864b0597ddd397aba39be1fe39df0df189433 +Author: Keith Packard +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 + +commit eaa7d7c7dd445ade7d8e3228306785f9a545b89a +Author: Keith Packard +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 + +commit d1e81db87ce0f89fd0b7651ca00979498cd00b78 +Author: Keith Packard +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 + +commit e44f1ffb7104d70f5c9b9a90529ddbe1b75da074 +Author: Bdale Garbee +Date: Tue Aug 30 16:59:53 2011 -0600 + + include 1.0.1 release notes in docs + +commit b2d4e49bfe88aa61ca36fb1af8f3088c5754304c +Author: Keith Packard +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 + +commit e66fd72664aae7c000dce9c528803e28e7918fdf +Author: Keith Packard +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 + +commit 122c4101164d598e655fa9ad8473053d30ff4212 +Author: Keith Packard +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 + +commit 9b9568a637ffdbc67225271005f2b996ee08a0df +Author: Keith Packard +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 + +commit 31e3255b6cbfaf95c0e97e2d1ec8de72f845994c +Author: Keith Packard +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 + +commit cf72c2f5a69a736c28a9b63e124d510ef41a9f5d +Author: Keith Packard +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 + +commit 3d478a39f2ede7b805bbe568cc1c8ecc176d7a04 +Author: Keith Packard +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 + +commit 8eaa1c4697a3cfc2406e1adadc3094f7f712341a +Author: Keith Packard +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 + +commit 7c6a3195dec6ac68f5d7b3f883ccc2c316384e76 +Author: Keith Packard +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 + +commit cff737c290347b61ba16584880c2f4c436b95042 +Author: Keith Packard +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 + +commit 27835686648e14b030f6f7ec1fc0c0fd1c387ea4 +Author: Keith Packard +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 + +commit 6f231a3e512ff7fdd87a399a72c7c36f283394f3 +Author: Keith Packard +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 + +commit e53557373e539d591a03d02db146b27d08c7eba3 +Author: Keith Packard +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 + +commit 5c3a0263d292cb0675f608d0ef085d13e51ce6ba +Author: Bdale Garbee +Date: Sun Aug 28 13:39:37 2011 -0600 + + update changelogs for Debian build + +commit b33a92e372327158ab21c1bb2d091c58761efe10 +Author: Keith Packard +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 + +commit 7e2b5e2957ddcb808723081ca7e046a28b7e70e5 +Author: Keith Packard +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 + +commit bc827699be4ed9ac60a7e862e6532791968bf685 +Author: Keith Packard +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 + +commit 8a1cbef0e316e38c80b71d3bac15641fe56e0a99 +Author: Keith Packard +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 + +commit 6afbc1876cd63f64e8975e300692f95a43866f5f +Author: Keith Packard +Date: Sat Aug 27 13:27:00 2011 -0700 + + altos: ao_launch belongs in cc1111 + + Signed-off-by: Keith Packard + +commit 9adf2c9c40ea1da2637ed809dc0d004e47844440 +Author: Keith Packard +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 + +commit b3c95582774355c991d0a9f27d0a86881e643e62 +Author: Keith Packard +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 + +commit 6b2db651a1dbc7ea97fce802b5f10b88be1ab42b +Author: Keith Packard +Date: Sat Aug 27 12:42:10 2011 -0700 + + altos: Add makefile for telelaunch + + Signed-off-by: Keith Packard + +commit 02df2141e5a67afc16acd01a6c60f3cc61052b93 +Author: Keith Packard +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 + +commit 4568bc796a6c362ebf7f72ee9a5fa4a9a3c4ba6a +Author: Keith Packard +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 + +commit be117376179126824439d98379079025ca0b245a +Author: Keith Packard +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 + +commit bc1b94df4d6b92e794ec93d9c1682ae5f61efa61 +Author: Keith Packard +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 + +commit 4299b5a36a2f6f9f7bbbc3a1b935dd2357c1fb0f +Author: Keith Packard +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 + +commit 776df9ce2e7b4fa5cedda326988e66c614299af4 +Author: Keith Packard +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 + +commit bd0bf00081bb24af5cd67a9351b0b0c1a041d0d3 +Author: Keith Packard +Date: Sat Jul 16 14:25:01 2011 -0700 + + altos: More work on AES bits + + Signed-off-by: Keith Packard + +commit a731d240f802d37524ce84c3c6acf22bcda4d522 +Author: Keith Packard +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 + +commit f145be3fc4ee94fdb5c1e2406b6c11d38bdbbd9b +Author: Keith Packard +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 + +commit 859ee0268b9f2e1f5933019f1231d857a1cac4da +Author: Keith Packard +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 + +commit b10fbbf0830053a39e4640a53598b1c027615c63 +Author: Keith Packard +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 + +commit 1c46c419704f661064d200432eb7efeeb11b3859 +Author: Keith Packard +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 + +commit c32893ce79835a8f861d6ef414644c2ff9769ff6 +Author: Keith Packard +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 + commit 93b8f40bb451c9ec152490d1f431ab18f8ecb7d1 Author: Bdale Garbee Date: Fri Aug 26 10:52:55 2011 -0600 @@ -66,6 +7451,65 @@ 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 +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 + +commit e9fab7dc99a0e7c22b511c5919adf7df85213252 +Author: Keith Packard +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 + +commit a588092a7d76dab92e4ab11e0fdb457d2ddc9025 +Author: Keith Packard +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 /ao_arch.h. This first change defines + the ao_arch_reboot macro to reboot the microcontroller. + + Signed-off-by: Keith Packard + +commit 9513be7f9d3d0b0ec29f6487fa9dc8f1ac24d0de +Author: Keith Packard +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 + commit 3bfe8df44b575ca430ffaa051e20faa955a06c03 Author: Keith Packard Date: Thu Aug 25 18:02:45 2011 -0700 diff --git a/configure.ac b/configure.ac index 8b002662..cb765e1e 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ dnl dnl Process this file with autoconf to create configure. AC_PREREQ(2.57) -AC_INIT([altos], 1.0.9.7) +AC_INIT([altos], 1.1) AC_CONFIG_SRCDIR([src/core/ao.h]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE