From: Bdale Garbee Date: Thu, 19 Dec 2013 08:29:55 +0000 (-0700) Subject: update ChangeLog from git X-Git-Tag: 1.3~2 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=bc3610d8cecbfed40c62d4dcb93fc9a4d2a7c9e3;ds=sidebyside update ChangeLog from git --- diff --git a/ChangeLog b/ChangeLog index 762b06b8..1a16bd7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10599 @@ +commit 701c26ed85c28ac59e338975f2a6ba6bd25f6493 +Author: Keith Packard +Date: Thu Dec 19 00:16:16 2013 -0800 + + altosdroid: bump versionName to 1.3 and versionCode to 4 + + Signed-off-by: Keith Packard + +commit 9f95ffbad918a73cfd5460d6ce037d680465c35d +Author: Keith Packard +Date: Thu Dec 19 00:12:21 2013 -0800 + + altosui: When device has no valid romconfig, set RF cal to 0 + + This is intended to signal to the user that no valid value was found + and that they'd best pick something sensible. + + Signed-off-by: Keith Packard + +commit a04c1dd5df76c9127615bc797a9d9f764eec1234 +Author: Keith Packard +Date: Thu Dec 19 00:08:50 2013 -0800 + + altos/lpc: Stop sending SETUP IN when the requested size is reached + + The host won't keep asking for SETUP IN packets once it has received + the amount of data requested, so check to see if we've sent that much + and flip back to IDLE state if so. + + Signed-off-by: Keith Packard + +commit 1ab12861c3e70d7c22b27d988546a925616a0adc +Author: Keith Packard +Date: Wed Dec 18 23:27:34 2013 -0800 + + altos/lpc: Reset less of the device on USB reset. + + This leaves most of the device configured across USB reset, which + appears to help when sending a IN reply to the first SETUP packet; + without this change, the IN reply would always get a length of 0, + which is fine for SET_ADDRESS, but not for GET_DESCRIPTOR_DEVICE, + which OS X appears to send before setting the address (go figure). + + Signed-off-by: Keith Packard + +commit 3b13cc2ca035b13582cd2e59ba7286f872f43c6e +Author: Keith Packard +Date: Wed Dec 18 22:00:13 2013 -0800 + + altoslib: Remove some old debug printfs for self flashing + + These aren't necessary anymore and just slow down flashing boards. + + Signed-off-by: Keith Packard + +commit 408b0dea338147382e94717dab85b4a204e7bdf5 +Author: Keith Packard +Date: Wed Dec 18 21:08:33 2013 -0800 + + micropeak: Add micropeak man page + + Signed-off-by: Keith Packard + +commit 2b2ba87d5f68b9e052dddd49d69341f36d777122 +Author: Keith Packard +Date: Wed Dec 18 21:02:15 2013 -0800 + + ao-tools: Add man pages for ao-flash utilities + + These aren't very wordy, but these tools are pretty simple scripts. + + Signed-off-by: Keith Packard + +commit 39cb8c2896317b7538353be979ac99baffc14489 +Merge: 2a6016c ee42796 +Author: Bdale Garbee +Date: Wed Dec 18 21:53:52 2013 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 2a6016cfabc8cd56f5219871e3b3df316a639289 +Author: Bdale Garbee +Date: Wed Dec 18 21:53:36 2013 -0700 + + update Debian standards version we claim compliance with + +commit ee4279613b4757453d0d8f8afc06037c61eeb520 +Author: Keith Packard +Date: Wed Dec 18 20:32:05 2013 -0800 + + altos: Try IMU self-test 10 times before giving up + + This should keep the device from failing to boot unless the IMU is + actually broken. Oh, and if self test does fail, this places the + flight computer in 'Invalid' state rather than panic. + + Signed-off-by: Keith Packard + +commit 1bf84ec28a41f7bd1b11ba45b4639856266227bc +Author: Keith Packard +Date: Wed Dec 18 20:30:58 2013 -0800 + + doc: Add tables describing AltOS beeps and flashes + + Provide a convenient place to reference when listening to the device. + + Signed-off-by: Keith Packard + +commit 0673344289772ed89483948184d6608c272c7c26 +Author: Keith Packard +Date: Wed Dec 18 18:20:55 2013 -0800 + + altos/stm: Semantic error in STM usb disable caused it to not work + + The USB enable register wasn't actually getting rewritten with the + enable bit turned off, so the USB device was still powered on in flight. + + Signed-off-by: Keith Packard + +commit 122f491e459b6ff417932370b3f1aa2091c71aca +Author: Bdale Garbee +Date: Wed Dec 18 18:30:54 2013 -0700 + + update release docs to include option for submodules + +commit d9982c257463f23be940eea66bd4dc3aadff0043 +Merge: 1b97ed2 b63fc05 +Author: Bdale Garbee +Date: Wed Dec 18 18:25:35 2013 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 1b97ed2b64bcbcd969124964f1e49837899f1c70 +Author: Bdale Garbee +Date: Wed Dec 18 18:25:03 2013 -0700 + + we're using packaged and local-to-our-tree ARM toolchain now + +commit b63fc05481bf6d57e6385704ce53c1c19afa9c2e +Author: Keith Packard +Date: Wed Dec 18 14:34:31 2013 -0800 + + doc: typo in micropeak doc hole->hold + +commit 6827961c002757f8e74de44f6eb9c9029d099ebc +Author: Keith Packard +Date: Wed Dec 18 14:25:41 2013 -0800 + + doc: Update micropeak quick start guide to note new boost detect + + Now waits for one minute and 30m of altitude change to avoid false detections. + + Signed-off-by: Keith Packard + +commit c0966cd40f05f3a65b0c977b4b92586a58192f4b +Author: Keith Packard +Date: Wed Dec 18 14:22:51 2013 -0800 + + micropeak: Compile for java 6 + + Don't a require later version as not all target OSes support it + + Signed-off-by: Keith Packard + +commit eea036650e62bc0f8652155974b512686754fd13 +Author: Keith Packard +Date: Wed Dec 18 14:08:41 2013 -0800 + + Move pdclib build results to pdclib-root + + This makes pdclib easier to manage as a submodule + + Signed-off-by: Keith Packard + +commit c1bfe09b6d3eb28d0c7cfe07a248843cf81bcd25 +Author: Keith Packard +Date: Wed Dec 18 13:36:04 2013 -0800 + + altosui: Remove some debug printfs + + Signed-off-by: Keith Packard + +commit 58ceb9c845d51547244538fe6beec27e9a232af8 +Author: Keith Packard +Date: Wed Dec 18 13:25:31 2013 -0800 + + altosdroid: Use altoslib standard voltages to control lights + + Signed-off-by: Keith Packard + +commit dbcf3264f950c4e1d450828c9f161b4c418bee97 +Author: Keith Packard +Date: Wed Dec 18 13:22:45 2013 -0800 + + altoslib: Define 3.8 as a good battery and 3.5 as a good igniter + + Use defined values everywhere instead of copying. Adjust battery up to + 3.8 to ensure there's enough voltage to not trip the comparators + + Signed-off-by: Keith Packard + +commit b19a648b667c298d2d9d5ed4ee9db661be058d1a +Author: Keith Packard +Date: Wed Dec 18 13:09:48 2013 -0800 + + altoslib: create eeprom download thread before telling monitor about it + + Telling the monitor too early resulted in passing a null thread + handle, which meant that 'cancel' wouldn't ever work. + + Signed-off-by: Keith Packard + +commit 216405bc49ef2fc0e9941989f054e41f2fef9cfe +Author: Keith Packard +Date: Wed Dec 18 12:40:22 2013 -0800 + + altoslib: Don't close telemetry reader at startup unless something fails + + Was always closing the file, which led to very little telemetry being received. + + Signed-off-by: Keith Packard + +commit f2e589c59ed0a4c586c5accca8772df15010c46a +Author: Keith Packard +Date: Wed Dec 18 12:16:55 2013 -0800 + + libaltos: Import newly build libaltos.dylib + +commit 0484ca97828da0d56be7bf395fa4a4b09c591e02 +Author: Keith Packard +Date: Wed Dec 18 12:15:54 2013 -0800 + + libaltos: remove usb id filtering from darwin code + + Signed-off-by: Keith Packard + +commit 36197a388a9ba1d1ee4acd96ac0079ad3af9d3d0 +Author: Keith Packard +Date: Wed Dec 18 12:15:22 2013 -0800 + + libaltos: fix test harness main type + + Signed-off-by: Keith Packard + +commit 119dd56512404e0c39dd5001ba4da9373515c02c +Author: Keith Packard +Date: Wed Dec 18 11:25:05 2013 -0800 + + altosui: Add docs to Mac OS X dmg distribution + + Signed-off-by: Keith Packard + +commit 6df58bb0115a8da13d35ab38861f6231bea7f2a7 +Merge: 4383baf 02195f2 +Author: Bdale Garbee +Date: Wed Dec 18 12:19:31 2013 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 4383bafc6ccdde10f06882ba3e96126c61d5e988 +Author: Bdale Garbee +Date: Wed Dec 18 12:18:30 2013 -0700 + + a fresher changelog entry for test builds + +commit 7db8e8190bc8b9a17a7b5107954e2362a0e9c7a2 +Author: Bdale Garbee +Date: Wed Dec 18 11:08:55 2013 -0700 + + need to include the Cortex toolchain + +commit 02195f2970fb7243fd9a9992abb6ada6709db4e1 +Author: Keith Packard +Date: Wed Dec 18 11:14:40 2013 -0800 + + fix git: path for pdclib + + Signed-off-by: Keith Packard + +commit fbca372edd5609bc253b622b55b7faffd19ae6cd +Author: Keith Packard +Date: Wed Dec 18 11:12:44 2013 -0800 + + Use git: path for pdclib + + Signed-off-by: Keith Packard + +commit e2635d07d0f0a91dd7d59f2c94765a40907d2732 +Author: Keith Packard +Date: Wed Dec 18 11:08:11 2013 -0800 + + Ignore .dll files in libaltos + + Signed-off-by: Keith Packard + +commit 8fdbdebdbb4d1579fd2af47430807d0d2a78105b +Author: Keith Packard +Date: Wed Dec 18 11:07:55 2013 -0800 + + ao-tools: complain if st-flash is not available + + Signed-off-by: Keith Packard + +commit 8f529633cd4be8a0edb1b067bbf5d7cc055dcc1b +Author: Keith Packard +Date: Wed Dec 18 10:55:06 2013 -0800 + + altos: get stm-bringup building again + + Signed-off-by: Keith Packard + +commit 262ee65885d55902df96f4aec6a114f5ac6f2c61 +Author: Keith Packard +Date: Wed Dec 18 10:53:09 2013 -0800 + + Remove stale stm test apps from regular build + +commit 90386115204bd3bfa55deb5ebe1972bacdba725a +Author: Keith Packard +Date: Wed Dec 18 10:50:45 2013 -0800 + + altos/stm: Update pdclib paths for flash-loader builds + + Signed-off-by: Keith Packard + +commit eb659fb0ee80c25312be36b3d8adb686813db125 +Author: Keith Packard +Date: Wed Dec 18 10:43:16 2013 -0800 + + altos: create target pdclib directories before building + +commit 9c200c3bc742b4dd1a7e28bfce9d5b27e833aae5 +Author: Keith Packard +Date: Wed Dec 18 10:01:29 2013 -0800 + + altos: Build pdclib locally if necessary + + Signed-off-by: Keith Packard + +commit fbde0c3e4bdb419d6bd4dbcc96b0e01c59e9fa13 +Author: Keith Packard +Date: Wed Dec 18 09:59:33 2013 -0800 + + include pdclib in wrong place + +commit 77b04d662a6704f5db10522a2f9b169d31df5bea +Author: Keith Packard +Date: Wed Dec 18 02:03:15 2013 -0800 + + altosui: Hide non-applicable altimeter config values + + This makes configuring EasyMini a lot easier... + + Signed-off-by: Keith Packard + +commit 012abeda6ae846d74729e96e7ed7c8af2edca572 +Author: Keith Packard +Date: Wed Dec 18 02:02:12 2013 -0800 + + altos/lpc: Be a bit more resistant to toolchain section name changes + + Just add some wild cards on the ends of each section name in case the + toolchain changes names in the future. + + Signed-off-by: Keith Packard + +commit e26306c9350ef1d107d4257ef1c09d15165c9154 +Author: Keith Packard +Date: Wed Dec 18 01:14:11 2013 -0800 + + altoslib: Pass InterruptedException up the stack instead of hiding it + + When interrupting a thread that is talking to a serial device, it's + important not to have that thread discard the InterruptedException so + that it will actually terminate. This patch removes a bunch of places + that were discarding InterruptedExceptions and lets higher level code + see them so that they can exit cleanly. + + Signed-off-by: Keith Packard + +commit 18852efa108ba6e6e69dfd5076d4f4c01f62b4ef +Author: Keith Packard +Date: Wed Dec 18 01:12:11 2013 -0800 + + altos: Make TeleMega v0.1 work more like TeleMega v1.0 + + I've still got one working v0.1 board which is useful for testing + stuff, so make it work more like the released TeleMega: + + * Use E for drogue, F for main + * Use on-chip eeprom for config + * Fix ADC report printf to match + + Signed-off-by: Keith Packard + +commit 1f035ac2df1cfa6964ae904aba0aedde279ca921 +Author: Keith Packard +Date: Tue Dec 17 23:50:54 2013 -0800 + + altos: Use all 16 bits of setup packet len when limiting reply len + + We were only using the low 8 bits of the setup packet reply max len, + which meant that if the other side sent a weird max len (as Windows 7 + does), then we'd truncate our setup reply to whatever was in the low 8 + bits of that value. + + Signed-off-by: Keith Packard + +commit 1280ba2e51b36f417f3adb6d101405ee75e7e509 +Author: Keith Packard +Date: Tue Dec 17 22:53:45 2013 -0800 + + altosui: Add EasyMini bits to fat distribution images. Update telemetrum.inf + + Signed-off-by: Keith Packard + +commit 212a1b66ae04317b7b42ba57573b910fde09ca6c +Author: Keith Packard +Date: Tue Dec 17 20:24:19 2013 -0800 + + doc: Publish images with HTML bits + + Otherwise the html won't render right. + + Signed-off-by: Keith Packard + +commit 2ecb6a8276b2ce40d2a4da586dbc17581cfda26d +Author: Keith Packard +Date: Tue Dec 17 20:23:00 2013 -0800 + + altos: Broke TeleMetrum GPS reporting by holding the GPS mutex too much + + We can't hold the GPS mutex while waiting for the GPS receiver to load + data as it protects the GPS data with the GPS mutex. + + Signed-off-by: Keith Packard + +commit e44ce127ece149e7b07be49142bc0f9d50bbe97d +Author: Keith Packard +Date: Tue Dec 17 20:05:12 2013 -0800 + + doc: Add screen shots everywhere + + This has screen shots of every dialog in altosui + + Signed-off-by: Keith Packard + +commit e4b223df372348718b74d2ecad4957f3e30f8d79 +Author: Keith Packard +Date: Tue Dec 17 17:37:39 2013 -0800 + + Add altosui image and attempt to add launch photo to title + +commit 1d093383fe58fc8c8c11e1c7cd1cd929ae1bd9e4 +Author: Bdale Garbee +Date: Tue Dec 17 14:53:59 2013 -0700 + + further documentation tweaks + +commit 90c88bab305c43eb62f964fd3ff350b8b0b5320d +Merge: d5d6d10 dffbdd9 +Author: Bdale Garbee +Date: Tue Dec 17 14:09:30 2013 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + + Conflicts: + doc/altusmetrum.xsl + +commit d5d6d10ceb724081c7cf89a3885d7e6c3da14604 +Author: Bdale Garbee +Date: Tue Dec 17 14:08:12 2013 -0700 + + capture my changes so far + +commit dffbdd93d7a86a12d83a412de37dfd2a5f063995 +Author: Keith Packard +Date: Tue Dec 17 11:38:46 2013 -0800 + + doc: Add product pictures to manual + + Signed-off-by: Keith Packard + +commit 9d8da4ef325171960e16fc027c6039cb63eae942 +Author: Keith Packard +Date: Tue Dec 17 11:19:54 2013 -0800 + + Keep tables together on a page + +commit 7acd0cf17c5ca7a00893f35c7fe9c657389070e0 +Author: Keith Packard +Date: Tue Dec 17 10:33:29 2013 -0800 + + doc: Convert several more itemizedlists to variablelists + + When defining a term, use variablelist to pull the term out to the left. + + Signed-off-by: Keith Packard + +commit 8bb6dd75a602792936d623713fb009fea25ef491 +Author: Keith Packard +Date: Mon Dec 16 21:21:24 2013 -0800 + + Clean up reflashing section, include section on self-flash recovery + + Signed-off-by: Keith Packard + +commit 1562affc4951e147eba20380ea5be2e9f7152789 +Author: Keith Packard +Date: Sat Dec 14 11:47:31 2013 -0800 + + ao-tools: Use st-flash for STM flashing instead of openocd + + st-flash, from the stlink tools, appears more reliable when flashing + STM CPUs. + + Signed-off-by: Keith Packard + +commit 7d7ae63d8dfcc99a30285e0bd2411901941d1813 +Author: Bdale Garbee +Date: Sat Dec 14 12:16:03 2013 -0700 + + add serial number to ao-usbload call, pass SERIAL to cal-freq + +commit c94ca50fd9f24f271c160f6e0e95cb7340289354 +Author: Bdale Garbee +Date: Fri Dec 13 18:37:29 2013 -0700 + + temporarily force stlink location in debian/rules to allow complete build + +commit 6545a72012e94a50d185e1c4ecff3c3769d60acd +Author: Keith Packard +Date: Tue Dec 10 00:54:32 2013 -0800 + + java: Missed libaltos java compile flags from previous patch + + Signed-off-by: Keith Packard + +commit 8959c059ec67f5334e31abbe3f831dd571a0b464 +Author: Keith Packard +Date: Tue Dec 10 00:51:01 2013 -0800 + + java: Add -target 1.6 to all java compiles + + This makes sure the results can run with the old JVM + + Signed-off-by: Keith Packard + +commit a4596c134aa5e7867f1ca1d86d36afb2af9b8999 +Author: Keith Packard +Date: Tue Dec 10 00:39:52 2013 -0800 + + altos: Remove ARM .ihx files on 'make clean' + + Signed-off-by: Keith Packard + +commit 50753e84871b2a01d270d28b8b77a19614d2180c +Author: Keith Packard +Date: Tue Dec 10 00:03:20 2013 -0800 + + Set version to 1.3 in preparation for release + + Signed-off-by: Keith Packard + +commit 54f7888dc65ffc27c6ee5ef93953bd9b8fc029ed +Author: Keith Packard +Date: Tue Dec 10 00:00:31 2013 -0800 + + doc: More altusmetrum.xsl updates for 1.3 + + Spell checking even + + Signed-off-by: Keith Packard + +commit a140b3ad689bcebdcf87caab1e64048f693a9b85 +Author: Keith Packard +Date: Mon Dec 9 23:16:13 2013 -0800 + + debian: .ihx and .map files are left in subdirs now + + Install them from the right place + + Signed-off-by: Keith Packard + +commit 95c1a5a61267233cf2c16175aeb73bfb7d12ba8f +Author: Keith Packard +Date: Mon Dec 9 23:14:55 2013 -0800 + + altosui: Ship TeleMega-v1.0 firmware + + Signed-off-by: Keith Packard + +commit b023c87e2b86ba57cbf97be1ab76b532e0a00fad +Author: Keith Packard +Date: Mon Dec 9 23:12:40 2013 -0800 + + ao-bringup: Add turnon_telemega script + + And a few helper programs + + Signed-off-by: Keith Packard + +commit ecb0465be76e9299511aeec663d267967834f6c3 +Author: Keith Packard +Date: Mon Dec 9 16:06:22 2013 -0800 + + altos: Rename telemega-v0.3 to telemega-v1.0 + + Signed-off-by: Keith Packard + +commit dd91a5d5069ff940e07b8817a934ee65d4e8e235 +Author: Keith Packard +Date: Sun Dec 8 21:08:36 2013 -0800 + + altos: Oops. Was only filling out part of the TeleMetrum ADC record + + Because it's missing a return, we'd end up filling out one element of + the ADC record per interrupt, and rotating through which one was set, + hitting all of the even offsets within the struct. Yikes! + + Signed-off-by: Keith Packard + +commit c1711890c002fe359bd6c3fdf4092b35d464c6d9 +Author: Keith Packard +Date: Sun Dec 8 21:07:17 2013 -0800 + + altosui: When flashing to TeleDongle or TeleBT, match any .ihx file + + Let the user pick any .ihx file when using a device which can only be + used as a pair programmer. Note that 'telemetrum' can be either, and + we'll assume that it's a self-programmed device (v2) for now. + + Signed-off-by: Keith Packard + +commit 710343a23c7e6e9c079eafdf3aeea8a40cc2ce61 +Author: Keith Packard +Date: Sun Dec 8 20:34:11 2013 -0800 + + altosui: Match directories in hex file matcher + + This makes it possible to navigate around the file system + + Signed-off-by: Keith Packard + +commit fd92bb8ff3be257925bf6e969d93a7f9dd941fb8 +Author: Keith Packard +Date: Sun Dec 8 20:33:22 2013 -0800 + + altoslib: Don't require radio_cal or usb_descriptors in AltosRomconfig + + Not all products will have these values, so allow them to be missing + + Signed-off-by: Keith Packard + +commit 68adbf5bf08ed8af2f34c0d95d9c3d457574372d +Author: Keith Packard +Date: Sun Dec 8 20:11:46 2013 -0800 + + Add new tools to .gitignore + + Signed-off-by: Keith Packard + +commit 2cdb90d9214f8e66b3574cbd9c5ed073a7861681 +Author: Keith Packard +Date: Sun Dec 8 20:09:10 2013 -0800 + + altoslib: Add self-flashing code + + This adds the ability to use the AltOS flash-loader on both STM and + NXP processors. + + Signed-off-by: Keith Packard + +commit 70d0841b4017e7580c893c7033c04fb2964adab6 +Author: Keith Packard +Date: Sun Dec 8 20:07:23 2013 -0800 + + altoslib: Add AltosNoSymbol exception + + Signed-off-by: Keith Packard + +commit 4e1b134e29313a1bdac18de57fe547299e5ded2a +Author: Keith Packard +Date: Sun Dec 8 20:04:43 2013 -0800 + + altoslib: Use symbols in AltosRomconfig instead of fixed offsets + + The new Hexfile symbol code automatically adds the needed romconfig + symbols for cc1111 products, and ARM-based products have symbols in + the .ihx files. This means that we can rely on using symbols when + finding config values in memory. + + Signed-off-by: Keith Packard + +commit 1183417145de549b9281f9e210d216facf3a94ef +Author: Keith Packard +Date: Sun Dec 8 19:59:37 2013 -0800 + + altosuilib: Don't match product_altusmetrum for product_basestation or product_altimeter + + It's been years since we've shipped boards configured with + product_altusmetrum, but now we've repurposed that code for the flash + loader. When matching an explicit product, go ahead and also match + altusmetrum so that the flash loader will fit, but when matching + basestation or altimeter, don't as that will avoid popping up the + flight monitor UI at startup when a board is running the boot loader. + + Signed-off-by: Keith Packard + +commit e0af4569446b12c026aa0ffd52c55839d69af0e1 +Author: Keith Packard +Date: Sun Dec 8 19:48:27 2013 -0800 + + altoslib: Publish mapping from product name back to USB id + + This lets us choose which device to flash based on the filename + + Signed-off-by: Keith Packard + +commit 88fa5fa6acbdd66d1338ca73cbbac219d62b5136 +Author: Keith Packard +Date: Sun Dec 8 19:47:44 2013 -0800 + + altoslib: Create AltosProgrammer class + + This provides an abstract interface to flashing boards, for + dongle-based and self-programming boards. + + Signed-off-by: Keith Packard + +commit 7b0c1fbccb4ef1ae2ed356292cc8762360532b7f +Author: Keith Packard +Date: Sun Dec 8 19:46:30 2013 -0800 + + altoslib: Add symbols to .ihx files + + Create a new 0xfe record type to hold the symbols, and append them + after the EOF record so that other tools might continue to work. + + Signed-off-by: Keith Packard + +commit b1ffdaf1f5e9b6e8ff0d4e08d8c504f8dfacd3a4 +Author: Keith Packard +Date: Sun Dec 8 19:43:13 2013 -0800 + + altoslib: Support binary reading/writing in AltosLink + + Binary reads require an explicit length, and do not work while + telemetry is running. + + Signed-off-by: Keith Packard + +commit 2cb7a96567e1302a699f78290fab5e29693940ab +Author: Keith Packard +Date: Sun Dec 8 19:05:01 2013 -0800 + + altos/stm: arm-none-eabi-binutils now puts 'main' into .text.startup + + Change name of .text.ram to .ramtext, then load .text* into flash and + .ramtext into ram. This ensures that 'main' and anything else in a + random .text.* segment will get loaded into flash as appropriate. + + Signed-off-by: Keith Packard + +commit 3e22a0dce4248cce862147c985078de44c427b12 +Author: Keith Packard +Date: Sun Dec 8 19:04:11 2013 -0800 + + ao-tools: build ao-usbload by default + + Signed-off-by: Keith Packard + +commit b1f3525afa801038f7087a3a2caf369f2460a5db +Author: Keith Packard +Date: Sun Dec 8 11:41:09 2013 -0800 + + altoslib: AltosEepromMonitor had false import of altosuilib + + Not needed, and breaks the build + + Signed-off-by: Keith Packard + +commit eded084c6caa1f9423d690c8b45c8042f8355987 +Author: Keith Packard +Date: Sun Dec 8 11:17:28 2013 -0800 + + altos: remove all versions of stm-demo executable + + Signed-off-by: Keith Packard + +commit bb72b4018dd6a422afe1916d9538bb9ff1e45353 +Author: Keith Packard +Date: Sun Dec 8 11:15:37 2013 -0800 + + altos: Change flash loader name to just AltosFlash + + Remove the software version string from the product name + + Signed-off-by: Keith Packard + +commit 52b19511222980138faddb2047707baceff0a596 +Author: Keith Packard +Date: Sun Dec 8 11:14:29 2013 -0800 + + altos: Build .ihx files for all arm projects + + The .ihx version can be processed by the java loader + + Signed-off-by: Keith Packard + +commit a1e4750a7d4af72e8e9086735885f48c9b56c18e +Author: Keith Packard +Date: Sun Dec 8 11:11:41 2013 -0800 + + altos: Allow products to override default 100mA USB current + + This will allow products to specify their own current limit. + + Signed-off-by: Keith Packard + +commit 25aaf6122cbddcbc6a80460dac8ccb9f45743ae0 +Author: Keith Packard +Date: Sun Dec 8 11:10:00 2013 -0800 + + ao-tools: Clean up ao-stmload and ao-usbload options. Add --raw + + ao-stmload only uses stlink, ao-usbload only uses self-flashing, so + clear up the options in the two programs. The new --raw option skips + the serial and radio cal rewriting when flashing the boot loader. + + Signed-off-by: Keith Packard + +commit ebb36d56c732ffe9cdb8d2ea53d00e1d4ece8f97 +Author: Keith Packard +Date: Sun Dec 8 11:07:46 2013 -0800 + + ao-tools: Allow building without stlink and readline + + This adds --without-stlink and --without-readline options to configure + to disable these features, and adjusts the build process and code to + handle that. + + Signed-off-by: Keith Packard + +commit 5fd0dc6f69e7614ba71bbc215b32260a11595af3 +Author: Keith Packard +Date: Sat Dec 7 23:27:30 2013 -0800 + + ao-tools: Add ao-flash-stm and ao-flash-lpc scripts + + These use openocd to download boot loaders to the arm-based products + + Signed-off-by: Keith Packard + +commit eee9b3ce1e5adae5aa4566050b6d6048344e92c4 +Author: Keith Packard +Date: Sat Dec 7 09:54:17 2013 -0800 + + altosuilib: Deal with AltosUnits API change + + The abstract methods in AltosUnits now pass the 'imperial_units' flag + explicitly, so deal with that in AltosUnits itself + + Signed-off-by: Keith Packard + +commit 407696f11ac1736e840c9b702592c46197d14c2c +Author: Keith Packard +Date: Sat Dec 7 09:53:10 2013 -0800 + + altosui: Clean up serial close handling + + Unify serial close processing in a single function (close_serial), + make everyone else call that. This avoids a couple of cases where the + device would be closed and not removed from the devices_opened list, + leading to 'device is already in use' messages. + + Signed-off-by: Keith Packard + +commit 1a47532f411488f003726aa9365ede5dc90c5b78 +Author: Keith Packard +Date: Sat Dec 7 09:51:58 2013 -0800 + + altosui: Don't try to report bearing/elevation without GPS + + If the distance from the pad cannot be computed (due to lacking GPS), + then don't try to report it. + + Signed-off-by: Keith Packard + +commit 44249a9262a16ed103aedf30a300003fc2a17579 +Author: Keith Packard +Date: Sat Dec 7 09:49:00 2013 -0800 + + altos: Nothing in altos uses AES decryption, so don't compile it + + Saves a bit of space where AES is used, and avoids some compiler warnings. + + Signed-off-by: Keith Packard + +commit cdb32b1717db4e8cb8cf94d810e74ce2b569566b +Author: Keith Packard +Date: Sat Dec 7 09:47:45 2013 -0800 + + altos/test: Compute and plot tilt based on GPS track + + This lets us compare the gyro-computed tilt angle against the actual + flight path. + + Signed-off-by: Keith Packard + +commit 6fbf4829569d5edb476654f4e383b834af527dc6 +Author: Keith Packard +Date: Sat Dec 7 09:40:53 2013 -0800 + + altos: Telemega uses eeprom, include it in main file + + ao_telemega.c didn't include ao_eeprom.h leaving a function undefined + + Signed-off-by: Keith Packard + +commit 2a9b0cdff5db03dc11b6ef69cf5436c834c3acc4 +Author: Keith Packard +Date: Sat Dec 7 09:39:41 2013 -0800 + + altos: Add lots more GPS data to mega log + + There's plenty of space in the GPS log packets to hold course, speed, + climb and DOP values, so just stick them in. + + Signed-off-by: Keith Packard + +commit de2e812b02a99a2f6d85f15a9600265931f6f6b0 +Author: Keith Packard +Date: Sat Dec 7 09:38:50 2013 -0800 + + src/cc1111: Turn off RC osc after xtal is running + + There's no reason to keep running the RC oscillator after we switch to + the crystal, so turn it off. + + Signed-off-by: Keith Packard + +commit 473ae38ade0552c5ff3ca088b21345ed5dfad5d0 +Author: Keith Packard +Date: Thu Nov 28 15:21:26 2013 -0800 + + doc: First pass for 1.3 finished; docs have most major sections updated. + + Final edits and corrections still required. + + Signed-off-by: Keith Packard + +commit 6d9b93bfd637eb690159fc5efda0390eb602c6a7 +Author: Keith Packard +Date: Thu Nov 28 10:44:07 2013 -0800 + + ao-tools: Split out USB loader to ao-usbload + + Leave ao-stmload using just stlinkv2 + + Signed-off-by: Keith Packard + +commit f27dff090c8f3a63bd932715643980703160bde6 +Author: Keith Packard +Date: Thu Nov 28 10:31:32 2013 -0800 + + ao-tools: Split out altos symbol editing from ao-stmload + + to be shared with ao-usbload + + Signed-off-by: Keith Packard + +commit 5ef287723f8d8bfbfb3582d22bfb5c2a3129414a +Author: Keith Packard +Date: Thu Nov 28 09:52:38 2013 -0800 + + ao-tools: Missing ao-selfload.h + +commit e6c9ca218d944443c86555e513534d82713af936 +Author: Keith Packard +Date: Thu Nov 28 09:52:01 2013 -0800 + + ao-tools: move 16/32-bit readers from ao-stmload to lib + +commit d93a65a90f19e4816231e03b1f399af6e3742aee +Author: Keith Packard +Date: Thu Nov 28 09:46:13 2013 -0800 + + ao-tools: Move ao-selfload into library + + This needs to be shared between ao-stmload and ao-usbload + + Signed-off-by: Keith Packard + +commit 14204e3d147ad99cc249ad8de254809180fe5c38 +Author: Keith Packard +Date: Thu Nov 28 09:31:02 2013 -0800 + + ao-tools: Add ao-elftohex and .ihx symbol support + + ao-elftohex converts an elf file into a hex file so that we can load + it with java. + + Signed-off-by: Keith Packard + +commit ee07f1a0f8e431bebb3b948f6249f5f33413e966 +Author: Keith Packard +Date: Thu Nov 28 09:29:52 2013 -0800 + + ao-tools: Add debug printf support + +commit 95a8180f3d7929dbad65c80421f99c925f245af0 +Author: Keith Packard +Date: Wed Nov 27 13:59:06 2013 -0800 + + ao-tools: Create general elf and hex library routines + + Pulls the elf stuff out of ao-stmload, change the hex stuff into ao_ + routines. + + Signed-off-by: Keith Packard + +commit 73b1a7e644e255558378ab66de6426a7dfd8a7dc +Author: Keith Packard +Date: Mon Nov 25 01:15:36 2013 -0800 + + doc: Work on AltosUI Pyro config docs a bit more. + + Signed-off-by: Keith Packard + +commit 82b42935d047d2f7c2f7a63a3efb72a3f1d5594e +Author: Keith Packard +Date: Mon Nov 25 00:02:06 2013 -0800 + + altosui: Handle units in pyro config. + + This lets you edit the pyro configuration using imperial units if + desired. + + Signed-off-by: Keith Packard + +commit 8da565bbafa2925aa889cf9249497a709a814b7f +Author: Keith Packard +Date: Mon Nov 25 00:01:20 2013 -0800 + + doc: Add telemetry enable and APRS interval config docs + + Also starts working on the pyro channel config window docs + + Signed-off-by: Keith Packard + +commit f743934ebd1a7c7c8b6db0223f0309e590aa15cd +Author: Keith Packard +Date: Sun Nov 24 21:55:20 2013 -0800 + + doc: use correct quotes in altusmetrum.xsl + + Signed-off-by: Keith Packard + +commit 6f4abc14065aebceaac9313e4dcd4300e19999cf +Author: Keith Packard +Date: Sun Nov 24 21:50:27 2013 -0800 + + doc: "rocketry electronics" instead of listing products + +commit 31a1c701bfaea97225e12ea0688b934790e3737e +Author: Keith Packard +Date: Sun Nov 24 21:28:26 2013 -0800 + + Use more 1/4 single characters + +commit 96f33e780958adaaa4a9cc127caecaeb3f4c978c +Author: Keith Packard +Date: Sun Nov 24 21:25:06 2013 -0800 + + Remove duplicate log description. Describe pyro config. + + Signed-off-by: Keith Packard + +commit 3eaaefe6d746a2f53995a2470c5024f37c87c393 +Author: Keith Packard +Date: Sun Nov 24 20:05:52 2013 -0800 + + Extend the hardware overview chapter. Edit System Operations + + Extend the overview chapter to include tables describing the + electronic and physical board characteristics of each board. + + Finish most of the System Operation stuff, still need to add pyro + channel configuration + + Signed-off-by: Keith Packard + +commit ceed62fd97972b35f4cf6560625135723cb8610f +Author: Keith Packard +Date: Mon Nov 18 13:48:18 2013 -0800 + + debian: Build now depends on 'xmlto' for docs + + This wraps xsltproc, fop and xmllint for formatting pdf files + + Signed-off-by: Keith Packard + +commit 92753d4b8d6b17ebc7a9b65680abd46648726393 +Author: Keith Packard +Date: Mon Nov 18 12:43:33 2013 -0800 + + doc: Use system fo docbool.xsl instead of network one + + Instead of reading the master stylesheet from the network, just use + the one installed on the system. + + Signed-off-by: Keith Packard + +commit 89fc38f2cf143bed1fe8c4a4972267b15c9aa467 +Author: Keith Packard +Date: Mon Nov 18 12:42:38 2013 -0800 + + doc: Make pdf files depend on local stylesheet + + Now that we're using our own, rebuild the docs when it changes + + Signed-off-by: Keith Packard + +commit f9bbca59a9034cf7e6df4577e627d7447f3a9d51 +Author: Keith Packard +Date: Mon Nov 18 12:42:20 2013 -0800 + + doc: Make micropeak.xsl validate + + Signed-off-by: Keith Packard + +commit 0a3e27e3a392be4cfe03d200068a7e69bb2f3fdb +Author: Keith Packard +Date: Mon Nov 18 12:38:52 2013 -0800 + + Make companion.xsl validate + + Signed-off-by: Keith Packard + +commit d212d782bff977d609a9da1b805de4a2615fb474 +Author: Keith Packard +Date: Mon Nov 18 12:37:23 2013 -0800 + + doc: Make telemetry.xsl validate + + Signed-off-by: Keith Packard + +commit 87fbe12bdaf10c9ba7ba43608b1e980cdc09d496 +Author: Keith Packard +Date: Mon Nov 18 12:29:42 2013 -0800 + + doc: Make altos.xsl validate + + Signed-off-by: Keith Packard + +commit 963a61986ea4b48fdca0989479e9c50acb0f1a9d +Author: Keith Packard +Date: Mon Nov 18 12:12:54 2013 -0800 + + doc: Switch to xorg style to generate index + + This style sheet generates a nice PDF index + + Signed-off-by: Keith Packard + +commit 9953a5f0440b269dac5c675f120e6a31dde8ec69 +Author: Keith Packard +Date: Mon Nov 18 12:06:31 2013 -0800 + + doc: Get altusmetrum.xsl to validate + + Mostly involved getting the listitem contents into para elements. + + Signed-off-by: Keith Packard + +commit 152d978dc4be49b6b764e5e1966bd860c46054ea +Author: Keith Packard +Date: Mon Nov 18 12:05:10 2013 -0800 + + doc: Start work on 1.3 doc updates + + Add 1.3 release notes. + + Signed-off-by: Keith Packard + +commit 71705532374f222e51c66e2f1214dd01b3efc8bd +Author: Keith Packard +Date: Tue Nov 12 15:02:50 2013 +0900 + + Bump to version 1.2.9.4 + +commit 12481415c2e5fb03b003343c9499df711eb14f91 +Author: Keith Packard +Date: Tue Nov 12 16:26:02 2013 +0900 + + altos: include ao_eeprom.h in ao_telemetrum.c to define ao_eeprom_init + + Signed-off-by: Keith Packard + +commit bf893a4149b05b97f18f9f487af805adef859d74 +Author: Keith Packard +Date: Tue Nov 12 16:22:49 2013 +0900 + + altos: Make sure flight erase log comes after config blog + + Oops. When converting from ao_storage to ao_config, I accidentally had + the flight erase log overwriting the config block. + + Signed-off-by: Keith Packard + +commit 92eafd01f2809f39c5bc4058977c790d94a99df1 +Author: Keith Packard +Date: Tue Nov 12 16:08:50 2013 +0900 + + altos: Move telemega to using internal eeprom for config + + And crank up the default per-flight storage to 1MB + + Signed-off-by: Keith Packard + +commit 9c53ad6f8222878a26efecebd3bb1d1fe054a4b6 +Author: Keith Packard +Date: Tue Nov 12 16:06:59 2013 +0900 + + altos: Move TeleMetrum v2.0 to using internal eeprom for config + + This leaves the whole 8MB of flash for flight storage + + Signed-off-by: Keith Packard + +commit 83437b2fe304599e22d0a98b5410808bcb67dc97 +Author: Keith Packard +Date: Tue Nov 12 15:45:32 2013 +0900 + + altos: Allow use of internal EEPROM for config storage + + This stops exposing eeprom as 'storage' and instead exposes it with a + separate eeprom API so that it can be used for config storage without + also using it for flight log storage. + + The config code has been changed to allow it to either use storage for + configuration data or eeprom. + + Signed-off-by: Keith Packard + +commit b57f1cabfe5052306cb4c28793bea477f4aeb2d2 +Author: Keith Packard +Date: Tue Nov 12 15:18:58 2013 +0900 + + altos: Don't hold GPS mutex while waiting in TM v2.0 report + + Holding the GPS mutex while waiting for the GPS code to dump data into + the GPS variables is rather counter-productive. + + Signed-off-by: Keith Packard + +commit 0951b1ef83d8d741d65811fa23bde43ee843a939 +Author: Keith Packard +Date: Tue Nov 12 15:18:53 2013 +0900 + + altos: Build TM v2.0 firmware by default + + Signed-off-by: Keith Packard + +commit 3c40272713d93e79bb0989eefe191cd2bfe56a44 +Author: Keith Packard +Date: Tue Nov 12 15:01:13 2013 +0900 + + ignore "compile" script + +commit 28327883d377896caddbad0f9efded56a227edd1 +Author: Keith Packard +Date: Tue Nov 12 14:59:40 2013 +0900 + + Add TeleMini v2.0 turnon script + +commit cffbc025532487bbd9b467476be05d0997b5133e +Author: Keith Packard +Date: Tue Nov 12 14:56:47 2013 +0900 + + ao-tools: add ao-mega man page, ignore executable + +commit 40d3575a9365d77ca507ebee226d51d081e1ecc6 +Author: Keith Packard +Date: Tue Nov 12 14:54:57 2013 +0900 + + altos: Clean up .gitignore and add a few random files + + Signed-off-by: Keith Packard + +commit 9d2eb0b00a5a0faefce95bce949be7206b0aad37 +Author: Keith Packard +Date: Tue Nov 12 14:48:21 2013 +0900 + + Add ublox checksum generating program + +commit d5367f20fa1ae71496fde071953c2cda89654071 +Author: Keith Packard +Date: Tue Nov 12 14:45:51 2013 +0900 + + Ignore mac .dmg files + +commit 0093d5b368669e0c324f8d9dfcd2f004de85ee5c +Author: Keith Packard +Date: Tue Nov 12 14:37:57 2013 +0900 + + altosui, altoslib: Move eeprom download code to altoslib + + This should make adding eeprom downloading to altosdroid easier + + Signed-off-by: Keith Packard + +commit 45db3076b257adcf2c9f69ed0927f09d94af7a50 +Author: Keith Packard +Date: Tue Nov 12 14:28:30 2013 +0900 + + altosui: Make AltosEepromDownload not swing-dependent + + Will move to altoslib + + Signed-off-by: Keith Packard + +commit 6aa99c160f0695eb25ccc0598e4c36224c89dab4 +Author: Keith Packard +Date: Tue Nov 12 14:06:20 2013 +0900 + + altoslib: Start moving eeprom download logic to altoslib + + Signed-off-by: Keith Packard + +commit 74d73a2cd0b6a228eb396552e1d16685669349c0 +Author: Keith Packard +Date: Tue Nov 12 14:03:42 2013 +0900 + + altoslib: Raise ParseException on invalid eeprom format + + Make sure the user knows when data are not downloaded successfully + because the UI doesn't understand the eeprom format. + + Signed-off-by: Keith Packard + +commit bdd6244d8b4a55c9aa4fb79b0cb1a0727afbc2ac +Author: Keith Packard +Date: Tue Nov 12 14:01:55 2013 +0900 + + altos: Add orientation tracking to ao_flight_test + + Shows calculated offset from vertical in ao_flight_test output + + Signed-off-by: Keith Packard + +commit 29b48b63305881471d9b97ef3fb236af03cb79f5 +Author: Keith Packard +Date: Mon Oct 28 00:36:13 2013 -0700 + + altos: Don't hold GPS mutex while waiting for GPS data in report code + + Oops. This kinda breaks anyone else waiting for GPS data + + Signed-off-by: Keith Packard + +commit d3628bd2dd3612065792aef6c7ae5bc967b4f081 +Author: Keith Packard +Date: Mon Oct 28 00:24:59 2013 -0700 + + altos: sample profile address range was too narrow + + The range was cranked down at some point to diagnose issues within the + task scheduler. Unfortunately, that change got merged, which meant + that general profiling lost information outside of the lower 4kB of code. + + Signed-off-by: Keith Packard + +commit 7c1c6728bce4237ca3a8f6fde01356697a465dfd +Author: Keith Packard +Date: Sun Oct 27 23:47:27 2013 -0700 + + altos: Make telemega v0.3 compile with new quaternion code + + Adds lots more math code + + Signed-off-by: Keith Packard + +commit e838bd2847e5684ce93b6f7cbe736ebed681c3c6 +Author: Keith Packard +Date: Sun Oct 27 23:46:54 2013 -0700 + + altos: Make telemega v0.1 compile with new quaternion code + + Adds the necessary math code + + Signed-off-by: Keith Packard + +commit 9b0ce8ca65d76b9cf55dfff002e13ce2fbb5f7fc +Author: Keith Packard +Date: Sun Oct 27 23:45:48 2013 -0700 + + altos: Add orientation test when HAS_FLIGHT_DEBUG is set + + This just dumps the current orientation to stdout so you can monitor + it in real time + + Signed-off-by: Keith Packard + +commit 5d9e715d570b24ac124c30772b11923bd26ed670 +Author: Keith Packard +Date: Sun Oct 27 23:44:47 2013 -0700 + + altos: Update quaternion tests to check vectors_to_rotation + + Signed-off-by: Keith Packard + +commit 195fd70cdc7f519cd8d4ac323088ed0b6c188280 +Author: Keith Packard +Date: Sun Oct 27 23:42:58 2013 -0700 + + altos: Change ao_mpu6000_gyro arg to float + + This lets callers pass more precision than just the original sensor value + + Signed-off-by: Keith Packard + +commit 3d3fe7e9b6502432868f4430befac871dfea4869 +Author: Keith Packard +Date: Sun Oct 27 23:42:26 2013 -0700 + + altos: Fixup for 32-bit gyro averages + + Signed-off-by: Keith Packard + +commit 4bebade9e9004bad81df1a423687f3e3f356f1c2 +Author: Keith Packard +Date: Sun Oct 27 23:37:55 2013 -0700 + + altos: Correct incremental rotation computation + + Trying to compute the combined rotation by taking the x/y/z rotations + as a vector is a good approximation, but not accurate enough for our + application given the large angles we sometimes see. + + Instead, use a correct-but-expensive function with a pile of + transcendental function calls. The STM32L seems to be fast enough at least... + + Signed-off-by: Keith Packard + +commit 06b0c1b768a7d3eae57e66bc9aea25db49f9ea8a +Author: Keith Packard +Date: Sun Oct 27 23:35:54 2013 -0700 + + altos: Compute initial rotation from vertical + + This initializes the rotation with the angle from vertical, rather + than simply recording the off-angle vector. Doing this allows us to + accurately track the true orientation of the rocket, instead of just + the offset from the initial non-vertical orientation. + + Signed-off-by: Keith Packard + +commit cdbe8ce33e4a75e85caf07538ed7e997f462b758 +Author: Keith Packard +Date: Sun Oct 27 23:33:11 2013 -0700 + + altos: Fixup for ao_sample_orient rename + + Signed-off-by: Keith Packard + +commit d96fd33aa8a220d547512eb43c88fc8f5651e39e +Author: Keith Packard +Date: Sun Oct 27 23:28:50 2013 -0700 + + altos: Add sinf to math code + + Needed for the quaternion gyro tracking code + + Signed-off-by: Keith Packard + +commit fa7d0ba0efdde3ac9fb4df0589f9ead07b7ffff5 +Author: Keith Packard +Date: Sun Oct 27 23:26:28 2013 -0700 + + altos: Keep 9 more bits of average pad IMU gyro data + + This reduces the offset error by a bit, minimizing gyro drift. + + Signed-off-by: Keith Packard + +commit 58f08c4b3cb9049d0c9cb02cde0d8dbdc3d33920 +Author: Keith Packard +Date: Sun Oct 27 23:23:59 2013 -0700 + + altos: Rename ao_orient to ao_sample_orient + + Keeps it clear where this name comes from. + + Signed-off-by: Keith Packard + +commit c10cb9d31765e6ef0ba737bc484c5aed22a332f9 +Author: Keith Packard +Date: Sun Oct 27 23:11:37 2013 -0700 + + altos: Add functions to init quaternions from vector pairs and euler angles + + Our low sampling rate means that the "cheap" hack for + integrating quaternion rotations by using sin(x) ≃ x doesn't work, so + instead we have to compute the partial rotation the hard way. + + Signed-off-by: Keith Packard + +commit 3b25860b5b3b69642928dd9c30dec4b4b937a88c +Author: Keith Packard +Date: Sun Oct 27 23:11:09 2013 -0700 + + altos: Add some comments describing quaternion multiplication + + Signed-off-by: Keith Packard + +commit 616977d2955da13383a1869b9ccdb07338172109 +Author: Keith Packard +Date: Sun Oct 27 23:10:13 2013 -0700 + + altos: Mark arguments to quaternion functions as const + + Lets us pass constants without the compile whinging + + Signed-off-by: Keith Packard + +commit e923e11e185fd42d2a83e18b3d13bd839a72b1aa +Author: Keith Packard +Date: Sun Oct 27 22:44:49 2013 -0700 + + altos: IMU accel calibration values need to be signed + + The MPU6000 reports signed values. + + Signed-off-by: Keith Packard + +commit 351d53836e201834a2d89773a08ab7c2dab2b2f4 +Author: Keith Packard +Date: Fri Oct 25 04:34:16 2013 -0700 + + altos: Calibrate IMU accelerometers too + + Average the IMU accelerometer values pointing up and down so that we + have a zero-g offset for all three axes. This can then be used to + compute which direction the rocket is pointing while sitting on the pad. + + Signed-off-by: Keith Packard + +commit 08143a922fe27bc50a19924f46538f9476ab5fd1 +Author: Keith Packard +Date: Fri Oct 25 04:05:09 2013 -0700 + + altos: Add gyro-based orientation tracking + + This tracks the angle-from-vertical as an additional input to the pyro + channels. + + Signed-off-by: Keith Packard + +commit ba99630f33440b993c69830856d2a7741ffdef71 +Author: Keith Packard +Date: Fri Oct 25 04:03:39 2013 -0700 + + altos: Fix GPS test frameworks to handle shared ao_gps_new variable + + Signed-off-by: Keith Packard + +commit b83876718b1a535ee04ca0351ad57814454ec646 +Author: Keith Packard +Date: Fri Oct 25 04:00:49 2013 -0700 + + altos: Add floating point math functions from newlib + + These are all BSD licensed, so we can simply include them directly + + Signed-off-by: Keith Packard + +commit 039446f54ef6968a3f0b37ce32ca6bdcdbe62546 +Author: Keith Packard +Date: Mon Oct 14 22:41:43 2013 -0700 + + altos: Merge GPS logging into a single function + + Create a new global, ao_gps_new, which indicates new GPS position and + satellite data. + + Use ao_gps_new as the new sleep/wakeup address. + + Merge the separate gps position/satellite logging tasks into a single + function which waits for new data and writes out the changed values. + + Signed-off-by: Keith Packard + +commit 5c4b3658a96f1a64ccebf7bddda06b15b4ac4a6f +Author: Keith Packard +Date: Mon Oct 14 21:49:39 2013 -0700 + + altos: Use #define values for ublox packet types + + One case was using hex values instead of the #define equivalents. + + Signed-off-by: Keith Packard + +commit db4cd8b3838d27bebdeb6a085a739a36f7634a91 +Author: Keith Packard +Date: Mon Oct 14 20:42:14 2013 -0700 + + altoslib,altosui: Be more robust when graphing bogus .telem files + + Deal with files containing multiple serial number/flight number values + by preserving the boost_tick value across state resets. + + Check for invalid state when computing actual boost time for the stats + window. + + Ignore invalid speed/accel values when computing averages. + + Signed-off-by: Keith Packard + +commit 1bd9786802751391cca3b83ac3045029e00e39ee +Author: Keith Packard +Date: Sun Oct 13 22:05:20 2013 -0700 + + altos/micropeak: Increase boost detect to 30m + + This meant increasing the data buffering as well so that we could + reliably capture the flight data back to the ground, even for slow + flights. + + And, with the buffer extra large, we work backwards from the current + buffer location to find the last ground location rather than working + forwards from the first buffered location. This ensures that we don't + capture noise before boost and instead capture a nice flight curve instead. + + Signed-off-by: Keith Packard + +commit e0e98597887a970f31b33895adb77d35e06b34ff +Author: Bdale Garbee +Date: Thu Oct 10 14:35:54 2013 -0700 + + updated turn-on script for telebt 1.1 + +commit 8af5dd05fe56768f225251bbc66831494d80048e +Author: Keith Packard +Date: Thu Oct 10 10:02:03 2013 -0700 + + Another try at skipping broken avr-gcc + + Signed-off-by: Keith Packard + +commit 2296175eff9e4286eaf44451690701a46595987e +Author: Keith Packard +Date: Thu Oct 10 09:47:52 2013 -0700 + + Make sure the AVR compiler can actually link stuff + + avr-gcc was broken for a while, causing all linking to fail. Check for + that and don't try to build avr bits in that case. + + Signed-off-by: Keith Packard + +commit aa169b80039728e35b0dec3be66a8483d48a3458 +Author: Keith Packard +Date: Thu Oct 10 08:04:22 2013 -0700 + + altos: Fix stm-bringup demo build to use installed pdclib + + Signed-off-by: Keith Packard + +commit d8d3835fedf9b7c4d203f321e72c2b086ebb3b97 +Author: Keith Packard +Date: Thu Oct 10 00:00:05 2013 -0700 + + altos: Use installed pdclib + + Switch over to the installed pdclib everywhere + + Signed-off-by: Keith Packard + +commit 7f6cbfac7c1965add91ebfc28ca3eac4561b4fb6 +Author: Keith Packard +Date: Wed Oct 9 12:04:14 2013 -0700 + + Bump version to 1.2.9.3 + + Rocketober, 2013 + + Signed-off-by: Keith Packard + +commit e947bc5e1abcd054a584d69240f91123bad2178e +Author: Keith Packard +Date: Wed Oct 9 12:06:30 2013 -0700 + + doc: Add easymini outline to distribution + + Signed-off-by: Keith Packard + +commit 18cb5f0b8f0917cbd4ff80f0920e8e5b35c822a1 +Author: Keith Packard +Date: Wed Oct 9 10:14:16 2013 -0700 + + doc: Add EasyMini outline drawing + + Signed-off-by: Keith Packard + +commit c584b5fc1128c7bfd7fb921ddc3a8ec498803b53 +Author: Keith Packard +Date: Wed Oct 9 12:37:30 2013 -0700 + + altos: Messed up the ifeq syntax a bit so ARM bits weren't getting built + + $(x) is not the same as ($x) + + Signed-off-by: Keith Packard + +commit 74885d75621dad04984d8309c2618202f4d2b35e +Author: Keith Packard +Date: Tue Oct 8 10:03:50 2013 -0700 + + altosui: Binaries to package are only in per-product dirs now + + Each cc1111 project used to stick the binary in src/, but I got rid of + that when we ended up with so much stuff in src that it was a mess. + + Building the release now requires looking in the appropriate directory + for each binary to ship. + + Signed-off-by: Keith Packard + +commit 0e5d1f3ce39495e3702ecd22cb45972e13a5c986 +Author: Keith Packard +Date: Tue Oct 8 09:50:21 2013 -0700 + + altos: avr-gcc appears to find the loader scripts without help now + + At some point, avr-gcc lost its ability to find the loader scripts + necessary to link programs. That appears to be fixed now, at least on + my machine. + + Signed-off-by: Keith Packard + +commit f7cccbb7a624a2a47b21682f416a135a28319b41 +Author: Keith Packard +Date: Tue Oct 8 09:39:29 2013 -0700 + + altos: Broken test for M0 compiler in src/Makefile + + Was causing it to try to compiler M0 progs only when *no* compiler was found. + + Signed-off-by: Keith Packard + +commit 488a527267decece48e6682e0e0c7fc29cbed329 +Merge: 6a1e398 f6661cc +Author: Keith Packard +Date: Tue Oct 8 09:26:41 2013 -0700 + + Merge remote-tracking branch 'origin/master' + + Signed-off-by: Keith Packard + + Conflicts: + configure.ac + +commit 6a1e398e590121458176758858bb4210f3eb5a55 +Author: Keith Packard +Date: Tue Oct 8 09:22:03 2013 -0700 + + Add --with parameters to configure for compiler selection + + This allows the user to specify which compiler to use for each target + CPU. Also checks to make sure the arm compiler supports -m0 and -m3 + cpu type flags. The build now actually uses the specified compilers too. + + Signed-off-by: Keith Packard + +commit 16965716c02eb79b449d9d3b264814d775660134 +Author: Keith Packard +Date: Tue Oct 8 09:20:12 2013 -0700 + + altos/stm: New GAS version requires flags in APSR assignment + + Signed-off-by: Keith Packard + +commit 258d225df1f4afe1cfdc9c43208bcd75d18cdf2d +Author: Keith Packard +Date: Mon Oct 7 22:00:15 2013 -0700 + + altos: Rename easymini-v0.1 to easymini-v1.0 + + The production boards are the same as the modified v0.1 boards + + Signed-off-by: Keith Packard + +commit 8f7edcee2db30652ce0b147f282de3396c3786ad +Author: Keith Packard +Date: Mon Oct 7 21:53:53 2013 -0700 + + altos/lpc, altos/stm: ARM requires ISB after switching stack pointers + + This sticks a barrier in the CPU to prevent using the wrong stack + register past the change. + + Signed-off-by: Keith Packard + +commit 4254de22864de2ed7ae5928c6b8bfd9df1c8a3fb +Author: Keith Packard +Date: Mon Oct 7 21:51:30 2013 -0700 + + altos: Don't require an LED for ao_flight + + EasyMini has no LEDs. Deal with it. + + Signed-off-by: Keith Packard + +commit 71666409624bf544e8a55fa5ee91d2f8514a03ca +Author: Keith Packard +Date: Mon Oct 7 21:49:55 2013 -0700 + + Change differentiation filter constants and limits + + Larger limits avoids clipping legit data. Using the same filter time + for both ascent and descent makes the results look a bit cleaner. + + Signed-off-by: Keith Packard + +commit f6661cc015e1a92450dc3eede97d66005f69cc72 +Author: Bdale Garbee +Date: Mon Oct 7 21:56:46 2013 -0600 + + new toolchain for STM32L is in /usr/bin, not /opt/cortex/bin + +commit 8bd218854e968d2b9407489359be0c4a1aefd2c8 +Author: Keith Packard +Date: Thu Sep 19 00:29:25 2013 -0500 + + altos: Set TeleMini v2.0 USB ID correctly + + Uses 0x0027 + + Signed-off-by: Keith Packard + +commit 3bf7ed1761e08d0cb43b0ed330226ec38c844591 +Author: Keith Packard +Date: Thu Sep 19 00:28:55 2013 -0500 + + Add TeleMini v2.0 telemetry support + + Includes AltosLib and ao-telem + + Signed-off-by: Keith Packard + +commit be7f56b86478ef4a23a2af77338c580b9c9e5e3b +Author: Keith Packard +Date: Thu Sep 19 00:26:24 2013 -0500 + + altoslib: Prefer averaged ground pres for ground alt computation + + If ground pressure is recorded (as from an eeprom file), then prefer + that value to the average of the pre-boost ground pressures when + computing the ground altitude. + + Signed-off-by: Keith Packard + +commit 56b577e55c264c8e3152bb2b2cca02fa8836ac1e +Author: Keith Packard +Date: Sun Sep 15 14:29:46 2013 -0700 + + altos/telemetrum-v2.0: Use red LED during boot time + + If the LED is stuck on, then the board has failed to initialize, + so use red instead of green as a warning indicator. + + Signed-off-by: Keith Packard + +commit 1fa3ff9ba6d04303b3de6952675532492c85182f +Author: Keith Packard +Date: Sun Sep 15 14:29:09 2013 -0700 + + altos/telemini-v2.0: Change initialization order + + Make sure busses are running before devices are initialized + + Signed-off-by: Keith Packard + +commit 0ff5f0fbc4900ad45bb7910ffc0c5a4e4cc4b857 +Author: Keith Packard +Date: Sun Sep 15 14:21:08 2013 -0700 + + altos: Stop copying cc1111 binaries to the altos/src dir + + Just clutters up that directory. + + Signed-off-by: Keith Packard + +commit b86c69d56261da54745076b1f5a9c8e8e44787c2 +Author: Keith Packard +Date: Sun Sep 15 14:13:59 2013 -0700 + + altos: Add nanopeak-v0.1 + + The same as micropeak, just a few different pins + + Signed-off-by: Keith Packard + +commit 690094e2d7d9cfe5eb4edb478fd79e5d133c6b4b +Author: Keith Packard +Date: Sun Sep 15 14:11:50 2013 -0700 + + altos: Move micropeak sources around + + This sticks the micropeak sources in appropriate directories, rather + than in the micropeak product directory so that they can be shared + with future micropeak-style products. + + Signed-off-by: Keith Packard + +commit 2449d123690746d0d0d5d66dfc4d3a05b9f5dc0c +Author: Keith Packard +Date: Fri Sep 6 18:24:46 2013 -0700 + + altosui: Include device name in Table view + + It's part of the telemetry, so we might as well display it + + Signed-off-by: Keith Packard + +commit ae675c66594d366774d8f7f9c78f1236d3810eed +Author: Keith Packard +Date: Fri Sep 6 18:23:06 2013 -0700 + + altoslib: TeleMetrum v2 telemetry includes computes Pa/°C, not raw values + + Telemetry sends converted pressure/temp values as it doesn't include the + MS5607 calibration data. + + Signed-off-by: Keith Packard + +commit 4e22b34bde421a9df090c9196fd4347468c8176a +Author: Keith Packard +Date: Fri Sep 6 16:54:07 2013 -0700 + + altoslib: Add receiver serial to telem file names + + Makes it easy to record telemetry from multiple sites and compare them later. + + Signed-off-by: Keith Packard + +commit 0ad95614685a73856bb26a94866909e5fc025434 +Author: Keith Packard +Date: Fri Sep 6 16:52:51 2013 -0700 + + altosui: Set 'flight' value in AltosEepromMonitor window during download + + This feature was lost in the AltosState updates + + Signed-off-by: Keith Packard + +commit b66e0d4c107a0727279d03d1d0e1e40a9eaaa3bc +Author: Keith Packard +Date: Fri Sep 6 16:52:06 2013 -0700 + + altosui: Load Telem files in AltosDataChooser too + + Telem file loading was stubbed out from AltosState changes + + Signed-off-by: Keith Packard + +commit a1512255d20c8a395f30ed4914ddd3295842312b +Author: Keith Packard +Date: Fri Sep 6 16:51:44 2013 -0700 + + altoslib: Add TeleMini eeprom file to Makefile.am + + Signed-off-by: Keith Packard + +commit 1e52d34137626ca756ea01f317ef7c359e464a5b +Author: Keith Packard +Date: Fri Sep 6 16:50:46 2013 -0700 + + altoslib: Lock access to AltosLink config_data + + Prevents multiple callers from trying to get config data at the same + time and messing up the serial line + + Signed-off-by: Keith Packard + +commit 29bb16397f14ed617ca3fbf48f2a7b726fd627d8 +Author: Keith Packard +Date: Fri Sep 6 16:49:36 2013 -0700 + + altoslib: Set 'valid' for valid TeleMetrum eeprom download + + Had separate 'tick_valid' value, which wasn't useful as the supertype + didn't look there. + + Signed-off-by: Keith Packard + +commit a299a5a9a1b89c7ebc00ebd33a789793a6835181 +Author: Keith Packard +Date: Fri Sep 6 16:48:52 2013 -0700 + + altoslib/altosui: Add TeleMini-v1.0 eeprom support + + Got lost in the AltosState transition + + Signed-off-by: Keith Packard + +commit 82b3e3e4889aa5d4d157df1ad82e28068fda9e2a +Author: Keith Packard +Date: Thu Sep 5 23:31:22 2013 -0700 + + altosui: Remove debugging printf from InfoTable + + Signed-off-by: Keith Packard + +commit 7f4650990e8a7cfcf8461e8928dfc426c9a563cc +Author: Keith Packard +Date: Thu Sep 5 22:57:19 2013 -0700 + + altos: Set tick value in new TeleMetrum v2 sensor packets + + Was getting left with the old value, which wasn't very useful + + Signed-off-by: Keith Packard + +commit 7314bf807544eecf2fd970e93c752ff15688bb42 +Author: Keith Packard +Date: Thu Sep 5 22:56:57 2013 -0700 + + ao-tools/ao-telem: Parse new TM v2 packets + + Signed-off-by: Keith Packard + +commit ffdf82445817d1c97699f7de82534420b87d0ea7 +Author: Keith Packard +Date: Thu Sep 5 22:56:11 2013 -0700 + + altosui: Fix 'Graph Flight' button in landed dialog + + Telemetry file reading was broken (oops!) + + Signed-off-by: Keith Packard + +commit 0e3edacceb169326b8f5727bb5737d8238e9e40b +Author: Keith Packard +Date: Thu Sep 5 22:55:43 2013 -0700 + + altoslib: Remove debug printf from AltosTelemetryMetrumSensor + + Signed-off-by: Keith Packard + +commit 59f0deff6d7bae22fb1b9a0649f3481b3d287d8e +Author: Keith Packard +Date: Thu Sep 5 22:55:09 2013 -0700 + + altoslib: Rewrite AltosTelemetryIterable + + Sort while reading instead of sorting separately. + + Signed-off-by: Keith Packard + +commit effc62354fc82bb937c6f445a147fc92153a0731 +Author: Keith Packard +Date: Thu Sep 5 22:54:02 2013 -0700 + + altoslib: Record time_change in AltosState correctly + + time_change is used to make real-time playback work. + + Signed-off-by: Keith Packard + +commit b9ee58a7af839462680a0bdf1c1721017269986f +Author: Keith Packard +Date: Thu Sep 5 22:53:14 2013 -0700 + + altoslib: Update received time when replaying flights + + Received time is otherwise recorded as the time when the packets were + read from the file, which doesn't work in real-time playback + + Signed-off-by: Keith Packard + +commit e17e3691d93636eebbd7381f2df1303dc46ea96c +Author: Keith Packard +Date: Thu Sep 5 22:52:22 2013 -0700 + + altoslib: Only open log file when both flight and serial are known + + Some telemetry formats include serial and flight in different packets, + so wait for both before creating the file + + Signed-off-by: Keith Packard + +commit a9c495c7ca1e08b7ac76b0dab8b3bd9bd3a7edfc +Author: Keith Packard +Date: Thu Sep 5 15:03:07 2013 -0700 + + altoslib: Use AltosTelemetry.parse to pull telem lines apart + + Signed-off-by: Keith Packard + +commit 9f017b4837b106e8c422955a95762f1bf3c78016 +Author: Keith Packard +Date: Thu Sep 5 15:02:47 2013 -0700 + + altoslib: Remove more AltosRecord based files + + Signed-off-by: Keith Packard + +commit 984515452f9ab56dad112d725469acfa54e2233b +Author: Keith Packard +Date: Thu Sep 5 11:55:24 2013 -0700 + + altoslib: remove AltosRecord based eeprom code + + Signed-off-by: Keith Packard + +commit 3325df306933f080619f13ba1db45de484613d5a +Author: Keith Packard +Date: Thu Sep 5 11:50:41 2013 -0700 + + altoslib: Remove AltosRecord-based telemetry code + + All of this is now AltosState based + + Signed-off-by: Keith Packard + +commit e9e9c6592c49109288a4e02e780b130fadb97db7 +Author: Mike Beattie +Date: Tue Sep 3 15:11:33 2013 +1200 + + altosdroid: convert rogue files to unix line endings + + Signed-off-by: Mike Beattie + +commit 93e66b4911b7285f9095712ef746571153c3f088 +Author: Mike Beattie +Date: Thu Sep 5 03:11:42 2013 +1200 + + altosdroid: more updates for new AltosState + + Signed-off-by: Mike Beattie + + Conflicts: + altosdroid/src/org/altusmetrum/AltosDroid/AltosVoice.java + +commit ee14ad16c242e8bd7a9d33ebf569211d1490b8e1 +Author: Mike Beattie +Date: Tue Sep 3 15:10:23 2013 +1200 + + altosdroid: update to support new state code + + Signed-off-by: Mike Beattie + + Conflicts: + altosdroid/src/org/altusmetrum/AltosDroid/TabAscent.java + altosdroid/src/org/altusmetrum/AltosDroid/TabDescent.java + altosdroid/src/org/altusmetrum/AltosDroid/TabPad.java + +commit 5b976a6651f4eb05d30afc08b9e1f27c7e52ae00 +Author: Keith Packard +Date: Thu Sep 5 11:33:48 2013 -0700 + + altoslib: Finish AltosState changes. Update version number. + + Removes all of the AltosRecord bits, changes the monitor idle bits to + have per-object state updaters. + + Signed-off-by: Keith Packard + +commit b984ff81d6b8979574e0248ffe8876634b8e1942 +Author: Keith Packard +Date: Tue Sep 3 17:42:42 2013 -0600 + + altoslib: Set measured acceleration for measured acceleration + + Was setting computed acceleration even for measured data + + Signed-off-by: Keith Packard + +commit 96a651cc1b81b30f4cbde454e34cf80ed8825945 +Author: Keith Packard +Date: Tue Sep 3 17:42:00 2013 -0600 + + altoslib: Clear sat data when tick changes + + Sat data comes in multiple records, but the tick is always the same, + so use that to tell when the set of sats is new + + Signed-off-by: Keith Packard + +commit 4de934c283a839fcbb246b36aa15362f3cf8629c +Author: Keith Packard +Date: Tue Sep 3 17:41:12 2013 -0600 + + altoslib: Start integrated value at 0 by default + + Check for MISSING and start at zero in that case + + Signed-off-by: Keith Packard + +commit cfd8e4ebb3cb63937a71537095adb911d6211817 +Author: Keith Packard +Date: Tue Sep 3 17:40:04 2013 -0600 + + altoslib: Use first few baro samples for ground pressure on TM + + TM didn't record the ground baro reading in the log file, so pull out + the first few measured baro samples and use those instead. + + Signed-off-by: Keith Packard + +commit 6ee99c1861ef1898a77aead41d80383e697bd248 +Author: Keith Packard +Date: Tue Sep 3 17:38:20 2013 -0600 + + altoslib: Make Ascent/descent use different filter values. Always filter. + + In derivative code, use a shorter filter during ascent as the baro + sensor is cleaner then. Then, make sure to always filter the values as + the very first few baro samples can be noisy, which generates a bad + starting speed. + + Signed-off-by: Keith Packard + +commit 70e67925cff98984d49fbc3f60e880c91e6d5079 +Author: Keith Packard +Date: Tue Sep 3 17:36:16 2013 -0600 + + altoslib: Remove duplicate cmd/tick from TM eeprom file code + + Also replace tick setting with super call (which does that) + + Signed-off-by: Keith Packard + +commit bc54014cfd4dbca67fa9db66e906ab8212a2eaa2 +Author: Keith Packard +Date: Tue Sep 3 17:35:23 2013 -0600 + + altoslib: Clean up metrum eeprom file reading + + Spurious tick setting, fix some local variable names + + Signed-off-by: Keith Packard + +commit d203a2da2641bec21a4257c8a7b03d9a1eba53a5 +Author: Keith Packard +Date: Tue Sep 3 17:34:41 2013 -0600 + + altoslib: Correct mega/metrum eeprom years by adding 2000 + + The files contain a single byte for year, which is always years since 2000. + + Signed-off-by: Keith Packard + +commit 999c3c7866613e658a6c26374499bc516bbc944d +Author: Keith Packard +Date: Tue Sep 3 17:32:37 2013 -0600 + + altoslib: Correct tick wrapping in eeprom file reading + + Just need to signal that at least one record has been read to know + when to start checking for wrap + + Signed-off-by: Keith Packard + +commit 7d3af3d74f70a0933829be91ad3e3be04b1f1023 +Author: Keith Packard +Date: Tue Sep 3 17:31:58 2013 -0600 + + altoslib: Ensure eeprom file body always exists + + Create an empty list of body elements if none were read from the file + + Signed-off-by: Keith Packard + +commit 528e2e41112cad8a81bccbb89c3bd202b818a506 +Author: Keith Packard +Date: Mon Sep 2 23:10:23 2013 -0600 + + altoslib: More AltosState hacking + + EasyMini graphs are looking good now. + + Signed-off-by: Keith Packard + +commit 224a1e01bacb7db0076129906ed58e1c785e1b14 +Author: Keith Packard +Date: Mon Sep 2 23:08:34 2013 -0600 + + altos: Not all products have pins to control flash loader + + TeleGPS has no exposed pins for this function + + Signed-off-by: Keith Packard + +commit 77dc89ed5b7bf8f5b3fa3b6131660f1a98f583ea +Author: Keith Packard +Date: Sat Aug 31 23:11:39 2013 -0500 + + altoslib/altosui: Further AltosState transition work + + Parses most eeprom and telem records now; altosui updated to show from + AltosState info. + + Signed-off-by: Keith Packard + +commit c781469ff907a32bd43a5d781391b6859b14cd32 +Author: Keith Packard +Date: Sat Aug 31 23:10:56 2013 -0500 + + altos/telegps: Initialize logging system + + Otherwise, very little logging works + + Signed-off-by: Keith Packard + +commit 7ec1b97d278c7aec3199fb7270f0dcf9484c879f +Merge: 017ed54 4188153 +Author: Keith Packard +Date: Sat Aug 31 08:22:09 2013 -0500 + + Merge branch 'master' into new-state + +commit 4188153548fca104bb49cda2d502c708fe4b49d7 +Author: Keith Packard +Date: Sat Aug 31 08:20:48 2013 -0500 + + altos/lpc: Add bits for building flash loaders + + Signed-off-by: Keith Packard + +commit 017ed54ff69ef2f7740ea2578e22bf72e88deafb +Author: Keith Packard +Date: Sat Aug 31 08:19:28 2013 -0500 + + altoslib/altosui: Fixes for state changes + + Format for gps alt (now double). + Use new code for csv file loading. + + Signed-off-by: Keith Packard + +commit f07f6d55edf5b97020680b3ce1d9e00bb3df64a6 +Author: Keith Packard +Date: Sat Aug 31 01:48:02 2013 -0500 + + altoslib/altosui: Get legacy telem working with new AltosState structure + + Make AltosTelemetry work without AltosRecord + + Signed-off-by: Keith Packard + +commit de8d9c5630ae46378c50faf97f7d2e97fe139e30 +Author: Keith Packard +Date: Thu Aug 29 19:24:51 2013 -0500 + + altoslib, altosui: Restructured state management now does TM eeprom files + + Removed uses of AltosRecord from AltosState, now just need to rewrite + the other AltosState changing code to match + + Signed-off-by: Keith Packard + +commit ce1378385ef273010498e81c205f42d8e32c7dc1 +Author: Keith Packard +Date: Thu Aug 29 19:22:18 2013 -0500 + + altos: Split EasyMini and TeleMini log formats + + Same data, but EasyMini uses a 3.0V supply while TeleMini uses 3.3V, + which changes the intepretation of all of the ADC values + + Signed-off-by: Keith Packard + +commit 04d7d0f829ba953ffeca8ad9887a4b6b2b5d5087 +Author: Keith Packard +Date: Tue Aug 27 21:28:07 2013 -0600 + + altoslib: Start restructuring AltosState harder + + Make per-packet code update state itself rather than having all state + updates done centrally. Will make adding new packet types easier. + + Signed-off-by: Keith Packard + +commit dcc51bb18985c24fa35bce0dd42ea3d847b960bf +Merge: 7c82acc a73b025 +Author: Keith Packard +Date: Wed Aug 28 22:52:58 2013 -0600 + + Merge remote-tracking branch 'origin/telemini' + + Signed-off-by: Keith Packard + + Conflicts: + src/core/ao_telemetry.c + src/core/ao_telemetry.h + + Added both Mini and Metrum telemetry defines + +commit 7c82acc1c1c5b7b4da7c7ecb3b2fd90140e4c703 +Author: Keith Packard +Date: Wed Aug 28 22:12:25 2013 -0600 + + altos/stm: Make sure we switch to MSI during timer init + + Need to ensure that the CPU is actually using the MSI during timer + init or all of the other clock changes won't work + + Signed-off-by: Keith Packard + +commit 6802b6a65b1fec06c2c873282be792c40b3c8f5e +Author: Keith Packard +Date: Wed Aug 28 22:10:58 2013 -0600 + + altos/stm: Remove stale timer defines + + Stuff from when we weren't using systick + + Signed-off-by: Keith Packard + +commit 8e9ed70f50e3f535c2580820771bb1bc3cd055fe +Author: Keith Packard +Date: Wed Aug 28 22:08:51 2013 -0600 + + altos/stm: Make sampling profiler work again + + Disable the separate stack as that means we can't figure out the PC + from the timer interrupt. Move ao_idle_loc after the interrupt release + so that we see idle tasks correctly. + + Signed-off-by: Keith Packard + +commit 2fa87754c5c11bb86e9b1878580c3d4f4b2463f5 +Author: Keith Packard +Date: Wed Aug 28 22:08:04 2013 -0600 + + altos/stm: New compiler doesn't correctly build flash bits yet + + Use /opt/cortex until we make the packaged one work + + Signed-off-by: Keith Packard + +commit 4887af0bf90661a3fdca76f1797a704888edab06 +Author: Keith Packard +Date: Wed Aug 28 22:04:18 2013 -0600 + + altos: Force u-blox to 9600 baud for now + + The Max-7 parts just aren't happy switching baud rates, managing only + about half the time. Someday I'll figure out why, but until then, make + things work by just leaving the chips at 9600 baud + + Signed-off-by: Keith Packard + +commit 61163980f096d555a843e25cd9fe1aec93bbbbba +Author: Keith Packard +Date: Wed Aug 28 22:02:48 2013 -0600 + + altos: Add debugging to ublox GPS driver + + The new max 7 parts seem to be unhappy about switching baud rates, so + I've added a pile of debugging to help out. Some day, I'll figure out + how to make them work, this code is being left in place to help with that. + + Signed-off-by: Keith Packard + +commit 44d4c66b21d6b5a0c656fdff6d01ef1d125c1101 +Author: Keith Packard +Date: Wed Aug 28 21:54:31 2013 -0600 + + altos: Update time for next alarm each time a task is added + + Adding a task with a sooner timeout than existing alarm tasks was not + correctly updating the time to fire the next alarm, causing tasks to + be delayed by the wrong amount. + + Signed-off-by: Keith Packard + +commit 39475c7b8da4f29936f73ffa2bff112f50ee9328 +Author: Keith Packard +Date: Wed Aug 28 21:52:29 2013 -0600 + + altos: TM v2 places the MMA6555 upside down compared to Tmega + + Means we need to invert the data coming out to make it work + + Signed-off-by: Keith Packard + +commit f222e8504bfd01027e3c380c239a2cde2c367d74 +Author: Keith Packard +Date: Tue Aug 27 22:00:29 2013 -0600 + + altos/telemetrum-v2.0: Use 9600 baud for ublox + + Something is up with the Max 7 + + Signed-off-by: Keith Packard + +commit abde595116f6e8b60ec9ce81554c05de11fd456e +Author: Keith Packard +Date: Tue Aug 27 21:36:02 2013 -0600 + + altos/telemetrum-v2.0: Fix MMA6555 SPI pin assignment + + For TM v2.0, it's on PB 3-5, not PE13-15 + + Signed-off-by: Keith Packard + +commit 454a41359b94e9bcf8582420abc359bbab9d8176 +Author: Keith Packard +Date: Fri Aug 23 11:25:56 2013 -0700 + + altos: Rename TeleMetrum v2.0 ADC sense members + + Use sense_a and sense_m instead of sense[2] + + Signed-off-by: Keith Packard + +commit 6aade70be0a7669d65a8606753d21e4eef5592cd +Author: Keith Packard +Date: Tue Aug 20 14:20:56 2013 -0700 + + altos: Add TeleMetrum v2.0 boot loader + + Signed-off-by: Keith Packard + +commit 7b0f9b25a56fa8b4aa1c2e9d79c43e6a97cab0c0 +Author: Keith Packard +Date: Tue Aug 20 11:40:17 2013 -0700 + + altos: Initial TeleMetrum v2.0 bits + + Adds new telemetry and logging formats along with code for TeleMetrum + v2.0 design. + + Signed-off-by: Keith Packard + +commit a73b02518fcbc9fc0807ed8e141d3a06e8ad8214 +Author: Keith Packard +Date: Mon Aug 26 18:46:02 2013 -0700 + + altos: Don't use ao_data on cc1111 projects + + cc1111 ao_adc.c supplies the needed globals at this point, and linking + both into the program leads to two different versions of each at + different addresses (yay SDCC linker!) + + Signed-off-by: Keith Packard + +commit d54156caf856ab5570f050692b333a2c5d991265 +Author: Keith Packard +Date: Mon Aug 26 18:44:23 2013 -0700 + + altos: Make ao_wakeup reentrant + + In case we end up invoking it from two places at once. + + Signed-off-by: Keith Packard + +commit 7e941695aa27e5eaf453ca1128b8d835472410a4 +Author: Keith Packard +Date: Mon Aug 26 18:43:20 2013 -0700 + + altos: Check for MS5607 MISO low before sleeping + + If the MISO line goes low before we manage to configure the + interrupts, we'll miss it entirely unless we check the pin explicitly. + + Signed-off-by: Keith Packard + +commit 9b9acb88aa97e8565cdf9342fc59a5aee08e3d34 +Author: Keith Packard +Date: Mon Aug 26 17:18:57 2013 -0700 + + altos/telemini-v2.0: Add ao_exti.h depend. Init beeper and usb. + + Signed-off-by: Keith Packard + +commit 7274b77666df9d2cab2854ec1a403d80e5fce73b +Author: Keith Packard +Date: Mon Aug 26 17:18:17 2013 -0700 + + altos: Use %ld and %lu for MS5607 debug output + + The value are 'long', so use the right printf format. + + Signed-off-by: Keith Packard + +commit 4e3955a5b0ac125bd807920c467f959618449fbc +Author: Keith Packard +Date: Mon Aug 26 17:17:47 2013 -0700 + + altos/cc1111: Wake up non-ADC sensor code each timer tick + + Make sure the MS5607 code gets told to sample every tick + + Signed-off-by: Keith Packard + +commit 3b2f83a7d686b5fbc0aaa56d48cb734f353631c8 +Author: Keith Packard +Date: Mon Aug 26 17:16:54 2013 -0700 + + altos/cc1111: Leave pin interrupts completely disabled at init time + + Don't even turn in the PICTL bits as that seems to cause the chip to + be unhappy. + + Signed-off-by: Keith Packard + +commit 8ca98dc8c868c47c372d6b666c36e691fa402824 +Author: Keith Packard +Date: Mon Aug 26 17:15:55 2013 -0700 + + altos: Get telemini to copy current MS5607 state to ring. + + The ADC code is responsible for actually inserting the non-ADC data + into the ring, so do the copy there. + + Signed-off-by: Keith Packard + +commit af9f9cf0c21630562c74fae41773319229bf44d3 +Author: Keith Packard +Date: Mon Aug 26 16:42:45 2013 -0700 + + cc1111: Hacky pin interrupt support. Only useful for TeleMini v2 + + This code is designed to support the MS5607 MISO interrupt bits. + + Signed-off-by: Keith Packard + +commit 2380a4b9bd69629c78eec0a87ff8681a0524d8d2 +Author: Keith Packard +Date: Mon Aug 26 16:41:33 2013 -0700 + + cc1111: Rework ADC configuration a bit, fix Tm V2 ADC usage + + The Tm v2 ADC code was not actually fetching and storing the ADC + conversion values. + + Signed-off-by: Keith Packard + +commit aeb1c8a2aa533cb2805f0dbe848e098c8cae2b39 +Author: Keith Packard +Date: Mon Aug 26 16:39:47 2013 -0700 + + ao-tools: Use TeleDongle for default ao-dbg target + + Makes more sense than assuming we're still using the old TI developer board. + + Signed-off-by: Keith Packard + +commit 377a44cbfd5c8a659d2fecabb154726717a41900 +Author: Keith Packard +Date: Sun Aug 25 22:34:09 2013 -0700 + + altos: Build more products by default + + We keep creating more hardware... + + Signed-off-by: Keith Packard + +commit e72147e215a982ce701099626424b9a856ac9d09 +Author: Keith Packard +Date: Sun Aug 25 22:33:30 2013 -0700 + + altos: Changes required by cc1111 multi-spi support + + These drivers got missed + + Signed-off-by: Keith Packard + +commit af6f4205b00669af40acffc528cc8093b0236cf6 +Author: Keith Packard +Date: Sun Aug 25 22:29:46 2013 -0700 + + Bump version to 1.2.9.2 + + Set version for Airfest testing + + Signed-off-by: Keith Packard + +commit 312f6194a4bc75473cb0d61a6d58b66fb1f7c068 +Author: Keith Packard +Date: Wed Jun 12 00:43:31 2013 -0700 + + altos/teletiny-v2.0: Support multiple SPI busses on CC1111 + + Needed for TeleMini v2.0 + + Signed-off-by: Keith Packard + +commit 2c2bbfd9a1a4b9de42cf566f21f179ff5ede0419 +Author: Keith Packard +Date: Thu May 23 16:52:59 2013 -0600 + + altos: Add exti and spi to telemini-v2.0 + + No longer builds like this + + Signed-off-by: Keith Packard + +commit 56911f27376b0fe91a464e369bb8aa1531b3c7dc +Author: Keith Packard +Date: Thu May 23 02:17:51 2013 -0600 + + altos: Make TeleMini v2.0 fit + + Mash lots of storage locations and code around to shrink stuff down to size + + Signed-off-by: Keith Packard + +commit cb844328322fd7d9f4dafb58b322257a70b347e6 +Author: Keith Packard +Date: Wed May 22 19:20:54 2013 -0600 + + altos: Add 64-bit subtraction + + Signed-off-by: Keith Packard + +commit 5ccd902d0fd2adc40c72982babb60fac4da6a087 +Author: Keith Packard +Date: Wed May 22 17:08:55 2013 -0700 + + altos: Add 64x64 multiply. Test 64 ops for dest same as either source + + The test change is to ensure that the destination may be one of the 64 + bit sources. + + Signed-off-by: Keith Packard + +commit f7602ae566a5cbf2d2cbb1d68bad7e2d1177a33a +Author: Keith Packard +Date: Wed May 22 14:38:19 2013 -0700 + + altos: Make 64x16 mul a bit faster + + the unsigned 32x32 multiply really does work, just use it + + Signed-off-by: Keith Packard + +commit 3114baef45803250a2e5cdd2ee4a9171f2045b0c +Author: Keith Packard +Date: Wed May 22 14:32:50 2013 -0700 + + altos: Add 64-bit add/mul/shift for SDCC + + SDCC doeesn't provide a native 64-bit type (sigh), so + implement the minimal operations necessary for the MS5607 conversion + routine. + + Signed-off-by: Keith Packard + +commit d0b4e926ecececa7499a301b6135189be119512e +Author: Keith Packard +Date: Wed May 22 13:03:06 2013 -0700 + + Initial TeleMini bits + + Signed-off-by: Keith Packard + +commit 3ded57394f6dfd7beb9526c031a5c6c6c9926917 +Author: Keith Packard +Date: Sun Aug 25 22:22:55 2013 -0700 + + altos: Explicitly list the linker script needed for AVR targets. + + Something changed in the binutils-avr package which makes the linker + fail to find the script in the default location. + + Signed-off-by: Keith Packard + +commit 203951f6e049ec7e95489849a2bfaa01aa19c0c9 +Merge: 4babe73 b363a62 +Author: Keith Packard +Date: Sun Aug 25 22:00:27 2013 -0700 + + Merge branch 'master' into telegps-v0.3 + +commit b363a628fc6137c3395a48ef13de7a799ec3e2c3 +Author: Keith Packard +Date: Wed May 22 19:31:15 2013 -0600 + + altos: MS5607 pressure computation for low temperatures was wrong + + Second correction only applies to temps < -15°C, not 15°C. + + Signed-off-by: Keith Packard + +commit aa2948803d33dbee6f1eab30370178252df2b56d +Author: Keith Packard +Date: Sat Aug 17 17:45:06 2013 +0200 + + altos: Wake up on LPC usart ISR only once + + Instead of waking up after every character, wait until the FIFO is + empty to reduce overhead + + Signed-off-by: Keith Packard + +commit 10f88c46df9a266f62452dc25275c79a3bb0653d +Author: Keith Packard +Date: Sat Aug 17 17:43:18 2013 +0200 + + altos: Set default LPC stack to 512 bytes, Em to 384 bytes + + The default for lpc has been raised to 512 bytes, but Em doesn't have + enough RAM for that. + + Signed-off-by: Keith Packard + +commit 41428d1e1e44a17eea5fda2b34cabafbdebf1464 +Author: Keith Packard +Date: Sat Aug 17 17:35:08 2013 +0200 + + altosdroid: Add note to report TeleBT battery level + + Signed-off-by: Keith Packard + +commit e908eb090fc2aaa03b35dc37c3e008b05ad44d80 +Author: Keith Packard +Date: Fri Aug 23 11:24:18 2013 -0700 + + altos: Use installed arm compiler for LPC + + Signed-off-by: Keith Packard + +commit 1aed2eb5c7d477a2f3d4fada22980041aba97cb8 +Author: Keith Packard +Date: Fri Aug 23 11:22:10 2013 -0700 + + altos/lpc: Stop using burst mode for LPC ADC + + Burst mode doesn't stop after one round of conversions, so we end up + getting incorrect values in whatever the last conversion register is. + + Just use single conversions and take an interrupt per channel. + + Also, slow down the ADC so that our values are more stable -- just + need to make sure we get the whole conversion sequence done 100 times + a second. + + Signed-off-by: Keith Packard + +commit 4babe7310f78338ca36ab9d31ac833eada27485f +Author: Keith Packard +Date: Sat Aug 24 23:22:18 2013 -0700 + + altos: Allow products to disable RDF entirely + + TeleGPS doesn't ever want RDF + + Signed-off-by: Keith Packard + +commit a1ec15f4585e23eb67affbe7d9d97261576b198d +Author: Keith Packard +Date: Sat Aug 24 23:21:53 2013 -0700 + + altos: Add telegps v0.3 product + + Signed-off-by: Keith Packard + +commit e2f385946132690ca6dc141d7c7830ae0cfe3458 +Author: Keith Packard +Date: Tue Aug 20 08:54:44 2013 -0700 + + altos: various cc115l driver hacks + + Try to recover from TX_FIFO_UNDERFLOW by resetting the chip at idle + time. + + Do a calibration phase during setup. + + Program power to ramp up to limit key down noise. + + Signed-off-by: Keith Packard + +commit 0dd55f66d79f54b450fd8122aecd84d68b810bf4 +Author: Keith Packard +Date: Sat Aug 17 17:45:06 2013 +0200 + + altos: Wake up on LPC usart ISR only once + + Instead of waking up after every character, wait until the FIFO is + empty to reduce overhead + + Signed-off-by: Keith Packard + +commit a0dd93ccf0920260b41c4003955617fd0cd1c8b4 +Author: Keith Packard +Date: Sat Aug 17 17:43:18 2013 +0200 + + altos: Set default LPC stack to 512 bytes, Em to 384 bytes + + The default for lpc has been raised to 512 bytes, but Em doesn't have + enough RAM for that. + + Signed-off-by: Keith Packard + +commit 9a22a300009679a14d66214a5d61e9e6a177279f +Author: Keith Packard +Date: Sat Aug 17 17:40:33 2013 +0200 + + altos: Allow ublox to run at other baud rates + + Provides a configuration option to set the ublox serial baud rate to + something other than 57600 baud + + Signed-off-by: Keith Packard + +commit e0a0a747624c2df66ca4a73b5a0de014ea204dca +Author: Keith Packard +Date: Sat Aug 17 17:36:35 2013 +0200 + + altos: allow projects to override default config values + + Override default radio power and APRS interval + + Signed-off-by: Keith Packard + +commit bed68ef5a6999b2e23853958502a689a7dbc15b3 +Author: Keith Packard +Date: Sat Aug 17 17:35:08 2013 +0200 + + altosdroid: Add note to report TeleBT battery level + + Signed-off-by: Keith Packard + +commit f0e126251360f050b7121f167771c057bda8747e +Merge: d95a2c5 4fe47ad +Author: Keith Packard +Date: Sat Aug 17 17:33:31 2013 +0200 + + Merge branch 'master' into telegps-v0.3 + +commit 4fe47adc7aca54951a50b1c1ae95cb02e46f8d3d +Author: Keith Packard +Date: Sat Aug 17 17:30:52 2013 +0200 + + altosui: AltosDbm class was missing somehow + + This doesn't appear to have been added? + + Signed-off-by: Keith Packard + +commit 4ff54bb96f6c00c0c2c7dd32f81403bac331621a +Merge: fa0859a 01f8df0 +Author: Keith Packard +Date: Sat Aug 17 16:03:26 2013 +0200 + + Merge remote-tracking branch 'origin/master' + +commit fa0859a51576efe231effcb5995f325f9e7e0fcb +Author: Keith Packard +Date: Sat Aug 17 16:01:44 2013 +0200 + + altos: Make FAT test program link explicitly against libcrypto + + For some reason, the MD5_Final symbol isn't resolved when linking only + against libssl. + + Signed-off-by: Keith Packard + +commit 01f8df088759ee7e6bc3900a013e0ea4fafaf984 +Merge: e2ebe60 15063cb +Author: Bdale Garbee +Date: Tue Jul 30 00:15:06 2013 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit e2ebe60adf061479a1259a5c68b9cd5f5bacf644 +Author: Bdale Garbee +Date: Tue Jul 30 00:14:41 2013 -0600 + + add a note about callsign matching and case sensitivity to the manual + +commit d95a2c5d1ddce913dcb1d1ab5dc59f6a588ab599 +Author: Keith Packard +Date: Mon Jun 24 14:29:43 2013 -0700 + + altos: Remove ao_radio_gpio_bits from normal build + + Only needed for the CC115L_TRACE code, and it only builds on STM + + Signed-off-by: Keith Packard + +commit c542a2ed0f222bd0ec84e4a9651585d441dd7ccf +Author: Keith Packard +Date: Mon Jun 24 14:29:01 2013 -0700 + + altos/lpc: Rename serial port to 'serial0' + + This lets existing serial port users find the right function. + + Signed-off-by: Keith Packard + +commit 324ceea43c115f4bed3a5276e57559c6c76b07c1 +Author: Keith Packard +Date: Tue Jul 2 17:54:38 2013 -0700 + + micropeak: Add Download button to menu bar + + It's the most common activity, after all + + Signed-off-by: Keith Packard + +commit 156e60954fae15bc090984f79cd5594f910ca913 +Author: Keith Packard +Date: Tue Jul 2 17:53:51 2013 -0700 + + altosdroid: Just use GPS location provider to build on 4.2 + + Attempts to use the network provider cause the app to crash + + Signed-off-by: Keith Packard + +commit e148582217d6e02ac90a68e2bb2532947378d36f +Author: Keith Packard +Date: Mon Jun 24 14:28:06 2013 -0700 + + altos: Support mega-style logging without ADC + + Used for TeleGPS, just exposes the necessary log writing function + without also including the ADC writing code. + + Signed-off-by: Keith Packard + +commit 261ec8fc7043e9314469e919aa96acc461f7e5f2 +Author: Keith Packard +Date: Mon Jun 24 14:26:23 2013 -0700 + + altosui: Add EasyMini USB ids + + Signed-off-by: Keith Packard + +commit 0dd148e388944d8d265da51d62806c4a00b2c13d +Author: Keith Packard +Date: Mon Jun 24 14:23:53 2013 -0700 + + altos/lpc: Add boot loader + + Support the USB boot loader, add USB pull-up support. + + Signed-off-by: Keith Packard + +commit 2568b36ae9d38ae1607ec08b84b06e0fe84bd3ba +Author: Keith Packard +Date: Sat Jun 22 00:53:38 2013 -0700 + + altos/telefire-v0.1: Use same LED selection as the v0.2 setup + + Signed-off-by: Keith Packard + +commit 58eda6f873f5d6e8e219f769bdf67ce4dbc96fd7 +Author: Keith Packard +Date: Fri Jun 21 19:40:59 2013 -0700 + + altos/lpc: Don't disable all interrupts when disabling one interrupt + + The nvic iser and icer registers read value indicates all enabled + interrupts, icer writes disable the set interrupts. Re-writing icer + with the current value ends up disabling all interrupts, not exactly + what we wanted. + + Signed-off-by: Keith Packard + +commit 9081d881bc48bf7fdce617d300ac02c1a5962239 +Author: Keith Packard +Date: Fri Jun 21 19:40:03 2013 -0700 + + altos/lpc: Remove ao_usb_task structure + + It's not used + + Signed-off-by: Keith Packard + +commit 23f11b188fc6aacd29e7f01a7d8a40853b7655df +Author: Keith Packard +Date: Fri Jun 21 19:39:27 2013 -0700 + + altos/lpc: Enable brown-out-detector + + Make sure the processor does something sensible when the power disappears. + + Signed-off-by: Keith Packard + +commit e9e713bc8ab2080d5c1c38570b112f13c886bd11 +Author: Keith Packard +Date: Wed Jun 19 22:45:54 2013 -0700 + + altos/telefire: Radio status (no data, weak data, good data) on LEDs + + Instead of blinking RX/TX, report the radio status on the telefire + nodes, just like telelco does. This makes the LEDs on telefire + *exactly the same* as the LEDs on telelco, which seems like a good idea. + + Signed-off-by: Keith Packard + +commit d90c2fa650de4cdb008d5e2559463c08da8db934 +Author: Keith Packard +Date: Wed Jun 19 22:44:16 2013 -0700 + + altos: PCA9922 LED driver needs Enable driven low to latch values + + Driving Enable high means anything going past on the clock and data + pair is reflected on the LEDs, which isn't terribly useful + + Signed-off-by: Keith Packard + +commit 572faa19b9a496866e3b589d5eb9f37a680206ab +Author: Keith Packard +Date: Wed Jun 19 22:42:58 2013 -0700 + + altos/cc1111: Fetch RSSI for TeleFire from correct byte + + Reading the status byte doesn't provide very useful RSSI info + + Signed-off-by: Keith Packard + +commit 025beb0fea011d0e3dab59b5d16e7ffae97c613c +Author: Keith Packard +Date: Mon Jun 17 14:52:32 2013 -0700 + + altos/lpc: Get rid of ADC filter + + Now that the source of the Vcc noise has been identified, remove the + unnecessary ADC filtering. + + Signed-off-by: Keith Packard + +commit 10f3d0084ff1c0b3dbf28c5d44727b514caeee20 +Author: Keith Packard +Date: Mon Jun 17 14:00:43 2013 -0700 + + altosui: Add raw pressure to the AltosUI graph + + A nice addition, and useful when diagnosing baro sensor issues + + Signed-off-by: Keith Packard + +commit 298e54856b5f8809b43f24407caa4a6be60822f3 +Author: Keith Packard +Date: Mon Jun 17 14:00:11 2013 -0700 + + altos/lpc: Get the IRC turned off after boot time + + This involved carefully moving the USB away from the IRC before + turning it off. + + Signed-off-by: Keith Packard + +commit b3ad488477def157e277e239e81f164b49725925 +Author: Keith Packard +Date: Mon Jun 17 13:58:41 2013 -0700 + + altos: Disable USB on all flight computers when in flight mode + + There was a check to only disable USB on boards with radios, but for + EasyMini, we want to disable USB too for flight mode. + + Signed-off-by: Keith Packard + +commit 2e2f3f2556e714833d8b7d0f65877b07b3dc2cb5 +Author: Keith Packard +Date: Sun Jun 16 22:32:16 2013 -0700 + + altos: Declare m25 write-in-progress as 'ao_port_t' + + This lets us use port bits greater than 7 for M25 chip selects + + Signed-off-by: Keith Packard + +commit dcf769198863c1b0f1b05f41d0c052a3dbfef247 +Author: Keith Packard +Date: Sun Jun 16 22:31:58 2013 -0700 + + altos/lpc: Remove spurious semicolon + + Signed-off-by: Keith Packard + +commit d040adeef9df4cda31dce603db81dc7ce19ec0d1 +Author: Keith Packard +Date: Sun Jun 16 22:31:31 2013 -0700 + + altos/lpc: Don't disable all of the clocks just yet, USB doesn't work + + Signed-off-by: Keith Packard + +commit 1676c7dbc3dcce2962be9ef9a58d37c7b48e3c0f +Author: Keith Packard +Date: Sun Jun 16 15:07:54 2013 -0700 + + altos/lpc: Turn off more clocks, disable USART for easymini + + Try to reduce noise on the power supply. + + Signed-off-by: Keith Packard + +commit be9ee9ed2d041c4ab4e77ee2010fe3c7a1ca6597 +Author: Keith Packard +Date: Sat Jun 15 01:20:49 2013 -0700 + + altos/lpc: Filter ADC inputs + + They're amazingly noisy on EasyMini, so just filter them as the only + thing we use them for is battery and pyro numbers. + + Signed-off-by: Keith Packard + +commit 7361371190bf3805b6d0414e61f697aca7c7cff1 +Author: Keith Packard +Date: Fri Jun 14 04:38:11 2013 -0700 + + altos/lpc: Make ADC inputs work + + They're still very unstable (bouncing around a lot), but at least they + seem to report useful stuff now. + + Signed-off-by: Keith Packard + +commit 6827d0a7c59d606ea05387465f1ad4d914babd49 +Author: Keith Packard +Date: Tue Jun 11 16:31:20 2013 -0700 + + altosui: Use preferred units for main deployment height configuration + + Show and accept values in the preferred units; create a separate list + of preferred values for each set of units + + Signed-off-by: Keith Packard + +commit 15063cbb8f76bffea71575d295ca87b7ceca36d8 +Author: Keith Packard +Date: Sun Jun 9 23:18:09 2013 -0700 + + altos/telelco: Add 30ms delay in search after finding a box + + This gives the remote boxes time to get back to listening for messages + after receiving the packet from the found box. + + Signed-off-by: Keith Packard + +commit 988924b51980ad43e39bc4785a625ff25eb16449 +Author: Keith Packard +Date: Sun Jun 9 22:09:13 2013 -0700 + + altos: Add fast-timer API. Use for quadrature and button drivers + + This splits the fast-timer portion out of the debounce helper code and + shares that with the quadrature driver which now uses it directly. + + Signed-off-by: Keith Packard + +commit 72b6c699d355fcd41addb9919d846e63105b9db7 +Author: Keith Packard +Date: Mon May 13 22:34:19 2013 -0700 + + altos: Add debounce helper. Use in button and quadrature drivers for TeleLCO + + Signed-off-by: Keith Packard + +commit 47b7e1d819e48aaebf6ffda49effbee041ce8750 +Author: Keith Packard +Date: Sun Jun 9 12:13:06 2013 -0700 + + altos/telefire: Leave siren on all the time. Add siren/strobe debugging. + + The 50% duty cycle wasn't actually loud enough outside. + + Signed-off-by: Keith Packard + +commit 187f661c2512e4260d0ca64134de8fad199f5944 +Author: Keith Packard +Date: Sun Jun 9 10:00:54 2013 -0700 + + altos: Add telefire v0.2 support + + Signed-off-by: Keith Packard + +commit 8ba2035c78293bc312804722249df76dd4692d71 +Author: Keith Packard +Date: Sun Jun 9 09:53:07 2013 -0700 + + altos: Add driver for 74hc165 shift register + + Just reads one byte from the shift register using the SPI driver and returns it + + Signed-off-by: Keith Packard + +commit 3e8b72a9dc5b6c3a0f6132dc2dec04f8c08a1deb +Author: Keith Packard +Date: Sun May 26 22:38:56 2013 -0600 + + altos: Add pyro operations to regular ignite commands + + Instead of having separate commands, just mix the two sets together. + + Signed-off-by: Keith Packard + +commit 4bc1f3390b9ebbe07af4bc0f0a1c0915193ddf42 +Author: Keith Packard +Date: Sun May 26 19:41:22 2013 -0600 + + Set version to 1.2.9.1 + + Mark bits to be used on Monday of NSL 2013 + + Signed-off-by: Keith Packard + +commit 6f131e740477d29b6623fa336da79e53f765a55b +Author: Keith Packard +Date: Sun May 26 19:48:03 2013 -0600 + + altos: Make manual pyro firing command work again + + Signed-off-by: Keith Packard + +commit 5ca472333a3587f0e47d54f5edc287494262ef98 +Author: Keith Packard +Date: Sun May 26 19:47:02 2013 -0600 + + altos: write pyro fired to correct log field + + Signed-off-by: Keith Packard + +commit 956f4dff1cc521059434743624b1271fb92b96ae +Author: Keith Packard +Date: Sun May 26 19:39:13 2013 -0600 + + altos: Light pyro charges simultaneously if so configured + + Don't try to be nice to the battery, just let the pyro circuit deal + with it and try to get all of the specified circuits going at the same + time if they're configured to do so. + + Signed-off-by: Keith Packard + +commit 62547a042d042fadec652c5081f96816a8e66970 +Author: Keith Packard +Date: Sun May 26 19:03:12 2013 -0600 + + altos,altosui: Add pyro state logging for TeleMega + + Only in the log file (no obvious space in the telem packets), but at + least we should be able to check for pyro failures. + + Signed-off-by: Keith Packard + +commit 277577fecc71e3c52b823938f396cf42be403ebe +Author: Keith Packard +Date: Sun May 26 19:01:58 2013 -0600 + + altos: Add pyro code testing to ao_flight_test for TeleMega + + This parses the pyro settings and signals when the pyro channels are + fired in the output. + + Signed-off-by: Keith Packard + +commit b1408c13f176f3f021e9face48c4cd33528ee96c +Author: Keith Packard +Date: Sun May 26 18:58:41 2013 -0600 + + ao-tools/ao-mega: Dump 'pyro' state from mega log + + Signed-off-by: Keith Packard + +commit 8083aa731c99d09bdd4a8c216bb11f846734d7df +Author: Keith Packard +Date: Sun May 26 18:57:58 2013 -0600 + + ao-tools: Add ao-mega tool to parse TeleMega eeprom files + + Signed-off-by: Keith Packard + +commit 21689ef744ddf43965ccad89dc1133a905011d7f +Author: Keith Packard +Date: Sun May 26 18:54:02 2013 -0600 + + altosui: Missing 'break' after selecting 'mega' format detection + + Caused 'mega' logs to be dumped in 'mini' format which didn't work well. + + Signed-off-by: Keith Packard + +commit 17e0ccccc8619f96d2cf56bd98d63a7e59f5301d +Author: Keith Packard +Date: Sun May 26 18:50:10 2013 -0600 + + altosui: Stop downloading mega eeprom on empty block + + Signed-off-by: Keith Packard + +commit 013cba5ed1fde72240a68ec648bd14977f5e48a4 +Author: Keith Packard +Date: Mon May 20 21:41:01 2013 -0700 + + doc: Update description of graph window to note new tabs (config and map) + + Signed-off-by: Keith Packard + +commit e711c708b0d2c8d8c2d72e34a795ad8e9b5ab5de +Author: Keith Packard +Date: Mon May 20 21:37:20 2013 -0700 + + Create release notes for 1.2.1 + + Move most of the 1.2 content to the 1.2.1 block + + Signed-off-by: Keith Packard + +commit 2344ba81fa51215471099e56518112478bdf2e73 +Author: Keith Packard +Date: Tue May 21 11:31:05 2013 -0700 + + Separate out cortex-m0 compiler tests in configure + + The summon arm toolchain doesn't work for cortex-m0 parts, but the + linaro toolchain does. Look in /usr/bin for the -m0 compiler but + continue to use /opt/cortex/bin for the -m3 compiler + + Signed-off-by: Keith Packard + +commit 85eb75c3251d8e141d7269fc7ffa6197174ea8c3 +Author: Keith Packard +Date: Tue May 21 11:30:44 2013 -0700 + + altos: Can't use inline functions because SDCC doesn't do that + + Sigh. + + Signed-off-by: Keith Packard + +commit fd5567882b732f8947b44b217552077c82a3d28e +Merge: fd55c1f 57b4d82 +Author: Keith Packard +Date: Tue May 21 11:16:54 2013 -0700 + + Merge branch 'lpc' + +commit fd55c1fe53adf5c50dcd3ce8296f80871cec73e9 +Author: Keith Packard +Date: Tue May 21 11:16:33 2013 -0700 + + Bump master version to 1.2.9 to avoid confusion with 1.2 releases + + Signed-off-by: Keith Packard + +commit 1bffe8caf0294e9cfef2dab1c6b5a8d1d87ac3a2 +Author: Keith Packard +Date: Tue May 21 11:08:15 2013 -0700 + + altos: Set the path for the STM32L compiler explicitly + + This makes sure we use the known toolchain for STM32L builds + + Signed-off-by: Keith Packard + +commit 7282fab337dc48d32606276e5f51c057a3bff8cb +Author: Keith Packard +Date: Tue May 21 11:04:25 2013 -0700 + + altosui: Add TeleBT firmware to release + + Signed-off-by: Keith Packard + +commit 57b4d82dee10b142b820aa306028a288a85214f6 +Author: Keith Packard +Date: Sun May 19 23:07:54 2013 -0700 + + Add Mini logging format. Use in EasyMini + + This is a 16-byte record that includes all of the sensor data in each + sensor record, along with records for flight state changes. + + Signed-off-by: Keith Packard + +commit 27e9b93f3d35890a49575b2ead1983ce3c2fc213 +Merge: a4df257 d9cbef8 +Author: Keith Packard +Date: Sun May 19 20:40:42 2013 -0700 + + Merge branch 'master' into lpc + +commit d9cbef8cd364aae54855cc5bc64fb8c2b22057b0 +Author: Keith Packard +Date: Sun May 19 20:35:42 2013 -0700 + + altos/telemega: The last two igniters are apogee and main + + Not the first two. TeleMega v0.3 has these marked on the silk + + Signed-off-by: Keith Packard + +commit a4df2575b4e782e83cc4e9b1d2e5cd2397a97dd8 +Author: Keith Packard +Date: Sun May 19 20:33:35 2013 -0700 + + altos/easymini: Initialize beep and ADC. Declare use of igniter bits. + + This makes easymini actually work! + + Signed-off-by: Keith Packard + +commit a87a8e8067d7b2d0ff3a3274af9f1e919b5b7793 +Author: Keith Packard +Date: Sun May 19 20:32:34 2013 -0700 + + altos/easymini: Use different pins for igniter outputs + + Was using the I2C outputs which are open drain, which makes it + impossible to force them high as needed to driver our igniters. + + Signed-off-by: Keith Packard + +commit 16eb0b04df3d1db65bd40717133abe94db0f2a15 +Author: Keith Packard +Date: Sun May 19 20:31:48 2013 -0700 + + altos/easymini: MS5607 chip select bits were defined wrong + + Signed-off-by: Keith Packard + +commit 455802b7e853956180799c058e9561876d98d831 +Author: Keith Packard +Date: Sun May 19 20:30:49 2013 -0700 + + altos/easymini: Easymini doesn't have USB connect or VBUS wiring + + Disable these in ao_pins.h + + Signed-off-by: Keith Packard + +commit 35b120c4154df0351c3a802f86dda224a7643068 +Author: Keith Packard +Date: Sun May 19 20:27:53 2013 -0700 + + altos/lpc: Force idle mode if USB gets an address during boot time + + This lets EasyMini be booted to idle mode by simply plugging it into USB. + + Signed-off-by: Keith Packard + +commit c1f01cd4406063191a51cb68fc4634eabfc60fc2 +Author: Keith Packard +Date: Sun May 19 20:27:05 2013 -0700 + + altos/lpc: Reset SPI device at startup time + + Wasn't doing the reset sequence correctly (write 0, then write 1). + + Signed-off-by: Keith Packard + +commit e0ad8b5b5e1b4c7a9ffba9d25f3c32ce708c3ec5 +Author: Keith Packard +Date: Sun May 19 20:26:07 2013 -0700 + + altos/lpc: Configuring wrong pin for SPI1 MOSI + + Was setting configuration for PIO1_21 instead of PIO0_21. + + Signed-off-by: Keith Packard + +commit b9bb088a36fd351809f4c378356327ffa663c974 +Author: Keith Packard +Date: Sun May 19 20:25:13 2013 -0700 + + altos/lpc: Allow for alternate SPI SCLK0 pin usage + + SPI SCLK0 can appear on three different pins; let the application + configure which one it wants. + + Signed-off-by: Keith Packard + +commit 397109139fb9ff27ec7cfb0cafa65d1dbea053bd +Author: Keith Packard +Date: Sun May 19 20:24:11 2013 -0700 + + altos/lpc: Leave SPI enabled all the time + + Might be able to turn it off with some care; more experimentation required. + + Signed-off-by: Keith Packard + +commit e383d7a28d01729c50f933ceda77ea767d1b8087 +Author: Keith Packard +Date: Sun May 19 20:22:20 2013 -0700 + + altos/lpc: Create TX/RX busy macros for SPI driver + + Check for both fifo status *and* device busy to make sure the device + is idle before we touch any registers. + + Signed-off-by: Keith Packard + +commit 07d261c08214837b5d5cac4d2be43e51a0c47868 +Author: Keith Packard +Date: Sun May 19 20:19:15 2013 -0700 + + altos/lpc: Fix beeper driver + + Set prescale limit, not current prescale value (pr instead of pc). + Flip output 1 on PWM match (set emc toggle for channel 1). + Don't hold counter in reset (turn off CRST bit). + + Signed-off-by: Keith Packard + +commit 3fe11b277dd7268eb445d120c8f9537f95148891 +Author: Keith Packard +Date: Sun May 19 20:18:44 2013 -0700 + + altos/lpc: Missing parens around ao_gpio_set macro + + Signed-off-by: Keith Packard + +commit a78012782c779de3433b91e6b854b2fdbd7230fd +Author: Keith Packard +Date: Sun May 19 20:17:48 2013 -0700 + + altos/lpc: SPI runs off main clock (48MHz), not sysclk (24MHz) + + Update SPI speed definitions to match + + Signed-off-by: Keith Packard + +commit d51c9fda3478f205e4bcdf1b7bf21eb1e0a516bc +Author: Keith Packard +Date: Sun May 19 20:07:52 2013 -0700 + + altos/lpc: Pull ADC data from the correct registers + + Was just stepping through register space arbitrarily, which would have + worked for EasyMini, but might have failed later if the ADC pin usage + wasn't consecutive. + + Signed-off-by: Keith Packard + +commit 6343bd774f542a4f915cf1fca2053d03e93bf2c3 +Author: Keith Packard +Date: Sun May 19 20:06:03 2013 -0700 + + altos/lpc: Don't use loader to place USB endpoint data in USB ram + + Instead, just assign a fixed address in registers.ld. This avoids a + confusing section in the elf file. + + Signed-off-by: Keith Packard + +commit 35a05041d3ca3e69a146bd3bf8038c0f1cbc1b42 +Author: Keith Packard +Date: Sun May 19 20:04:29 2013 -0700 + + altos: Add EXTI_PIN_NOCONFIGURE to exti interface, use for MS5607 + + This asks the EXTI code to not mess with the pin configuration so that + the MS5607 driver can get interrupts on the MISO pin while still using + it for SPI. + + Signed-off-by: Keith Packard + +commit 098fd43a740ee2a782f82b6b71965b60cdba2d62 +Author: Keith Packard +Date: Sun May 19 20:00:24 2013 -0700 + + altos/lpc: Make EXTI code work. + + Clear rise/fall bits in ISR to avoid re-entering. + Block interrupts around enable/disable bits. + Create shared _ao_exti_set_enable function to control mask changes. + + Signed-off-by: Keith Packard + +commit f794e6c95697b034be315632fddb3a5475c43b5b +Author: Keith Packard +Date: Sun May 19 19:57:23 2013 -0700 + + altos: Use ao_spi_get/put_bit in MS5607 driver + + Replace open-coded ao_spi_get/put and ao_gpio_set sequences + + Signed-off-by: Keith Packard + +commit b7ab41e4dc92dcd382f4c05459088d8df8b70075 +Author: Keith Packard +Date: Sun May 19 19:51:32 2013 -0700 + + altos/attiny: Fix ao_spi_get_bit/ao_spi_put_bit macros + + These were never written, so just use ao_spi_get/put_mask. + + A precursor to changing how the MS5607 drives the SPI bus + + Signed-off-by: Keith Packard + +commit 49f9cdda5f1812687b82915acc78a9d9136255bf +Author: Keith Packard +Date: Sat May 18 03:54:30 2013 -0700 + + altos: ignore built files in easymini-v0.1 + + Signed-off-by: Keith Packard + +commit c57e1630002c921739ff22395497d93027d381b6 +Author: Keith Packard +Date: Sat May 18 03:53:32 2013 -0700 + + altos: Build easymini-v0.1 + + Signed-off-by: Keith Packard + +commit 278300b2bc98b92cc71ec016ab0fc93eb3696435 +Author: Keith Packard +Date: Sat May 18 03:52:59 2013 -0700 + + altos: Initialize SPI for easymini + + Doesn't work very well without this + + Signed-off-by: Keith Packard + +commit cbe5eee76faf386eefe69539935ab318944ac452 +Author: Keith Packard +Date: Sat May 18 03:52:14 2013 -0700 + + altos/lpc: Stick USB control structure in USB memory + + No reason to have that in regular ram, and it means we've got space + for large enough stacks now + + Signed-off-by: Keith Packard + +commit 3587bfd248e115bb1abb28f71b263575b4e8e367 +Author: Keith Packard +Date: Sat May 18 03:22:10 2013 -0700 + + altos: Add easymini-v0.1 product + + Signed-off-by: Keith Packard + +commit c4991db4809ae547fdb245e3cb42517fa7524de5 +Author: Keith Packard +Date: Sat May 18 03:21:43 2013 -0700 + + altos/lpc: Use separate interrupt stack + + Signed-off-by: Keith Packard + +commit 5311720525ac73e9d42067b68adf25fc2e054af5 +Author: Keith Packard +Date: Sat May 18 03:21:20 2013 -0700 + + altos/lpc: Try a smaller stack. + + Signed-off-by: Keith Packard + +commit f5218e2544dcb659aec6c3adee50d61cab1bba3a +Author: Keith Packard +Date: Sat May 18 03:19:41 2013 -0700 + + altos/lpc: Add pin interrupt driver + + Signed-off-by: Keith Packard + +commit c0d0147251bfcebd753196b74c22c00c3116fd22 +Author: Keith Packard +Date: Sat May 18 03:18:55 2013 -0700 + + altos/lpc: Add beep driver + + Hardwired to our current beeper pin + + Signed-off-by: Keith Packard + +commit 166977c65bddb50d600a3c1e1f278c425b673697 +Author: Keith Packard +Date: Sat May 18 03:18:19 2013 -0700 + + altos/lpc: Add ADC driver + + Uses burst mode to get the whole set of values in one interrupt + + Signed-off-by: Keith Packard + +commit ed25a46571d988ccf37ae915dff97b5f00bcf9cf +Author: Keith Packard +Date: Sat May 18 03:16:41 2013 -0700 + + altos/lpc: add gpio int, spi, adc and ct32b defines to lpc.h + + Lots more devices + + Signed-off-by: Keith Packard + +commit 2b0b7bf1462341718e582223a880f2dfcd79e2ad +Author: Keith Packard +Date: Sat May 18 03:15:58 2013 -0700 + + altos/lpc: Clean up broken IOCONF defines + + Missing comment closes + + Signed-off-by: Keith Packard + +commit 08887678f900adae81dcb1a7f5353d98d127aafd +Author: Keith Packard +Date: Sat May 18 03:14:57 2013 -0700 + + altos/lpc: Fix ao_enable_input, add ao_enable_analog + + Signed-off-by: Keith Packard + +commit 15ca452b60271e3a0f7327216df04eef5b985240 +Author: Keith Packard +Date: Sat May 18 03:14:16 2013 -0700 + + altos: LPC interrupt priorities are just 0-3 + + Signed-off-by: Keith Packard + +commit 935a7ff38010ec4ad19f315f8a2a1557c01ae554 +Author: Keith Packard +Date: Sat May 18 03:13:17 2013 -0700 + + altos: Add LPC spi driver + + Signed-off-by: Keith Packard + +commit d9b42470e8889b44bb08858a610285410a200ab9 +Author: Keith Packard +Date: Sat May 18 03:02:38 2013 -0700 + + altos: Use ao_port_t in m25 driver + + This uses ao_port_t for all of the chip select masks + + Signed-off-by: Keith Packard + +commit 28890aa5893898cd0bb0ac033e491eb307a84ca5 +Author: Keith Packard +Date: Sat May 18 03:02:01 2013 -0700 + + altos: Use ao_data_pres macro in ao_log_tiny + + Now it works on easymini too + + Signed-off-by: Keith Packard + +commit 82afe3a3b737c43dbeaad41ea5af1841357297a6 +Author: Keith Packard +Date: Sat May 18 02:54:55 2013 -0700 + + altos: Check for packet mode before trying to disable it in flight code + + This is only relevant for telemini + + Signed-off-by: Keith Packard + +commit 52063c2679752033135fff928c7686e368d2a825 +Author: Keith Packard +Date: Sat May 18 02:54:30 2013 -0700 + + altos: ao_data_get is in ao_data.c now, not ao_adc.c + + Signed-off-by: Keith Packard + +commit e4385d29fc1b233b3ad56d4af68a175e760c1751 +Author: Keith Packard +Date: Sat May 18 02:53:32 2013 -0700 + + altos: Allow architecture to define the type of port registers + + LPC11U14 has 32-bit ports, STM32 has 16 bit ports. + + Signed-off-by: Keith Packard + +commit ca4f3161258356c06fe1270f7ccdf0d6939e2d34 +Author: Keith Packard +Date: Sat May 18 02:52:49 2013 -0700 + + altos: Move ao_data.c from stm to core + + This should be used on every processor + + Signed-off-by: Keith Packard + +commit ac089d4fb930b7dbc4161259fd9bddba94395ebc +Author: Keith Packard +Date: Fri May 17 03:36:47 2013 -0700 + + altos/lpc: Get USB working + + The lpc demo now has a USB command line. + Also allocates system stack so we know when ram is tight at build time + + Signed-off-by: Keith Packard + +commit 185e6d15bcda229949a984910d7394203d301db9 +Author: Keith Packard +Date: Thu May 16 18:58:24 2013 -0700 + + altos: Allow target-specific USB endpoint specifications + + The LPC has only a small number of endpoints, and those are not + configurable. Let the LPC USB driver pick the IN and OUT endpoints by itself. + + Signed-off-by: Keith Packard + +commit 6c35e21a86ab32bc91eb10a60c071b702fc0f963 +Author: Keith Packard +Date: Tue May 7 19:27:17 2013 -0700 + + altos: Finish off LPC USB register definitions + + Signed-off-by: Keith Packard + +commit 918342016705303baa1630c62c290aaf2dcc2801 +Author: Keith Packard +Date: Thu Apr 25 20:38:32 2013 -0700 + + altos/lpc: Start adding USB register defines + + Signed-off-by: Keith Packard + +commit 91d201abcbe9373360919406427b7e4fb9e1b42e +Author: Keith Packard +Date: Mon Apr 22 17:10:24 2013 -0500 + + altos/lpc: Start adding USB register definitions + + Just the bare struct, no defines yet. + + Signed-off-by: Keith Packard + +commit 9bf67798b134ad796c2f4bc9240ee450722148ec +Author: Keith Packard +Date: Sat Apr 20 00:40:38 2013 -0500 + + altos/lpc: Take advantage of USART TX fifo + + The USART has a 16-byte TX fifo; keep rough track of how full it is to + avoid waiting for an interrupt after every TX byte. + + Signed-off-by: Keith Packard + +commit 9e8f6ba8b779cd9635f82d6da5f113715c3ee4c7 +Author: Keith Packard +Date: Sat Apr 20 00:20:55 2013 -0500 + + altos/lpc: Get USART running + + Adds a simple demo thread that spews data to the serial port + + Signed-off-by: Keith Packard + +commit f9d0eb3f3154f98abb0c8952d7171f3e7d3de9b2 +Author: Keith Packard +Date: Thu Apr 18 16:15:52 2013 -0500 + + altos/lpc: Get 100Hz timer running + + Use systick, which is built into the ARM core + + Signed-off-by: Keith Packard + +commit 04b243e6ef212f54ed284cfbde6d5abb637bf60e +Author: Keith Packard +Date: Thu Apr 18 15:55:26 2013 -0500 + + lpcxpresso: Add ao_demo.c + + Kinda necessary for the demo to build + + Signed-off-by: Keith Packard + +commit bcc65597d3d20f1d58df784100af766cee5f0f20 +Author: Keith Packard +Date: Thu Apr 18 15:54:13 2013 -0500 + + lpc: Initial lpcxpresso bits + + This gets the LPC11U14 clock set to the PLL and blinks the LED. + + Signed-off-by: Keith Packard + +commit 6735a391c2a1e3be01ac9e68b44ec0974592c11c +Author: Keith Packard +Date: Fri May 17 03:34:50 2013 -0700 + + libaltos: use PurgeComm in Windows altos_close to abort in-progress ops + + Instead of manually signalling the related events, use PurgeComm which + can then abort the operations itself. Also make sure all of the + relevant handles are set to INVALID before closing them to avoid race conditions. + + Signed-off-by: Keith Packard + +commit bd8d061d0f63158b5b03814d77cb76fdf5a0abad +Author: Keith Packard +Date: Fri May 17 03:27:20 2013 -0700 + + libaltos: Build the linux library targets when doing a 'fat' build + + These are necessary for the fat release, so make sure they're built then. + + Signed-off-by: Keith Packard + +commit 8a19805a6b079450b5afd5fa2334cede8495ae4a +Author: Keith Packard +Date: Fri May 17 03:21:08 2013 -0700 + + altos/cc1111: Hack on USB driver to make Windows happy + + The Windows modem driver is quite chatty at startup time, getting and + setting the comm parameters each time the device is opened. Sometimes, + when setting the parameters, the cc1111 would STALL EP0. + + Most of the time, Windows would happily pass this as an error back to + AltosUI which would then re-try the open (and succeed, most of the + time). + + Sometimes, Windows would stall for 30 seconds before passing the error + back. This made the whole UI freeze, and I suspect most people assumed + our app had died. + + A bit of analysis with the beagle USB sniffer and I discovered the + STALL settings, but there wasn't any correlation between the data on + the wire and when the STALL would be generated. + + So, I found a couple of other cc1111 USB stacks on the net and just + looked to see how our driver differed. There wasn't anything clearly + related, but there were a list of small differences: + + 1) Other drivers didn't bother waiting for the hardware to + ack the USBADDR setting; doing it this way means we can set + the address *before* acking the setup packet. It'll get + set eventually, at which point the device will start responding to + packets again. + + Easy to fix, and saves a bit of code space too. + + 2) The other drivers set the STALL bit for setup packets which aren't + understood. This shouldn't have any effect on 'good' systems as + those shouldn't ever be generating bogus setup packets anyways. + + The driver already handled the STALL state in the interrupt + handler, the only requirement was to figure out when to explicitly + set the STALL bit. + + That required moving the state updating code from the start of the + ep0 setup handling to the end, after the setup packet had been + examined and data queued in or out as appropriate. + + 3) Our driver explicitly queued an IN packet for any setup request + that wasn't waiting for an OUT pack. This appears to tie in with + the USBADDR change above as before I made that change, this change + caused the driver to fail to respond to most setup packets. + + This was simple once the above change was made, just move the + generation of the IN packet inside the code that switched to the + IN state. + + Signed-off-by: Keith Packard + +commit 4ef0136c27e8f47a1eb38f9cbcd2c61288732d78 +Author: Keith Packard +Date: Wed May 15 15:32:59 2013 -0700 + + altos: Generate unmodulated carrier for CC1120 test mode + + This sets the deviation to 0, enables the preamble and turns on the + transmitter. It will sit there happily sending a bare carrier forever + + Signed-off-by: Keith Packard + +commit 1931e028bebc3cd8df9392e30eb0e888d0799768 +Author: Keith Packard +Date: Tue May 14 22:29:06 2013 -0700 + + altos: Move MS5607 info from 'v' to 'c s' + + Makes more sense there. + + Signed-off-by: Keith Packard + +commit 69b9f613ad36b8039f223ed30f8c75913916d82c +Author: Keith Packard +Date: Tue May 14 22:19:07 2013 -0700 + + altos: Remove some MMA655x debugging printfs + + Signed-off-by: Keith Packard + +commit 0571531066918fdefe9447f3b4192d0c6c477afa +Author: Keith Packard +Date: Tue May 14 10:48:24 2013 -0700 + + altos: Grab SPI mutex until MPU6000 I2C mode is disabled + + If other drivers use the SPI bus, the MPU6000 gets confused as its + sitting on the bus looking for I2C messages. Just grab the mutex + before the OS is running and hold onto it until the MPU6000 has been initialized. + + Signed-off-by: Keith Packard + +commit 9beacd77b3e8106e036e50a67312dfee414fbc51 +Author: Keith Packard +Date: Tue May 14 09:01:49 2013 -0700 + + altos: Initialize MPU6000 CS pin for SPI mode + + Without this, we can't talk to the chip very well + + Signed-off-by: Keith Packard + +commit 6d553230903ddd0ec522c07be0df975b38ef23d3 +Author: Keith Packard +Date: Tue May 14 09:56:16 2013 -0700 + + altos: Fix telemega v0.3 igniter order (drogue/main moved). Label ADC dump + + telemega moves the igniters around so that E/F are now drogue/main. + Add custom labels for ADC values to make parsing possible + + Signed-off-by: Keith Packard + +commit a4e4eec827d61a05fda52ddb68b55f17b6028d5e +Author: Keith Packard +Date: Tue May 14 09:25:08 2013 -0700 + + altos: gps serial routines are called ao_gps_*, not ao_ublox_* + + This caused the u-blox driver to use serial port 1 instead of the + project-specified serial port. + + Signed-off-by: Keith Packard + +commit 461215eea72ff9d64748304e76b08da37ee3dfe9 +Author: Keith Packard +Date: Tue May 14 09:21:54 2013 -0700 + + altos: Give u-blox 3 seconds after boot before we bug it + + Signed-off-by: Keith Packard + +commit 5e9193f6375be27e5f7a0321fd34b6acfe81247f +Author: Keith Packard +Date: Tue May 14 09:12:29 2013 -0700 + + altos: Add 'g' command to ublox GPS code. + + Take the gps_dump function from ao_gps_skytraq.c and move it to a new + file so it can be shared with the u-blox driver. That affects every + skytraq and u-blox user as they need to include the new file. + + Signed-off-by: Keith Packard + +commit cdad289a0803babecd30cbc0a95be99c5caadeb5 +Author: Keith Packard +Date: Wed May 15 01:24:56 2013 -0700 + + altos: Add flash-loader for telescience-v0.2 + + Signed-off-by: Keith Packard + +commit 116d8570766fbd3ef529111171935637a2e466af +Author: Keith Packard +Date: Tue May 14 08:51:22 2013 -0700 + + altos: Set u-blox navigation settings + + Airborne mode, < 4g (as good as it gets) + Only use 3D fixes (2D isn't very useful) + + Signed-off-by: Keith Packard + +commit fb0fb6f4beab484e7fe55b39d18c1f19778f1211 +Author: Keith Packard +Date: Tue May 14 08:35:24 2013 -0700 + + altos: Use symbolic names for ublox packet id + + Signed-off-by: Keith Packard + +commit 1ccfd2d2e4b84e72e5502cb72a7da6372b5e2b47 +Author: Keith Packard +Date: Tue May 14 01:06:20 2013 -0700 + + altosui: Generate useful KML files from TeleGPS logs + + Use GPS altitude when baro altitude is not present. + Don't require flight number. + + Signed-off-by: Keith Packard + +commit bdea4c88318a41ade3d3b6b2cbfc097ae3e4f3be +Author: Keith Packard +Date: Tue May 14 00:38:34 2013 -0700 + + altosui: Use GPS alt + baro height for KML altitude + + GPS altitude is generally more absolutely correct than baro altitude, + so use that as the nominal pad altitude when generating a KML + file. This results in a KML file that has the flight trace start and + end closer to the ground, which is always nice. + + Signed-off-by: Keith Packard + +commit 43f94e923a6a87520edcbb8fb4829e6ddf708908 +Author: Keith Packard +Date: Tue May 14 00:24:53 2013 -0700 + + altoslib: Use sequence numbers to track GPS updates to AltosRecord + + State objects now record what GPS sequence ID they have to know when + the GPS data has been updated. Record objects bump the GPS sequence + each time new GPS data is recorded. This way, record objects aren't + modified as they're iterated over to generate the list of state + objects which makes it possible to iterate multiple times and get the + same resulting set of states. + + Signed-off-by: Keith Packard + +commit c88aa32b979f379e3cf316dcb651e264c32a5283 +Author: Keith Packard +Date: Mon May 13 22:59:26 2013 -0700 + + altos/test: ao_gps_test_ublox uses ao_gps_blox.h + + Signed-off-by: Keith Packard + +commit 61f5183fb6aff63c1133011b5625814ee56e96da +Author: Keith Packard +Date: Mon May 13 22:58:18 2013 -0700 + + altos: Struct used for u-blox testing had lat/lon swapped + + The structs in ao_gps_ublox.h are used only by the test framework, but + it's useful to have that look right anyways. + + Signed-off-by: Keith Packard + +commit 5a730dd7a78b5ae428bcfe809257dabedc4338f5 +Author: Keith Packard +Date: Mon May 13 22:33:12 2013 -0700 + + altos: Switch TeleMega v0.3 to u-blox + + Signed-off-by: Keith Packard + +commit d2f0dcc73df612d10ed12d364fe661ccd831f037 +Author: Keith Packard +Date: Mon May 13 22:32:25 2013 -0700 + + altos: Provide a define for the number of sat infos in a telem packet + + 12 fit, but it's best to use a symbolic constant + + Signed-off-by: Keith Packard + +commit 50457f9983ec0a432f1050464382749436e3da94 +Author: Keith Packard +Date: Mon May 13 22:31:31 2013 -0700 + + altos: Add U-Blox GPS driver + + Uses binary mode. + + Signed-off-by: Keith Packard + +commit 125ff0b7c74af4db98a81439ee9f1b92fe8b8833 +Author: Keith Packard +Date: Mon May 13 22:29:22 2013 -0700 + + altos: Don't bother fixing telelco-v0.1, just disable it + + Lots of stuff to do to make this old project build; just disable it + instead of fixing + + Signed-off-by: Keith Packard + +commit 672edb20434248038ef5fbb87f2c0984bd5ad513 +Author: Keith Packard +Date: Mon May 13 22:28:27 2013 -0700 + + altosuilib: Mistake in the MegaDongle listing -- was set to TeleMega + + Signed-off-by: Keith Packard + +commit 80a6b0ea5c36c307a8edc79ad10ef7a8ff3d480e +Author: Keith Packard +Date: Mon May 13 22:27:00 2013 -0700 + + altoslib: Correct hexfile address ranges + + Stop trying to use sentinal values for addresses and just keep a + boolean tracking whether they've been initialized. Avoids precision + errors in the variables. + + Signed-off-by: Keith Packard + +commit 9bd717e71d69338b1af521b37e8bd975e503398e +Author: Keith Packard +Date: Fri May 10 19:21:18 2013 -0700 + + altosui: Wait for valid callsign/flight when graphing + + Wait for the data record to indicate that the flight value is valid + before setting the graph callsign/flight/serial data. + + Signed-off-by: Keith Packard + +commit 106d212ff5920c39d95751ef6249dc141970412c +Merge: ecb1285 09d5d6f +Author: Keith Packard +Date: Thu May 9 21:06:52 2013 -0700 + + Merge branch 'master-fixes' into stm-flash-fixes + +commit 09d5d6f546ccef2bfd4941e590f047485bb73d76 +Author: Keith Packard +Date: Thu May 9 21:06:23 2013 -0700 + + micropeak: Use new 'last logdir' preference for MicroPeak save/load dialogs + + Signed-off-by: Keith Packard + +commit 95a3a089f9c97684918937eecd94dcac77c47696 +Author: Keith Packard +Date: Thu May 9 21:04:52 2013 -0700 + + Information from configure about android build was misprinted + + A typo in the script caused it to print either 'yes' or '' + + Signed-off-by: Keith Packard + +commit 17eada6e586731defa9fd75316670c2b2b1601ee +Author: Keith Packard +Date: Thu May 9 21:04:11 2013 -0700 + + altoslib: Add non-persistent 'last logdir' preference + + This is used to record the last directory for reading or writing log + files so that the UI can pop back to the same place next time. + + Signed-off-by: Keith Packard + +commit 271e8adbc9549c7b3b4d0ec14e4edb1a6ab715d1 +Author: Keith Packard +Date: Thu May 9 21:03:38 2013 -0700 + + Add altosdroid notebook entry for imperial units + + Signed-off-by: Keith Packard + +commit ecb128579e7576fc27c8ca93708f316b9ac91630 +Author: Keith Packard +Date: Sun Apr 28 23:06:24 2013 -0700 + + altos: Wait after configuring boot pin before testing it + + Clearly the pin isn't quite ready just after it's been configured, so + hang around for a while (100 nops) to let things setting down before + testing the value of the pin. Makes booting a lot more reliable. + + Signed-off-by: Keith Packard + +commit 4a90eec4b8ee4a35711aa74c13b3f30d12c0fe08 +Author: Keith Packard +Date: Sat Apr 27 15:33:04 2013 -0700 + + altos/stm: Create per-product flash loaders + + Split the flash loader prototype into pieces so that each product can + build a custom flash loader with very little code. + + Signed-off-by: Keith Packard + +commit b131c5ac59bbd339a724892586023a43f97c7f90 +Author: Keith Packard +Date: Sat Apr 27 00:37:15 2013 -0700 + + altos: Add ao_boot_chain to telemega v0.3 + + Signed-off-by: Keith Packard + +commit 1695f6af46ea647119d651fc09c97d604d08c736 +Author: Keith Packard +Date: Sat Apr 27 00:26:11 2013 -0700 + + ao-tools/ao-stmload: Add --verbose flag + + This dumps out the serial communication so you can see where things go wrong. + + Signed-off-by: Keith Packard + +commit f6d6df03826083a244715b88a30ad681f17b4510 +Author: Keith Packard +Date: Sat Apr 27 00:25:36 2013 -0700 + + altos: Remove stdio from stm-flash + + This saves enough memory to fit in under 4kB + + Signed-off-by: Keith Packard + +commit a2e0676f476b0e2bdd5102315ebd5904b57f384a +Author: Keith Packard +Date: Sat Apr 27 00:24:08 2013 -0700 + + altos: Get rodata into flash, make sure sections are aligned + + .rodata* needs to be in flash; otherwise strings get left in ram. + Failing to align sections makes the initialized data get dumped into + the wrong place in memory. + + Signed-off-by: Keith Packard + +commit 2e092b383d55bcf9e2a230ccfe85052adb18b254 +Author: Keith Packard +Date: Sat Apr 27 00:23:14 2013 -0700 + + altos: Make stm-bringup build again + + stm requires AO_BOOT_LOADER_BASE now + + Signed-off-by: Keith Packard + +commit 0b1797312b34ba2b8121f82605f8d2c419167737 +Author: Keith Packard +Date: Sat Apr 27 00:20:47 2013 -0700 + + altos: Run self loader when application sets boot addr to 0 + + This causes the flash loader startup code to fall into the loader when + the application sets the boot address to zero. + + Signed-off-by: Keith Packard + +commit e2412e867138635d79ea0fa8d43efc0a6aa19784 +Author: Keith Packard +Date: Sat Apr 27 00:19:13 2013 -0700 + + altos: Allow STM usb driver to be used without stdio + + This lets the self flashing loader be linked without any of the stdio + code, which saves a bunch of memory. + + Signed-off-by: Keith Packard + +commit afad5ae893a48785f3b50ff4125dc78648343a2d +Author: Keith Packard +Date: Mon Apr 22 20:08:35 2013 -0600 + + altos/stm-flash: Check target flash address against AO_BOOT_APPLICATION_BASE + + Allows that value to change + + Signed-off-by: Keith Packard + +commit 9ae987073f90402821120dbe962fceb4fc9f5435 +Author: Keith Packard +Date: Mon Apr 22 20:59:12 2013 -0500 + + ao-tools/ao-stmload: application base moved to 0x08001000 + + And, use a symbolic name so it can be easily moved in the future + + Signed-off-by: Keith Packard + +commit 9029722708b54826aa9374555470cb40922c5da5 +Author: Keith Packard +Date: Mon Apr 22 20:56:00 2013 -0500 + + ao-tools: reboot to loader now uses 'X' instead of 'L' + + 'L' is used by lots of other commands; switch to 'X' which is free. + + Sigh. Someday we'll have words for commands instead of just letters + + Signed-off-by: Keith Packard + +commit dfc268e0021e1cd3045f73339a749d292a6a6300 +Author: Keith Packard +Date: Mon Apr 22 20:35:57 2013 -0500 + + altos: Use flash loader on all STM products + + Includes the boot chain stuff + + Signed-off-by: Keith Packard + +commit 8ded61d59888c79ef1f94e664b5fb770841a801a +Author: Keith Packard +Date: Mon Apr 22 20:33:33 2013 -0500 + + altos/stm: Provide another 4kB of flash space for apps + + With the flash loader now < 4kB, we can use the spare 4kB for applications + + Signed-off-by: Keith Packard + +commit 6cd015b8b6b02bd8e0ce28f248426ae75c242b53 +Author: Keith Packard +Date: Mon Apr 22 20:32:18 2013 -0500 + + altos/stm: Shrink stm flash loader to < 4kB + + Saves 4kB of flash space for applications. + + Signed-off-by: Keith Packard + +commit 02681adbc5919bd3713788da352aa36ace619ef4 +Author: Keith Packard +Date: Mon Apr 22 20:30:31 2013 -0500 + + altos/stm: Allow core timer to be excluded from build + + This removes all of the support for the base 100Hz timer from the + system, saving space when not needed + + Signed-off-by: Keith Packard + +commit a453e2245996854e722346789f972fd088e33ba8 +Author: Keith Packard +Date: Mon Apr 22 20:29:56 2013 -0500 + + altos/stm: Don't define task macros when not tasking + + The necessary data structures aren't defined in this case. + + Signed-off-by: Keith Packard + +commit 8d0f4bc23eae4f1e085bfb853c995f1fb6b8b594 +Author: Keith Packard +Date: Mon Apr 22 20:27:52 2013 -0500 + + altos: Eliminate stdio looping when system has a single stdio source + + No need to loop if there's only one + + Signed-off-by: Keith Packard + +commit 6f3bbb11880f45284f1f094990ffa32a66bf4560 +Author: Keith Packard +Date: Mon Apr 22 20:24:48 2013 -0500 + + altos: Move ao_notask to core + + The STM flash loader wants to be taskless too, share this very simple + implementation of sleep/wakeup. + + Signed-off-by: Keith Packard + +commit 21356aec543dd85426a52469426351ce006a17dd +Author: Keith Packard +Date: Sun Mar 24 16:16:55 2013 -0700 + + ao-tools/ao-stmload: Remove IRC dregs in source code + + oops. + + Signed-off-by: Keith Packard + +commit 9df4e874b2785aec4aecce2f767543ee9f638b4f +Author: Keith Packard +Date: Sun Mar 24 16:15:21 2013 -0700 + + altosui/altoslib: Move more flashing code from altosui to altoslib + + Required a bit of refactoring to eliminate swing types from the + flashing code, but nothing major. + + Signed-off-by: Keith Packard + +commit 09e0c304b420a12fa1616005db946523c6e5bef1 +Author: Keith Packard +Date: Sun Mar 24 16:01:08 2013 -0700 + + altosui & altoslib: Move a pile of debug/programming bits to altoslib + + Prepare to create external Java utilities to flash devices + + Signed-off-by: Keith Packard + +commit 9acd488c5f945511f813d84c3c6f69846d4601e8 +Author: Keith Packard +Date: Sun Mar 24 15:35:15 2013 -0700 + + altosui: Support 32-bit ihx files + + This just borrows the same 32-bit ihx parsing changes from ao-tools. + + Signed-off-by: Keith Packard + +commit c9ba2d17b979410acfa41f9954674757f7f321fc +Author: Keith Packard +Date: Sun Mar 24 15:33:31 2013 -0700 + + ao-tools/ao-stmload: Fix ELF, add IHX, add self-flashing + + This splits loading into ELF and IHX paths, and splits flashing into + stlink and self-flashing paths. + + Signed-off-by: Keith Packard + +commit 1f30b1f14dbab6e6ea94177e459c80732e31e433 +Author: Keith Packard +Date: Sun Mar 24 15:30:24 2013 -0700 + + ao-tools/lib: Add loading support for 32-bit ihx files + + These place the upper 16 bits of the address in a special record. That + requires handling records in file order, so don't sort them in address + order anymore, instead find the bounds of the loaded data by scanning + them all. + + Signed-off-by: Keith Packard + +commit 7d98fc5d3f106f3063608a2e5c69d9359061437a +Author: Keith Packard +Date: Sun Mar 24 15:27:42 2013 -0700 + + altos/stm: Add comments to the .ld files explaining how the romconfig stuff works + + Would be nice to be able to explicitly define addresses for the + romconfig variables, but I can't figure out how to make that + work. Instead, just explicitly load the files in teh right order to + make things land in the right places. + + Signed-off-by: Keith Packard + +commit ab1cbc0f51ddf897a3a7a768862d9dfe26a6c14d +Author: Keith Packard +Date: Sun Mar 24 15:26:26 2013 -0700 + + altos/stm: Add .elf to .ihx rule + + Uses objcopy -O ihex to extract the initialized bits from an elf file + + Signed-off-by: Keith Packard + +commit 9362d400d06aa3badfc826d8edbd7c55406b4f7d +Author: Keith Packard +Date: Sun Mar 24 15:24:42 2013 -0700 + + altos: Switch ao_stm_flash to read/write binary blocks + + Change from development testing code to something that actually reads + and writes data from the USB link. + + Signed-off-by: Keith Packard + +commit a3f668e71751608ea2e38519003446bc6ceb348f +Author: Keith Packard +Date: Sun Mar 24 15:21:58 2013 -0700 + + altos: Create ihx version of stm-demo + + Both ao-stmload and the eventual java loader will support ihx files. + + Signed-off-by: Keith Packard + +commit 5db4d5e5b1272b161102e889e65b9c7bc7928352 +Author: Keith Packard +Date: Sat Mar 23 02:23:03 2013 -0700 + + altos: Add erase command to stm-flash app. Validate addresses. + + This also leaves the code writing fixed values and printing read data + in ascii instead of binary. Useful for debugging, will want changing + for the product. + + Signed-off-by: Keith Packard + +commit ac6b4fca0970faa0a537a813242585693b839469 +Author: Keith Packard +Date: Sat Mar 23 02:21:27 2013 -0700 + + altos: Fix STM flash programming + + Wait for flash to go non-busy after writing or erasing a page and + before jumping back out of the RAM code. + + Export a separate 'erase' operation for testing. + + Re-lock flash after every operation. + + Signed-off-by: Keith Packard + +commit 35ef1f17e3efaa6d586ab7bb301f8133d52023b6 +Author: Keith Packard +Date: Sat Mar 23 02:18:55 2013 -0700 + + altos: Validate boot chain start address + + If the first block of boot memory has been smashed, and the start + address is bogus, don't bother trying to jump to the + application. This makes the system more resiliant to flash failures, + presuming the loader erases the first block, programs the other blocks + and then finally comes back to program the first block. + + Signed-off-by: Keith Packard + +commit db7f17980c303e442f88c8a4168351dbc2c0b1a0 +Author: Keith Packard +Date: Sat Mar 23 02:17:04 2013 -0700 + + altos: Mark .boot section as (NOLOAD) + + For some reason, the silly linker marks things in section .boot as + data rather than bss, so they'd end up initialized by default. Force + them to be NOLOAD so they preserve values across reboot so that boot + chaining works properly. + + Signed-off-by: Keith Packard + +commit efc0898d824ebd0abe0b088ed9a8b40c34623ab7 +Author: Keith Packard +Date: Sat Mar 23 02:15:35 2013 -0700 + + altos: Fix up stm-flash output file name. Use discovery LED pins + + Include the AltOS version in the file name, just like any other AltOS + program. + + Switch the LEDs to the discovery board as we're using + that. Eventually, we'll stop using LEDs entirely. + + Signed-off-by: Keith Packard + +commit 4bc55ee8fabc9f4c997c2a515d74baada590c93e +Author: Keith Packard +Date: Mon Mar 11 18:14:28 2013 -0700 + + altos: Add actual flashing functions to stm-flash app + + Signed-off-by: Keith Packard + +commit b1a43ce313c85cb7f8f16f7f0647d9d4320ba692 +Author: Keith Packard +Date: Mon Mar 11 13:21:04 2013 -0700 + + altos: Clean up boot loader support + + Split out code into separate files. + Add support for getting back to boot loader from application. + + Signed-off-by: Keith Packard + +commit 56a7cbbf51f5c9ebbfe17d1cc30ed807572af3cc +Author: Keith Packard +Date: Mon Mar 11 00:01:52 2013 -0700 + + altos: Add program flash function + + And get it loaded to RAM so it can execute correctly. + + Nothing calls it yet... + + Signed-off-by: Keith Packard + +commit c9c35b100c3fcae661501d2bf89eedc7fceb2e1c +Author: Keith Packard +Date: Sun Mar 10 21:02:59 2013 -0700 + + altos: Make stm-flash capable of switching to application + + This shrinks the base OS load down a bit as well so that stm-flash + fits comfortably in the first 8kB of memory. + + Signed-off-by: Keith Packard + +commit a6887032b4d217bca5236ea15389218f10d69545 +Author: Keith Packard +Date: Sun Feb 24 00:18:14 2013 -0800 + + Add STM self-flashing loader + + This allows the real application to get loaded at 0x2000 and jumps to + that at startup time if the boot pin is set appropriately + + Signed-off-by: Keith Packard + +commit 887209b61ac3012d0fd2206cf1016c44f59cb432 +Author: Keith Packard +Date: Tue May 7 19:29:06 2013 -0700 + + altos: Sanity check barometer before going to pad mode + + Make sure the barometer is reporting some sensible value before + letting TM try to fly the rocket. + + Signed-off-by: Keith Packard + +commit 802ca114ca064a9dd557a82e992653b145f8e660 +Author: Keith Packard +Date: Tue May 7 19:28:07 2013 -0700 + + altos: Elide M25 debug output from storage info command + + This is just chip-specific info that no UI actually needs. It takes a + bunch of ROM to write it though, making TeleMetrum not have much space left. + + Signed-off-by: Keith Packard + +commit 3876b5bfad383119339aea51e2cf301012a1f991 +Author: Keith Packard +Date: Mon May 6 16:08:52 2013 -0700 + + altos: Set APRS deviation to 3kHz + + I finally found a bunch of references to APRS on the net and they all + appear to assume a 3kHz deviation. Let's see if this works better with + Yaesu radios. + + Signed-off-by: Keith Packard + +commit 4458b5a3cd3f88188c820cd0763f4e1d99fff311 +Author: Keith Packard +Date: Fri May 3 01:07:06 2013 -0700 + + altos/test: Fix warning in ao_aprs_test + + Was not forward-declaring ao_radio_send_aprs, causing a warning + + Signed-off-by: Keith Packard + +commit 091582c446319fe4a79154153ece5372b2faec83 +Author: Keith Packard +Date: Wed May 1 08:58:17 2013 -0700 + + altos: Use SYSTICK on STM32L + + It's probably more power efficient than using one of the timers, and + it's certainly easier to configure. + + Signed-off-by: Keith Packard + +commit b7b0ddfddee3f8e21f21d67cd9f522fa50777265 +Author: Keith Packard +Date: Wed May 1 08:56:57 2013 -0700 + + altos: Mark GPS telemetry packets with GPS time stamp + + This provides a reasonable accurate indication of the system time when + the GPS location data was received, and also makes sure GPS packets + get some timestamp when no other telemetry is being transmitted. + + Signed-off-by: Keith Packard + +commit 6a6a5d0afa646564a9277ad3bd80c4225247a27b +Author: Keith Packard +Date: Tue Apr 30 20:25:20 2013 -0700 + + altoslib: Update GPS state even if new state is unlocked + + Otherwise, we can't see fine GPS details while GPS is unlocked, and + that's annoying + + Signed-off-by: Keith Packard + +commit 1e9b405e939136d25d937334d1f14f06c7d6127b +Author: Keith Packard +Date: Tue Apr 30 19:04:26 2013 -0700 + + altos: Use separate exception stack on STM32L + + This reserves 512 bytes of memory for a stack, then makes sure that + exceptions continue to use that stack while processes use the per-task + stack. + + Signed-off-by: Keith Packard + +commit ac72d1c298fc553808a8e04a65482d4990f177d7 +Author: Keith Packard +Date: Tue Apr 30 18:57:53 2013 -0700 + + altos: Reduce stack usage of FAT driver and logger + + Move some large stack arrays to static storage. + Also eliminates some printf error messages which don't seem that + useful except for debugging. + + Signed-off-by: Keith Packard + +commit df70e3e87874d80516c6d43cfe745d511d54f206 +Author: Keith Packard +Date: Tue Apr 30 00:12:44 2013 -0700 + + altos: Open up the DVGA gain to use all of the available settings + + We usually work in RF quiet areas; let the AGC hardware try all of the + available gain settings. + + Signed-off-by: Keith Packard + +commit e18910659e56ea52ee493d8cc4bce4b219d5bb75 +Author: Keith Packard +Date: Tue Apr 30 00:06:08 2013 -0700 + + altos: Stop using telelco v0.2 top LEDS for radio TX/RX + + The top LEDs are now used for signal strength; a red LED indicates + failed communcations, so we don't need to blink stuff and annoy the user. + + Signed-off-by: Keith Packard + +commit 8744fd5d541955b0920c7d8e2696039cdcfdf1dc +Author: Keith Packard +Date: Tue Apr 30 00:05:33 2013 -0700 + + altos: Make cc1120 driver return false on recv timeout + + Was returning an uninitialized value, which was often not zero + + Signed-off-by: Keith Packard + +commit 4fe42801f42f2fc2688555f4585dbebc28bb2d61 +Author: Keith Packard +Date: Mon Apr 29 23:53:43 2013 -0700 + + altos: Reconfigure CC1120 receiver to match our usage + + Open up the AGC to the full range. + Set the AGC ref based on our receive BW (100kHz). + + Signed-off-by: Keith Packard + +commit eb0e1720be2aa4fb6729ceada09c18947bfee2bc +Author: Keith Packard +Date: Mon Apr 29 23:20:25 2013 -0700 + + altos: Compute "real" RSSI value in radio code as needed + + Instead of dragging around the weird CC1111 RSSI values, just compute + a dBm value in a signed 8-bit integer, ao_radio_rssi. Use that + everywhere we need RSSI internally. We leave the weird CC1111 value in + the packet reply as that's what the host expects. + + Signed-off-by: Keith Packard + +commit 949700f276b80b4eb28f15b5559714f430f227f1 +Author: Keith Packard +Date: Mon Apr 29 20:24:16 2013 -0700 + + altosdroid: Add Notebook entry for reloading telem data option + + This lets the user recover the rocket flight data after stopping the + application but before recovering the rocket. + + Signed-off-by: Keith Packard + +commit c9f2e6471c11a1f9feb183e05f24c53968098bdb +Author: Keith Packard +Date: Sun Apr 28 23:30:29 2013 -0700 + + altos: More .gitignore bits + + stm-demo + + Signed-off-by: Keith Packard + +commit ab99d71c4ba97a28ee463170d10712b2de94dc50 +Author: Keith Packard +Date: Sun Apr 28 23:27:32 2013 -0700 + + altos: Add a bunch of .gitignore files + + Ignore ao_product.h and built binaries + + Signed-off-by: Keith Packard + +commit 85d32468210c9989ae52bd29f883c4380af43961 +Author: Keith Packard +Date: Sun Apr 28 23:25:37 2013 -0700 + + altos: Add ublox checksum app to generate ublox config lines + + Signed-off-by: Keith Packard + +commit 257500776935b5950cd7c49f9c799b3174d9232d +Author: Keith Packard +Date: Sun Apr 28 23:22:41 2013 -0700 + + altos: Add .gitignore to kalman test dir + +commit 5a77a62bce5e5ab5998f24588839f3c8a1cc6221 +Author: Keith Packard +Date: Sun Apr 28 23:21:17 2013 -0700 + + altos: Build test framework for kalman filter + + This has some known flight data and generates kalman filter + information for them to test + + Signed-off-by: Keith Packard + +commit 24a03d0c64fc0b56ad5ccfd6588aa47690ea2a65 +Author: Keith Packard +Date: Sun Apr 28 23:15:28 2013 -0700 + + altos: Ignore ao_aes_test binary + + Signed-off-by: Keith Packard + +commit e2c697af790d53c68154facc19e4096aed5de798 +Author: Keith Packard +Date: Sun Apr 28 23:14:50 2013 -0700 + + altos/test: Add telemega plot helper script + + Signed-off-by: Keith Packard + +commit 086217bbde6d549cad61bdde728c75d29023d1c6 +Author: Keith Packard +Date: Sun Apr 28 23:11:27 2013 -0700 + + altos: Add nickle micropeak log parsing code + + I think this was just some debugging stuff, but it doesn't seem useless + + Signed-off-by: Keith Packard + +commit 5d46d26d714cc172b5ea493478d9dd3cad323152 +Author: Keith Packard +Date: Sun Apr 28 23:09:54 2013 -0700 + + altos: Add telelco-v0.2 project + + Signed-off-by: Keith Packard + +commit 38d4110e59a44687d8a4743b8cd04cbf2761c9d8 +Author: Keith Packard +Date: Sun Apr 28 23:08:03 2013 -0700 + + altos: Allow LCD segments to not be multiplexed across digits + + This allows each LCD segment to be individually configured as to which + COM and which SEG drives it, permitting maximum flexibility in wiring. + + Signed-off-by: Keith Packard + +commit f09b2fc7fcfb1b3dcb1a46a8b9856092dd59866b +Author: Keith Packard +Date: Sun Apr 28 23:05:18 2013 -0700 + + altos: Clear any broken cc1120 TX fifo bits before transmitting + + This just goes and clears the transmitter before using it, just in + case it got wedged somehow. It also clears the bits while waiting for + the radio to go idle, otherwise it'd never make it. + + Signed-off-by: Keith Packard + +commit b878ca38045b1bee6ea4d649298727ac3fa197c2 +Author: Keith Packard +Date: Sun Apr 28 23:03:57 2013 -0700 + + altos: Make cc1120 driver wait for TX finished + + Otherwise, we may come in and try to use the radio again too quickly, + causing it to go into a TX fifo error state. + + This change watches the MARC status until the transmitter is + explicitly marked as finished. + + Signed-off-by: Keith Packard + +commit f677a83348a9568679240ee9d731ab454f289831 +Author: Keith Packard +Date: Sun Apr 28 23:02:12 2013 -0700 + + altos: Provide timeout value to ao_radio_recv + + Instead of using ao_alarm around calls to ao_radio_recv, provide an + explicit timeout value as needed by radio functions with more + complicated system interaction than the cc1111. The timeout is 8 bits + of clock ticks. + + Signed-off-by: Keith Packard + +commit 0488cd9cffc837e99490a0761216bbc5847ff400 +Author: Keith Packard +Date: Sun Apr 28 22:52:23 2013 -0700 + + altos: Build test framework for AES code + + Simple CBC-CMAC test with a constant 0 key and constant 0 data for now. + + Signed-off-by: Keith Packard + +commit 3edbaa90fb7cb31fa0bd835a7c6c8930fd6dfeb6 +Author: Keith Packard +Date: Sat Apr 27 23:23:33 2013 -0700 + + altos: Make telemega-v0.3 binary use the right name + + Signed-off-by: Keith Packard + +commit 168188f6650dc9a777d57f9c7a8ff1be957bc892 +Author: Keith Packard +Date: Mon Apr 22 20:23:48 2013 -0500 + + altos/stm: Remove USB EP0 task + + Handl EP0 actions from interrupt handler. This allows USB to be used + in a taskless environment, like the STM flash loader + + Signed-off-by: Keith Packard + +commit 0b6128d634c49e1790675ae8111e970b1af1f141 +Author: Keith Packard +Date: Sun Mar 24 15:29:32 2013 -0700 + + ao-tools/lib: Deal with binary USB data in debugging output + + Dump non-ascii characters in hex format. + + Signed-off-by: Keith Packard + +commit 3cbec0292d5167bce5c23eeea95f7a2d13bccc79 +Author: Keith Packard +Date: Sun Mar 24 15:20:09 2013 -0700 + + altos/stm: Always declare all romconfig variables + + I haven't figured out how to assign addresses for specific initialized + variables, so we'll just have to always declare all of them and make + sure that we add new ones at the end. + + Signed-off-by: Keith Packard + +commit 4551be8b03a795ece94fd303a1f556c63c0a0096 +Author: Keith Packard +Date: Sun Mar 24 15:14:12 2013 -0700 + + altos: Call ao_task_init before initializing any drivers + + When using task queues, the sleep queues must be initialized before + any invocation of ao_wakeup or the OS will crash. Just make sure + ao_task_init is always invoked early in the task process to get that done. + + Signed-off-by: Keith Packard + +commit 6dea353e732b6e19586c844796bc3bb848cc92f8 +Author: Keith Packard +Date: Sun Mar 10 21:05:34 2013 -0700 + + altos: Expose ao_put_string function + + This works like puts, except it doesn't add a trailing newline. + + Signed-off-by: Keith Packard + +commit 1629acba4a63baae2c687ed56a17d02faf45f5e5 +Author: Keith Packard +Date: Thu May 2 23:14:02 2013 -0700 + + Allow build without SDCC + + The AltOS directory handles not building the cc1111 apps when sdcc is + missing already, so don't require it, just whinge if it's missing + + Signed-off-by: Keith Packard + +commit 7cce6c205e4595894e033ab8f0acc8064bf9f561 +Merge: 75f8229 5591509 +Author: Bdale Garbee +Date: Mon Apr 29 17:24:43 2013 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 75f8229d4a8d7c9a28ea3d88fda72af0d1f1ccc2 +Author: Bdale Garbee +Date: Mon Apr 29 17:11:48 2013 -0600 + + add libssl-dev as a build dep since it's used in FAT filesystem test code + +commit f2a8ac537d254cc08c0be9c16bf2d5cc03fd04fc +Author: Bdale Garbee +Date: Mon Apr 29 17:06:57 2013 -0600 + + point to pkgconfig content in /opt/cortex so stlink stuff works + +commit 55915098f2668e3a71568d51a9888dc4bdf40992 +Author: Keith Packard +Date: Sat Apr 27 16:07:34 2013 -0700 + + altosdroid: Add wish for persistent TBT and freq settings + + Signed-off-by: Keith Packard + +commit 38a680e1407a80ff8ad19e1a90dd4e87b22fe922 +Author: Keith Packard +Date: Sat Apr 27 00:37:36 2013 -0700 + + altos: All STM ADC users need to declare HAS_ADC_TEMP + + Otherwise we can't configure the ADC unit correctly at boot time + + Signed-off-by: Keith Packard + +commit 2717f14567c1fe1bb061024332c8022ef0e06049 +Author: Keith Packard +Date: Sat Apr 27 00:36:11 2013 -0700 + + altos: Build telemega-v0.3 by default + + Signed-off-by: Keith Packard + +commit cef4e3ee95037050ae859fb2fdc0a57373764bd8 +Merge: fefc021 f3ee7de +Author: Keith Packard +Date: Thu Apr 25 22:22:50 2013 -0700 + + Merge remote-tracking branch 'origin/master' + +commit fefc021045089ffd00d03e4c4e6cf42a13692828 +Author: Keith Packard +Date: Thu Apr 25 22:21:26 2013 -0700 + + altos: Add TeleMega v0.3 support + + Includes adding SPI support to the MPU6000 driver + + Signed-off-by: Keith Packard + +commit 38206dd71e70565ded505a1e86257cd49b10bf9b +Author: Keith Packard +Date: Thu Apr 25 21:27:03 2013 -0700 + + altos: Add MR25 everspin MRAM driver + + Signed-off-by: Keith Packard + +commit 4ed83e34d1163c7fae0a205528c60dc83973082a +Author: Keith Packard +Date: Thu Apr 25 21:25:39 2013 -0700 + + altos: Make SD card driver compile without radio support + + The SD card driver blocks the radio when trying to access the card as + that operation appears very sensitive to RFI. This fix makes the + driver work when there *isn't* a radio driver in the same device. + + Signed-off-by: Keith Packard + +commit f3ee7deb6b2fbae7e3c66fe0af0cba36378793f1 +Author: Bdale Garbee +Date: Thu Apr 25 00:26:39 2013 -0600 + + document need for an ARM Cortex toolchain in /opt/cortex, point to build docs + +commit 90b0db1ae53182c94bf12d661446fc369d916366 +Author: Keith Packard +Date: Mon Apr 22 15:53:04 2013 -0500 + + Re-add telemega outline pictures + + after the great renaming + + Signed-off-by: Keith Packard + +commit e9a6c4f71e02bb0073dcd030de735904494da81f +Author: Keith Packard +Date: Mon Apr 22 15:15:03 2013 -0500 + + altos: Re-generate TeleMega bits + + Lost in the great megametrum rename + + Signed-off-by: Keith Packard + +commit aa7eac32adf4c2cdf441991d02411758f2682d1e +Author: Bdale Garbee +Date: Mon Apr 22 13:00:26 2013 -0600 + + name change from MegaMetrum to TeleMega + +commit 8c05f608c8f103649c1e5ec0d5742621e233af78 +Author: Keith Packard +Date: Mon Apr 22 11:06:36 2013 -0500 + + Move cortex toolchain to /opt/cortex + + Signed-off-by: Keith Packard + +commit 6f92ab336a258e8b1ddf58de33d6883251b9532d +Author: Keith Packard +Date: Sun Apr 21 21:04:50 2013 -0500 + + altosdroid: Add request for sat images to AltosDroid Notebook + + Signed-off-by: Keith Packard + +commit 045da152fae82712b937bc81f02c9531e042cbe0 +Author: Keith Packard +Date: Sun Apr 21 20:53:14 2013 -0500 + + altosdroid: Add a few more Notebook entries + + Signed-off-by: Keith Packard + +commit 27afe30176051fca816d85c1be265ac663ef851c +Author: Mike Beattie +Date: Mon Apr 22 13:50:35 2013 +1200 + + altosdroid: Bump APK version, and re-upload. + + Didn't re-build altoslib for the previous APK! + + Signed-off-by: Mike Beattie + +commit 759376cd0aac61c5afce31aed27ef98aba791173 +Author: Mike Beattie +Date: Mon Apr 22 13:50:13 2013 +1200 + + altos: update .gitignore files + + Signed-off-by: Mike Beattie + +commit b4ffb3ed36fc8696603616bf5f31b07fb3829614 +Author: Bdale Garbee +Date: Sat Apr 20 23:55:06 2013 -0600 + + document my snazzy new 4-pin to MM v0.1 debug cable + +commit 45d638634e389bab61b0ee792420609eb8a9ad97 +Author: Keith Packard +Date: Sat Apr 20 22:30:23 2013 -0500 + + altosdroid: Add Notebook to track feature requests + + Signed-off-by: Keith Packard + +commit 2e28d3541b8da31ebef5a199baf8f544d238298e +Author: Keith Packard +Date: Sat Apr 20 22:16:28 2013 -0500 + + libaltos: Delay after opening bluetooth device on linux + + Writes immediately after the open disappear sometimes. + + Signed-off-by: Keith Packard + +commit 02a564bbc3a23b4f90685e8b29083ddb3e4b3563 +Author: Keith Packard +Date: Sat Apr 20 22:05:01 2013 -0500 + + libaltos: Try Bluetooth open 5 times on EBUSY + + After closing Bluetooth, it can take a second before the device is up + for another connection. Hang around retrying a few times. + + Signed-off-by: Keith Packard + +commit 6348186397dbef6da912586cea58d6663c511501 +Author: Keith Packard +Date: Sat Apr 20 21:40:47 2013 -0500 + + doc: Start filling in details about Altos Droid flight monitoring + + This is almost all identical to AltosUI; I think we'll want to share + the two sections. + + Signed-off-by: Keith Packard + +commit 0d49c16c6c33264952854b9f24bc737d92036449 +Author: Keith Packard +Date: Sat Apr 20 17:38:15 2013 -0500 + + doc: Add a bunch of Altos Droid material to the docs + + Signed-off-by: Keith Packard + +commit 6055ee0b7fb99f1b41ece8ba912bdd201ea35b1b +Author: Mike Beattie +Date: Sun Apr 21 14:52:56 2013 +1200 + + altosdroid: Release v1.2, push to play store. + + Signed-off-by: Mike Beattie + +commit 49caac78786014d443d9c05f47b5eb3070ec9bd3 +Merge: 5b7bbf1 cbf38c5 +Author: Mike Beattie +Date: Sun Apr 21 14:51:07 2013 +1200 + + Merge branch 'altosdroid' + +commit cbf38c557a2046b6d6af3a9aebc0cef8e0dc5f11 +Author: Mike Beattie +Date: Sun Apr 21 14:46:41 2013 +1200 + + altosdroid: Make the service class implement locationlistener + + Signed-off-by: Mike Beattie + +commit c5b31a14e1ceeb9a33e0016f345832344d24ced7 +Author: Mike Beattie +Date: Sun Apr 21 14:44:07 2013 +1200 + + altosdroid: fix up 'send last' code. + + Signed-off-by: Mike Beattie + +commit cc674d8f991a3a055236ad8b51fecd99080540e1 +Author: Mike Beattie +Date: Sun Apr 21 14:41:50 2013 +1200 + + altosdroid: check for mAltosVoice being null. + + Signed-off-by: Mike Beattie + +commit 7701e142f9e3a81c536c546c9a0abfb3ba709abc +Author: Mike Beattie +Date: Sun Apr 21 14:41:28 2013 +1200 + + altosdroid: set tab height based on screen density. + + Signed-off-by: Mike Beattie + +commit a9e02e32cb10e5b5f17cd555bb28fdc205ac3612 +Author: Mike Beattie +Date: Sun Apr 21 14:40:58 2013 +1200 + + altosdroid: Add filters for TeleBT bluetooth devices. + + Signed-off-by: Mike Beattie + +commit b0d6e2000d1b48859f5a276a5af254cc1a6cc9ad +Author: Mike Beattie +Date: Sun Apr 21 14:40:33 2013 +1200 + + altosdroid: incorrect property syntax in pad xml + + Signed-off-by: Mike Beattie + +commit d1ca6b5805cb5e934e013463448b75dd4a3c864f +Author: Mike Beattie +Date: Sun Apr 21 14:40:03 2013 +1200 + + altosdroid: whitespace and import tidyup + + Signed-off-by: Mike Beattie + +commit ecfc8a08147cfd179b341475333d68a39c978f0f +Author: Keith Packard +Date: Sat Apr 20 17:16:50 2013 -0500 + + altosdroid: Update distance/bearing on map tab + + Signed-off-by: Keith Packard + +commit 5b7bbf183e558330d27702aa1bebf205f0e094aa +Author: Bdale Garbee +Date: Sat Apr 20 12:22:38 2013 -0600 + + improve text in telebt turn-on script + +commit ff332e640b27c6be37dabef58ebac350ac2347b2 +Merge: b300060 87d6ed2 +Author: Keith Packard +Date: Wed Apr 17 10:41:05 2013 -0700 + + Merge branch 'master' into droid-gps + +commit b3000609e4010ff4d29debe72ea1866e775af539 +Author: Keith Packard +Date: Wed Apr 17 10:38:54 2013 -0700 + + altosdroid: Fix integer formatting in tabs + + Was trying to use AltosDroid.number for integers, which didn't work as + it expected doubles. + + Signed-off-by: Keith Packard + +commit 87d6ed24f3650981ae1ff9bfdb0298d2c01e7575 +Author: Keith Packard +Date: Tue Apr 16 17:47:17 2013 -0700 + + altosui: Disable main deploy setting for TeleGPS + + Just like all of the other flight computer settings, disable the main + deploy altitude configuration for TeleGPS. + + Signed-off-by: Keith Packard + +commit a03aaaca60ccb4b44595e5e1c1047d07d8b6d60f +Author: Keith Packard +Date: Tue Apr 16 17:33:42 2013 -0700 + + altosui: Handle broken network in map tile loading + + Handle missing pngfiles in AltosSetMapCache by checking ImageIO.read + for null return. + + Do incremental map tile downloading asynchronously so that the UI + doesn't lock up when the network is slow + + Signed-off-by: Keith Packard + +commit c2640c09c76ce32e471dcf6df83095d146bb39a2 +Author: Keith Packard +Date: Tue Apr 16 14:22:23 2013 -0700 + + altosdroid: Check for missing values + + When displaying numbers, check for MISSING values and display nothing + + Signed-off-by: Keith Packard + +commit d5a557004c00d1ae25da04dc63c78b816562a236 +Merge: 6592a5b 5b04176 +Author: Keith Packard +Date: Mon Apr 15 23:26:33 2013 -0700 + + Merge branch 'master' into droid-gps + +commit 5b041769dc926f0aa18072f46abca60b11ede44b +Author: Keith Packard +Date: Mon Apr 15 23:25:55 2013 -0700 + + altosui: remove debug message from AltosFlightUI + + Signed-off-by: Keith Packard + +commit 6592a5be127a9c95d3b2e7d5aa6ffba71c6748b9 +Merge: c6f85cb eba3aa9 +Author: Keith Packard +Date: Mon Apr 15 23:19:44 2013 -0700 + + Merge branch 'master' into droid-gps + +commit eba3aa949decacd5592472a3cda920aa6a06d96f +Author: Keith Packard +Date: Mon Apr 15 23:14:22 2013 -0700 + + altoslib: Check for null state.gps before accessing it in eeprom records + + Used to be we'd set state.gps to garbage before seeing the first GPS + record; now we leave it null, which will cause crashes for code that + doesn't expect it. The code for reading and replaying eeprom data was + not checking and was nicely crashing as a result. + + Signed-off-by: Keith Packard + +commit c6f85cb149dff8732104521cb62b355e8a0d7148 +Merge: 3cd8ff1 58dd4b8 +Author: Keith Packard +Date: Sun Apr 14 20:02:10 2013 -0700 + + Merge branch 'master' into droid-gps + +commit 58dd4b88fe738e005a13dfd69651853ea7f79205 +Author: Keith Packard +Date: Sun Apr 14 14:54:52 2013 -0700 + + micropeak: Oops. Lost the call to actually start downloading data + + Lost when adding the 'help' text somehow; presumably a debugging issue. + + Signed-off-by: Keith Packard + +commit 3cd8ff18a7546c1e251747ba26240cb130003ef1 +Author: Keith Packard +Date: Sat Apr 13 12:13:18 2013 -0700 + + altosdroid: Update UI even if no telem has been received. Center map. + + This allows the receiver location to be displayed even when telemetry + is not. + + Center the map on the first valid location, either receiver or + rocket. Update center if a significantly more precise location is received. + + Signed-off-by: Keith Packard + +commit 192bc28fbe2a8613d0b42e4fb3f7674a1a50abc7 +Author: Keith Packard +Date: Sat Apr 13 11:45:23 2013 -0700 + + altosdroid: Get rid of a couple of startup messages + + These are just annoying + + Signed-off-by: Keith Packard + +commit e4b6fc3238ad9911fd40ef25accf82a401cb190f +Author: Keith Packard +Date: Sat Apr 13 11:39:14 2013 -0700 + + altosdroid: Show our position in the map tab. Squeeze to fit phones + + Shrink everything to fit on phones, then add phone location to the map tab + + Signed-off-by: Keith Packard + +commit 2f7015afcca7c6042365d2124d3a5b7219e8e588 +Merge: 5077f3a 778daf0 +Author: Keith Packard +Date: Sat Apr 13 10:51:04 2013 -0700 + + Merge branch 'master' into droid-gps + +commit 5077f3ad1967a33712e9ff411e3b2a0b4e1a5c4a +Author: Keith Packard +Date: Sat Apr 13 10:50:26 2013 -0700 + + altosdroid: Shrink text so it fits on my phone + + Yes, this is a hack; will try to figure out how to make it resizeable + + Signed-off-by: Keith Packard + +commit 778daf0ccbd8a073da33497e33c29400d0ecc464 +Author: Keith Packard +Date: Sat Apr 13 10:39:14 2013 -0700 + + Windows: Add all of the AltusMetrum USB IDs to telemetrum.inf + + This should make Windows load the driver + + Signed-off-by: Keith Packard + +commit 25c01719f17be8da73a859867c14df0fc29b5441 +Author: Keith Packard +Date: Thu Apr 11 22:16:03 2013 -0700 + + libaltos: Retry Windows serial port open five times + + Maybe this helps? + + Signed-off-by: Keith Packard + +commit 679401fff981b675dd5a188c64e8940254588800 +Author: Keith Packard +Date: Fri Apr 12 03:09:16 2013 -0700 + + altos: Make sure the packet format is set reasonably for radio test + + Dunno if this matters, but it might as well be set reasonably + + Signed-off-by: Keith Packard + +commit 1430c48cfef1ef21831205f4fadd26ca6c7f5dbe +Author: Keith Packard +Date: Fri Apr 12 00:55:59 2013 -0700 + + altoslib: Remove spurious debug message + + Signed-off-by: Keith Packard + +commit cdbf8053658c71a657005af68202023d0b4af1fe +Author: Keith Packard +Date: Fri Apr 12 02:42:37 2013 -0700 + + altos: Don't include bufio debug commands by default + + We shouldn't need these + + Signed-off-by: Keith Packard + +commit c54bd59780275ece87eafb8143cf0637b35e794c +Author: Keith Packard +Date: Fri Apr 12 02:35:15 2013 -0700 + + altos: Stick a mutex around FAT operations + + This allows the command line and logging operations to occur safely in parallel + + Signed-off-by: Keith Packard + +commit 7e6e2ca60c65a4fe2bee0bd8b9b89d45a7dbcfb3 +Author: Keith Packard +Date: Fri Apr 12 01:55:33 2013 -0700 + + altos: Delay while waking up SD card a bit + + This seems to make bringing the card from idle to ready mode more + reliable. If you spam the card with requests, it will eventually + whinge and shut down communications. + + Signed-off-by: Keith Packard + +commit 19ef593be9ff3f329e44472735d90c80129d2795 +Author: Keith Packard +Date: Fri Apr 12 01:04:55 2013 -0700 + + altosdroid: The Map already draws our location; no receiver marker needed + + Signed-off-by: Keith Packard + +commit 1ec6fb3b9cec0f864d6e65d0cc6b4dd42edd3e16 +Author: Keith Packard +Date: Fri Apr 12 01:00:36 2013 -0700 + + altosdroid: Check state.gps != null before using it + + Avoid crashing. + + Signed-off-by: Keith Packard + +commit 02243463adbdfb860f69580f544da9026dc7cbd4 +Author: Keith Packard +Date: Fri Apr 12 00:55:59 2013 -0700 + + altoslib: Remove spurious debug message + + Signed-off-by: Keith Packard + +commit 9212ce268f3a4a9f3f019f23f6eef8b57207d340 +Author: Keith Packard +Date: Fri Apr 12 00:19:24 2013 -0700 + + altosdroid: Compute course from android device to rocket, display it + + Signed-off-by: Keith Packard + +commit f02bb1df132443fc27b69f23f382ea87e610f533 +Author: Keith Packard +Date: Thu Apr 11 23:56:47 2013 -0700 + + altoslib: Add range and elevation to AltosGreatCircle + + Move the computations from AltosState here so they can be re-used elsewhere. + + Signed-off-by: Keith Packard + +commit 9a8cc23de5776ea3fa2bdc96cbe63422eb555d63 +Author: Keith Packard +Date: Thu Apr 11 22:39:14 2013 -0700 + + altosdroid: Mike was right -- only need one LocationListener + + I mis-read the docs and thought we needed two listeners, one for GPS + and one for network position. Looks like we don't + + Signed-off-by: Keith Packard + +commit 83ce46c73b0e876f9f630943af19ea97b3a21d3c +Author: Keith Packard +Date: Thu Apr 11 22:34:36 2013 -0700 + + altosdroid: Send LOCATION and CRC_ERROR messages to UI. + + This collects all position changes and crc error increments and sends + them along to the UI for presentation. + + Signed-off-by: Keith Packard + +commit 1f88d345c407e409611448d0e8813ab5a6de0a0b +Author: Keith Packard +Date: Thu Apr 11 22:16:25 2013 -0700 + + altosdroid: Hook up the position listeners + + Signed-off-by: Keith Packard + +commit 81730670b6848bebb2c6a8ac7813419112f2779a +Author: Keith Packard +Date: Tue Apr 9 14:53:25 2013 -0700 + + doc: Add an outline of an AltosDroid chapter + + Not much content yet, but I think this is pretty much the sections we need + + Signed-off-by: Keith Packard + +commit 07fb6efc54b8575627572a2113bdbc62914bafb5 +Author: Keith Packard +Date: Tue Apr 9 00:38:25 2013 -0700 + + altoslib/altosui: Adapt monitor idle to new AltosListenerState + + Move the receiver battery monitoring to the new spot + + Signed-off-by: Keith Packard + +commit 398c02b945a58634c8932f07df2c2be8438da7d1 +Author: Keith Packard +Date: Tue Apr 9 00:28:05 2013 -0700 + + altoslib/altosui: Carry receiver status around in AltosListenerState + + This moves the crc_errors into the new structure and adds a receiver + battery voltage value there as well. Now the receiver status can be + monitored separately from the flight status. That also means that code + receiving state updates should be prepared to accept missing listener + or flight state values. + + Signed-off-by: Keith Packard + +commit 08eb1e3e1abb1aa4f5ea92b781a2ff8f480006c5 +Author: Keith Packard +Date: Mon Apr 8 17:42:18 2013 -0700 + + altos: Monitor battery voltage on telebt + + Signed-off-by: Keith Packard + +commit 6ba0df9b440b69bf5bc5f4e435b431adf303fee2 +Merge: 1d3ab47 28adf55 +Author: Bdale Garbee +Date: Mon Apr 8 18:02:37 2013 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 28adf5541354715b185dbb45b28c97c7d9cf8bcd +Author: Keith Packard +Date: Mon Apr 8 16:48:40 2013 -0700 + + altos: Create telebt-v1.0 product. Remove old telebt products + + Signed-off-by: Keith Packard + +commit 1d3ab47d82fe005ab6854386c0ffa5771ee49bf6 +Author: Keith Packard +Date: Mon Apr 8 16:48:40 2013 -0700 + + altos: Create telebt-v1.0 product. Remove old telebt products + + Signed-off-by: Keith Packard + +commit 0c0dc761095a5a77c87c3b4dcd1d42a4e79f6604 +Author: Keith Packard +Date: Sat Apr 6 23:48:36 2013 -0700 + + altos: Try RDF mode for TX calibration + + Trying to get the radio to stop modulating the carrier when + calibrating the radio, we'll try RDF mode which says no preamble or + sync data. This might shift the frequency though? + + Signed-off-by: Keith Packard + +commit 30c397296bcdaceb4c2c9d0509dc591b489ece02 +Author: Keith Packard +Date: Tue Apr 2 17:44:06 2013 -0700 + + altosui: Graph TeleMini flights without crashing + + Adding maps to the graph UI failed to check for missing GPS data in a + couple of places causing crashes when fed a TeleMini file. + + Signed-off-by: Keith Packard + +commit 67b8bdb4ea8c22688d4f18416593346585595cfa +Author: Keith Packard +Date: Tue Apr 2 17:29:40 2013 -0700 + + altosui: Display current GPS in 'pad' tab for 'startup' staten + + This is the state for telegps, so just display the current GPS info as + we don't know where it started at. + + Signed-off-by: Keith Packard + +commit 907cc6c50755c0d19b93c15678d6f3022a6ee10b +Author: Keith Packard +Date: Tue Apr 2 16:48:05 2013 -0700 + + altosui: Hide flight-related tabs for telegps + + Products without a flight state don't need ascent/descent/landed tabs. + + Signed-off-by: Keith Packard + +commit e747156d0ea4b62eea30a8f486ee105ee35dcaf5 +Author: Keith Packard +Date: Tue Apr 2 16:47:07 2013 -0700 + + altosui: Don't display missing sensor data + + For devices without sensors, don't display temperature, barometric and + accelerometer-derived values. + + Signed-off-by: Keith Packard + +commit 997cdef3fe04acdd566d287e70981f7b7934d0c8 +Author: Keith Packard +Date: Tue Apr 2 16:44:58 2013 -0700 + + altoslib: Make any incoming telem packet update the RSSI value + + Every packet has RSSI info, so use the latest one available. This + makes telegps RSSI available as it never sends sensor packets (having + no sensors). + + Signed-off-by: Keith Packard + +commit 0cd203e418e73a1f11460425985b7575c2f0a76c +Author: Keith Packard +Date: Tue Apr 2 16:43:53 2013 -0700 + + Set telegps USB id to 0025 + + It was accidentally using the same ID as megadongle... + + Signed-off-by: Keith Packard + +commit 96c32125a780ad6b39c015f4abbae07fead68582 +Author: Keith Packard +Date: Tue Apr 2 16:41:29 2013 -0700 + + altos: Shorten SD initialization timeouts. + + This makes failure when no card is present much quicker. + + Signed-off-by: Keith Packard + +commit 985df526ec142258ef990d0b55b0a14e13c099b4 +Author: Keith Packard +Date: Mon Apr 1 02:39:35 2013 -0700 + + altos: Horrible kludge -- disable radio while talking with SD card + + The SD card really doesn't like the RFI generated by our enormous + radio, so just lock the radio out while working with the card. + + Signed-off-by: Keith Packard + +commit 14c63f94f36a95272d91695039abf54efb423a91 +Author: Keith Packard +Date: Mon Apr 1 02:10:14 2013 -0700 + + altos: Add defines for the specific pins used for telegps SPI + + These aren't needed at this point, but who knows? + + Signed-off-by: Keith Packard + +commit b34370cea662eb245e43aca20a6650b84b55ef6f +Author: Keith Packard +Date: Mon Apr 1 02:08:18 2013 -0700 + + altos: Retry SD card I/O. Use time for timeouts instead of counts + + Sometimes I/O operations may fail; give the card a chance and retry + the operation in case it works the next time. + + Replace the loop counts with loops that check the clock so that + they'll have consistent timeouts even if the CPU or SPI speed changes. + + Signed-off-by: Keith Packard + +commit b3a41bed39ec1abfc3ab74e9be7dd393e975542b +Author: Keith Packard +Date: Mon Apr 1 02:07:06 2013 -0700 + + altos: Provide build hooks for sampling profiler in telegps + + Might prove useful if the CPU is ever doing anything? + + Signed-off-by: Keith Packard + +commit fae116fbebb9658fe15690ff43dfe8568a58c2a9 +Author: Keith Packard +Date: Mon Apr 1 02:06:03 2013 -0700 + + altos: Add a FAT test that re-writes the same file multiple times + + This caught a bunch of FAT cluster chain allocation bugs. + + Signed-off-by: Keith Packard + +commit 79d01a571935138b24b86a7181307ee014d248ed +Author: Keith Packard +Date: Mon Apr 1 02:03:57 2013 -0700 + + altos: Support open on multiple simultaneous FAT files + + Need to be able to see the contents of a log file, even if the logger + is running. + + Signed-off-by: Keith Packard + +commit 0838b6c8797b84cf8df8f92ee20fb6ae79e434d7 +Author: Keith Packard +Date: Mon Apr 1 02:02:14 2013 -0700 + + altos: Make sure FAT cluster allocation works for size zero files + + There were some rounding errors mis-computing the number of clusters + needed, and the logic to figure out how to re-connect a chain was broken. + + Signed-off-by: Keith Packard + +commit 76bd204de744c34e5cbf6efa93adb89bc2cb08b3 +Author: Keith Packard +Date: Mon Apr 1 02:00:21 2013 -0700 + + altos: let FAT tracing work in ao_fat_test as needed + + This allows the FAT DBG hooks to be enabled even if some other module + turned DBG off. + + Signed-off-by: Keith Packard + +commit a764bf06d0975cbf1620b079351c7437053ea1a8 +Author: Keith Packard +Date: Mon Apr 1 01:58:37 2013 -0700 + + altos: Flush the on-board mega log after every sample interval. + + SPI flash parts don't need flushing, but the SD card does. Make sure + the SD card contents are sane after every logging interval has passed + by flushing all dirty blocks to the device. + + Signed-off-by: Keith Packard + +commit c2de64b10894b366398a8b37ebd2305d9be46d46 +Author: Keith Packard +Date: Sun Mar 31 16:11:27 2013 -0700 + + altos: Create the log file if it doesn't already exist + + open will return failure unless the file already exists. + + Signed-off-by: Keith Packard + +commit 659a6915f5ba5129096e55ccc04c975d216546ae +Author: Keith Packard +Date: Sun Mar 31 16:10:33 2013 -0700 + + altos: Make ao_fat_readdir return real error values instead of 1/0 + + This way, we can distinguish between 'something bad happened' and + 'you're at the end of the directory'. + + Signed-off-by: Keith Packard + +commit 182ceaac7d91dc6e9ebac6455d5de0c10687796b +Author: Keith Packard +Date: Sun Mar 31 13:55:16 2013 -0700 + + altos: Increase SD card timeout at startup time + + Sometimes the SD card takes 'a while' to go into idle mode at first + power up. Just hang around waiting for a long time. + + Signed-off-by: Keith Packard + +commit d813566cdc4d43a43ed988dde4a3ceeccf24efe6 +Author: Keith Packard +Date: Sun Mar 31 12:46:41 2013 -0700 + + altos: Fix command-line FAT filename parsing + + Pad extension with spaces + + Signed-off-by: Keith Packard + +commit db01557ce493c435db177fda78653697ba2afa51 +Author: Keith Packard +Date: Sat Mar 23 02:10:38 2013 -0700 + + ao-tools/ao-stmload: Be smarter about ELF parsing. Retry open on failure. + + Figuring out what goes where is tricky; turns out we want to pull all + of the sections that map inside any program area that is supposed to + be loaded from the file. + + So, we walk the program headers, then walk all of the section headers + looking for those that suck data from the same portion of the + file. Compute where in ROM each relevant section goes and build a full + ROM image in memory using that. + + This patch also adds code to close and re-open the device if the first + open failed to do what we want. Much nicer to have the computer figure + out when the open succeeded rather than having people re-run the app. + + Signed-off-by: Keith Packard + +commit 144b44e13ce3361ff59cbb555e84d542455a4e17 +Author: Keith Packard +Date: Sun Mar 31 12:39:32 2013 -0700 + + altos: Unmount file system after each testing pass in ao_fat_test + + Otherwise, we use stale data and 'bad things' happen. + + Signed-off-by: Keith Packard + +commit a70139c9a8a177df8f20f525703b13c0aec0fbc7 +Author: Keith Packard +Date: Sun Mar 31 12:29:37 2013 -0700 + + altos: Don't add fat commands when building ao_fat_test + + Signed-off-by: Keith Packard + +commit 8b2f211758dfa97230a730b8c4b31e0e711c19c9 +Author: Keith Packard +Date: Sun Mar 24 15:04:57 2013 -0700 + + altos/stm: Always check for idle IN buffer before sending + + Unlike the AVR and CC1111 USB drivers, the STM usb driver queues IN + bytes in a local buffer instead of in the driver; this means that the + driver is queuing bytes while the previous IN packet is queued for the + host, which allows for overlapping execution. + + It also means that when the local buffer is full, we must check to see + if the host has picked up the previous IN packet before trying to + queue another IN packet for transmission. This is done by always + waiting for the IN buffer to be ready before sending data. + + Signed-off-by: Keith Packard + +commit de199601a177fc2d45ad9bd7357111111844d40a +Author: Keith Packard +Date: Sun Mar 24 15:03:59 2013 -0700 + + altos/stm: Add debugging mechanism to STM USB driver + + This adds a pile of debugging hooks to the USB driver to try and + isolate various lockup-related issues. It's all disabled by default, + of course. + + Signed-off-by: Keith Packard + +commit 4f1f3e836393304434130d362771a39f6f8f859a +Author: Keith Packard +Date: Sun Mar 24 15:00:20 2013 -0700 + + altos: Do not release interrupts from any pollchar function + + getchar relies on interrupts being blocked across the pollchar calls + and into the sleep call or it may go to sleep with data pending. + + This prefixes all pollchar functions with _ to indicate that they are + to be called with interrupts blocked and eliminates all interrupt + manipulation calls from within the pollchar functions. + + Signed-off-by: Keith Packard + +commit 7afcec1a1dce140dfa569469df4ef42ed407a742 +Author: Keith Packard +Date: Sun Mar 31 12:23:31 2013 -0700 + + altos: Add sdcard read/write tracing + + This just dumps info in trace mode about read and write commands + + Signed-off-by: Keith Packard + +commit a0595d94c7deea29d9e3d4bcbc106b9bed5ee103 +Author: Keith Packard +Date: Sun Mar 31 12:22:28 2013 -0700 + + altos: Move fat mount information to separate command. + + This makes the mount report precise error information and then prints + that with the 'M' command. + + Signed-off-by: Keith Packard + +commit a0628541e1bfc3e4a122cc824188ed53fddf733e +Author: Keith Packard +Date: Sun Mar 31 12:21:03 2013 -0700 + + altos: Disable CC115L debug commands + + now that it appears to work, leave these disabled by default + + Signed-off-by: Keith Packard + +commit d8826b1ad5487de9345b7dcaf6c75a45117ff538 +Author: Keith Packard +Date: Sun Mar 31 10:35:47 2013 -0700 + + altos: Add SD card writing function + + Now that the FAT code seems to be operational, go back and add + SD writing. + + Signed-off-by: Keith Packard + +commit 649999863c7228ead0225968752d068dc0d30091 +Author: Keith Packard +Date: Sat Mar 30 01:33:49 2013 -0700 + + altos: Add logging and telem to telegps + + This turns on telemetry, APRS, RDF and data logging for telegps. + + Data is logged as soon as GPS has a date to create the right + filename, using files of the form YYYYMMDD.LOG which just barely fits + in a FAT filename. + + Telemetry/RDF/APRS are all separately controllable. + + Signed-off-by: Keith Packard + +commit b3d8956df3a3ecb3918b5db4d78b057d68541c33 +Author: Keith Packard +Date: Sat Mar 30 01:32:30 2013 -0700 + + altos: Export ao_fat_sync and ao_fat_full functions + + ao_fat_sync() flushes the bufio data to disk along with any fsinfo + changes. ao_fat_full() returns whether the file system is full. + + Signed-off-by: Keith Packard + +commit 7455a892e8bf5402e7ff2c4bd2ddad05dfe76638 +Author: Keith Packard +Date: Sat Mar 30 01:31:12 2013 -0700 + + altos: Lock cc115l radio mutex when using global radio values + + This moves the locking up above the global state variable uses so that + multiple radio users (as if we had any) won't collide. + + Signed-off-by: Keith Packard + +commit bd32140df2a595ce66d603b98516bae519327c5d +Author: Keith Packard +Date: Sat Mar 30 01:30:18 2013 -0700 + + altos: Configure cc115l sync byte count for each radio mode + + two sync bytes for packet mode, disable sync for rdf/aprs mode. + + Signed-off-by: Keith Packard + +commit 93a9aa703a0173e13b327ed432e6d52e90ebfa1b +Author: Keith Packard +Date: Fri Mar 29 17:05:36 2013 -0700 + + altos: Get CC115L radio working. + + This involved figuring out which GPIO signal would reliably indicate + that the transmitter was finished; I ended up using the PA_PD bit for + this. + + This also converts all of the radio users to the long packet support + as the CC115L has only a 64-byte fifo, not large enough to hold either + an RDF tone or a regular AltOS telemetry packet. + + This also renames the public API for sending APRS packets from + ao_radio_send_lots to ao_radio_send_aprs, which is at least more + accurate. The workings of that API haven't changed, just the name. + + Signed-off-by: Keith Packard + +commit 9aeed244879f90b5b6dab1c7ca095cc001b03fe5 +Author: Keith Packard +Date: Fri Mar 29 12:13:59 2013 -0700 + + altos: Add temporary RF power settings + + These expose the raw cc115l and rfpa0133 register settings so that we + can calibrate them against measured power outputs. + + I've tested them to verify that they change how much power the board + consumes, so they're clearly doing something... + + Signed-off-by: Keith Packard + +commit 86e1039e14304ac13db540f2ee3afd4ff170b8b4 +Author: Keith Packard +Date: Fri Mar 29 00:32:23 2013 -0700 + + altos: Add FAT32 support. And lots more testing. + + Generalizes the FAT code to deal with either 16-bit or 32-bit + versions. The testing code now runs over a variety of disk images to + check for compatibility on all of them. + + Signed-off-by: Keith Packard + +commit 44e418bbecd3a3deae942803141cf115d92f29d2 +Author: Keith Packard +Date: Thu Mar 28 17:38:14 2013 -0700 + + altos: seek forward on FAT cluster chain instead of restarting + + This improves sequential file performance by taking advantage of any + previous cached cluster/offset pair and starting from there when the + cluster changes rather than starting from scratch at the begining again. + + Signed-off-by: Keith Packard + +commit 8101e4af199a3d79bff434f788cce9f97aeac53a +Author: Keith Packard +Date: Thu Mar 28 16:57:02 2013 -0700 + + altos: Add a simple cache for the FAT position->cluster computation + + This improves read/write performance with large files by not + re-walking the cluster chain for every operation + + Signed-off-by: Keith Packard + +commit c7b606e93a4e4fbd2c0e883352ed74619ee24cf7 +Author: Keith Packard +Date: Thu Mar 28 16:05:24 2013 -0700 + + altos: Clean up fat driver API. Improve fat test + + Make FAT api provide reasonable error return values, change the tests + to write and then read a pile of files, checking that the contents are + correct (using md5sum). + + Signed-off-by: Keith Packard + +commit d1fe0654b45cc8f944394308cf29945b537becc4 +Author: Keith Packard +Date: Thu Mar 28 15:55:35 2013 -0700 + + altos: Add sanity checking to busy counts in bufio driver + + Make sure the busy counts don't underflow or overflow. + + Signed-off-by: Keith Packard + +commit 6fe32e0fc407522101e805cf2653253cb3cee291 +Author: Keith Packard +Date: Wed Mar 27 22:11:53 2013 -0700 + + altosui: Don't deref null pyros when saving altimeter config + + The check for no pyro config is to compare npyros against zero rather + than check the length of the pyros array as the latter may be null. + + Signed-off-by: Keith Packard + +commit 985cd22b941415b1ae2709ae1ab6b60c3d815ec1 +Author: Keith Packard +Date: Wed Mar 27 18:43:42 2013 -0700 + + altos: Use FTDW, clear DATA bit. Disable backup write protection + + The newer(?) chips in telegps didn't like the previous programming + scheme, so go back to fixed time for write, which does an implicit + erase before every write. Also clear the DATA bit, which is only + needed for double word erase/programming. + + Signed-off-by: Keith Packard + +commit 4a68878a66508e6f1523cd813b2e37bcf2e90ab3 +Author: Keith Packard +Date: Wed Mar 27 01:25:24 2013 -0700 + + altos: Teleshield has a radio, set HAS_RADIO in ao_pins.h + + Otherwise, lots of random code won't know about the radio.. + + Signed-off-by: Keith Packard + +commit 561175afebc63ec3d2f8f7305235c9812ceaf501 +Author: Keith Packard +Date: Wed Mar 27 01:15:04 2013 -0700 + + altos: Add new panic flag for bufio misuse + + Allow the bufio code to signal a fatal error if someone misuses the API + + Signed-off-by: Keith Packard + +commit bd43955ff0c4d39a685b79e91cb62898a5f1b875 +Author: Keith Packard +Date: Wed Mar 27 01:14:15 2013 -0700 + + altos: Hook up the FAT16 and SD card support to telegps + + Signed-off-by: Keith Packard + +commit e14834817f78a04b4d9b44a8373119dffd42c966 +Author: Keith Packard +Date: Wed Mar 27 01:12:33 2013 -0700 + + altos: Add SDCARD and FAT16 filesystem support + + This adds a fairly primitive FAT16 file system implementation + along with support for SD cards. + + Signed-off-by: Keith Packard + +commit 747114786512339211d4981a7828c8c6f1f46c20 +Author: Keith Packard +Date: Tue Mar 26 14:28:37 2013 -0700 + + altos: Fix config to not abort radio recv when no recv is available + + Use the new radio recv define to skip disabling the receiver when + there isn't a receiver. + + Signed-off-by: Keith Packard + +commit 237e853b820b01409562b93b82684e5147286806 +Author: Keith Packard +Date: Tue Mar 26 14:27:46 2013 -0700 + + altos: Allow radio recv and xmit to be separately configured + + The CC115L is xmit only, so split out the functions and provide + defines to check for xmit or recv separately as needed. + + Signed-off-by: Keith Packard + +commit 4d187460bdcb97bf6d0a3550e4e03c4c223e4cc1 +Author: Keith Packard +Date: Tue Mar 26 14:26:38 2013 -0700 + + altos/stm: Ensure SPI always sends 0xff during receive + + SD cards require 0xff when fetching data + + Signed-off-by: Keith Packard + +commit 136ca0922e968d650e9e420a47d228611a3cb45e +Author: Keith Packard +Date: Tue Mar 26 14:25:48 2013 -0700 + + altos: Improve CC115L driver. Generates carrier now. + + Still no data, but at least the carrier comes up on frequency now. + + Signed-off-by: Keith Packard + +commit 4889b33af9700b9d872364f0cadaf9425cf84a7d +Author: Keith Packard +Date: Tue Mar 26 14:24:45 2013 -0700 + + altos: Add RFPA0133 amplifier driver + + No configuration of power level yet, just the bare driver. + + Signed-off-by: Keith Packard + +commit 6fe1e32f5361e901b88b63a30f070e67d460ada1 +Author: Keith Packard +Date: Sun Mar 24 23:52:14 2013 -0700 + + altos/telegps: Hook up cc115l driver + + Doesn't actually do anything yet, but should initialize the chip at least + + Signed-off-by: Keith Packard + +commit 4ddfb3ea07c2073f8c4d79feaf262c9fb910cfce +Author: Keith Packard +Date: Sun Mar 24 23:51:11 2013 -0700 + + altos: Add cc115l driver (untested) + + Includes support for sending telemetry, RDF and APRS tones + + Signed-off-by: Keith Packard + +commit 15bc83a0eaaa9a43d67fdc3e9f412d5b2c1f06dd +Author: Keith Packard +Date: Wed Mar 20 23:22:37 2013 -0700 + + ao-tools: Make library support µPusb + + Set baud rate to 9600, look for FTDI-style names + + Signed-off-by: Keith Packard + +commit 50dd268a715224a01f8a6b481670a4ae6621cb28 +Author: Keith Packard +Date: Wed Mar 20 23:21:37 2013 -0700 + + Add telegps initial version + + Just lights up the GPS and USB + + Signed-off-by: Keith Packard + +commit 548cf57d5a5ea323bbfc3605b44c23fc48dec96b +Author: Keith Packard +Date: Mon Mar 18 22:12:48 2013 -0700 + + ao-tools: add ao-dump-up + + Dumps out a µP log. Useful for µPusb bring-up + + Signed-off-by: Keith Packard + +commit d171d10d97307a1a1a62e660e9194121b79a09be +Author: Keith Packard +Date: Mon Mar 11 18:16:55 2013 -0700 + + micropeak: Improve download docs and UI + + Add text explaining that the LED and phototransistor must be + touching to both the doc and the UI. + + Signed-off-by: Keith Packard + +commit 90ee11542b111befa0e96e27292dc548e5c37396 +Merge: 97efce5 d7973de +Author: Keith Packard +Date: Sun Mar 10 11:43:06 2013 -0700 + + Merge remote-tracking branch 'mjb/altosdroid' + +commit 97efce5f7ff227aaa8990529217d3d10db3443dc +Author: Keith Packard +Date: Sun Mar 10 11:41:49 2013 -0700 + + altos: re-enable optimization for stm-demo. remove unused bits + + This makes stm-demo run on the discovery board again. + + Signed-off-by: Keith Packard + +commit d7973de32adff5402844cc1e1da3eced05265074 +Author: Mike Beattie +Date: Sun Mar 10 23:28:26 2013 +1300 + + altosdroid: Add map polyline between pad and rocket + + Signed-off-by: Mike Beattie + +commit b691fc48f5e879045e68e070162af56cd08f03b4 +Author: Mike Beattie +Date: Sun Mar 10 23:27:28 2013 +1300 + + altosdroid: Add rocket and pad map markers + + Signed-off-by: Mike Beattie + +commit b7c82b867b12ca016164725f3736bc5b55048999 +Author: Mike Beattie +Date: Sun Mar 10 20:40:13 2013 +1300 + + altosdroid: programmatically create map fragment + + * Allows reliable fetching of a GoogleMap handle. + * Set map options, initial location (NCR North for now, temporarily) + * Add some info fields below map, and update them accordingly + + Signed-off-by: Mike Beattie + +commit 8adadf6bd2ba623642675e4beafac4ac98b1916d +Merge: d029aca 0c0c6d6 +Author: Mike Beattie +Date: Sun Mar 10 20:24:56 2013 +1300 + + Merge branch 'master' into altosdroid + +commit 0c0c6d60cdce39582fa5350e9b016a08e76f27a1 +Author: Mike Beattie +Date: Sun Mar 10 20:24:15 2013 +1300 + + altosdroid: Add SDK checks to configure.ac + + Signed-off-by: Mike Beattie + +commit c2d966a8ca9dcf6ccf5c268c616cf1384d45002d +Author: Mike Beattie +Date: Sun Mar 10 20:22:51 2013 +1300 + + altosdroid: adjust clean targets to get rid of automake warning + + Signed-off-by: Mike Beattie + +commit 988e9079e20133554acfecc74a109195688c2752 +Author: Mike Beattie +Date: Sun Mar 10 20:22:09 2013 +1300 + + ao-tools: Add ao-edit-telem to .gitignore + + Signed-off-by: Mike Beattie + +commit d029acad6a992be9b7b4498e70605f8a1e1a4ef6 +Merge: eba7b2e 72c5b14 +Author: Mike Beattie +Date: Sun Mar 10 19:07:01 2013 +1300 + + Merge branch 'master' into altosdroid + +commit 72c5b1429bdfd6e9d2185bad7d0adb281fdf659a +Author: Keith Packard +Date: Sat Mar 9 20:40:52 2013 -0800 + + ao-tools: Add ao-edit-telem + + This lets you edit a telemetry file. The only current editing + available is to change the pad location, allowing a flight to be + replayed anywhere in the world. + + Signed-off-by: Keith Packard + +commit 9b460d38bc2685bca7f530b7749c0e0381f6264c +Author: Keith Packard +Date: Sat Mar 9 20:39:31 2013 -0800 + + ao-tools/lib: Add cc_telemetry_unparse + + This takes a telemetry structure and generates a string version + + Signed-off-by: Keith Packard + +commit 0803da851e2e061affc172fdde6301652d1be755 +Author: Keith Packard +Date: Sat Mar 9 20:37:38 2013 -0800 + + altosui: Add N/S and E/W to info table lat/lon values + + Signed-off-by: Keith Packard + +commit eba7b2ef8ef23bdb61b0390e47be6f27ffde31dc +Author: Mike Beattie +Date: Fri Mar 8 19:41:32 2013 +1300 + + altosdroid: fix side-to-side scrolling in map tab + + Signed-off-by: Mike Beattie + +commit 84d35e4cbd7ea2f681c43496b9b9db84f9dd923f +Merge: 760b1f0 e0d9128 +Author: Keith Packard +Date: Thu Mar 7 13:00:44 2013 -0800 + + Merge remote-tracking branch 'mjb/altosdroid' + +commit e0d9128b7219b4c8ee68245a44b3428e796ca2f1 +Author: Mike Beattie +Date: Thu Mar 7 21:37:51 2013 +1300 + + altosdroid: Auto tab changing + + Signed-off-by: Mike Beattie + +commit ecfc568574ababd23b2c4dc1323cb7265c097933 +Author: Mike Beattie +Date: Thu Mar 7 21:37:22 2013 +1300 + + altosdroid: implement Age field updating + + Signed-off-by: Mike Beattie + +commit 86b742743b26693cf8e56034d4ea68ff277931c1 +Author: Mike Beattie +Date: Thu Mar 7 21:35:43 2013 +1300 + + altosdroid: implement UI updating on tabs + + Signed-off-by: Mike Beattie + +commit 2a81d637308e680b99d7218ba9e03c9ade6626f1 +Author: Mike Beattie +Date: Thu Mar 7 21:33:27 2013 +1300 + + altosdroid: implement tabs interface + + Signed-off-by: Mike Beattie + +commit 59dfcbe14622c20aaa7d5b131eece9f4c8db6887 +Author: Mike Beattie +Date: Thu Mar 7 21:28:45 2013 +1300 + + altosdroid: Import initial versions of XML and Java for Tab content + + * Includes TabsAdapter class borrowed from Support Library sample code + * New "GoNoGoLights" class for dealing with the red/green/gray LEDs + * extra required strings in strings.xml + * Couple of support functions in AltosDroid.java + * rudimentary Maps tab - does nothing at present. + + Signed-off-by: Mike Beattie + +commit d6f1b176f4005af3b6fd16d8c7d22260a3ccdfd8 +Author: Mike Beattie +Date: Thu Mar 7 21:20:47 2013 +1300 + + altosdroid: whitespace cleanup + + DAMN my OCD. + + Signed-off-by: Mike Beattie + +commit d229d702c8532f477e2ace2af36f2d0cc6e728d3 +Author: Mike Beattie +Date: Thu Mar 7 21:20:06 2013 +1300 + + altosdroid: make AltosDroid.pos() static + + * Will be used from tabs that display lat/lon + + Signed-off-by: Mike Beattie + +commit cf03ddb42042002bfb88e13ecfb89b27e7aeb91e +Author: Mike Beattie +Date: Thu Mar 7 20:53:26 2013 +1300 + + altosdroid: convert spaces to tabs in strings.xml + + Signed-off-by: Mike Beattie + +commit 89f8bb52ea858f059374474c0adda3cd5095a589 +Author: Mike Beattie +Date: Thu Mar 7 20:49:41 2013 +1300 + + altosdroid: adjust release Makefile target + + * Rename target + * Add dependency on unsigned release APK + * use $(ZIPALIGN) variable + + Signed-off-by: Mike Beattie + +commit 6ff45bef719bafd2c827e479186c8fadf6f779aa +Author: Mike Beattie +Date: Thu Mar 7 20:48:16 2013 +1300 + + altosdroid: Symlink red/green/gray LEDs via build system + + Signed-off-by: Mike Beattie + +commit 795fba09a3ca273cd2daeeb7d9fed6bae6fa6a86 +Author: Mike Beattie +Date: Thu Mar 7 19:23:39 2013 +1300 + + altosdroid: Adjust build system for GMaps & Tabs support + + * Use SupportV4 library for Tab support + * Use Google Services Lib for Google Maps + * revert to a standard Android target, not Google API's + * Add permissions required for Google Maps to manifest, and API key + + Signed-off-by: Mike Beattie + +commit b7dc6045892b33b04ec7c27bdc940b4d3e1b9cbf +Author: Mike Beattie +Date: Thu Mar 7 19:05:43 2013 +1300 + + altosdroid: adjust Makefile rules + + separate altoslib linking and, making of external lib directory. + + Signed-off-by: Mike Beattie + +commit 353372425550177cf0531a05706491a96414d12c +Author: Mike Beattie +Date: Thu Mar 7 19:02:48 2013 +1300 + + altosdroid: use a glob for source files + + Signed-off-by: Mike Beattie + +commit 1c9a3a5080ca0e21f45c2b7ea889793645796751 +Author: Mike Beattie +Date: Thu Mar 7 18:59:30 2013 +1300 + + altosdroid: Only update BuildInfo.java when other source files change + + Signed-off-by: Mike Beattie + +commit 10042fed36d19c1b21b8f04c57da708afc085b25 +Author: Mike Beattie +Date: Thu Mar 7 18:54:45 2013 +1300 + + altosdroid: Fix up some formatting in manifest + + (And add flag to allow settings backup by google services) + + Signed-off-by: Mike Beattie + +commit 760b1f02c178c600226f39b5e66d8cbadbf4a29b +Merge: afd2674 cbad587 +Author: Keith Packard +Date: Wed Mar 6 21:53:22 2013 -0800 + + Merge remote-tracking branch 'mjb/master' + +commit 5560148ffea1a718a303d999a0f8a625deceef23 +Author: Mike Beattie +Date: Thu Mar 7 18:51:27 2013 +1300 + + altosdroid: minor whitespace cleanup + + (damn my OCD!) + + Signed-off-by: Mike Beattie + +commit 9a54e278298540582b91ff3eda476265082e890c +Author: Mike Beattie +Date: Thu Mar 7 18:46:32 2013 +1300 + + altosdroid: update copyrights/licensing + + Signed-off-by: Mike Beattie + +commit afd2674261e128a0ecff8fbf5dd6a64196b026f6 +Author: Keith Packard +Date: Mon Mar 4 19:44:30 2013 -0800 + + altoslib: Invalidate GPS new data bit when updating state + + Somehow this line got lost when the GPS ground altitude fix was made. + + Signed-off-by: Keith Packard + +commit 3605e97ee918b3f87e4c471906f708c3ea027eef +Author: Keith Packard +Date: Sun Mar 3 16:53:52 2013 -0800 + + ao-tools: Add ao-dumpflash program + + This program dumps the entire flash contents of an AltOS device to + allow for external analysis. + + Signed-off-by: Keith Packard + +commit 784edcda52d681bbc9302fbc7efb80cb214f71b8 +Author: Keith Packard +Date: Sat Mar 2 17:46:29 2013 -0800 + + libaltos: Open FTDI serial devices twice on Windows. + + Looks like the Windows FTDI driver has 'issues' and opening it only + once doesn't work correctly. Just close and re-open the device and it + seems to be perfectly happy. + + Who knows? + + Signed-off-by: Keith Packard + +commit cb09076fe16d28e25f5b20b2178cfad10adbeddb +Author: Keith Packard +Date: Fri Mar 1 20:48:28 2013 -0800 + + doc: Add version 1.2 release notes + + Signed-off-by: Keith Packard + +commit c9cba68049f957d69a88150470c086dd6f4a42c0 +Author: Keith Packard +Date: Fri Mar 1 20:45:43 2013 -0800 + + doc: Document how to get TeleMini to 'emergency recovery' mode + + TeleMini needs emergency recovery mode in case you forget the radio + parameters and need to get things back to a known state. Add + documentation to describe what this does and how to get it enabled. + + Signed-off-by: Keith Packard + +commit 113b1146f6ac0ecd423f3fb409e02730604b8aca +Author: Keith Packard +Date: Fri Mar 1 12:34:04 2013 -0800 + + altosuilib: Disable graph element notifies for each add() + + This reduces the number of notify calls made and dramatically speeds + up graph creation. + + Signed-off-by: Keith Packard + +commit 351e4110f519d18bb36747955578e9e5b9aeec7b +Author: Keith Packard +Date: Fri Mar 1 12:28:34 2013 -0800 + + altosuilib: Add setNotify/fireSeriesChanged methods to AltosUIGrapher + + This will let the data adding functions disable notifications while + adding all of the graph data, and then send a single notification when + the data sets are complete, which speeds up creating of the graph + elements quite a bit. + + Signed-off-by: Keith Packard + +commit d0bd0093a65b73a178da6ddcafcc4dbaa3caca39 +Author: Keith Packard +Date: Sun Feb 24 01:20:41 2013 -0800 + + altos: telescience-v0.2 is an ARM product + + Move it from SDCC to ARM targets as Jenkins doesn't have an ARM compiler. + + Signed-off-by: Keith Packard + +commit 9230f0a5b119044235c0c419e85a83115aae924d +Author: Keith Packard +Date: Sun Feb 24 01:20:16 2013 -0800 + + altos/driver: Make HMC5883 driver build again + + Adapt to changes in OS interfaces + + Signed-off-by: Keith Packard + +commit 2120d362cefceba69e75996b6391d9558978c01d +Merge: 5246acb a04c4f7 +Author: Keith Packard +Date: Sun Feb 24 00:20:54 2013 -0800 + + Merge branch 'telescience-v0.2' + +commit 5246acb70b79980de36bd5d0ba0d017529ae9a78 +Author: Keith Packard +Date: Sun Feb 24 00:20:36 2013 -0800 + + Update build version to 1.2 + + Prepare for 1.2 release + + Signed-off-by: Keith Packard + +commit 25435dcbc6416935aa432fc090ea977bfff5d153 +Author: Keith Packard +Date: Sun Feb 24 00:19:49 2013 -0800 + + altos/stm: Add more bits to NVIC register definitions + + This cleans up a few values, adds more comments and a few more NVIC fields. + + Signed-off-by: Keith Packard + +commit cbad587b49c565edd2c9356a015d6cfd52df93a3 +Author: Mike Beattie +Date: Fri Feb 15 22:09:16 2013 +1300 + + altosdroid: excise old code/xml + + Signed-off-by: Mike Beattie + +commit 5e53a485310cc11e6add077fb4bd0b0267734ff0 +Author: Mike Beattie +Date: Fri Feb 15 21:59:08 2013 +1300 + + all: clean up .gitignore files and Makefile clean targets + + Signed-off-by: Mike Beattie + +commit be8eecc4117a14139e4421ce86b67d29a0f0c3d4 +Author: Keith Packard +Date: Mon Feb 11 11:40:38 2013 -0800 + + altosui: Fix AltosLanded call to AltosGraphUI + + Changed the argument from String to File but forgot this one. + + Signed-off-by: Keith Packard + +commit 59365eb4e1f63a1ced1667ac233058a06a8eecef +Author: Keith Packard +Date: Mon Feb 11 10:34:47 2013 -0800 + + altosui: Remove graph series which aren't available + + Make sure all graph series have actual data underlying them by + checking the available data before creating the series objects. + + Signed-off-by: Keith Packard + +commit 2a9ca1dcd00da2cfdd0a2ea616308dfb64ee80d4 +Author: Keith Packard +Date: Mon Feb 11 10:31:24 2013 -0800 + + altosui: Stick file basename in graph window title + + The title was empty before, this seems more useful than that. + + Signed-off-by: Keith Packard + +commit 5a4cd7b9b318ddea5d1dcc71918819f11256ca94 +Author: Keith Packard +Date: Mon Feb 11 10:24:34 2013 -0800 + + altosuilib: rescale axis when enabling data series + + This makes sure new series are visible when you enable them. + + Signed-off-by: Keith Packard + +commit 169a6d51718d6b9fae757df9950d2e960d1c8c1d +Author: Keith Packard +Date: Sun Feb 10 19:33:50 2013 -0800 + + micropeak: Remove Info.plist + + It's built from Info.plist.in + + Signed-off-by: Keith Packard + +commit 64399500ad1a7ad70452cbda4d60723b5904ca3d +Author: Keith Packard +Date: Sun Feb 10 19:01:41 2013 -0800 + + Build Windows .nsi files in configure script + + These need the library version numbers embedded in them. + + Signed-off-by: Keith Packard + +commit cbd9dd989a662f41ddcb0c9e0f4453840687fd4a +Author: Keith Packard +Date: Sun Feb 10 15:34:56 2013 -0800 + + altosui: Add map and GPS data to graph window. Trac #50 + + See where the rocket landed without having to replay the whole flight. + + Signed-off-by: Keith Packard + +commit f0a125503e502d213711df0d7774d837d4d98447 +Author: Keith Packard +Date: Sun Feb 10 14:56:10 2013 -0800 + + altosui: Display count of erased flights along with their numbers + + An attempt to clarify what's going on by providing both a count and + the flight numbers. + + Signed-off-by: Keith Packard + +commit 17455da530833d3db03ee2ace7b15130ed307670 +Author: Keith Packard +Date: Sun Feb 10 14:51:46 2013 -0800 + + altosui: Display block number while downloading flights. Track #51 + + We don't know how long the flight log is, but we can at least provide + a block number in the pacifier to let the user know it's not wedged. + + Signed-off-by: Keith Packard + +commit a9cf50c9f29f42cc3ca0daff3c69a4087cf9aa1c +Author: Keith Packard +Date: Sun Feb 10 14:40:48 2013 -0800 + + altoslib: Fix available flight log storage computation + + number of flights was off by one as it was initialized to -1 + storage erase unit wasn't getting fetched correctly + flight_log_max is in kB, not B; need to multiply by 1024 + + Signed-off-by: Keith Packard + +commit 504cf412e8b60b5ff2dea93ed3336f0e058dea62 +Author: Keith Packard +Date: Sun Feb 10 14:18:16 2013 -0800 + + altosui: Display callsign in connecting message window + + When waiting for the remote end to respond, display the callsign along + with the frequency so that the user remembers that it's important to + set that too. + + Signed-off-by: Keith Packard + +commit c2701ae646124f0668c5f2d1df3fc80f0075a9d7 +Author: Keith Packard +Date: Sun Feb 10 14:17:04 2013 -0800 + + altosui: Interrupt MonitorIdle when changing frequency/callsign + + When switching radio parameters, the local device needs to have the + parameters switched, so interrupt the current operation and start + over, the frequency and callsign will be set the next time through. + + Signed-off-by: Keith Packard + +commit cc0ea39fee73417ecd69c020d9eca723ebb2cf65 +Author: Keith Packard +Date: Sun Feb 10 11:58:36 2013 -0800 + + altosui: Add callsign to Monitor Idle window (Trac #62) + + This makes it a lot more obvious that the callsign is relevant to the + Monitor Idle process. + + Signed-off-by: Keith Packard + +commit bf88c5f829ea5d32043431945e862a9f6c96740a +Merge: 3227029 d05a779 +Author: Keith Packard +Date: Sun Feb 10 01:21:52 2013 -0800 + + Merge remote-tracking branch 'mjb/master' + +commit 32270296671aac3b3ba15f9c1777bcdd77b9c36c +Author: Keith Packard +Date: Sun Feb 10 00:40:59 2013 -0800 + + altosui: Adjust graph voltage tool-tip value format + + Voltages are always small, so use more of the space for the + fractional value. + + Signed-off-by: Keith Packard + +commit a5fb03421751b342dcd450caee49a608d8828175 +Author: Keith Packard +Date: Sun Feb 10 00:32:26 2013 -0800 + + altoslib: Fix a couple of unit functions to make them public + + Nice to be able to use these outside of altoslib + + Signed-off-by: Keith Packard + +commit 2efd3ad80d4fefa8ccc1b80a2e657dbf9ba0c60f +Author: Keith Packard +Date: Sun Feb 10 00:29:29 2013 -0800 + + altosui/altoslib/altosuilib: Switch altosui to shared graph code + + This adds a configuration tab to the graph window to enable/disable + various plotted values. + + Signed-off-by: Keith Packard + +commit 0169e56ad030c0096b1068d00f06957990dfb31f +Author: Keith Packard +Date: Sat Feb 9 20:24:33 2013 -0800 + + altosuilib/micropeak: Add state markers to micropeak graph + + I think this makes the micropeak graph as functional as the altosui graph + + Signed-off-by: Keith Packard + +commit 518b16f64f4be096ceff13ab31b96d6909fe3ae2 +Author: Keith Packard +Date: Sat Feb 9 19:24:18 2013 -0800 + + altoslib: Fix altoslib install + + Was using AltosLibdir in several places still + + Signed-off-by: Keith Packard + +commit 41ede0267250a1d3b26e19cc9dd78f32609f7f0f +Author: Keith Packard +Date: Sat Feb 9 19:23:27 2013 -0800 + + altosuilib: Initialize graph axes units + + Signed-off-by: Keith Packard + +commit 9d3da1530c1007d5d1f28062b3947f4aa981bfa8 +Author: Keith Packard +Date: Sat Feb 9 02:00:13 2013 -0800 + + altoslib: Add AltosUnits.graph_format + + This describes the format of numbers used on a graph axis for use with jfreechart + + Signed-off-by: Keith Packard + +commit ab9caa22ea905844a99e08b5f6d3b072f094283e +Author: Keith Packard +Date: Sat Feb 9 01:59:18 2013 -0800 + + micropeak: Use altosuilib graphing functions + + Move these out of micropeak and into shared code + + Signed-off-by: Keith Packard + +commit 9839b0b62d797a8616fc66038e3f3c68e2a214d0 +Author: Keith Packard +Date: Sat Feb 9 01:58:23 2013 -0800 + + altosuilib: Add graphing routines from MicroPeak + + Make these available for AltosUI too + + Signed-off-by: Keith Packard + +commit fd5e6b80a8be5fac7d913b97570f7e11f70a60ba +Author: Keith Packard +Date: Sat Feb 9 01:55:51 2013 -0800 + + altosuilib: Remove duplicate AltosUnitsListener.java + + This lives in altoslib + + Signed-off-by: Keith Packard + +commit c6d7776bbe0b7f84e51af88d1ac2b7d35133a0ad +Author: Bdale Garbee +Date: Sat Feb 9 09:09:36 2013 -0700 + + various updates to the text .. more SMA to BNC adapter references, etc + +commit 033c2c4c018343b0e86d5e231bc2dc56e643f8ee +Author: Bdale Garbee +Date: Sat Feb 9 08:47:10 2013 -0700 + + update copyright year to 2013 + +commit ed200884f3e4fb895ee17ef38a9b6d3371b59625 +Author: Bdale Garbee +Date: Sat Feb 9 08:44:11 2013 -0700 + + add pcb overall dimensions and screw sizes the holes are intended for + +commit e374f8e5a5f12602ef62518fcf672a231080baee +Author: Keith Packard +Date: Fri Feb 8 23:37:49 2013 -0800 + + doc: Add TeleMetrum and TeleMini drill templates + + Signed-off-by: Keith Packard + +commit c3024b759fcdf8b84a2139c1535c573a31eb5c95 +Author: Keith Packard +Date: Mon Feb 4 10:51:49 2013 -0800 + + altos: Add atmosphere.5c + + Shared code for building pressure tables + + Signed-off-by: Keith Packard + +commit 0e982294961205bef525ecad7172a1f3ab66677f +Author: Keith Packard +Date: Mon Feb 4 09:56:18 2013 -0800 + + test: Accept micropeak CSV files for micropeak testing + + This interpolates the missing values to provide a reasonable testing + environment for the Micropeak flight firmware. + + Signed-off-by: Keith Packard + +commit 9aca92a20343a2cf7e05abc7b100852d81f86c0d +Author: Keith Packard +Date: Mon Feb 4 09:51:30 2013 -0800 + + altos: Document which MPU6000 revs have broken accel values + + From Tridge -- MPU6000 rev C4 and C5 are broken, having accelerometer + values in the wrong range. This commit just adds comments which note + this; experimentation will be required to actually sort out what's + going on. + + Signed-off-by: Keith Packard + +commit 809eb5b1252a75d489e3ad2fd2a4af701fa0aa52 +Author: Keith Packard +Date: Mon Feb 4 09:50:07 2013 -0800 + + micropeak: Update Makefile to versioned Java libraries + + Library names have changed; deal with it. + + Signed-off-by: Keith Packard + +commit 7afd76e70c086003a2cd87ce459fda4188c76ad6 +Author: Keith Packard +Date: Mon Feb 4 09:49:07 2013 -0800 + + altoslib: fix Makefile JAR target + + Was referencing stale classAltosLib.stamp instead of new classaltoslib.stamp + + Signed-off-by: Keith Packard + +commit 8d1d8d2a3c129cdbd55427bcda0f26715b02f1ee +Author: Keith Packard +Date: Tue Jan 29 17:00:43 2013 +1100 + + Add version numbers to java libraries + + Make our private java library names include a version number so we can + ship and install multiple versions at the same time. + + Signed-off-by: Keith Packard + +commit 5a3c5de6657d1c26e52015a8acec0cd05e294cef +Author: Keith Packard +Date: Tue Jan 29 14:52:23 2013 +1100 + + Change AltosLib to altoslib + + Follow Java conventions + + Signed-off-by: Keith Packard + +commit d05a77992df983b9fa79f0e2b20d2c6b387c180c +Author: Mike Beattie +Date: Tue Jan 29 01:34:48 2013 +1300 + + altosdroid: initial release to Play Store + + * Add release keystore (encrypted) + * Turn off debugging in UI + * add 'sign' target to Makefile.am + * Update version string in AndroidManifest.xml to match released version of altosui. + + Signed-off-by: Mike Beattie + +commit 5eb52f54a616f4e89b718d50d77a7b68cf7a4354 +Author: Keith Packard +Date: Thu Jan 24 14:18:39 2013 -0800 + + Mark MicroPeak as a recording altimeter, not a peak-recording altimeter + + Signed-off-by: Keith Packard + +commit b62097c9d79f848042485234dc46ade60deabc02 +Author: Keith Packard +Date: Tue Jan 22 18:50:02 2013 -0800 + + micropeak: fix 'make clean' and .gitignore + + Make git status clean in micropeak dir + + Signed-off-by: Keith Packard + +commit 96193d8c09159b81e60851ed90682b9120e15f55 +Author: Keith Packard +Date: Tue Jan 22 17:49:25 2013 -0800 + + micropeak: Add mac build file Info.plist + + Signed-off-by: Keith Packard + +commit b5c988fb59c1e48baa81b56be9b7b4ab0eebabea +Author: Keith Packard +Date: Tue Jan 22 17:34:44 2013 -0800 + + Add documentation for the MicroPeak USB interface + + Signed-off-by: Keith Packard + +commit 9da66ca607664bb81b0986c121518faa4c1cb9fd +Author: Keith Packard +Date: Tue Jan 22 17:29:37 2013 -0800 + + micropeak: Respect font size preference in MicroPeak stats tab + + This uses the font size preference to adjust the size of the text + shown in the Statistics tab. + + Signed-off-by: Keith Packard + +commit 3454592169dcb61b81de9af2b631b87e7dd86231 +Author: Keith Packard +Date: Sun Jan 20 15:42:05 2013 -0800 + + altosui: Make initial AltOS window position configurable + + Give the user a choice of nine locations on the screen + + Signed-off-by: Keith Packard + +commit cf03ab3383b679e6617e8ab7004be91e5a727562 +Author: Keith Packard +Date: Sun Jan 20 15:39:53 2013 -0800 + + altosui: Remove duplicate AltosUIPreferences.java + + This lives in altosuilib now. Several files needed imports of + altosuilib added as a result. + + Signed-off-by: Keith Packard + +commit e1133481f2208fd16be8196977696da2cce430f3 +Author: Keith Packard +Date: Sun Jan 20 15:37:40 2013 -0800 + + altosui: All of the Altos class is actually in AltosUILib now + + Remove all of the duplicate content, shrinking AltosLib to a simple alias + + Signed-off-by: Keith Packard + +commit 5d35fd843299b5ff09a36220e6ecd8aefceb9b2c +Author: Keith Packard +Date: Sat Jan 19 18:04:08 2013 -0800 + + altosui/micropeak: Let native window system place windows + + Instead of forcing windows to our choice of positions, let the host + window pick reasonable locations. This avoids having all of our + windows appear on top of one another. + + Signed-off-by: Keith Packard + +commit aed990c3a37249a111c783336afade7ecdda7546 +Author: Keith Packard +Date: Sat Jan 19 19:30:38 2013 -0800 + + altosi: callsign could not be configured for AltosUI + + An extra local variable called callsign_value was hiding the object + field by the same name and preventing it from getting set to the right value + + Signed-off-by: Keith Packard + +commit 4646beb421ab5bec612dfe5e3c57e790b1f41203 +Author: Keith Packard +Date: Fri Jan 18 21:53:54 2013 -0800 + + Tag version 1.1.9.3 + + Signed-off-by: Keith Packard + +commit ce3c9e6be6fde51fb02d692f1ef1222fb5ada8c9 +Author: Keith Packard +Date: Wed Jan 16 22:05:32 2013 -0800 + + micropeak: Fetch Mac and Windows drivers when creating packages + + This downloads the FTDI drivers from FTDI during the build process + + Signed-off-by: Keith Packard + +commit a04c4f7b07e97d568f8f6f56dd363329817fb52c +Merge: 0c2fa96 bd84dfd +Author: Keith Packard +Date: Wed Jan 16 15:22:46 2013 -0800 + + Merge branch 'master' into telescience-v0.2 + +commit bd84dfd8e53d8939281993e062015f67c0dd9fa2 +Author: Keith Packard +Date: Wed Jan 16 15:18:31 2013 -0800 + + micropeak: Show decimeters in stats window + + We're promising this kindof accuracy, so we'd best show it off + + Signed-off-by: Keith Packard + +commit 540309240a8515116120dbd4403902282ed8c27b +Author: Keith Packard +Date: Wed Jan 16 15:15:49 2013 -0800 + + altos: Add Kalman filter to MicroPeak + + This filters altitudes more accurately and also allows tracking of + acceleration, which is used to discard height data generated by + ejection charge noise + + Signed-off-by: Keith Packard + +commit 249ee968305ae6e8fcf0a10e5cf9cc5826bd81dd +Author: Keith Packard +Date: Wed Jan 16 15:13:31 2013 -0800 + + altos: Add computation of MicroPeak Kalman correction coefficients + + Signed-off-by: Keith Packard + +commit dd60d85d07b881ac03294a8cf607e469f2e69610 +Author: Keith Packard +Date: Wed Jan 16 15:01:12 2013 -0800 + + altos: Correct model error covariance matrix + + Finally found a couple of decent references on how to set the model + (process) error covariance matrix. The current process matrix turns + out to be correct for a continuous kalman filter (which isn't + realizable, of course). For a discrete filter, the error in modeled + acceleration (we model it as a constant) needs to be propogated to the + speed and position portions of the matrix. + + The correct matrix is seen in this paper: + + On Reduced-Order Kalman Filters For GPS Position Filtering + J. Shima + 6/2/2001 + + This references an older paper which is supposed to describe the + derivation of the matrix: + + Singer, R.A., “Estimating Optimal Tracking Filter Performance for Manned Maneuvering Targets,” + IEEE Transactions of Aerospace and Electronic Systems, AES-5, July 1970, pp. 473-483. + + This change has a minor effect on the computed correction + coefficients; it should respond more reasonably to acceleration + changes now. + + Signed-off-by: Keith Packard + +commit 0c2fa9614ffe22901ba0fd089e1e02c362f9fbe0 +Merge: 456120d f2b59cf +Author: Keith Packard +Date: Wed Jan 16 10:40:28 2013 -0800 + + Merge remote-tracking branch 'origin/telescience-v0.2' into telescience-v0.2 + +commit 456120d201d72c89576a0c8d69b2fcba44169507 +Merge: f24c421 994ff76 +Author: Keith Packard +Date: Wed Jan 16 10:39:40 2013 -0800 + + Merge branch 'master' into telescience-v0.2 + +commit 994ff76a064dcbd3113db771cd9cd9591fd68dea +Author: Keith Packard +Date: Wed Jan 16 10:37:55 2013 -0800 + + doc: Add simplesect headers to release notes + + This makes it easy to see which changes are from each version of the software. + + Signed-off-by: Keith Packard + +commit f64fe671b7b4e2389219d672bcea978d0539d4ae +Author: Bdale Garbee +Date: Wed Jan 16 10:46:04 2013 -0700 + + document what the 'Age' value in the AltosUI display means + +commit f2b59cf3d30425bc4b12f37e86832e40b7702d3d +Author: Bdale Garbee +Date: Wed Jan 16 10:46:04 2013 -0700 + + document what the 'Age' value in the AltosUI display means + +commit f24c4219de9563cf0ef24b763ce54d961c182696 +Author: Keith Packard +Date: Sun Jan 13 21:38:26 2013 -0800 + + altos: Change CC1120 SPI speed to 4MHz. + + Most of the chip can run at 8MHz, but extended register access is + limited to 6.1MHz. Instead of pushing things, just run the SPI bus at + 4MHz. + + Signed-off-by: Keith Packard + +commit a866431e9a063830b407f749ff97a730831e5e4e +Author: Keith Packard +Date: Sun Jan 13 20:50:10 2013 -0800 + + altos: Crank fast SPI on STM to 8MHz + + With the GPIO pins set to 10MHz now, we can run SPI at the maximum + possible speed (8MHz). + + Signed-off-by: Keith Packard + +commit 8d885616e2e522b8aea5e7d5398f16d330a0cffa +Author: Keith Packard +Date: Sun Jan 13 20:48:47 2013 -0800 + + altos: Set STM GPIO output speed for SPI pins correctly + + The GPIO pin settings affect the output impedence, and hence the + maximum speed for SPI. Cranking these to suitable values allows SPI to + run at full speed. + + Signed-off-by: Keith Packard + +commit f2810aa33fc6fe254761a0044c62c7b23e59e6bc +Author: Keith Packard +Date: Sun Jan 13 20:48:08 2013 -0800 + + altos: Build telescience-v0.2 + + Signed-off-by: Keith Packard + +commit 3645cb6578ec2a11ab7b0f6d435c6de22ca02a9f +Author: Keith Packard +Date: Sun Jan 13 10:31:59 2013 -0800 + + Update avr ao_spi_slave code to match API changes + + Made the interface use void * for pointers and uint16_t for lengths + + Signed-off-by: Keith Packard + +commit 7883744526156879ad63256ab12d959df56d5252 +Author: Keith Packard +Date: Sat Jan 12 20:11:38 2013 -0800 + + altos: Initial telescience bits + + These might do something, and should at least bring up USB + + Signed-off-by: Keith Packard + +commit 670034eef48d63cdaec8d271fa93da984ffe2ea9 +Merge: 8c5ebaf d374d6b +Author: Bdale Garbee +Date: Sat Jan 12 10:57:22 2013 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit d374d6be7eb040457f4df6c38b5d057f26ee741c +Author: Keith Packard +Date: Sat Jan 12 09:45:31 2013 -0800 + + micropeak: Record samples before boost detect + + This saves a ring of 16 samples while waiting for boost, and then goes + back through those looking for the first sample higher than the ground + and writes the remaining ones to the log so that we get a more + complete log of the flight + + Signed-off-by: Keith Packard + +commit 85baf657e7ea6debbed9effc6f8daff7ef09a5d8 +Author: Keith Packard +Date: Thu Jan 10 23:42:41 2013 -0800 + + altosui: Reference altosuilib.jar and altoslib.jar from original dirs + + The symlinks may not be created when the build is getting run as the + dependencies aren't in place (thanks, automake). + + Signed-off-by: Keith Packard + +commit 962e3bd0461f187cd599ba54e7129c84f97d4c4d +Author: Keith Packard +Date: Thu Jan 10 22:11:36 2013 -0800 + + altosui,micropeak: Link altoslib.jar and altosuilib.jar before compiling + + The symlinks for the libraries have to be present before compiling stuff. + + Signed-off-by: Keith Packard + +commit 9f6b1570277c326c00d5da274f608fbdeb91c911 +Author: Keith Packard +Date: Thu Jan 10 21:42:23 2013 -0800 + + micropeak: Note when libaltos fails + + Not getting any device list back from MicroUSB means the library + wasn't found, so pop up a dialog box explaining the situation. + + Signed-off-by: Keith Packard + +commit c3e807ffcd34d514f36bc11adbae9337991a1743 +Author: Keith Packard +Date: Thu Jan 10 21:41:35 2013 -0800 + + micropeak: Create 'micropeak' script correctly + + Add altoslibdir, remove -cp argument + + Signed-off-by: Keith Packard + +commit 98e74150040e444ed6480ef3d107caa54c205ef9 +Author: Keith Packard +Date: Thu Jan 10 21:38:15 2013 -0800 + + micropeak: Demonstrate how to hide various parts of the graph + + This just shows how to disable a series and axis; it's not used here. + + Signed-off-by: Keith Packard + +commit 505ef49a041740fe7cbb5c537b68d22e5fb6c0be +Author: Keith Packard +Date: Thu Jan 10 21:37:18 2013 -0800 + + micropeak: Report recorded apogee instead of searching flight data + + This makes sure we report the true apogee value instead of looking for + the maximum height value in the flight data, in case the flight + recording ended before the apogee was reached. + + Signed-off-by: Keith Packard + +commit e94f9547a566c74c30b6321bc073b8bdcb071604 +Author: Keith Packard +Date: Thu Jan 10 21:34:24 2013 -0800 + + Fix up 'make fat' to build all libs and micropeak too + + There are now three libraries to build for both altosui and micropeak. + + Signed-off-by: Keith Packard + +commit 12a9bd0479db25cbe45c0385913315cc1e0bc892 +Author: Keith Packard +Date: Thu Jan 10 21:26:20 2013 -0800 + + libaltos: Need to check for tty/ttyACMx before ttyACMx + + Otherwise, we'll find 'tty' when looking for 'ttyACMx' and no good + will come from that + + Signed-off-by: Keith Packard + +commit 1ed6b13e87c1cc2d6618b6ba3a293ea6e3b5752e +Merge: acff2f4 d409417 +Author: Keith Packard +Date: Thu Jan 10 21:48:12 2013 -0800 + + Merge remote-tracking branch 'origin/micropeak-logging' + +commit acff2f466031fd1a8533fc315411c3734a8bacc6 +Author: Keith Packard +Date: Thu Jan 10 21:27:32 2013 -0800 + + altos: Time out reading packet data from cc1120 after 100ms + + Sometimes the radio will give a spurious wakeup indicating that a + preamble seems to have arrived, but no packet data will appear. In + this case, abandon the packet reception and go back to waiting for a + preamble again. This releases the SPI bus for other users and also + avoids missing packets. + + Signed-off-by: Keith Packard + +commit f715b5da3424adacc5a7f1e001e1dd7fa6f50385 +Author: Keith Packard +Date: Wed Jan 9 15:29:01 2013 -0800 + + altoslib: Clean up AltosRecord clone methods + + Make the AltosRecord version abstract and then implement suitable + versions in each subclass by creating copying constructors for each + class. + + Signed-off-by: Keith Packard + +commit 42733d2823b1ecf54c03881fc120067868c0ff4c +Author: Keith Packard +Date: Wed Jan 9 15:23:46 2013 -0800 + + altoslib: Don't smash existing GPS pad alt after boost + + Leave the existing GPS pad altitude value in place after boost by + checking to see if it was ever computed before resetting it to the + barometric pad altitude. This makes GPS height values relative to the pad. + + Signed-off-by: Keith Packard + +commit 8c5ebaf88b459b09924753a8077393a7b0639133 +Merge: 59f355f d7d259c +Author: Bdale Garbee +Date: Tue Jan 8 22:12:17 2013 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit d409417ff8e9ed9d406bf1c04542a4ecb574768b +Author: Keith Packard +Date: Sun Jan 6 13:20:25 2013 -0800 + + altosui: Create .dmg file for Mac OS X installations + + Easier for users than a zip file + + Signed-off-by: Keith Packard + +commit 2582e9b45bb81ff70fbd5c8581370c8c1b5bd5e5 +Author: Keith Packard +Date: Sun Jan 6 13:00:00 2013 -0800 + + micropeak: Add ReadMe.rtf to Mac distribution + + There are *two* steps to installing MicroPeak on Mac OSX. Best help + out the poor user by explaining that. + + Signed-off-by: Keith Packard + +commit 0f05b1996122b6c6bce81ca33e85c2a65c3ded18 +Author: Keith Packard +Date: Sun Jan 6 12:52:25 2013 -0800 + + micropeak: Create Mac OS X package + + Includes the FTDI driver and the MicroPeak app + + Signed-off-by: Keith Packard + +commit d663da13db60e1200535282ee1a0ea6305cad98c +Author: Keith Packard +Date: Sat Jan 5 10:59:26 2013 -0800 + + micropeak: Suggest filenames for saving data + + Uses the format '---flight-.mpd' + + Signed-off-by: Keith Packard + +commit 0c9eecfae02e8499e7c3d53a4386f026c54b04cd +Author: Keith Packard +Date: Sat Jan 5 10:38:20 2013 -0800 + + micropeak: Create .dmg file for apple. Create micropeak-jdb script + + Signed-off-by: Keith Packard + +commit 20d54cae1eeca6c5d05bfacbafd77c8aa72247c9 +Author: Keith Packard +Date: Sat Jan 5 10:37:30 2013 -0800 + + micropeak: Use new libaltos entry point for FTDI devices + + Signed-off-by: Keith Packard + +commit e7e71e2042f2bfc24adcc57cecfe26368eb03e8a +Author: Keith Packard +Date: Sat Jan 5 10:36:50 2013 -0800 + + micropeak: Move raw view caret to top. Make raw text uneditable + + Signed-off-by: Keith Packard + +commit 70c7674b53d77e9995a235bb2dc455cb53d9e81e +Author: Keith Packard +Date: Sat Jan 5 10:36:40 2013 -0800 + + micropeak: Remove debug printf for command line + + Signed-off-by: Keith Packard + +commit 746ae98829a0fc15577ae0f7b506112178f481e3 +Author: Keith Packard +Date: Sat Jan 5 10:35:20 2013 -0800 + + Add separate code path for listing FTDI devices + + This lets the library do different things for FTDI devices, as is + required on Windows (for instance) + + Signed-off-by: Keith Packard + +commit ca284d8bef2f4bd360eaec58048ba9abdafc55bd +Author: Keith Packard +Date: Thu Jan 3 18:14:40 2013 -0800 + + micropeak: Use data.export for Raw display. Change to MPH + + data.export already knows how to format stuff, so use that to + construct the raw data presentation for the GUI too. + + Signed-off-by: Keith Packard + +commit 81088b42b3ea899c8d1b3f09ee4fe24378fa03c9 +Author: Keith Packard +Date: Thu Jan 3 17:40:19 2013 -0800 + + micropeak: Export in lots of units + + meters, feet, mach and gs + + Signed-off-by: Keith Packard + +commit f20781010a6560b7b359af269c502d098917c446 +Author: Keith Packard +Date: Thu Jan 3 17:31:01 2013 -0800 + + micropeak: Add command line export option + + micropeak --export will create full of useful data. + + Signed-off-by: Keith Packard + +commit 36e9603f74b85776ac049758021b51909161aeb1 +Author: Keith Packard +Date: Thu Jan 3 17:30:29 2013 -0800 + + micropeak: Add Mac OS Info.plist file + + needed to build a Mac OS X application + + Signed-off-by: Keith Packard + +commit 722dc277dee915dcd09d3d65c0ee19173b114ef7 +Author: Keith Packard +Date: Wed Jan 2 16:30:44 2013 -0800 + + micropeak: Change graph tooltip units on the fly + + Make sure the tooltips show the right units when they change + + Signed-off-by: Keith Packard + +commit 9e4c5b0a6ed3594cff6ab71398c172daa7c67177 +Author: Keith Packard +Date: Wed Jan 2 16:19:33 2013 -0800 + + micropeak: Use JTextArea instead of TextArea + + Looks nicer and doesn't appear to have the same weird clipping problem + + Signed-off-by: Keith Packard + +commit 1979063928f1cdfc75c01ec098164c2822a5138d +Author: Keith Packard +Date: Wed Jan 2 16:07:49 2013 -0800 + + altosuilib: Fix install issues on Linux + + altosuilib.jar wasn't getting installed + micropeak was using the wrong name + + Signed-off-by: Keith Packard + +commit 31fa139578a86821844e3e2efb1a84bdea4f1370 +Author: Keith Packard +Date: Wed Jan 2 12:24:44 2013 -0800 + + micropeak: Add view of raw data in GUI + + Looks just like the export file + + Signed-off-by: Keith Packard + +commit 2c423d9287c6b9ea7233f5e3430682cb1c865da1 +Author: Keith Packard +Date: Wed Jan 2 11:44:32 2013 -0800 + + micropeak: Add CSV export + + Signed-off-by: Keith Packard + +commit 93d640de65a1ecedfef89c96521c21632f96f372 +Author: Keith Packard +Date: Wed Jan 2 11:22:11 2013 -0800 + + micropoint: Add MicroDataPoint + + This holds height/speed/accel data all in one place + + Signed-off-by: Keith Packard + +commit 0933f2ed5791cfdc28242cd60be3942556f4ed20 +Author: Keith Packard +Date: Wed Jan 2 10:48:56 2013 -0800 + + altoslib: Remove unused fake product_micropeak_serial + + Code cleanups have made this no longer useful + + Signed-off-by: Keith Packard + +commit eb670e9b7576563d747ae5c9416371f145455ec1 +Author: Keith Packard +Date: Wed Jan 2 09:50:09 2013 -0800 + + altosui: Remove duplicate AltosUSBDevice + + Signed-off-by: Keith Packard + +commit dc404bee7163a369eb1d95e0942b676bd3f95574 +Author: Keith Packard +Date: Wed Jan 2 09:41:42 2013 -0800 + + altosui: Use shared AltosUIListener + + Signed-off-by: Keith Packard + +commit f0bbd3e2571336b5f5872759b5010148325efbaa +Author: Keith Packard +Date: Wed Jan 2 09:40:13 2013 -0800 + + altosui: Use shared AltosUIFrame and AltosUIDialog + + Signed-off-by: Keith Packard + +commit ae09bd641a86970763380f3028f987ffcb791020 +Author: Keith Packard +Date: Wed Jan 2 09:33:36 2013 -0800 + + altosui: Use shared AltosFontListener class + + Signed-off-by: Keith Packard + +commit 8af405f1ac4d1b930f10465fd0270a49176f16d1 +Author: Keith Packard +Date: Wed Jan 2 09:31:35 2013 -0800 + + altosui: Use shared AltosDeviceDialog + + Signed-off-by: Keith Packard + +commit 605b752080827bb59fcff5af9f1eab9fd5dad76b +Author: Keith Packard +Date: Wed Jan 2 09:09:10 2013 -0800 + + altosui: Remove AltosVersion.java + + Version data now stored in AltosUIVersion.java + + Signed-off-by: Keith Packard + +commit 5ce43661834920c3a8f3a1b6e1c555fb952b512d +Author: Keith Packard +Date: Wed Jan 2 09:06:41 2013 -0800 + + altosui: Use altosuilib for configuration + + Start moving to shared UI code + + Signed-off-by: Keith Packard + +commit 8a5666bcf4949b846589c000e1620afe39593f57 +Author: Keith Packard +Date: Wed Jan 2 09:06:22 2013 -0800 + + libaltos: Remove a couple of spurious debug printfs + + Signed-off-by: Keith Packard + +commit 9efc57e4052e3c11218973f7666ad18ea5cf2a5a +Author: Keith Packard +Date: Tue Jan 1 23:15:14 2013 -0800 + + Rename AltosConfigureUI to AltosUIConfigure + + Leave AltosConfigureUI for AltosUI + + Signed-off-by: Keith Packard + +commit 103eaa674be7582437aa850f0fd82788e10f244b +Author: Keith Packard +Date: Tue Jan 1 23:10:04 2013 -0800 + + micropeak: Check CRC on downloaded + + Signed-off-by: Keith Packard + +commit 4dae5b876b089c17c87c72df2ad2fa5ec4f1657c +Author: Keith Packard +Date: Tue Jan 1 23:03:29 2013 -0800 + + Build micropeak by default + + Signed-off-by: Keith Packard + +commit 3ac109132d1878abbd277ae21215716326404781 +Author: Keith Packard +Date: Tue Jan 1 18:20:23 2013 -0800 + + Build installable versions of MicroPeak GUI + + Makes windows/mac/linux versions. Windows version appears to work on + Wine at least. + + Signed-off-by: Keith Packard + +commit d94ceed48be439f368d597bf06ed1e8adc4ef46b +Author: Keith Packard +Date: Tue Jan 1 17:10:55 2013 -0800 + + micropeak: Add 'Close' menu item. Fix start location + + Let the window system pick a spot to place the application + windows. This avoids having them all sit on top of one another. + + Signed-off-by: Keith Packard + +commit 982b272920fcb444fd399941cabe613d8ac7104b +Author: Keith Packard +Date: Tue Jan 1 16:57:31 2013 -0800 + + micropeak: Fix chart colors + + Need to apply custom colors after setting the theme + + Signed-off-by: Keith Packard + +commit d83587c3c66b730cc54ca153714eee520ee40b2c +Author: Keith Packard +Date: Tue Jan 1 15:30:11 2013 -0800 + + micropeak is code complete now. + + Added save and download functionality. Removed 'new' from file menu. + + Signed-off-by: Keith Packard + +commit 65b512c890a3ccf487655b79305ab1cfcf49259c +Merge: 434e946 d7d259c +Author: Keith Packard +Date: Mon Dec 31 14:24:59 2012 -0800 + + Merge remote-tracking branch 'origin/master' into micropeak-logging + +commit 434e946aa79b5a7e60799f996887bc6467889b92 +Author: Keith Packard +Date: Mon Dec 31 14:22:37 2012 -0800 + + Allow CC1120 to sit on other SPI busses + + Reading the incoming data bypasses the SPI API and touches the SPI + data register directly; which port that is needs to be specified in + the pins file + + Signed-off-by: Keith Packard + +commit 2bd6aca54fc465995d6985c8799cd0d016c9a543 +Author: Keith Packard +Date: Mon Dec 31 14:17:26 2012 -0800 + + micropeak: Add flight stats pane + + Shows graph or stats in alternate panes + + Signed-off-by: Keith Packard + +commit 56a1210a7b04a3623d19ec282f26fecc79c126dd +Author: Keith Packard +Date: Mon Dec 31 11:42:57 2012 -0800 + + micropeak: Use altosuilib + + This removes a pile of code stolen from altosui + + Signed-off-by: Keith Packard + +commit 6db192898eebf750c4d51516eff7916bc4da493b +Author: Keith Packard +Date: Mon Dec 31 11:38:53 2012 -0800 + + altoslib: Add units change notification list + + This allows the UI to automatically respond to changes in the + preferred units. + + Signed-off-by: Keith Packard + +commit 03496dc47372c40f7faae1766b0e729a1feeab7c +Author: Keith Packard +Date: Mon Dec 31 11:32:56 2012 -0800 + + Create altosuilib to share code between altosui and micropeak + + Need to convert altosui to using it, but that shouldn't be hard + + Signed-off-by: Keith Packard + +commit d7d259c7b3eedcc1c185d2b7e3c33e829bd7ce96 +Author: Keith Packard +Date: Fri Dec 28 23:05:31 2012 -0700 + + altos: megadongle radio int is C13, not C14 + + Hard to get interrupts when listening to the wrong pin + + Signed-off-by: Keith Packard + +commit f7a56152808c7838c1886884bb77de2705ab076c +Merge: daf8776 b70ca5e +Author: Keith Packard +Date: Fri Dec 28 21:50:13 2012 -0800 + + Merge remote-tracking branch 'origin/master' into micropeak-logging + +commit 59f355f5288b42b2e47743d06e41e55819a55f64 +Merge: 099d2b0 b70ca5e +Author: Bdale Garbee +Date: Fri Dec 28 22:30:26 2012 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit b70ca5eaf1c3d60bd9adf6835e1247f4147ca9c8 +Author: Keith Packard +Date: Fri Dec 28 19:35:46 2012 -0700 + + altos: Fix MegaDongle CC1120 chip select pin + + It's on A0, not C5 + + Signed-off-by: Keith Packard + +commit a6e116515f5e4522adbfcd1900885c2a6034b57c +Author: Keith Packard +Date: Fri Dec 28 19:34:33 2012 -0700 + + altos: Fix cc1120 debug code to build on megadongle + + RDF function had changed, and APRS isn't available on megadongle. + + Signed-off-by: Keith Packard + +commit daf8776f8646ba187f1a17f7aae797503bed3f2a +Author: Keith Packard +Date: Fri Dec 28 16:34:48 2012 -0800 + + Lots more work on the MicroPeak application + + Signed-off-by: Keith Packard + +commit 099d2b0ea59d825bd69a3fbb5523b9cbb9430ce8 +Author: Bdale Garbee +Date: Fri Dec 28 15:36:24 2012 -0700 + + update stlink-pins document to make it clear 4-pin MicroMaTch is our + standard STM32L programming connector, and the big MM thing was v0.1 only + +commit 9da9adc2718928de2af65a68cddbcc636cc3e9e8 +Author: Keith Packard +Date: Tue Dec 25 14:45:49 2012 -0800 + + Add file chooser for MicroPeak + + Needs reasonable directory tracking + + Signed-off-by: Keith Packard + +commit bf8e1b6eecb2bae12ffdbd730bd6ec12ccdaf23a +Author: Keith Packard +Date: Tue Dec 25 14:23:29 2012 -0800 + + Start building MicroPeak GUI tool + + Download, save and analyze MicroPeak flight data + + Signed-off-by: Keith Packard + +commit 868ef0c9c4b208c02a87180b0eede329369bdc77 +Merge: 669cde8 57487e7 +Author: Keith Packard +Date: Tue Dec 25 14:20:42 2012 -0800 + + Merge branch 'master' into micropeak-logging + +commit 669cde8a87d88ceae89e369c1d38b88c9f8198cf +Author: Keith Packard +Date: Tue Dec 25 14:19:19 2012 -0800 + + Move libaltos to top level + + This will let it be shared by the new MicroPeak gui + + Signed-off-by: Keith Packard + +commit 57487e78b90465a21c87cf30deb0aeaba0887332 +Author: Keith Packard +Date: Tue Dec 18 23:15:20 2012 -0800 + + altos: Actually record ground averages for 6dof sensor + + This gets the long-term averages for the 6dof sensors recorded into + the first flight log record. + + Signed-off-by: Keith Packard + +commit 244415c515f21328cffe88d1369949a4af49a177 +Author: Keith Packard +Date: Tue Dec 18 22:59:36 2012 -0800 + + altosui: Clean up graph a bit, remove shapes, improve tooltips + + Sometimes graphs would get shapes at each datapoint which was + annoyingly cluttered. And, the tooltips used a format that was + difficult to interpret. + + Signed-off-by: Keith Packard + +commit d7d35b0bd86b912c43a21a275347fca201079847 +Author: Keith Packard +Date: Tue Dec 18 00:39:37 2012 -0800 + + altos: Add distinct LED pattern before writing log data + + Otherwise, the whole log looks like a an extra altitude digit. + + Signed-off-by: Keith Packard + +commit 23dc9a63ae8bc982d9352cfb7a3f508d8a08c374 +Author: Keith Packard +Date: Mon Dec 17 22:58:49 2012 -0800 + + altos: Make micropeak 'serial' interface work + + I prototyped the mpserial interface on a breadboard and tuned the + circuit to register the LED correctly. Then adjusted the serial code + to send bits at the right speed and format. + + The logging contents are now in hexdecimal with a CCITT CRC-16 + computed to verify correct reception. + + Signed-off-by: Keith Packard + +commit b1d37be4c024e9690107c693d9819229025966fa +Author: Keith Packard +Date: Mon Dec 17 17:03:41 2012 -0800 + + altos: Average MPU6000 values on ground for later use + + Having long-term ground averages recorded to the eeprom file will make + post-flight analysis of the data better. + + Signed-off-by: Keith Packard + +commit b6c9e8ffc87481a23ba90fa22df7c9421e2cd6a6 +Author: Keith Packard +Date: Sun Dec 16 16:52:15 2012 -0800 + + altos: Re-enable beeper on megametrum + + I turned it off during radio testing and forgot to fix that before committing... + + Signed-off-by: Keith Packard + +commit dd7c30324461b2aed83b86bfe4323180664123cf +Author: Keith Packard +Date: Sun Dec 16 16:08:33 2012 -0800 + + altos: Add new MARC status pin interrupt bits to megadongle + + Signed-off-by: Keith Packard + +commit dfff41c2bec16fe4c7b198a4720eb40d8e740ac4 +Merge: 22a58b0 00bc1a0 +Author: Keith Packard +Date: Sun Dec 16 16:06:41 2012 -0800 + + Merge branch 'aprs' into 'master' + +commit 22a58b0f9b82ea8c7abeda79ca7a4cd21c3dc93c +Author: Keith Packard +Date: Sun Dec 16 16:04:05 2012 -0800 + + altos: Wire up another CC1120 GPIO to get MARC status changes + + When the radio drops out of RX or TX mode due to an error, it changes + the MARC status, and sends pulse down a configured GPIO. Use this to + tell when something 'bad' happened during TX or RX so that we can + recover from losing the SPI bus in the middle of transmission or + reception. + + Without this, the radio would change state and we'd never know, + leaving the radio code waiting for an interrupt that would never arrive. + + Signed-off-by: Keith Packard + +commit 4e3ac3f2038cc3a43252fc8f820a1373a637ab83 +Author: Keith Packard +Date: Sun Dec 16 13:31:45 2012 -0800 + + altos: Test APRS rounding by using coordinates near the boundary + + This selects lat/lon and altitude near the rounding boundary to check + that the resulting APRS data is correctly computed. + + Signed-off-by: Keith Packard + +commit 9bc701ce1132f04ec90ef22e6a7a90c67918737b +Author: Keith Packard +Date: Sun Dec 16 13:30:20 2012 -0800 + + altos: Document what HAS_BOOT_RADIO does in the m25 driver + + HAS_BOOT_RADIO causes the m25 driver to abort any ongoing receive in + case that is holding the SPI bus. + + Signed-off-by: Keith Packard + +commit 6b4cfd8719e3fd4a2904369e176182c870a3b43c +Author: Keith Packard +Date: Sun Dec 16 13:29:31 2012 -0800 + + altos: Round APRS data correctly + + Apply rounding once at the start of the computation, then truncate + after that. + + Signed-off-by: Keith Packard + +commit 00bc1a090a294e103370b8ab0a0fe5d7a2acfe92 +Author: Keith Packard +Date: Sun Dec 16 13:25:54 2012 -0800 + + altoslib: unconfigured radio frequency data is now -1, not 0 + + This changed when AltosConfigData was cleaned up, so now frequency + settings must check for positive numbers rather than non-zero. + + Signed-off-by: Keith Packard + +commit 034dfc4f9bef049b1fb5704873dd76f6a3a9949d +Author: Keith Packard +Date: Sat Dec 15 15:07:07 2012 -0800 + + doc: Add warning about matching battery voltage. + + Signed-off-by: Keith Packard + +commit 4925a6f2f4edd5b54641a5240030e5c0e3e95db6 +Author: Keith Packard +Date: Sat Dec 15 14:47:22 2012 -0800 + + doc: Add paragraph noting differences in JST polarity + + Looks like the 'standard' polarity for 3.7V lipos using JST connectors + in RC aircraft is swapped from what Spark Fun uses. Note that in the + docs to try and keep people from wrecking hardware. + + Signed-off-by: Keith Packard + +commit 6fa1ec0dbf2a4eda8d061c67b3779b83b88f29f0 +Merge: f140931 73422bf +Author: Keith Packard +Date: Fri Dec 14 19:29:50 2012 -0800 + + Merge branch 'micropeak-1.1' + +commit f1409311761d65e85ac08c38c9b9a0114cc8f535 +Author: Keith Packard +Date: Fri Dec 14 19:28:49 2012 -0800 + + altoslib: Discard previous flight state on SN change + + A previous change discarded previous *telemetry* state, but failed to + discard any previous overall flight state. This would reset some of + the data fields, but wouldn't reset the GPS state and max measurements. + + Signed-off-by: Keith Packard + +commit 8dbe8abd034a2d1ee2ec0380ec376722a4ecbd71 +Author: Keith Packard +Date: Fri Dec 14 19:27:56 2012 -0800 + + altoslib: Only list flight logs for boards that we know have them + + Boards that don't have flight logs will generate a nice 'Syntax Error' + and fail to initialize. + + Signed-off-by: Keith Packard + +commit fc2e5beb9173663e1e37a9b5a7b6eea1046222f7 +Author: Keith Packard +Date: Fri Dec 14 11:11:39 2012 -0800 + + altos: Log baro readings for MicroPeak + + This logs barometric data every 192ms (more or less) to the 504 + remaining bytes of internal EEPROM storage in the ATtiny85. This + provides 48.192 seconds of logging. + + Signed-off-by: Keith Packard + +commit 73422bf72e07b169bfe37b02518b9e7479931971 +Author: Keith Packard +Date: Wed Dec 12 22:53:36 2012 -0800 + + altos: Note that Lithium battery may be included with MicroPeak + + I'm not willing to say that we'll always be able to include a battery, + but we can certainly try, and they're certainly cheap enough that we + should. + + Signed-off-by: Keith Packard + +commit 688a9458bb03a81e71554c14295d1baacbbbd530 +Merge: 816c6b5 c8866fb +Author: Keith Packard +Date: Wed Dec 12 22:36:59 2012 -0800 + + Merge branch 'micropeak-1.1' + +commit c8866fbae2b00b1d7a7ddf89a3f971a75d3dcd60 +Author: Keith Packard +Date: Wed Dec 12 22:35:05 2012 -0800 + + doc: Update MicroPeak doc to include EEPROM and programming info + + Signed-off-by: Keith Packard + +commit 816c6b5d087694a9db9c34cc5ec7671a1487d9b9 +Merge: a4a8418 a4678cd +Author: Keith Packard +Date: Wed Dec 12 11:10:14 2012 -0800 + + Merge branch 'micropeak-1.1' + +commit a4678cd848da994dc893b75790e4c9a86e54d895 +Author: Keith Packard +Date: Wed Dec 12 11:01:48 2012 -0800 + + altos: Log in-flight data for MicroPeak + + This logs the low 16 bits of the pressure value to the remaining + on-chip eeprom. It can be read out with a standard AVR programming + dongle. + + Signed-off-by: Keith Packard + +commit 07a45c50429389ae7b51e12bc847d34fb1577bc6 +Author: Keith Packard +Date: Wed Dec 12 10:57:03 2012 -0800 + + altos: Add load-slow target for MicroPeak + + This sets the programming clock to 1/4 of the 250kHz clock used by the + MicroPeak firmware, allowing the device to be reprogrammed. + + Signed-off-by: Keith Packard + +commit 69447d8ad3f5a1e1f59939477afc7720a437fadc +Author: Keith Packard +Date: Tue Dec 11 23:43:30 2012 -0800 + + altos: Tim Van Milligan suggestion for µP -- delay before showing last flight + + This gives the user time to move their finger out of the way of the LED. + + Signed-off-by: Keith Packard + +commit a4a841828924ee37f5201d4ff0aec38459f2d802 +Merge: b26e837 d309fcf +Author: Keith Packard +Date: Tue Dec 11 14:42:43 2012 -0800 + + Merge branch 'micropeak-1.1' + +commit d309fcff54fe6904fb860f33c15fcb7d1c96e91b +Author: Keith Packard +Date: Tue Dec 11 14:41:53 2012 -0800 + + altos: Increase MicroPeak blink times a bit + + make the 0 longer (1 sec now), and make the time between digits longer + (also 1 sec now) + + Signed-off-by: Keith Packard + +commit b26e837a6f18641aae9372aab22168849ff10812 +Merge: 1489c7f c233ef6 +Author: Keith Packard +Date: Sun Dec 9 18:33:31 2012 -0800 + + Merge branch 'micropeak-1.1' + +commit c233ef67f42c14cb1d0e0542a9523b279f826af5 +Author: Keith Packard +Date: Sun Dec 9 18:28:33 2012 -0800 + + altos: Use alt_t value to hold displayed height in micropeak + + Heights are 32 bits (to get .1 meter resolution) in micropeak; make + sure we have enough bits while blinking out the computed value. + + Signed-off-by: Keith Packard + +commit defd5d0784a754be30e3295067fbc85a108ad172 +Author: Keith Packard +Date: Sun Dec 9 18:27:49 2012 -0800 + + altos: Make sure pa to altitude conversion is done with 32 bits + + We need 32 bits to hold intermediate values, even if the final + altitude is reported in only 16 bits. + + Signed-off-by: Keith Packard + +commit 24948ea1d41f2a7c96ac09e35d1250909e5726ae +Author: Keith Packard +Date: Sun Dec 9 14:32:35 2012 -0800 + + altos: Store altitude in 32-bits for MicroPeak + + Needs all 32 bits to store .1 meter resolution + + Signed-off-by: Keith Packard + +commit cf47efdc86f0b421fcf4389669fbecf6fa3f5934 +Author: Keith Packard +Date: Fri Dec 7 22:49:34 2012 -0800 + + altos: Stop including profiling and stack guard code in megametrum + + These take CPU time and memory and are intended only for debugging + + Signed-off-by: Keith Packard + +commit 4339d5c8e6373119e5377fe5c883b6b0e6ce37f6 +Author: Keith Packard +Date: Fri Dec 7 17:38:17 2012 -0800 + + altos: Fix aprs test to not allow callsign configuration + + There's no configuration to take a callsign from... + + Signed-off-by: Keith Packard + +commit abf82991b8e69754ebc4857ce78ac4a4b01f16e4 +Author: Keith Packard +Date: Fri Dec 7 17:35:15 2012 -0800 + + altosui: Add APRS interval configuration to UI + + Signed-off-by: Keith Packard + +commit bd05421991b596fe9cf73ee25c9046b0fb4e32f7 +Merge: 1f79706 1489c7f +Author: Keith Packard +Date: Fri Dec 7 17:34:10 2012 -0800 + + Merge branch 'master' into aprs + +commit 1489c7f75f7b9ce547ac49c157b440c4f9131ef4 +Author: Keith Packard +Date: Fri Dec 7 17:27:48 2012 -0800 + + altosui: Call config UI from AltosConfigData directly + + Don't make AltosConfig have a pile of config code, stick that in + AltosConfigData instead. This uses a new interface, AltosConfigValues + to get from AltosConfigData to the UI. + + Signed-off-by: Keith Packard + +commit 1f797066857b171b19829e2bb7187b8faf37d07c +Author: Keith Packard +Date: Fri Dec 7 17:20:02 2012 -0800 + + altos: Use configured callsign in APRS packets + + Instead of hard-coding my own call sign... + + Signed-off-by: Keith Packard + +commit b28323ce91d23db5e1c3cbd1309c72aafcfbe235 +Author: Keith Packard +Date: Fri Dec 7 17:18:32 2012 -0800 + + altos: Make APRS interval configurable + + This provides a separate configuration value for APRS, allowing the + interval between APRS reports to vary. + + Signed-off-by: Keith Packard + +commit f8a704268f0978a39b9c7983e049ef55914f7280 +Author: Keith Packard +Date: Fri Dec 7 10:15:25 2012 -0800 + + altos: Fix up APRS packet sending code in cc1120 driver + + This fixes the FIFO management, ensuring that the data are streamed + into the radio fast enough to keep the packet continuous. Sounds like + it works, but testing with an actual APRS receiver is required. + + Signed-off-by: Keith Packard + +commit 748e42ebf1dfb1efd5dec6ddd93f5c7aeedeb01d +Merge: 75912f8 c10f9a4 +Author: Keith Packard +Date: Fri Dec 7 10:14:11 2012 -0800 + + Merge branch 'master' into aprs + +commit c10f9a438ed5789479d21c78153ca7f14c05534c +Author: Keith Packard +Date: Fri Dec 7 10:05:51 2012 -0800 + + altos: fix functions calling pollchar to use 'int' to hold the value + + AO_READ_AGAIN doesn't fit in a char anymore now that stdio is 8-bit + clean, everyone using pollchar must use an 'int' variable to capture + the whole value from pollchar. + + Signed-off-by: Keith Packard + +commit 16fd9009d8b034fd8d208115317f65fabe10072a +Author: Keith Packard +Date: Fri Dec 7 08:32:22 2012 -0800 + + altosui: Use AltosConfigData for altosui configuration dialog + + Instead of a separate config language parser, share with altoslib + + Signed-off-by: Keith Packard + +commit e572651b36ad557d716fb14e76e3eec132e5ebdf +Author: Keith Packard +Date: Thu Dec 6 17:08:39 2012 -0800 + + altoslib: Make AltosConfigData parse all of the config data + + It was missing quite a few. This also speeds up parsing of config from + TeleScience, TeleBT and TeleTerra by not listing flight info on those + products (where it doesn't make sense). + + Signed-off-by: Keith Packard + +commit cb4f2b62d50aca615bd4f9f230a1736880125e3e +Author: Keith Packard +Date: Thu Dec 6 17:07:25 2012 -0800 + + altoslib: Make AltosMs5607 capable of parsing ms5607 info lines + + This moves the parsing from AltosMs5607Query + + Signed-off-by: Keith Packard + +commit b4e86af6de52ea0bacf80e3936b6cd17c1cbf898 +Author: Keith Packard +Date: Thu Dec 6 17:06:17 2012 -0800 + + altos: Change 'flight-number' to 'current-flight' + + Avoids ambiguity with stored flight info, which starts lines with 'flight'. + + Signed-off-by: Keith Packard + +commit 9d095eb1987f35d0d4e6540bf335e1faaa7c86ec +Author: Keith Packard +Date: Thu Dec 6 16:29:36 2012 -0800 + + altos: Shrink 'ao_version' by calling printf fewer times + + Each printf call costs quite a bit of code space on the cc1111, so + instead of making multiple short calls, make one longer one. + + Signed-off-by: Keith Packard + +commit 75912f8af04cecc0bbffecb2072d465c3744d4e8 +Author: Keith Packard +Date: Thu Dec 6 10:30:46 2012 -0800 + + altos: Send APRS packets even during ascent + + If you're using APRS, presumably you want to watch the rocket going up too. + + Signed-off-by: Keith Packard + +commit 1f84c0adbfa494ddc7dbe276796d999560be9438 +Author: Keith Packard +Date: Thu Dec 6 10:28:14 2012 -0800 + + altos: Allow telemetry, rdf and APRS to be individually controlled + + But, only when APRS is available so that TeleMetrum and TeleMini don't + change behaviour + + Signed-off-by: Keith Packard + +commit f661da527fb4a3a492f5322e2a718d441e1cde83 +Author: Keith Packard +Date: Thu Dec 6 10:23:39 2012 -0800 + + altos: Hook up APRS to telemetry loop + + Send APRS packet once every 2 seconds + + Signed-off-by: Keith Packard + +commit c1e6fa32b856b91afa355cd272d2d7287d3ccca1 +Author: Keith Packard +Date: Thu Dec 6 10:12:11 2012 -0800 + + altos: Hook APRS up to the radio + + This adds an arbitrary-length packet writing function to the radio + code. + + Signed-off-by: Keith Packard + +commit 51ef826372f466f44901c4c609ed6a987d30fda4 +Author: Keith Packard +Date: Wed Dec 5 23:39:47 2012 -0800 + + altos: Prepare APRS for use within altos itself + + Make all variables static, const-ify constants, change the public + name of the single entry point. + + Signed-off-by: Keith Packard + +commit 74969483736381858484dca9ebb528d9d2d73f5b +Author: Keith Packard +Date: Wed Dec 5 22:23:46 2012 -0800 + + altos: Start restructuring APRS code to create and send packets + + Signed-off-by: Keith Packard + +commit 933d654ec917d9794e87407a7e579438bb738d54 +Author: Keith Packard +Date: Wed Dec 5 21:37:47 2012 -0800 + + altos: Remove a bunch of time bits from the APRS code + + Signed-off-by: Keith Packard + +commit 684f53d67379cf2ae696fab93d81e49208dfa43c +Author: Keith Packard +Date: Wed Dec 5 21:34:05 2012 -0800 + + altos: Remove APRS sine-wave table + + We're generating a lovely square wave, which appears to be decoded + just fine thankyouverymuch. + + Signed-off-by: Keith Packard + +commit b79f448818126258174044a23db5b4f330fd5986 +Author: Keith Packard +Date: Wed Dec 5 21:25:29 2012 -0800 + + altos: More APRS trimming + + Signed-off-by: Keith Packard + +commit 0bb7200f85db1bc6e39e72e671be9a7aef9c8f09 +Author: Keith Packard +Date: Wed Dec 5 21:22:55 2012 -0800 + + altos: Remove more unused APRS code + + Getting down to a reasonable amount of code. + + Signed-off-by: Keith Packard + +commit d717edd18a35376811d6be0d0c7522ee8cc426f9 +Author: Keith Packard +Date: Wed Dec 5 21:13:37 2012 -0800 + + altos: Reduce printf calls in APRS packet generation + + Merge all of the data into a single printf call + + Signed-off-by: Keith Packard + +commit 3e1254c4f3261f66d8070250898fe906eb80d8f2 +Author: Keith Packard +Date: Wed Dec 5 21:08:19 2012 -0800 + + altos: Strip out everything but the basic position reporting from APRS + + Any useful data will be sent over the digital link; APRS is strictly + for position tracking + + Signed-off-by: Keith Packard + +commit fe820a8a2dc6248b5edb96a9521536d41b936116 +Author: Keith Packard +Date: Wed Dec 5 21:01:59 2012 -0800 + + Signed-off-by: Keith Packard + + altos: Switch APRS to standard position reporting form + + Stop using NMEA sentences for position + +commit 03f844ddcd95166211451fda0b20f9b15496294e +Author: Keith Packard +Date: Wed Dec 5 20:11:35 2012 -0800 + + altos: Add missing ao_aprs.h file + + This has defines for the planned APRS interface + + Signed-off-by: Keith Packard + +commit 8b1f186a574c22cebd9daba9d352ec82556c3b28 +Author: Keith Packard +Date: Wed Dec 5 20:10:54 2012 -0800 + + altos: Generate all of the APRS messages + + Note that two of them are in NMEA form, which some receivers appear + not to parse + + Signed-off-by: Keith Packard + +commit 0c2c47dd7af2fc95de852178c4244daba02f44ed +Author: Keith Packard +Date: Wed Dec 5 19:44:09 2012 -0800 + + altos: Add test scaffolding for APRS + + This moves some test code out of ao_aprs.c and into ao_aprs_test.c, + and then adds Makefile fragments to compile and run the resulting + program, creating a wav file as output + + Signed-off-by: Keith Packard + +commit d65751fded3321b8a350e4140c44f87fec95aab2 +Author: Keith Packard +Date: Wed Dec 5 19:30:27 2012 -0800 + + altos: Make aprs code output encoded packets to stdout + + This generates a .wav file containing a single APRS packet. This has + been tested and appears to be successfully decoded by an APRS receiver. + + Signed-off-by: Keith Packard + +commit 024e35dc6a0356adfc801a023d5ec208cf3996cb +Author: Keith Packard +Date: Wed Dec 5 09:59:16 2012 -0800 + + altos: Add Pico Beacon code as ao_aprs.c + + Pico Beacon hooks a GPS to an AD9954 DDS radio chip with a PIC. It + directly synthesizes the necessary AX.25 packets to do APRS + reporting. We're going to appropriate the code for use in Mega Metrum + to (optionally) broadcast APRS packets. + + http://ad7zj.net/kd7lmo/aprsbeacon_code.html + + Signed-off-by: Keith Packard + ( + +commit ce12787b56f699166cafe4cdee9e2a4d8e66ebed +Author: Keith Packard +Date: Tue Dec 4 09:45:01 2012 -0800 + + altos: Break out GPS speed resetting sequence + + To set the GPS speed, we delay for 1/2 sec, change speed, then delay + for another 1/2 sec. + + Signed-off-by: Keith Packard + +commit d1778937e136fdecf8607dd9b358cf972d87ca34 +Author: Keith Packard +Date: Tue Dec 4 09:43:56 2012 -0800 + + altos: shrink ao_companion_status by merging printf calls + + Multiple printf calls are longer than one big one, so merge these + together to save some code space + + Signed-off-by: Keith Packard + +commit f6f440767eece896507903e6e58849f11088829f +Author: Keith Packard +Date: Tue Dec 4 08:48:05 2012 -0800 + + Another ao-mega addition which shouldn't be here + + Signed-off-by: Keith Packard + +commit 1f52e8afce514a6b943c92aaa6d7189d11d9fe76 +Author: Keith Packard +Date: Tue Dec 4 01:34:03 2012 -0800 + + ao-tools. Oops, let 'ao-mega' slip into build. + + This is a tool to parse ao-mega eeprom files; not sure it'll be that + useful, and it's certainly not usable *yet*. + + Signed-off-by: Keith Packard + +commit d4d5d411679d074295d4722f4887fd1cf4f0906c +Author: Keith Packard +Date: Tue Dec 4 01:30:39 2012 -0800 + + ao-sky-flash: Clean up debug printfs a bit + + This makes debugging output a bit cleaner + + Signed-off-by: Keith Packard + +commit 5f6b3790667d9b92370b4fe0dad5626929fea2ba +Author: Keith Packard +Date: Fri Nov 30 20:51:47 2012 -0800 + + altos: Make skytraq reflashing code try both 9600 and 4800 baud + + This lets it communicate with the ROM code which boots at 4800 baud + instead of 9600 baud. + + Signed-off-by: Keith Packard + +commit dd8b2eadab12965d232640449b1d1c9f2484238c +Author: Keith Packard +Date: Fri Nov 30 17:36:40 2012 -0800 + + ao-tools: Add ao-sky-flash to update GPS firmware + + This uses a new feature of AltOS to directly connect the GPS chip to + the USB link to reprogram the former. + + Signed-off-by: Keith Packard + +commit 860d0526737295c695f8e6a790d72b49eb4a686d +Author: Keith Packard +Date: Fri Nov 30 16:10:43 2012 -0800 + + altos: Add support for reflashing skytraq GPS chips + + This simply switches the skytraq port to 115200 baud and then + essentially connects it directly to the USB port by forwarding bytes + in both directions. + + Once started, the only way out is to reboot the board. + + Signed-off-by: Keith Packard + +commit c90ece979f3c95cc6c557c5a2ba8f4a0ce78e173 +Author: Keith Packard +Date: Fri Nov 30 16:08:41 2012 -0800 + + altos: Expose GPS serial fifo on MegaMetrum + + Necessary for direct access by the GPS reflashing code + + Signed-off-by: Keith Packard + +commit ae0ddb0f866a26867f0147e0811717810f74c9ef +Author: Keith Packard +Date: Fri Nov 30 16:05:19 2012 -0800 + + altos: Add ao_task_minimize_latency to reduce IRQ delays + + When set, this causes the task switching code to avoid blocking IRQs + while looking for an idle task as that can increase IRQ latencies + enough to drop characters at 115200 baud on the cc1111. Note that this + *also* eliminates the ability to use low power modes as we cannot know + at any point whether some interrupt has come along and woken a task. + + Has no effect when using task queues as those require IRQs to be + blocked while looking at the queue. Shouldn't be a problem there + though as the check for no running tasks is very cheap. + + Signed-off-by: Keith Packard + +commit f2c2d04f07253a90c4f7da49df43c3969119516b +Author: Keith Packard +Date: Fri Nov 30 16:04:24 2012 -0800 + + altos: Use ao_xmemcpy in ao_log_telem.c + + This eliminates the libc generic version in TeleTerra + + Signed-off-by: Keith Packard + +commit 7db14905af5cbbfa47d1a2026cce6aea9e5aae7a +Author: Keith Packard +Date: Fri Nov 30 16:03:45 2012 -0800 + + altos: Add support for 115200 baud serial rates + + Necessary for flashing skytraq chips + + Signed-off-by: Keith Packard + +commit 0b65402361f36a0c722977bcb63edb26fda0db28 +Author: Keith Packard +Date: Fri Nov 30 16:01:07 2012 -0800 + + altos: Make stdio 8-bit clean by making pollchar return int + + We were stealing one value (0xff) in the return value from pollchar to + indicate 'not ready yet'. Instead of doing that, use the integer value + -1 and have pollchar return an int instead of a char. That + necessitated cleaning a few other bits to make sure that 0xff wouldn't + get promoted to -1 on accident. + + Signed-off-by: Keith Packard + +commit 0fa9ce23dd63846337872d6d666a469512614d07 +Author: Keith Packard +Date: Fri Nov 30 15:10:59 2012 -0800 + + altos: Share cc1111 reset/debug-start code + + These sequences are very similar, differing only in whether the dbg + clock line is toggled while holding reset low for a while. + + Signed-off-by: Keith Packard + +commit cb01d968f21a171682e6358641edaf5eef815a66 +Author: Keith Packard +Date: Fri Nov 30 15:05:31 2012 -0800 + + altos: Shrink cc1111/ao_dbg.c a bit + + Share code for osequence of ao_dbg_long_delay(); ao_dbg_send_bits() + + Signed-off-by: Keith Packard + +commit 81648829defbaf49fc98c4520540f7a20c50c417 +Author: Keith Packard +Date: Fri Nov 30 15:04:21 2012 -0800 + + altos: Share getnibble function + + Two implementations of the same function, one in cc1111/ao_dbg.c and + the other in core/ao_send_packet.c. + + Signed-off-by: Keith Packard + +commit 289ead258e217bc10493caab12a8b477f1bc2865 +Author: Keith Packard +Date: Thu Nov 29 20:36:51 2012 -0800 + + altos: Make TeleBalloon v1.1 build again + + This is untested, but at least it builds now + + Signed-off-by: Keith Packard + +commit ceea0e75ac42acac4a20bf88f34bb93fd2768f4c +Merge: 7738ddc 285fccf +Author: Bdale Garbee +Date: Tue Nov 20 12:37:38 2012 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 7738ddc5dcf4a9609ae2b066a783e3c9fa03d3be +Author: Bdale Garbee +Date: Tue Nov 20 12:36:26 2012 -0700 + + let upstream version rule, don't force use of Debian version in firmware + +commit 285fccfa82d89b0decc3b44f413eef9d0c8f1e63 +Author: Keith Packard +Date: Sun Nov 18 10:36:17 2012 -0800 + + altos: Slow down micropeak report timing + + This makes reading the LED a lot easier. + + Signed-off-by: Keith Packard + +commit 8ff0db3979405357003b52022e564a3da75ec3fb +Author: Keith Packard +Date: Sun Nov 18 10:35:39 2012 -0800 + + altos: micropeak LED is orange now, not blue + + Change the names around to match + + Signed-off-by: Keith Packard + +commit ba3532a8ca7083b09fde5827faeb95f0c2f3b07c +Author: Keith Packard +Date: Sun Nov 18 10:20:52 2012 -0800 + + doc: Minor updates to the micropeak docs + + Mention light issue in quick start guide. Update run-time estimate to + 40 hours (measured over 44 hours) + + Signed-off-by: Keith Packard + +commit 1df3e6402489480e30600304bf024481902f9425 +Author: Keith Packard +Date: Sun Nov 18 10:15:14 2012 -0800 + + altos: Clean everything, even if we don't have compilers + + This ensures that stale bits aren't left if PATH isn't set right when + 'make clean' is called. + + Signed-off-by: Keith Packard + +commit c4737c81ee2da826b38cc52efbfb09017e6825ca +Author: Keith Packard +Date: Sun Nov 18 10:13:49 2012 -0800 + + altoslib: Reset telem tracking state when switching altimeters + + This discards any local state when the new telem packet has a + different serial number + + Signed-off-by: Keith Packard + +commit fcb801b145e1ae6f1c0b3418a99245d34dbf5aa4 +Author: Keith Packard +Date: Sun Nov 18 10:10:29 2012 -0800 + + altoslib: Allow flight number to be zero + + It's zero when there's no storage space on the device. Instead of + waiting for non-zero flight number, wait for the seen_flight bit to be + set in the telem tracking state + + Signed-off-by: Keith Packard + +commit c494eecc51f7d80e24e5db7af0021c56cb6871d4 +Author: Keith Packard +Date: Sun Nov 18 10:08:38 2012 -0800 + + altoslib: MegaMetrum data telem packets have sensor data, not flight no + + Setting the seen_flight bit without a flight number leads to bogus + file names + + Signed-off-by: Keith Packard + +commit 70c9fc74a68fdb92569eb73295cfa154cf3768f4 +Author: Keith Packard +Date: Sun Nov 18 09:50:54 2012 -0800 + + altos: Make Tm recovery mode set RF cal and callsign too + + This lets us connect to Tm even if someone messes up the RF + calibration or callsign info + + Signed-off-by: Keith Packard + +commit fa3beed645c7bff08d22a657daffe75059dc7b88 +Author: Keith Packard +Date: Sun Nov 18 08:46:31 2012 -0800 + + altos: fix cc1120 radio test - state wasn't made static + + so whether the radio got turned on was random. + + Signed-off-by: Keith Packard + +commit e037fbc004e1aa7d631ae999e587bdde2f6b71c9 +Author: Keith Packard +Date: Sat Nov 17 17:34:01 2012 -0800 + + altoslib: Add (disabled) conversion for MS5611 + + In case we actually end up shipping an MS5611-based board at some + point, it will be nice to have the java code on hand + + Signed-off-by: Keith Packard + +commit 0606dc013d8b89fd5de0548af0de20fdab5c27d4 +Author: Keith Packard +Date: Fri Nov 16 22:19:17 2012 -0800 + + doc: Start updating AltOS documentation for multi-arch + + Now that AltOS supports many processors, start updating the + documentation to match. + + Signed-off-by: Keith Packard + +commit b3205a1d246e5ed229256aa787f26e6e122b7a2f +Author: Keith Packard +Date: Thu Nov 1 17:52:22 2012 -0700 + + altos: Build megadongle when possible + + Signed-off-by: Keith Packard + +commit 793b950083d09ead4f6230e041ad43aa9f5f2179 +Author: Keith Packard +Date: Thu Nov 1 10:51:41 2012 -0700 + + altos/megadongle: Add megadongle product + + Looks a lot like teledongle from a feature perspective. + + Signed-off-by: Keith Packard + +commit f74d724f92b335d6c0674d0f1fcc650b729401df +Author: Keith Packard +Date: Thu Nov 1 10:50:03 2012 -0700 + + altos: Remove legacy telemetry from ao_monitor when not needed + + For products not supporting LEGACY_MONITOR, remove the (undefined) + structs from the ao_monitor union. + + Signed-off-by: Keith Packard + +commit e4d931cd99a7c91803584b71670e30c0d00217df +Author: Keith Packard +Date: Thu Nov 1 10:49:17 2012 -0700 + + altos: Remove 'volatile' from ao_rssi.c globals + + No need for this, the variables aren't changed at interrupt time. + + Signed-off-by: Keith Packard + +commit 86f8b92149d1027b1d6d6b1cae097cfe47b02090 +Author: Keith Packard +Date: Thu Nov 1 10:48:08 2012 -0700 + + altos/stm: Support LEDs on multiple ports + + Split out the bits in a fairly simplistic fashion so that we support + no more than 16 LEDs still. + + Signed-off-by: Keith Packard + +commit fcdaa0d748058a7f52a1bdc1a1627dc394762e5a +Author: Keith Packard +Date: Tue Oct 30 19:56:51 2012 -0700 + + altos/attiny: Remove debugging code which frobs PB1 + + This was clearly stuck there to debug something; not a good idea... + + Signed-off-by: Keith Packard + +commit af8cb40851a5cf5e3bd06ddd85e4e2df16bfbad2 +Author: Keith Packard +Date: Tue Oct 30 19:44:45 2012 -0700 + + altos/micropeak: Run MS5607 at max resolution for micropeak + + We've got lots of time, so get the highest resolution baro data available. + + Signed-off-by: Keith Packard + +commit 371da0c909098092db7b596496df9d58eed43703 +Author: Keith Packard +Date: Tue Oct 30 19:41:08 2012 -0700 + + altos/micropeak: Clock micropeak at 250kHz to save power + + This reduces average current consumption from 2mA to .4mA. This + makes the battery last longer, but also gets the current under + something that the typical CR1025 battery can support. Would be nice + to reduce current even further; cheap CR1025 batteries still seem to + fade a bit at this current level. + + Signed-off-by: Keith Packard + +commit e8a4a00a5bb333d4ee9601d53242a82dfe0372c2 +Author: Keith Packard +Date: Tue Oct 30 19:39:55 2012 -0700 + + altos/attiny: Don't initialize the CS pin in the general SPI setup + + Let the CS pin be configured by the driver, which can set the correct + value before enabling the output. + + Signed-off-by: Keith Packard + +commit f7d2613bb0a6ab1c63e3f6252a3a2358fdfbc691 +Author: Keith Packard +Date: Mon Oct 29 17:07:05 2012 -0700 + + altos/micropeak: Set boost detect to 10m. Add 30s boost delay. + + Wait for 30 seconds before even starting look for boost. This provides + an opportunity to close up the airframe, potentially causing pressure + gradients seen by the baro sensor. + + Also, require a 10m vertical motion before triggering boost. This + should limit accidental boost detect while capturing any actual flights. + + Signed-off-by: Keith Packard + +commit 0d0ece403028e8a4453cc380575ed95c5e00ddb7 +Author: Keith Packard +Date: Mon Oct 29 11:49:23 2012 -0700 + + doc: Add micropeak manual + + Signed-off-by: Keith Packard + +commit 424638446b7c7bb3f4aa6b4764d3e68175dcbf8c +Author: Keith Packard +Date: Mon Oct 29 11:48:58 2012 -0700 + + altos: Build micropeak when avr-gcc is available + + Signed-off-by: Keith Packard + +commit e9ea0ad4024532fd6f87bb6708bf76b0c7aa1c5b +Author: Keith Packard +Date: Mon Oct 29 11:47:17 2012 -0700 + + altos/micropeak: Switch to MS5607 sensor. Require 4m for boost. Elide dead code + + Signed-off-by: Keith Packard + +commit 0623bc06a77536b903da09acbd12999d0ed05360 +Author: Keith Packard +Date: Mon Oct 29 11:43:02 2012 -0700 + + altos/attiny: Update to new interrupt macros + + Add ao_arch_block/release_interrupts macros to attiny architecture + + Signed-off-by: Keith Packard + +commit a46c9398a5f02ff4b52b7a4309a51498560cadb5 +Merge: e57ab2a 56023cf +Author: Keith Packard +Date: Fri Oct 26 14:08:32 2012 -0700 + + Merge remote-tracking branch 'mjb/altosdroid' + +commit e57ab2a7bfb69c0ef9b5b7fa8e53e20a500e7c6c +Author: Keith Packard +Date: Thu Oct 25 13:42:10 2012 -0700 + + altos: Provide ao_task_alarm_tick to reduce per-tick cost + + Cache the next wakeup time and check that before jumping to the task + code. + + Signed-off-by: Keith Packard + +commit ccf0faa7d26d56deca7928b521d07be40504466a +Author: Keith Packard +Date: Thu Oct 25 13:40:54 2012 -0700 + + altos: Leave interrupts disabled while checking for task to run + + Otherwise, we run the risk of an interrupt waking a task after we've + decided to idle the CPU. + + Signed-off-by: Keith Packard + +commit 9b978cd467f9128f3069765dd8fbf8abad3459a4 +Author: Keith Packard +Date: Thu Oct 25 13:38:13 2012 -0700 + + altos: Clean up stm arch macros a bit. + + Turn a bunch of the macros into inline functions. + Clean up the reboot method to use the stm_scb structure. + + Signed-off-by: Keith Packard + +commit 7ee031bdab33cc6a1e2a7995a7c3a43f3a64b687 +Author: Keith Packard +Date: Thu Oct 25 13:35:47 2012 -0700 + + altos: Clean up cc1111 architecture macros a bit, removing cli/sei + + Just reformatting changes, aside from the removal of cli/sei + + Signed-off-by: Keith Packard + +commit ff6a439cd24e239abd97107ecedf12dca71e59a5 +Author: Keith Packard +Date: Thu Oct 25 13:33:43 2012 -0700 + + altos: Wrap ao_container_of value in parens + + Keeps the cast from being separated from the value when used + in expressions. + + Signed-off-by: Keith Packard + +commit f221c78e6237e0a118ebe85c25e433fe16a7735d +Author: Keith Packard +Date: Thu Oct 25 11:25:42 2012 -0700 + + altos: Switch drivers to ao_arch_block/release_interrupts + + Stop using cli/sei, which are avr-specific + + Signed-off-by: Keith Packard + +commit 56023cf5da9deede9fe627fe327783eceecf08f7 +Author: Mike Beattie +Date: Thu Oct 25 20:39:20 2012 +1300 + + altosdroid: more restrictive commit no. matching + + Signed-off-by: Mike Beattie + +commit bb3f42daffafb497639c2c678f6106ce54523ff3 +Author: Mike Beattie +Date: Thu Oct 25 20:31:59 2012 +1300 + + altosdroid: more reliable branch detection + + Signed-off-by: Mike Beattie + +commit 963f7715be6c67056bbd8bbe898639adac64fc29 +Author: Keith Packard +Date: Thu Oct 25 00:12:57 2012 -0700 + + Bump version to 1.1.9.2 + + Signed-off-by: Keith Packard + +commit 282f0451dd141db3304ab73e4020a849e59721eb +Merge: 0680d62 78e1de4 +Author: Keith Packard +Date: Thu Oct 25 00:09:01 2012 -0700 + + Merge remote-tracking branch 'mjb/altosdroid' + +commit 0680d62d57496cea7ae4f1ef317c46e689b28e21 +Author: Keith Packard +Date: Thu Oct 25 00:04:27 2012 -0700 + + altos/megametrum: Depend on Makefile contents for build + + This ensures that everything is rebuilt when the Makefile changes + + Signed-off-by: Keith Packard + +commit b49c751749dcd3e78991463c098f8d916f52179d +Author: Keith Packard +Date: Wed Oct 24 23:50:55 2012 -0700 + + altos: Add task queues. + + This replaces the array-based scheduler with a queue-based one + instead. It should have the same basic scheduling semantics, but it + walks shorter lists for each operation, making it much more efficient + when the system has a lot of tasks. + + Signed-off-by: Keith Packard + +commit 4b13d3c659240e5a8347b1ba7ab0bf1d8355eba3 +Author: Keith Packard +Date: Wed Oct 24 22:46:55 2012 -0700 + + altos: Add stack-guard code. Uses STM MPU to trap stack overflow. + + This marks the lowest portion of the stack as inaccessible to the CPU, + causing the processor to fault when it reaches it. The fault then + generates a panic message so that the user can know what happened. + + Signed-off-by: Keith Packard + +commit e80fa6de4ccc5c4851eab9fb941f9282d2e3eb16 +Author: Keith Packard +Date: Wed Oct 24 22:35:32 2012 -0700 + + altos: Replace __critical usage with ao_arch_critical as needed + + sdcc offers __critical as a machine-independent way to block + interrupts, but as gcc doesn't, we need to use a compiler-independent + construct instead. ao_arch_critical has been around since the AVR + port, but some old __critical usages remained. + + This fixes a bunch of random hangs when communicating with MM over USB + or the radio as the various stdio loops were running without + interrupts blocked between the test and the sleep. + + Signed-off-by: Keith Packard + +commit b119e19604aa557a40e848c60d98a67b5f259bbd +Author: Keith Packard +Date: Tue Oct 23 22:17:49 2012 -0700 + + altos: profiling on STM32L + + Add sample-based profiling, using a 1kHz timer + + Signed-off-by: Keith Packard + +commit 7d34811ba035367bbf26a8510265754f3fbb5a95 +Author: Keith Packard +Date: Wed Oct 24 23:21:38 2012 -0700 + + altos: Add ao_arch_block/release_interrupts to avr and cc1111 + + Stop using cli/sei for AVR, add replacement to __critical for cc1111 + + Signed-off-by: Keith Packard + +commit 09aa379fc57cd4f30c18c7bda2532a79109354c2 +Author: Keith Packard +Date: Wed Oct 24 23:55:00 2012 -0700 + + altos: Force beep timer regs reload when enabling beeper + + Without this, there can be a long delay between asking for the beeper + and having it actually start sounding. + + Signed-off-by: Keith Packard + +commit 097c931c979d3652ef8e279ba66bb7ce758f37a3 +Author: Keith Packard +Date: Wed Oct 24 23:52:49 2012 -0700 + + altos: When slave mode first starts, accept any packet + + This eliminates the packet sequence matching for the first packet, + allowing outstanding send data to arrive from the master instead of + ignoring packets with data until they match the seqno + + Signed-off-by: Keith Packard + +commit 978c16105dd334a4a2807140dbbcc7f306a6b581 +Author: Keith Packard +Date: Wed Oct 24 23:55:45 2012 -0700 + + altosui: Allow AltosConfig to abort before serial line starts + + Check to see if the serial line is active before trying to close it. + + Signed-off-by: Keith Packard + +commit 78e1de481bfdbf7c7bb908c317b23c8ee275c84f +Author: Mike Beattie +Date: Wed Oct 24 20:54:18 2012 +1300 + + altosdroid: Add version information to UI + + Signed-off-by: Mike Beattie + +commit 5ad62b07bef41921b46cb7251072dc24290ee4c9 +Author: Mike Beattie +Date: Wed Oct 24 20:52:09 2012 +1300 + + altosdroid: Add branch to BuildInfo + + Signed-off-by: Mike Beattie + +commit 055f3232decc07e064d596469b81cf9869411c2d +Merge: 8ca58e2 9e60fa2 +Author: Bdale Garbee +Date: Tue Oct 23 09:38:36 2012 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 8ca58e20208495ce63b8256a8ffa43932867e8d5 +Author: Bdale Garbee +Date: Tue Oct 23 09:33:17 2012 -0600 + + remove local copy of launch-sites.txt and reference to old web location + +commit 37a09f1edc57924dabcf2a71794a42e37b5a354c +Author: Mike Beattie +Date: Tue Oct 23 19:22:52 2012 +1300 + + altosdroid: match only the current version tag + + Don't match non version tags - and always return the long format of + git describe, rather than just the tag (when the tag is on the current + commit). + + Split the commit number/hash more reliably by removing the version tag + from the result first. + + Signed-off-by: Mike Beattie + +commit 9e60fa214ad2c48fbe8f7e5c437681aa35d249fa +Merge: 27c3157 4b41561 +Author: Keith Packard +Date: Mon Oct 22 22:39:31 2012 -0700 + + Merge remote-tracking branch 'mjb/altosdroid' + +commit 27c31572f4f63c2282e1cc583f4402337fcb548a +Author: Keith Packard +Date: Mon Oct 22 22:38:46 2012 -0700 + + altosui: Allow any non-basestation to be configured + + TelePyro has some configuration bits. + + Signed-off-by: Keith Packard + +commit 79f4e684713cff6bf999cac52f5d9525a6f7d278 +Author: Keith Packard +Date: Mon Oct 22 21:39:12 2012 -0700 + + altos: make check-avr-mem utility executable + + Signed-off-by: Keith Packard + +commit d4ea2e7c3ed84fb6f4e880da6c5ddf2a83d3ef61 +Author: Keith Packard +Date: Mon Oct 22 21:38:18 2012 -0700 + + altos: Allow pyro flight state config to be set + + Without these lines, flight state compares can't be shown or set. + + Signed-off-by: Keith Packard + +commit e80d7cd18fa4dac98d941e86b5956403a7170966 +Author: Keith Packard +Date: Mon Oct 22 21:37:25 2012 -0700 + + altos: Let AVR products override the stack size. Set telepyro to 104 + + Otherwise, telepyro doesn't have enough ram... + + Signed-off-by: Keith Packard + +commit 20496608ca287e65302193ee1afe9f0cad3a36e1 +Author: Keith Packard +Date: Mon Oct 22 21:36:12 2012 -0700 + + altoslib: capitalize 'Invalid' state name appropriately + + It shouldn't ever appear, but it seemed wrong to have it not match the + rest of the strings. + + Signed-off-by: Keith Packard + +commit fe00d1169c65cb289f77093cf281efbd0a5d4e64 +Author: Keith Packard +Date: Mon Oct 22 21:35:06 2012 -0700 + + altosui/altoslib: Add support for configuring pyro channels + + This provides a UI on devices which have pyro channels other than + main/apogee. + + Signed-off-by: Keith Packard + +commit fd619a01bf3489b1df017aca20362757b087ec11 +Author: Keith Packard +Date: Mon Oct 22 08:52:08 2012 -0700 + + altos: Add state comparisons to pyro channel conditions + + Let pyro channels block waiting for flight state changes. This + allows for pyro channels to be synchronized with the main iginiter + channels. + + Signed-off-by: Keith Packard + +commit 4b41561abf9144e73995ccc18eadad7936d1dd15 +Author: Mike Beattie +Date: Mon Oct 22 11:55:07 2012 +1300 + + altosdroid: add autogenerated BuildInfo.java + + * Generated by shell script that parses git describe + * Makefile rule to call script on every run + * also includes eclipse hooks to call shell script on build + + Signed-off-by: Mike Beattie + +commit 8cb09f8a3e2dae5f7f3d2d3dbbc81ba40b491e75 +Author: Keith Packard +Date: Sun Oct 21 20:57:21 2012 -0700 + + altosdroid: AltosState now has speed and max_speed funcs + + These pull out the appropriate baro/accel speed values and may use + some fancier values in future. + + Signed-off-by: Keith Packard + +commit e4ee3a35dbb1586f65adada0eaf34b7b4e5432eb +Author: Keith Packard +Date: Sun Oct 21 19:51:02 2012 -0700 + + altoslib: Add AltosRecordNone.java + + oops. forgot a file. + + Signed-off-by: Keith Packard + +commit e16c33545640f745cec8dc595b2343359efced57 +Author: Keith Packard +Date: Sun Oct 21 17:26:16 2012 -0700 + + altos/test: Use MMA655X in ao_flight_test_mm. Add run-mm to plot mm data + + Pull MMA655X data out of eeprom file when available. Switch build to + using MMA655x by default. + + Clone run-one to plot a single mm flight + + Signed-off-by: Keith Packard + +commit f789b0b94eb01e3875f7711ce053658c31e75fad +Author: Keith Packard +Date: Sun Oct 21 17:00:08 2012 -0700 + + altosui: Handle .mega files in Landed tab 'Graph Flight' button + + Need to check for .mega files here too. + + Signed-off-by: Keith Packard + +commit 6a1a1dae3e00bfcddf31c447f915245a7d42e566 +Author: Keith Packard +Date: Sun Oct 21 16:55:00 2012 -0700 + + altos: Document mega log packet types + + Just add comments to ao_log.h so it's easy to remember which labels go + with each record. + + Signed-off-by: Keith Packard + +commit 89c621be35e1a6d3394b0e143391fcf2d94d7b41 +Author: Keith Packard +Date: Sun Oct 21 16:53:23 2012 -0700 + + altoslib: Parse GPS .mega file entries for reply/graphing + + The .mega file parsing had a pile of leftovers from when it was cloned + from the .eeprom file parsing code. Replace all of that with the right + parsing bits so that GPS data will be presented correctly. + + Signed-off-by: Keith Packard + +commit 7894c27b2b2c3c46a7c107c8acd5977830f006cf +Author: Keith Packard +Date: Sun Oct 21 16:13:14 2012 -0700 + + altoslib: Move computed state from AltosRecord to AltosState + + Make AltosRecord simply track the raw data and have AltosState hold + all computed values, including cross-packet averages and computed speeds. + + Signed-off-by: Keith Packard + +commit dec2e455935a71dec13b84bb886252b7f4a1a641 +Author: Keith Packard +Date: Sun Oct 21 14:11:07 2012 -0700 + + altoslib: Compute accelerometer speed from megametrum eeprom data + + Duplicates code from the TM eeprom state tracking code. + + Signed-off-by: Keith Packard + +commit dcadf5e55f076604b0b168be0060026110e263ed +Author: Keith Packard +Date: Sun Oct 21 14:10:32 2012 -0700 + + altoslib: remove a couple of TM log record types from MM log parsing + + PRESSURE and DEPLOY log records don't occurin MM eeprom files. + + Signed-off-by: Keith Packard + +commit 1f5a453cb4650fc97cc990a9e42242278c29cc04 +Author: Keith Packard +Date: Sun Oct 21 13:42:00 2012 -0700 + + altoslib: MegaMetrum eeprom never loses GPS date + + TeleMetrum had a firmware bug that would fail to record the GPS date + and time correctly, that was hacked around in altosui, but isn't + needed for MegaMetrum. Remove those hacks from the MM path. + + Signed-off-by: Keith Packard + +commit 84a144e8b479550406323bc3b2cf89026b770746 +Author: Keith Packard +Date: Sun Oct 21 13:02:40 2012 -0700 + + altosui: Correct megametrum eeprom filename date + + Was fetching day-of-month from the year field + + Signed-off-by: Keith Packard + +commit db0bbf76b5d739b5d7628bc9139dc8fecd501ac3 +Author: Keith Packard +Date: Sun Oct 21 13:02:05 2012 -0700 + + altosui: Add new filename filters + + Allow the user to restrict filenames to telem, eeprom or mega files + + Signed-off-by: Keith Packard + +commit eea141b2f35722bad4cd31d9484d6d794646f815 +Author: Keith Packard +Date: Sun Oct 21 13:01:03 2012 -0700 + + altos/stm: Stop spewing clock out PA8 pin + + This was used to debug the clock bringup, but is not useful anymore, + and probably a bad idea to boot. + + Signed-off-by: Keith Packard + +commit 7f664da148ae15d46d179d8ecede6fc0bc710ffb +Merge: 3aba5eb 23b0c2f +Author: Keith Packard +Date: Thu Oct 18 16:49:28 2012 -0700 + + Merge branch 'master' into pwmin-new + +commit 23b0c2fe95dbfaa4a8ce603b56b75d12d2c17d8c +Author: Keith Packard +Date: Thu Oct 18 16:19:38 2012 -0700 + + altosui: Re-add a couple of "unused" values + + The values in these calls aren't needed, but the side-effects are, so + add them back in. + + Signed-off-by: Keith Packard + +commit 05173876d5984a54929db486c9ce1e19bde79526 +Author: Keith Packard +Date: Thu Oct 18 16:02:59 2012 -0700 + + Bump version to 1.1.9.1 + + Prepare for Rocketober/Thrustration + + Signed-off-by: Keith Packard + +commit ceb42f4c96076b01ac05577c9fe461b66e72d30d +Author: Keith Packard +Date: Thu Oct 18 15:34:41 2012 -0700 + + altos/megametrum: Switch back to using the MS5607 + + We're planning to ship the MS5607 + + Signed-off-by: Keith Packard + +commit 5a55501660ebab3b858a48483c5df1cfb4e858e4 +Merge: 0361235 440365b +Author: Keith Packard +Date: Thu Oct 18 15:18:52 2012 -0700 + + Merge branch 'master' into mm-ms5611 + + Signed-off-by: Keith Packard + +commit 3aba5eb5a75dff3e7c8778561c533903eacb110a +Author: Keith Packard +Date: Tue Oct 16 22:33:34 2012 -0700 + + altos: Build telescience-pwm product when possible + + Signed-off-by: Keith Packard + +commit f34f0ac7f355149446374a4c82dbf004919bc2dd +Author: Keith Packard +Date: Tue Oct 16 22:21:04 2012 -0700 + + altos: Add telescience-pwm product + + Split out special PWM-sampling telescience product + + Signed-off-by: Keith Packard + +commit 14698c424f833dc6d2fb38f69f5f661804cf8303 +Author: Keith Packard +Date: Tue Oct 16 22:17:25 2012 -0700 + + altos: Only enable PWM on telescience_pwm product + + Signed-off-by: Keith Packard + +commit ac318c19594569532f1fa53b639eefa28d9b7c34 +Author: Robert Garbee +Date: Wed Jul 18 18:41:00 2012 -0600 + + telescience: correctly calculating rate values with higher resolution + +commit da7ac5e95575f6aa1d2514748869771b7686c0e1 +Author: Robert Garbee +Date: Wed Jul 18 14:24:05 2012 -0600 + + ICP3 working + +commit ed5aa2329985ffbaba74514e0555f67fc378a8d8 +Author: Robert Garbee +Date: Wed Jul 18 13:41:27 2012 -0600 + + Timer 3 working with slower clock and all 16 bits. + +commit 1d7e6f5dcb29535cde9b7dfd6998d7889baf835b +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 1747ab07dab6f4e977e0c3e83b57510cd668e369 +Author: Robert Garbee +Date: Thu Jul 19 11:40:20 2012 -0600 + + telescience: steal last adc channel for icp3 most recent value + Make the ICP3 rpm counter use in ao_adc_avr.c optional + + Signed-off-by: Keith Packard + +commit 440365bd17d804c2f574c35164612cf1682397d7 +Author: Keith Packard +Date: Tue Oct 16 21:54:23 2012 -0700 + + altosui: Accept serial number of zero for eeprom download + + AVR-based products don't have a valid serial number, and so usually + report 0. Accept this by making the 'no serial number' case check for + negative values. + + Signed-off-by: Keith Packard + +commit 4d6d90e15db30991bf81060a0876ae8adb843c75 +Author: Keith Packard +Date: Tue Oct 16 21:08:58 2012 -0700 + + altos/avr: Use ISR_BLOCK to disable interrupts during slave ISR + + This avoids enabling and then immediatly disabling them + + Signed-off-by: Keith Packard + +commit b8d8b23ca5e6c2d3a19f8aeda2764b43d25eb9d6 +Author: Keith Packard +Date: Tue Oct 16 17:14:05 2012 -0700 + + altosui: Print exception stack trace when tracking flights + + More useful in fixing the problem + + Signed-off-by: Keith Packard + +commit ef9cb19d8b210e02eaa1c657833c1bd5fc619ad8 +Author: Keith Packard +Date: Tue Oct 16 17:13:04 2012 -0700 + + altosui: Handle missing pad distance in descent tab + + When the GPS isn't locked, the distance from the pad cannot be + computed and is left missing. Not crashing in this case is more useful. + + Signed-off-by: Keith Packard + +commit 60880bda2153ba3122c7102cd2bacbcca73b9e0d +Author: Keith Packard +Date: Mon Oct 15 00:24:57 2012 -0700 + + altos/telelco: Make the RSSI led turn red when no packet is received + + This involved splitting out the notion of ever having received an + answer and having received an answer from the last query. + + Signed-off-by: Keith Packard + +commit 5f31f6652f4b0898214d06d009af823a1ed3b96a +Author: Keith Packard +Date: Mon Oct 15 00:24:28 2012 -0700 + + altos/telelco: 10ms is not enough time to get a packet back + + Not reliable, so bump to 20ms + + Signed-off-by: Keith Packard + +commit fdc00ec143022356bf8cdbb28812f045b439c549 +Author: Keith Packard +Date: Mon Oct 15 00:07:57 2012 -0700 + + altos/telelco: Only display every 10th box number during scan + + This reduces the scan time to about 4 seconds, which seems tolerable + + Signed-off-by: Keith Packard + +commit c6069e38d6d2f9b37aa8671c41b4a470d92996a4 +Author: Keith Packard +Date: Mon Oct 15 00:06:57 2012 -0700 + + altos/telelco: Crank up SPI speed to cc1111 + + The cc1111 can handle up to 3MHz, so use 2MHz. Also, crank down the + packet wait time to 10ms, which should be plenty long for the remote + box to receive and return a packet. + + Signed-off-by: Keith Packard + +commit 80227c08444d5c82fd43320644cdeec6f34fee1b +Author: Keith Packard +Date: Mon Oct 15 00:06:10 2012 -0700 + + altos/stm: Declare all SPI bus speeds + + Just list them all so users can pick what they like + + Signed-off-by: Keith Packard + +commit 44c13005f34fdf7d4831e86e1f3e8729e9b67a68 +Author: Keith Packard +Date: Sun Oct 14 23:40:58 2012 -0700 + + altos/telelco: Actually set pad when it changes + + Oops. Lost the actual assignment to the current pad + + Signed-off-by: Keith Packard + +commit b042f3d6e6b3241cd5e55cf893242ea599d3c0e9 +Author: Keith Packard +Date: Sun Oct 14 23:24:49 2012 -0700 + + altos/telelco: Handle case where no boxes are present + + Don't infinite loop looking for something which isn't there + + Signed-off-by: Keith Packard + +commit 56ebb0a2f50fd56f4f0b0c695e516bee8fae36fb +Author: Keith Packard +Date: Sun Oct 14 23:16:45 2012 -0700 + + altos/telelco: Only present valid pads + + Limit pad display to valid pads, skipping missing ones. + + Signed-off-by: Keith Packard + +commit 84c56b1e92fca181207c468ea6351db3c2f196fb +Author: Keith Packard +Date: Sun Oct 14 23:04:44 2012 -0700 + + altos/telefire: Report valid channels instead of valid pins + + Now that pins don't match channels 1:1, make sure that the report back + to the LCO names the channels instead of the pin numbers. + + Signed-off-by: Keith Packard + +commit 91b8c8b20cead2836ec835f44b4ca0cf06cbf518 +Author: Keith Packard +Date: Sat Oct 13 15:04:46 2012 -0700 + + altos/test: Display MPU6000 values in ao_flight_test_mm output + + No computation yet, just making the values visible in the output + + Signed-off-by: Keith Packard + +commit c6eec0bec06d2e246ea3c9552818ad3180c1e318 +Author: Keith Packard +Date: Sat Oct 13 15:04:00 2012 -0700 + + altos: Define full-scale gyro and accel values for MPU6000 + + This lets other code convert MPU6000 readings into canonical units + + Signed-off-by: Keith Packard + +commit 5caf56e89678637c1afa79700a2fa09aa67dea9b +Author: Keith Packard +Date: Sat Oct 13 15:02:42 2012 -0700 + + altos: When missing MMA655x, create fake Z accel value + + This avoids overwriting the MPU6000 y acceleration value so that other + computations using that value can work unmodified. + + Signed-off-by: Keith Packard + +commit 321d0f68c04a5a9c6ea7874081e6245d44c48bb4 +Author: Keith Packard +Date: Sat Oct 13 13:39:03 2012 -0700 + + altos/test: Add ao_flight_test_mm + + This reads mega metrum eeprom files and runs the flight code over it + + Signed-off-by: Keith Packard + +commit 0ec77f5c90e0b930488ae2ab75efcbba8a3bd1d8 +Author: Keith Packard +Date: Sat Oct 13 13:37:29 2012 -0700 + + altos: Eliminate implicit 1 byte offset in uint16/int16 functions + + Make callers explicitly compute the full offset + + Signed-off-by: Keith Packard + +commit 2733d1b71bbac2c5ef4a2c3a1992ba448e981267 +Author: Keith Packard +Date: Sat Oct 13 13:35:42 2012 -0700 + + altos: Split out ms5607 conversion code for use in ao_flight_test + + Makes the conversion code available even where the driver isn't needed + + Signed-off-by: Keith Packard + +commit 46abd248fb2eb84f161672ffce121b2203d42be0 +Author: Keith Packard +Date: Sat Oct 13 13:34:28 2012 -0700 + + altos: struct ao_log_mega doesn't have a ground temp value + + There's no averaged ground temperature recorded in the flight system + to save there, so just remove the field + + Signed-off-by: Keith Packard + +commit eea1c8da986f9dbd0ca58c926a2bbe01721c1bda +Author: Keith Packard +Date: Sat Oct 13 13:33:45 2012 -0700 + + altos: Document a few member offsets in struct ao_log_record + + Incomplete, but useful even so + + Signed-off-by: Keith Packard + +commit c607bd1442e60fec1421955c996f6aad1d98647a +Author: Keith Packard +Date: Sat Oct 13 13:32:56 2012 -0700 + + altosui: Parse .mega files from command line + + Signed-off-by: Keith Packard + +commit 162a21dc423c2883a54f7d2a154871ae714d1552 +Author: Keith Packard +Date: Fri Oct 12 14:27:14 2012 -0700 + + altos: Add .gitignore for micropeak + + Signed-off-by: Keith Packard + +commit 6cfb2d3b1c75916ee69d069519edc675e37e1aa1 +Author: Keith Packard +Date: Fri Oct 12 14:26:08 2012 -0700 + + altos: Add (untested) driver for AT24C i2c flash parts + + Signed-off-by: Keith Packard + +commit b9bf8e01e243508297f28b102cb2477dc1bc74df +Author: Keith Packard +Date: Fri Oct 12 14:22:41 2012 -0700 + + altos: Add initial micropeak implementation + + Blinks out max height in decimeters, stores previous flight data to + internal eeprom. + + Signed-off-by: Keith Packard + +commit 9c732effeb2ef4a4d8bc9599febed74a6ec2f466 +Author: Keith Packard +Date: Fri Oct 12 14:18:37 2012 -0700 + + altos: Allow products to define which LED to panic with + + Continue to use AO_LED_RED by default. + + Signed-off-by: Keith Packard + +commit 767b74e1466ad4e31746340081d6d60e40359425 +Author: Keith Packard +Date: Fri Oct 12 14:08:19 2012 -0700 + + altos: Megametrum uses altitude-pa.h, not altitude.h + + Make sure megametrum gets rebuilt as needed when the various + altitude-pa related files change + + Signed-off-by: Keith Packard + +commit 64500ab11ab76d2309608f8e02a1dd9658963b3e +Author: Keith Packard +Date: Fri Oct 12 14:04:57 2012 -0700 + + altos: Add attiny architecture files + + These are designed to work with the ATtiny85 processor, but can + presuambly be easily adapted to others in that series + + Signed-off-by: Keith Packard + +commit 16bad3b6ab65cf31b19152127cb6af69142c5c12 +Author: Keith Packard +Date: Fri Oct 12 14:03:28 2012 -0700 + + altos: Include struct ao_data declaration only when used + + Leave it out for products that don't have a ring of sensor data + + Signed-off-by: Keith Packard + +commit 7751c9cbc630f7251b8988f8da68be9a54ff552c +Author: Keith Packard +Date: Fri Oct 12 14:02:29 2012 -0700 + + altos: Clean up types in Pa conversion testing code. Only test to 40km + + A couple of missing 'int' declarations. + Only test to 40km as above that there aren't enough data points to do + anything reasonable + + Signed-off-by: Keith Packard + +commit 866d10b3faa96f6c5a2c495a2c12a0d2bc8259ef +Author: Keith Packard +Date: Fri Oct 12 14:01:16 2012 -0700 + + altos: Elide ao_altitude_to_pa in flight firmware + + Only the conversion testing code needs to get back from altitude to + pressure, so don't include that code in other environments. + + Signed-off-by: Keith Packard + +commit 68308908afbd1f04b17056d2be408c89b3578c86 +Author: Keith Packard +Date: Fri Oct 12 13:59:50 2012 -0700 + + altos: Parameterize altitude table access and initialization + + This allows projects to store the altitude data in different + representations or with different access modes. + + By default, altitude data is stored in meters, but the initializers + include decimeter values so those can be used instead if desired. + + Signed-off-by: Keith Packard + +commit 175380a436efa35bbfae2ee5e29e12e9ef86fbde +Author: Keith Packard +Date: Fri Oct 12 13:57:49 2012 -0700 + + altos: Use alt_t for all Pascal-based altitude data + + This allows alt_t to be overridden for systems using the MS5607/MS5611 + sensors + + Signed-off-by: Keith Packard + +commit be0a28ee7a6fbd98fc8113db8501bb791a112fa0 +Author: Keith Packard +Date: Fri Oct 12 13:55:33 2012 -0700 + + altos: Allow for other mutex implementations + + Allow projects to replace ao_mutex_get and ao_mutex_put with macros + + Signed-off-by: Keith Packard + +commit 6a3ee911353291b04e161d50a181ed4211d467a2 +Author: Keith Packard +Date: Fri Oct 12 13:54:37 2012 -0700 + + altos: Allow projects to specify clock at other than 100Hz + + Leave the default at 100Hz, but allow it to be overridden + + Signed-off-by: Keith Packard + +commit 7795d8309b3e1147bc37d31a0adde42d7dee6cd1 +Author: Keith Packard +Date: Fri Oct 12 13:37:07 2012 -0700 + + altos: Prepare ms5607 driver for use in non-tasking products + + Micropeak doesn't have tasking, prepare the ms5607 driver for that + + Signed-off-by: Keith Packard + +commit a07b8ba166e05e7d1722c59651ef00e9fb7580d5 +Author: Keith Packard +Date: Fri Oct 12 13:31:17 2012 -0700 + + altos: Split task definitions out to ao_task.h + + And only include them if using tasks + + Signed-off-by: Keith Packard + +commit 3f059f8878a79b3154a19b6803fbc367eda80dc9 +Author: Keith Packard +Date: Wed Oct 10 14:28:07 2012 -0700 + + altos/telefire: Add siren/strobe support + + This also involved hacking up the code to allow for non-zero offsets + for the pad firing and continuity pins. + + Signed-off-by: Keith Packard + +commit 0361235c9ef56738ba0e97be88a85afef0ce8268 +Author: Keith Packard +Date: Mon Oct 8 23:24:19 2012 -0700 + + altos: Fix up ms5607 and mma655x commands to work again + + These just display the most recently fetched values + + Signed-off-by: Keith Packard + +commit 39c5738acdfdf0c87b64de6135fe107971cfa12b +Author: Keith Packard +Date: Mon Oct 8 23:04:16 2012 -0700 + + altos: Go back to recording sensor data in globals + + Instead of trying to get things into the ring from a variety of + functions, go back to the simpler method of storing them in globals + and having the ADC code just pluck out the most recent values. + + Signed-off-by: Keith Packard + +commit 422799d9be36ef71b63c1c0fd80d5e76da802949 +Author: Keith Packard +Date: Mon Oct 8 21:59:55 2012 -0700 + + altos: Compute desired frequency when upgrading from pre-1.1 + + Instead of just smashing the frequency to 434.550, compute the + frequency from the old radio channel value + + Signed-off-by: Keith Packard + +commit 16bbe9d25856259d2694751c364b668638e4a971 +Author: Keith Packard +Date: Sun Oct 7 15:40:41 2012 -0700 + + altos/megametrum: Try running accel and baro in parallel again + + Now that the baro sensor appears to be working, try running + conversions in parallel to see if that makes the accel cal happy + + Signed-off-by: Keith Packard + +commit 6d47dd1d9104745cf68bef23b066c5033ca30a84 +Author: Keith Packard +Date: Sat Oct 6 19:39:15 2012 -0700 + + altos/stm: Set SPI clock high for disabled SPI busses + + This should avoid an accidental low->high transition when switching + between multiple SPI busses. + + Signed-off-by: Keith Packard + +commit d4b1dffeef3e9ea96e143f74782e4da7d116c0d4 +Author: Keith Packard +Date: Sat Oct 6 18:25:15 2012 -0700 + + altos/telefire: Make sure armed alarm goes off on time + + Instead of turning the alarm off when a packet is received after the + deadline, just do it in the thread which is awake all of the time. + + This prevents the alarm from sticking on when the LCO box is turned + off while the arming key is on. + + Signed-off-by: Keith Packard + +commit 35cb2dc51708ab572a4c72422e5902a313eda58e +Author: Keith Packard +Date: Sat Oct 6 17:56:23 2012 -0700 + + altos/stm: Clean up SPI pin configuration code + + Make sure none of the pin configurations are being used at startup + time. Split out the pin configuration into separate functions. + + Signed-off-by: Keith Packard + +commit 41add569413bf3ec564195963277c81f2d2da798 +Author: Keith Packard +Date: Sat Oct 6 17:21:55 2012 -0700 + + altos/drivers: Use data ring values for MS5607 presentation + + Signed-off-by: Keith Packard + +commit 0b28eefe6b32033a0e85731aa38af7e07a8b45f5 +Author: Keith Packard +Date: Sat Oct 6 17:21:10 2012 -0700 + + altos/megametrum: Make MS5607 driver hold SPI bus for whole operation + + Signed-off-by: Keith Packard + +commit c676ad8048d10ad9da22ea3acf19e4e1872103ff +Author: Keith Packard +Date: Sat Oct 6 17:05:59 2012 -0700 + + altos/megametrum: Use mma655x for acceleration measurements now + + Signed-off-by: Keith Packard + +commit 82fdc42d61340e6b76580ff12a9e1bea59eb8079 +Merge: 6b8881a 2cac8c5 +Author: Keith Packard +Date: Wed Oct 3 10:44:28 2012 -0700 + + Merge branch 'master' into mm-ms5611 + +commit 2cac8c572ce533ded89dae9a412b4d1b5c748342 +Author: Keith Packard +Date: Wed Oct 3 10:43:28 2012 -0700 + + altos: Re-enable the ms5607 and mma655x acquisition threads + + These were disabled to help with testing in Argonia + + Signed-off-by: Keith Packard + +commit 6b8881a7bdb9f89306a700e9a8853b00df29bf5d +Author: Keith Packard +Date: Wed Oct 3 07:50:48 2012 -0700 + + altos/megametrum: Commit for boards with MS5611 baro sensor + + Signed-off-by: Keith Packard + +commit fdd08cc093134c5f87dab9533b99a042a699381b +Author: Keith Packard +Date: Fri Sep 28 22:39:55 2012 -0700 + + altos: Provide MS5611 configuration option, HAS_MS5611 + + MS5611 and MS5607 use slightly different conversion functions. Alas, + there doesn't appear to be a way to tell them apart in software. This + patch adds the necessary conversion changes and makes them depend on a + compile-time configuration option. + + Signed-off-by: Keith Packard + +commit dc7216d286cc7fe8007f5208ad97a630166572f3 +Author: Keith Packard +Date: Fri Sep 21 13:29:17 2012 +0200 + + altos: Shrink Pa to altitude table + + This improves the computation of the table enough that errors from a + 470 entry table are almost all < 0.5m. + + Signed-off-by: Keith Packard + +commit 7c6231ecef2e4f978a0de452a17a2a24e6e68827 +Author: Keith Packard +Date: Thu Sep 20 11:33:24 2012 +0200 + + Bump revision to 1.2 development branch + + With 1.1 out the door, this now starts the 1.2 development series + + Signed-off-by: Keith Packard + +commit 2f2734bb418f5c3a89fa3f1bf1b98ce4cfe432e1 +Merge: e69a433 3fe5c2f +Author: Keith Packard +Date: Thu Sep 20 11:30:19 2012 +0200 + + Merge remote-tracking branch 'mjb/altosdroid' + +commit e69a433fd93b9f6bd2297d8045eb075fee29e73b +Merge: 19243ec 6e0d672 +Author: Keith Packard +Date: Thu Sep 20 11:30:11 2012 +0200 + + Merge remote-tracking branch 'mjb/prefs_interface' + +commit 19243ecc9b5bbdcc069ae24acf1ca807322c84d8 +Merge: 90c1b6d 0ef8b71 +Author: Keith Packard +Date: Thu Sep 20 11:29:55 2012 +0200 + + Merge remote-tracking branch 'mjb/altosui_mjb' + +commit 3fe5c2f9fc01258d45c20070e9874d76bc6c8c07 +Author: Mike Beattie +Date: Tue Sep 18 23:47:50 2012 +1200 + + altosdroid: initial implementation of telemetry logging. + + Signed-off-by: Mike Beattie + +commit 0541201d4afe3e5d7913465e1db10e586d7182bb +Author: Mike Beattie +Date: Tue Sep 18 23:47:06 2012 +1200 + + altoslib: make parts of AltosLog public for usage outside altoslib. + + Signed-off-by: Mike Beattie + +commit c058ec2d6070458a0b7d3ef56041e985412ee565 +Author: Mike Beattie +Date: Tue Sep 18 23:46:17 2012 +1200 + + altos{lib,ui,droid}: move OS specific code out of altoslib + + This is to allow the usage of AltosLog on Android - no swing, so + we need to push the "home directory" code used to pick a default + telemetry logging path - using the PreferencesBackend interface + for now. + + Signed-off-by: Mike Beattie + +commit 36e684724e327dbd4319411ef0602fafb4d0c073 +Author: Mike Beattie +Date: Tue Sep 18 23:43:18 2012 +1200 + + altosdroid: cosmetic re-order of methods + + Signed-off-by: Mike Beattie + +commit 8f11a6d2c3de228c3cefb95a7d1a76d53e532acd +Author: Mike Beattie +Date: Tue Sep 18 23:42:11 2012 +1200 + + altosdroid: simplify keys() method + + Signed-off-by: Mike Beattie + +commit f79b445cc29fc1e424f99c97e71c7d3637bf4ba6 +Author: Mike Beattie +Date: Tue Sep 18 23:38:12 2012 +1200 + + altosdroid: Update Makefile.am + + Signed-off-by: Mike Beattie + +commit 90c1b6db8d1f401a992fe44983b3df64739fe263 +Author: Bdale Garbee +Date: Sun Sep 16 15:12:26 2012 -0600 + + further refinment of Releasing document + +commit 7a0cce7fa0c802b1597fef94cfaf00aa0c28c988 +Author: Bdale Garbee +Date: Sun Sep 16 13:59:21 2012 -0600 + + releasing 1.1.1 + commit 0cd443d5e55b2c3b97ecf53389ff76bc4bc6018f Author: Keith Packard Date: Sun Sep 16 12:38:33 2012 -0700 @@ -6,6 +10602,21 @@ Date: Sun Sep 16 12:38:33 2012 -0700 Signed-off-by: Keith Packard +commit fe8ab96e8727c25c04cac473cafb264cf7e80156 +Author: Mike Beattie +Date: Mon Sep 17 01:29:33 2012 +1200 + + altosdroid: implement AltosPreferencesBackend, and initialize. + + Signed-off-by: Mike Beattie + +commit 52d3cad4f744140e1aa06fdfc0d49a0cf8734fd4 +Merge: 31f5a02 6e0d672 +Author: Mike Beattie +Date: Sun Sep 16 22:27:04 2012 +1200 + + Merge branch 'prefs_interface' into altosdroid + commit cb48dd0b03b445437f751028e8383610b65b0a68 Author: Keith Packard Date: Sun Sep 16 02:39:25 2012 -0700 @@ -96,6 +10707,150 @@ Date: Fri Sep 14 11:08:19 2012 -0700 Signed-off-by: Keith Packard +commit 6e0d672b8a516a604d8ea1abd2bed113c608143f +Author: Mike Beattie +Date: Fri Sep 14 12:43:21 2012 +1200 + + altosui: remove un-used import + + Signed-off-by: Mike Beattie + +commit f985ea055d935b10ae9ae8441fe808ba2c13c99e +Author: Mike Beattie +Date: Fri Sep 14 01:27:22 2012 +1200 + + altosui: revert AltosUIPreferences init() method + + Signed-off-by: Mike Beattie + +commit 9335a74694df00c4876055e7c98661236646f6e5 +Author: Mike Beattie +Date: Fri Sep 14 01:08:53 2012 +1200 + + altosui: Add return to try/catch.. duh + + Signed-off-by: Mike Beattie + +commit d5e199c34ff5a02a4c4cc917c3f0eec32eae72a9 +Author: Mike Beattie +Date: Fri Sep 14 01:06:59 2012 +1200 + + altosui: add missing try/catch + + Signed-off-by: Mike Beattie + +commit 26c83bc0981036651a89c29771b2ad52c8fb0396 +Author: Mike Beattie +Date: Fri Sep 14 01:03:53 2012 +1200 + + altosui/altoslib: bug fixes, update Makefile.am + + Signed-off-by: Mike Beattie + +commit 08345b8909922f2ff8f9ed8b4497b9cbea6b26e9 +Author: Mike Beattie +Date: Fri Sep 14 00:53:56 2012 +1200 + + altosui/altoslib: Add call to …Preferences.init() with backend object, remove static init() + + Signed-off-by: Mike Beattie + +commit 17127847300de9a6782b901926a3fcb9ef021b78 +Author: Mike Beattie +Date: Fri Sep 14 00:46:34 2012 +1200 + + altoslib: Add AltosPreferencesBackend.java to Makefile.am + + Signed-off-by: Mike Beattie + +commit d875b459b5e9f7bcbbbbe318f947b0451ce6738f +Author: Mike Beattie +Date: Fri Sep 14 00:44:59 2012 +1200 + + altosui/altoslib: add methods to interface, fix imports/exceptions in BT code + + Signed-off-by: Mike Beattie + +commit 67b618409a0d34fff26cac6025bc159ff92ede9c +Author: Mike Beattie +Date: Fri Sep 14 00:40:16 2012 +1200 + + altosui: add missing methods for Backend, fix BT code. + + Signed-off-by: Mike Beattie + +commit ec036e8fe057f4b641ba9ee17d6dce2689816047 +Author: Mike Beattie +Date: Fri Sep 14 00:25:49 2012 +1200 + + altoslib/altosui: begin moving preferences "backend" into interface + + Signed-off-by: Mike Beattie + +commit 0ef8b7148784ed5bcbea21dde313fb02f50ef734 +Author: Mike Beattie +Date: Fri Sep 14 13:17:24 2012 +1200 + + altosui: comment out obsolete code - could probably remove the file. + + Signed-off-by: Mike Beattie + +commit 6daf71d0af7ffdbbfdb7436edd536bc811850d42 +Author: Mike Beattie +Date: Fri Sep 14 13:16:48 2012 +1200 + + altosui: add type to … implements Comparable. + + Signed-off-by: Mike Beattie + +commit d3d69bdecfcb45d1e3a8c6b10c80eef1afcc2310 +Author: Mike Beattie +Date: Fri Sep 14 13:16:16 2012 +1200 + + altosui: comment out/remove dead code + + Signed-off-by: Mike Beattie + +commit c9fa8faabb6f7fb59714c42e1029ce3d71c52ff8 +Author: Mike Beattie +Date: Fri Sep 14 13:15:36 2012 +1200 + + altosui: access class variables by class, not instance + + Signed-off-by: Mike Beattie + +commit f9e1c5949a24e27897587b0b0ca00e089f362215 +Author: Mike Beattie +Date: Fri Sep 14 13:15:07 2012 +1200 + + altosui: remove redundant catches + + Signed-off-by: Mike Beattie + +commit 38fb6c070ffaf820d524fecce540d91fc6dda57b +Author: Mike Beattie +Date: Fri Sep 14 13:14:31 2012 +1200 + + altosui: comment out un-used classes and associated imports + + Signed-off-by: Mike Beattie + +commit ce1b19a012a2c1c623b03efb93b881e297736718 +Author: Mike Beattie +Date: Fri Sep 14 13:13:35 2012 +1200 + + altosui: comment out un-used fields and methods + + Signed-off-by: Mike Beattie + +commit 382c54a0d052c8975b57c995ef83bc8934bde242 +Author: Mike Beattie +Date: Fri Sep 14 13:09:58 2012 +1200 + + altosui: remove un-used imports + + Signed-off-by: Mike Beattie + commit eefcfa94f360f8c5a7233370d4178525bccbb22f Author: Bdale Garbee Date: Thu Sep 13 16:13:42 2012 -0600