X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ChangeLog;h=d79a2febfc6358b475618d08cef5017ca57a46b4;hp=d6379754ab941e6cf643bd06584776422ce43a76;hb=refs%2Ftags%2F1.8.7;hpb=dbb78c8222c45f4430601deee0194b0c9dc2e79a diff --git a/ChangeLog b/ChangeLog index d6379754..d79a2feb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,2962 @@ +commit f3330f019216ee2632f47be1fb06e158fb09d758 +Merge: 5a86ff43 e7136c6b +Author: Bdale Garbee +Date: Mon Oct 8 20:58:43 2018 -0600 + + Merge branch 'master' into branch-1.8 + +commit e7136c6b413c8464d32cdc4afc28c93ba1f17a3b +Author: Keith Packard +Date: Mon Oct 8 19:42:09 2018 -0700 + + altos/lpc: Make sure USB pull-up is held low at boot for 'a while' + + Add a delay loop to make sure the host sees the pull-up low for long + enough. + + Signed-off-by: Keith Packard + +commit 6e785eea7b7a14ec8c1e69cad2c88836a9b1943e +Author: Keith Packard +Date: Mon Oct 8 19:40:32 2018 -0700 + + ao-bringup: Use new ao-cal-freq options when flashing teledongle v3.0 + + Use --nosave and --output to get the value needed to reflash the device. + + Signed-off-by: Keith Packard + +commit 5a86ff43a2b4a90dbddc1bba48019626e1b83e10 +Author: Bdale Garbee +Date: Mon Oct 8 17:51:33 2018 -0600 + + releasing 1.8.7 + +commit 34658a1236e34891b41a0a51a480717db98779e7 +Merge: 3a2a5a05 88ae4c5e +Author: Bdale Garbee +Date: Mon Oct 8 17:49:47 2018 -0600 + + Merge branch 'master' into branch-1.8 + +commit 88ae4c5ebd64215f05f5efc18f9660560b409ace +Author: Bdale Garbee +Date: Mon Oct 8 16:27:33 2018 -0600 + + doc: correct specs for TeleMega v3.0, which still uses the MMA6555 + +commit 24db798925e26a4c411afe88f7e4844d6554fe0c +Merge: 6f25d235 03680c55 +Author: Bdale Garbee +Date: Mon Oct 8 16:07:32 2018 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 6f25d2359151fb114e22bf8e3b15c007cfb464b5 +Author: Bdale Garbee +Date: Mon Oct 8 16:06:29 2018 -0600 + + add new script that uses openocd to reset an LPC target + +commit 03680c55ae8394056ed27839e64356d8df375537 +Author: Keith Packard +Date: Sun Oct 7 23:31:53 2018 -0700 + + Set version to 1.8.7 + + Signed-off-by: Keith Packard + +commit 625981b96e99a5dbec8180016d5e2c291378a21f +Author: Keith Packard +Date: Sun Oct 7 23:31:04 2018 -0700 + + doc: Note fixes for Mac OS X + + Signed-off-by: Keith Packard + +commit cd75ca767b616900d7df4596907f4f5b00517ad4 +Author: Keith Packard +Date: Sun Oct 7 23:25:25 2018 -0700 + + Switch to universal JavaApplicationStub for Mac OS X + + The binary JavaApplicationStub only supports Mac JRE 6, even if you + install a later JRE from Oracle it will still run our apps with the + Mac version. + + This replacement JavaApplicationStub is a shell script which comes + from here: + + https://github.com/tofi86/universalJavaApplicationStub + + I've tested it with Oracle JRE 10 installed and AltosUI came up fine, + and has access to our devices and networking. + + Signed-off-by: Keith Packard + +commit 746ad2c385046c77831b43291ef4335a11e5bfab +Author: Keith Packard +Date: Sun Oct 7 16:28:32 2018 -0600 + + altos-mapd: Add --max-zoom to limit tile loading. Set default to 15. + + This ensures that we won't end up serving huge numbers of high + resolution images. + + Signed-off-by: Keith Packard + +commit 7f5cdd0aeb68104f474ad1736360df39dd174006 +Author: Keith Packard +Date: Sun Oct 7 14:26:27 2018 -0700 + + doc: Note that 1.8.7 fixes map images + + Signed-off-by: Keith Packard + +commit 2bcbd39a37cf1fa0002345d5c401869a387dc84f +Author: Keith Packard +Date: Sun Oct 7 14:11:03 2018 -0700 + + altosuilib: Leave some map debug code around for the future + + Displays lat/lon on each map tile. Commented out for production use. + + Signed-off-by: Keith Packard + +commit 444fdd96515cc7163c49942ac2435ace8e7bb5bf +Author: Keith Packard +Date: Sun Oct 7 14:06:51 2018 -0700 + + altoslib: Be less chatty about map loading + + Only mention when a new tile is being fetched from the server. + + Signed-off-by: Keith Packard + +commit 173e72429fb494ea3832e3e38ee90f165fbff4cf +Author: Keith Packard +Date: Sun Oct 7 14:49:48 2018 -0600 + + altoslib: NumberFormat can't be shared between parsers + + AltosJson uses NumberFormat to ensure locale-independent parsing of + values. However, NumberFormat appears to have some internal state + which means that each thread needs to have an independent NumberFormat + object. Create one for each parser as needed. + + Signed-off-by: Keith Packard + +commit 1b53a54b032c21b6e8ffb085aa56b9ffdff53d7e +Author: Keith Packard +Date: Sun Oct 7 13:12:56 2018 -0700 + + altosui/altosdroid: Change message in forbidden map tiles + + These are outside of *known* launch areas. + + Signed-off-by: Keith Packard + +commit e7e1e805f1358052b33103a2ffdd4e9c435c8650 +Author: Keith Packard +Date: Sun Oct 7 14:08:30 2018 -0600 + + altos-mapd: Check nearest portion of tile to launch site + + We limit tile queries to those within 17km of a known launch + site. Change the check to look at the portion of the tile nearest each + launch site, instead of only checking the center location of the tile. + + Signed-off-by: Keith Packard + +commit 581f700e08ec8a1c3bfc5a09e7186676c54a5460 +Author: Keith Packard +Date: Sun Oct 7 10:32:48 2018 -0700 + + altos-map: Switch from json FD ops to json FILE ops + + Older versions (in Debian stable) do not have the fd-based operations. + + Signed-off-by: Keith Packard + +commit 6f911b92652de890ebff67b3b28f21a36f300ebf +Author: Keith Packard +Date: Sun Oct 7 10:03:31 2018 -0700 + + altos-mapd: Handle clients failing to send valid JSON + + Just bail if the data we receive doesn't generate a json value. + + Signed-off-by: Keith Packard + +commit b631f88b0bf19c6740eb21b65bd4be7c25049773 +Author: Keith Packard +Date: Sun Oct 7 10:02:26 2018 -0700 + + altosuilib: InputEvent.getModifiers is deprecated, use getModifiersEx + + Some java change; seems like it's a no-op for us. + + Signed-off-by: Keith Packard + +commit 5c957107ee5917d865eb866319f86cf8c109f212 +Author: Keith Packard +Date: Sun Oct 7 10:01:30 2018 -0700 + + altosui/altosdroid: Disable offline map type selections + + Our server only supports hybrid maps for now. If that changes, we can + re-add this support easily enough. + + Signed-off-by: Keith Packard + +commit e4f4183ce206d4cb7bbc89e1065eb34b05cf11c4 +Author: Keith Packard +Date: Sun Oct 7 09:39:27 2018 -0700 + + altosuilib: Remove GrabNDrag.java + + This isn't used anymore. + + Signed-off-by: Keith Packard + +commit af678be97e419a1167a0630f28bcaba82d67929b +Author: Keith Packard +Date: Sun Oct 7 09:22:44 2018 -0700 + + map-server: Implement altos-map in C + + This app is all about startup time, and java starts + slowly. Re-implement in C to improve server performance. + + Signed-off-by: Keith Packard + +commit 7b248524d4bd2c3ab64899b133230d131258396c +Author: Keith Packard +Date: Sat Oct 6 23:32:24 2018 -0700 + + altosdroid: Restore google maps key setting + + Only for altosdroid, and use a key restricted to our app + + Signed-off-by: Keith Packard + +commit 7eb475a9694327809b7ab5a9f419d00e0819a47d +Author: Keith Packard +Date: Sat Oct 6 23:25:50 2018 -0700 + + altosdroid: Set offline map scale to 1 + + Offline maps only supports scale 1 now. + + Signed-off-by: Keith Packard + +commit 417ec9c2a42bbe74f3aba4d00b42eb14dd6eb079 +Author: Keith Packard +Date: Sat Oct 6 23:22:26 2018 -0600 + + altos-mapd: Install systemd service file and defaults file + + This lets the map service 'just work' if enabled. + + Signed-off-by: Keith Packard + +commit 64d6689f97dfbed13533350dcb75a0a6a3d11c78 +Author: Keith Packard +Date: Sat Oct 6 21:32:12 2018 -0700 + + altos-map: Support version query from application + + Signed-off-by: Keith Packard + +commit 7c39a4509b0d4a428fcb83602a8dae1c158faf37 +Author: Keith Packard +Date: Sat Oct 6 21:30:03 2018 -0700 + + altosuilib: Fix offline map messages to match new meanings + + forbidden means outside of launch area. + + Signed-off-by: Keith Packard + +commit a8f4af38d7abbb1da922b5e4d84af218475f1752 +Author: Keith Packard +Date: Sat Oct 6 21:30:58 2018 -0700 + + altoslib: Retry map connections 10 times on network failure + + This covers a host of problems between the application and google maps. + + Signed-off-by: Keith Packard + +commit fab890328d4e1151932621a317226bc291b853da +Author: Keith Packard +Date: Sat Oct 6 21:30:03 2018 -0700 + + altosdroid: Fix offline map messages to match new meanings + + forbidden means outside of launch area. + + Signed-off-by: Keith Packard + +commit ff5faf1cc710b7e9299dcaec719bc2421f4ca5b4 +Author: Keith Packard +Date: Sat Oct 6 20:21:07 2018 -0700 + + altoslib: Change map loading to lat=&lon= from center= + + This is easier to parse. + + Signed-off-by: Keith Packard + +commit 21c630af7181a03b44cfcfa1cc787212501785ec +Author: Keith Packard +Date: Sat Oct 6 20:20:33 2018 -0700 + + altoslib: Use https for launch-sites.txt + + http causes a redirect, which Java doesn't handle + + Signed-off-by: Keith Packard + +commit a203aa6e3ed67337b752f939da956856e208c28b +Author: Keith Packard +Date: Sat Oct 6 22:28:36 2018 -0600 + + altos-mapd: Install altosmapd.jar file + + Signed-off-by: Keith Packard + +commit 1b841e14d11b3a9e7a754730b1d87b30d22f3dd4 +Author: Keith Packard +Date: Sat Oct 6 22:27:58 2018 -0600 + + altos-mapd: Make cache service listen queue longer + + Just in case the service gets busy, make the listen queue longer. + + Signed-off-by: Keith Packard + +commit 02adfb13297f7dffcd8edcdd3b8747cf52b2a70b +Author: Keith Packard +Date: Sat Oct 6 22:27:20 2018 -0600 + + altos-mapd: Clean up log messages + + Generate a single log message per request with remote address, + parameters and result code. + + Signed-off-by: Keith Packard + +commit 839e3a413a60c6a61851a94cc299de701ab5c277 +Author: Keith Packard +Date: Sat Oct 6 22:26:46 2018 -0600 + + altos-mapd: remove debug printf + + Signed-off-by: Keith Packard + +commit 026c735393f6029d09011dba1d5c780322921921 +Author: Keith Packard +Date: Sat Oct 6 22:25:48 2018 -0600 + + altos-map: Retry connection to cache service + + Just in case the cache service gets busy, retry the connection instead + of immediately failing. + + Signed-off-by: Keith Packard + +commit e7c0bcd945f8365e86e99b9d450f3a3389fa0e66 +Author: Keith Packard +Date: Sat Oct 6 19:33:51 2018 -0700 + + altos-mapd: Add geo-fencing for map requests. Add port and key arguments + + Map requests are now limited to a region within 17km of any registered + launch site. + + The --port argument allows the listen port to be changed. + + The --key argument provides the name of a file containing the Google + maps API key. + + Signed-off-by: Keith Packard + +commit c7b1f3c6722ae59d09a888084075664446ff2768 +Author: Keith Packard +Date: Sat Oct 6 19:29:01 2018 -0700 + + altoslib: Switch to maps.altusmetrum.org when no google map key is available + + The map key is only usable from maps.altusmetrum.org at this point, + and that service will be proxying for everyone in the near future. + + Signed-off-by: Keith Packard + +commit fe761eb413430c061b12f6ca8003665e56e20262 +Author: Keith Packard +Date: Sat Oct 6 19:27:43 2018 -0700 + + altoslib: Allow launch site URL to be overridden at runtime + + Expose a public variable, AltosLaunchSites.launch_sites_url, that will + be used in place of the environment variable or pre-defined value. + + Signed-off-by: Keith Packard + +commit 073ebc77bbd813eb97c515ecf3c2d104d6157843 +Merge: fb167d9f 9e29ac8e +Author: Bdale Garbee +Date: Sat Oct 6 18:55:05 2018 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit fb167d9f589d3e42e0f99b9f454a51a31e09050a +Author: Bdale Garbee +Date: Sat Oct 6 18:54:35 2018 -0600 + + altoslib: update launch-sites.txt location to new home at maps.altusmetrum.org + +commit 9e29ac8ed9a48fc4ac8e769eeb131dd7c58fedc4 +Author: Keith Packard +Date: Sat Oct 6 17:17:20 2018 -0700 + + doc: Make use of 'faketime' configurable with configure.ac. Default to 'no' + + This ensures that older a2x versions don't simply wedge while building + the docs. + + Signed-off-by: Keith Packard + +commit cabfcb078950238cdaee4e6ec4702195feaabc7b +Author: Keith Packard +Date: Sat Oct 6 18:11:48 2018 -0600 + + altos-mapd: Use command line to pass map directory in + + Don't bother with a default value, just require a command line param. + + Signed-off-by: Keith Packard + +commit e405ec771b812f0ff78abbe813c3a793ae129487 +Author: Keith Packard +Date: Sat Oct 6 18:11:13 2018 -0600 + + altos-map: Install .jar file for altos-map + + Signed-off-by: Keith Packard + +commit a372152654613fd8479ed4687b987ae2a513adf6 +Author: Keith Packard +Date: Sat Oct 6 18:10:57 2018 -0600 + + altos-map: Fix altos-map HTTP syntax + + Add blank line between header and content. + Make error pages have actual HTML content. + + Signed-off-by: Keith Packard + +commit 3b817a2b854065af23c9ec8e849150e6930f51e9 +Author: Keith Packard +Date: Sat Oct 6 16:04:39 2018 -0700 + + map-server: Add maps proxy server + + This creates a map proxy server to handle the new Google Maps API requirements + + Signed-off-by: Keith Packard + +commit 5a95ed9c9419c15352b8dc1d895c9adce30f99f5 +Author: Keith Packard +Date: Sat Oct 6 12:00:45 2018 -0700 + + Add map-loading documentation + + Signed-off-by: Keith Packard + +commit cc70746e8efa6cadb23cbfcb11ddb51574c512a9 +Author: Keith Packard +Date: Fri Oct 5 21:40:13 2018 -0700 + + doc: Use RELEASE_DATE to set PDF timestamps using faketime + + This ensures that the generated PDF files do not depend on the time of + the build and only on the date of the release. + + Signed-off-by: Keith Packard + +commit 8e87b2626cdd81c128ac0cb5db03350aff67feac +Author: Keith Packard +Date: Fri Oct 5 19:36:20 2018 -0700 + + macosx: Ship install-macosx script with all apps. + + This script copies all files to ~/Applications/AltOS, then it deletes + all xattrs on all files so that OS X will run the java programs. + + Signed-off-by: Keith Packard + +commit a477dcbafe942af8f53e57802e228d94b526e13e +Author: Keith Packard +Date: Fri Oct 5 18:22:59 2018 -0700 + + doc: Add check for new hardware in specs.inc + + Signed-off-by: Keith Packard + +commit bb740c830b58273ee72255320bcedb3b849c0e2c +Author: Keith Packard +Date: Fri Oct 5 18:22:11 2018 -0700 + + doc: Update for 1.8.7 + + Release notes + Add HW specs for EasyMini v2.0 and TeleMega v3.0 + + Signed-off-by: Keith Packard + +commit aeb07f2b94b0121d4e5a6ce175ce4e013d6557cf +Author: Keith Packard +Date: Thu Oct 4 23:10:59 2018 -0700 + + altos: Force telemetry rate to 38400 when ao_force_freq is set + + ao_force_freq is used by TeleMini to set the radio to known + values. As TeleMini v3.0 also has configurable telemetry rates, this + value also needs to be set back to a known value. + + Signed-off-by: Keith Packard + +commit 77c3878df78ae356c442999a99f1e1752e2cd06b +Author: Keith Packard +Date: Thu Oct 4 23:03:12 2018 -0700 + + doc: Describe Packet Link mode in the initial usage section + + It's not described in any detail elsewhere... + + Signed-off-by: Keith Packard + +commit 0f05859d9fdef5867df888d9a8b41602e3bff7f7 +Author: Keith Packard +Date: Thu Oct 4 22:58:38 2018 -0700 + + doc: Describe Packet Link usage and selecting RF param defaults for TeleMini + + Packet Link mode is the only communication method available for + TeleMini and deserves some special mention in the docs. + + TeleMini allows forcing of RF parameters back to known defaults by + hooking SWCLK to ground at power on (hole 7 to hole 3 on the debug + connector). Describe this process so that users will be able to get + TeleMini back to known values and recover. + + Signed-off-by: Keith Packard + +commit 1b43a0d4a76910c4b512b2299e17ee0d3b661990 +Author: Keith Packard +Date: Thu Oct 4 12:12:56 2018 -0700 + + altoslib: Add missing AltosUnitInfo files + + Signed-off-by: Keith Packard + +commit 06b1fc72c8a694b3295262f1e0b50e8c88c53585 +Author: Keith Packard +Date: Tue Sep 11 00:06:05 2018 -0700 + + altoslib: Fix gyro headings in CSV files + + Use yaw/pitch/roll instead of x/y/z + + Signed-off-by: Keith Packard + +commit 3094d1f0ebd734f62d35e5e989d9a2368b713d29 +Author: Keith Packard +Date: Tue Oct 2 17:27:31 2018 -0700 + + ao-bringup: Add 'fix-telebt' to reflash TeleBT v4.0 with correct rf cal + + Fetches RF calibration value from the net and applies that when reflashing. + + Signed-off-by: Keith Packard + +commit c2c7873695ee2dc1b6fd153b67accad9693937aa +Author: Keith Packard +Date: Tue Oct 2 17:03:28 2018 -0700 + + altosui: Fetch RF calibration value for TBT v4.0 units from web + + We shipped a pile of TBT v4.0 units without programming the RF + calibration value into flash. This change checks to see if the target + is in the right serial number range and has the default RF calibration + value, in which case it fetches the RF calibration value from our web + site. + + Signed-off-by: Keith Packard + +commit d5b9fd5b3dd8c8b3bfb478d366ba07501085c1b3 +Author: Keith Packard +Date: Tue Oct 2 13:57:58 2018 -0700 + + altos: sdcc doesn't have 'false' and 'true'. + + Use FALSE and TRUE in ms5607.c driver instead. + + Signed-off-by: Keith Packard + +commit d2ea6454ebdf8ac7c3a24a738672c57d3f3f885c +Author: Keith Packard +Date: Tue Oct 2 12:57:06 2018 -0700 + + ao-tools/ao-cal-freq: Add --nosave and --output options. Check save results. + + --nosave means don't attempt to update the on-device configuration + data in eeprom. + + --output means write the calibration value to a file. + + Signed-off-by: Keith Packard + +commit 523e51d2cd2dfc5c0c4ca5a893b005916c46d46a +Author: Keith Packard +Date: Tue Oct 2 12:49:12 2018 -0700 + + micropeak: Add MicroUSB 'equals' method + + This lets the code which polls for devices work with MicroUSB devices + too. + + Signed-off-by: Keith Packard + +commit 8dd942b59edbe6909128b88bfbb8d1e15c3857c6 +Author: Keith Packard +Date: Wed Aug 22 00:59:59 2018 -0700 + + doc: Don't accidentally create zero-length PDF files + + The PDF files are generated at the same time the HTML files are, so + the PDF versions depend on the HTML ones. However, touching the PDF + files is a bad idea. + + Signed-off-by: Keith Packard + +commit 56dcfd4acf830fcb69c8b994e4b989c9aa7ddef3 +Author: Keith Packard +Date: Wed Aug 22 00:59:12 2018 -0700 + + altos/drivers: Shrink ao_ms5607.c code to fit on micropeak still + + Use some code constructs that make the little AVR processor happier + and save about 16 bytes of memory. + + Signed-off-by: Keith Packard + +commit 3c48b0fd504ae97dfaca91d2064b5822ca6e1344 +Author: Keith Packard +Date: Wed Aug 22 00:52:21 2018 -0700 + + altoslib: Reduce debug printf spamming during flashing operation + + Signed-off-by: Keith Packard + +commit ac8a9bc2ef301f1f18772af7d871c257a56ae70c +Author: Bdale Garbee +Date: Thu Aug 30 21:36:18 2018 -0600 + + altos: don't build fox1ihu by default + +commit 87ae17f888b745de71790d071846b96ab96e1529 +Author: Keith Packard +Date: Wed Aug 22 17:44:02 2018 -0700 + + altosuilib: Provide dialog while waiting for flash target to re-appear + + On windows, switching to the boot loader can take a long time. Instead + of timing out after a second, show a dialog and let the user cancel + the operation if they get bored of waiting. + + Signed-off-by: Keith Packard + +commit ba285ecf51e317917858740504a7d691b9839588 +Author: Keith Packard +Date: Wed Aug 22 17:43:17 2018 -0700 + + altosuilib: Include device path in equals test of AltosUSBDevice + + Ensure that multiple AltosFlash devices don't appear the same; they + all use serial number 1. + + Signed-off-by: Keith Packard + +commit 378ebab2e70917b4182cbd840a3fa66e4e42fd92 +Author: Keith Packard +Date: Wed Aug 22 17:42:13 2018 -0700 + + altoslib: Use common constants for flash action messages + + Place messages in AltosFlashListener instead of using the same strings + in three different places. + + Signed-off-by: Keith Packard + +commit 22005da598921ef6fe1a7f1bb5e56e41f44fe12f +Author: Keith Packard +Date: Wed Aug 22 00:58:14 2018 -0700 + + altosuilib: Don't show radio parameter when reflashing radioless devices + + Signed-off-by: Keith Packard + +commit 75420fecbc76ab718661718ada249673e139a29d +Author: Keith Packard +Date: Wed Aug 22 00:56:25 2018 -0700 + + altosuilib: Show a more useful message when the flash target device is unknown + + The flashing code uses the new symbol table to find information in the + existing device; if they don't match at all, there won't be anything + about the target device known. Tell the user this, rather than + displaying mystic information (or crashing). + + Signed-off-by: Keith Packard + +commit d8017f921649d2176d90239e02275dc5ef793815 +Author: Keith Packard +Date: Wed Aug 22 00:54:55 2018 -0700 + + altosuilib: Poll for devices while Select Device dialog is displayed + + Lets the user plug/unplug devices and have the dialog box show the + current set of available devices. Particularly useful on Windows where + it takes a long time after connecting a device for the OS to actually + make it usable. + + Signed-off-by: Keith Packard + +commit 91bb344a74a413f7dcee379c4d760c34599749bc +Author: Keith Packard +Date: Wed Aug 22 00:53:46 2018 -0700 + + altosuilib: Add 'equals' method to AltosDevice + + Signed-off-by: Keith Packard + +commit 2f61ef9a5046c39f4eeaaf741031bb6a9607b8a6 +Author: Keith Packard +Date: Wed Aug 15 15:31:57 2018 -0700 + + altos: Switch global 'log' to 'ao_log_data' + + Avoid conflicts with 'log' math function. + + Signed-off-by: Keith Packard + +commit cbe9cfd5eb5d19b7b9bf4bb75424e7592d708929 +Author: Keith Packard +Date: Sun Aug 5 12:20:56 2018 +0800 + + altos/stmf0: Stop using 'stdin' name as local variable + + stdio kinda wants to own this name + + Signed-off-by: Keith Packard + +commit 1bbef0879ad86dfc21610a255e6cbca1b94b5d1a +Author: Keith Packard +Date: Sun Aug 5 12:19:59 2018 +0800 + + altos/lpc: Fix stdio wakeup on serial IRQ + + Should just use USE_SERIAL_0_STDIN directly + + Signed-off-by: Keith Packard + +commit f16d1e3a2f074b96aae6b9053e8e9e03bd282741 +Author: Keith Packard +Date: Mon Aug 13 17:43:13 2018 -0700 + + altos: Allow timer interrupt without needing tick count + + This saves a bit of space in the fox1ihu loader which uses the timer + interrupt to poke the watchdog. + + Signed-off-by: Keith Packard + +commit bb9d071d328969fc3c544897f1fc96e55a842198 +Author: Keith Packard +Date: Mon Aug 13 17:43:57 2018 -0700 + + altos: Remove spurious 'const' from ao_state_names + + Current gcc complains about this. + + Signed-off-by: Keith Packard + +commit 171d12cb7bb0ea185e9b8b6d90e1c0fb94b19008 +Author: Keith Packard +Date: Sun Aug 5 12:19:19 2018 +0800 + + altos: Remove spurious ao_mma655x_spi_index variable + + This isn't used; was probably included for debugging at some point. + + Signed-off-by: Keith Packard + +commit 297eb795b24ec31f6599f48bc8c3769557a7ec6f +Author: Keith Packard +Date: Sun Aug 5 12:32:42 2018 +0800 + + Bump java lib versions to 13 + + Signed-off-by: Keith Packard + +commit 54838e3d523953e3ce4cea2319b2820c21d2c576 +Author: Keith Packard +Date: Mon Aug 6 13:15:21 2018 +0800 + + Include TeleMega v3.0 firmware with releases + + Signed-off-by: Keith Packard + +commit 55302673a3bff29ac8cd4c7656a410ba3c182845 +Author: Keith Packard +Date: Sun Aug 5 12:28:25 2018 +0800 + + Bump version to 1.8.6.1 + + Signed-off-by: Keith Packard + +commit 029259feafd63f17fc34b95cc7b1fe55e3f611c3 +Author: Bdale Garbee +Date: Sun Aug 5 14:11:01 2018 +0800 + + capture updates to Releasing from 1.8.6 release process + +commit 3a2a5a05bb6372d9003905cee7afdfcd6d38ae7e +Author: Bdale Garbee +Date: Sun Aug 5 11:23:31 2018 +0800 + + releasing 1.8.6 + +commit d8627bb7b46fc991786835afa38cd720e9e75812 +Merge: 59e23c27 8830fbc9 +Author: Bdale Garbee +Date: Sun Aug 5 11:21:37 2018 +0800 + + Merge branch 'master' into branch-1.8 + +commit 8830fbc99565f753c0ae1f3d9f4b079860c2634a +Author: Keith Packard +Date: Sun Aug 5 11:13:23 2018 +0800 + + Update docs for 1.8.6 + + Signed-off-by: Keith Packard + +commit 0d57c78dde3c6e61576a4769b0e0fae7e88c107d +Author: Keith Packard +Date: Sun Aug 5 11:09:34 2018 +0800 + + altos: Add separate 'ao_launch_tick'. Use in pyro and lockout. + + Prior to this, there was only ao_boost_tick, which got reset at each + motor burn start. That meant there wasn't any way to measure total + flight time for pyro channels and 'apogee lockout' was based on time + since most recent motor start instead of total flight time. + + Now pyro channels and apogee lockout both use total flight time, while + motor burn length still uses time since most recent motor burn start + (as it should). + + Docs and UI updated to use 'launch' instead of 'boost' to try and make + the change clear. + + Signed-off-by: Keith Packard + +commit 9dfbf0103a649816e98d5511b1d6bbbfc93f6632 +Author: Keith Packard +Date: Sun Aug 5 09:03:35 2018 +0800 + + altos/plottest: Make linewidth bigger + + 1-pixel lines are harsh in 2018 + + Signed-off-by: Keith Packard + +commit 50c6d796e0dbb69289f95c826e6b542e538fc5de +Author: Keith Packard +Date: Sun Aug 5 08:45:30 2018 +0800 + + altos/stm-demo: Set up for dumping eeprom + + This is used to dump an eeprom wired to the stm demo board. + + Signed-off-by: Keith Packard + +commit 327b765962d397efd4c45b6209c9225a4d23ba1d +Author: Keith Packard +Date: Sun Aug 5 08:44:04 2018 +0800 + + altos: Change 'after motor' pyro check to be >= instead of == + + This makes after motor stay valid even if further motors burn. + + Signed-off-by: Keith Packard + +commit a90d205d41cb4f9f8e669473247786a23a678368 +Author: Keith Packard +Date: Sun Aug 5 08:43:06 2018 +0800 + + ao-tools/ao-dumplog: Dump entire eeprom contents + + This gets the eeprom size from the device and uses that to dump the + whole thing. + + Signed-off-by: Keith Packard + +commit 08e7fdb9f2db4b54279c0c5b18735aa1d5abc19e +Author: Keith Packard +Date: Wed Jul 4 20:25:58 2018 -0700 + + altoslib: Make stop_remote delay depend on the data rate + + It takes longer to flush commands at 2400 baud, so wait longer when + disabling remote mode. + + Signed-off-by: Keith Packard + +commit 323a79e6ed3dfdd2afadfc2a464bb0610380b03b +Author: Keith Packard +Date: Wed Jul 4 16:08:31 2018 -0700 + + altos: Fetch current quadrature status at startup time + + This avoids having the state appear to change the first time we look + at the device. + + Signed-off-by: Keith Packard + +commit ad9d6677231ccbfa09a528387f306f5364f9d608 +Author: Keith Packard +Date: Wed Jul 4 12:34:38 2018 -0700 + + altos: Make fewer LCO variables public + + The lco common code doesn't need to share its internal values with the + world; make most of them static. + + Signed-off-by: Keith Packard + +commit 38fb80e5e6af87f8c734448e4aa69b2c39854903 +Author: Keith Packard +Date: Wed Jul 4 11:58:40 2018 -0700 + + altos: Make LCO search directly drive pad/box displays + + Don't use ao_lco_show as that has other logic too. + + Signed-off-by: Keith Packard + +commit 2214ad7c0f268be76c0b027eef9d1dc406f23b28 +Author: Keith Packard +Date: Wed Jul 4 11:27:31 2018 -0700 + + altos: Fix LCO display while searching + + Use lower level functions to control the display more directly + + Signed-off-by: Keith Packard + +commit 3b53a69e47816ee987a409b05a6b0b47891ca816 +Author: Keith Packard +Date: Wed Jul 4 11:18:12 2018 -0700 + + altos: Fix telelcotwo build for new ao_lco_bits.c file + + Lots of code motion; shouldn't have any functional changes. + + Signed-off-by: Keith Packard + +commit 71a51b4857f5bd49c0cba2578fb54b1d5b2c738b +Author: Bdale Garbee +Date: Wed Jul 4 12:13:38 2018 -0600 + + add telefireeight-v1.0 to products built by default in src/Makefile + +commit 81355cd08a22502d47637f2505b6089d226d0889 +Author: Keith Packard +Date: Tue Jul 3 01:06:09 2018 -0700 + + altos: A bit more LCO code sharing + + Missed drag race pad toggling in ao_lco_v2.c + + Signed-off-by: Keith Packard + +commit 55f817d6ff1a524434fe41ba83e42b8008989cac +Author: Keith Packard +Date: Tue Jul 3 01:01:05 2018 -0700 + + altos: Build telelco-v2.0 by default + + Signed-off-by: Keith Packard + +commit c48d4b60da8b23bf358e6c14d7332d3a360c2d2f +Author: Keith Packard +Date: Tue Jul 3 01:00:15 2018 -0700 + + altos: Share common LCO functions in ao_lco_bits.c + + Move common code out of ao_lco.c and ao_lco_v2.c into a shared file, + ao_lco_bits.c. Update ao_lco.h to include shared functions. + + Signed-off-by: Keith Packard + +commit e56e1dc20b3bf18073766da4e26e97d9e1d419fc +Author: Keith Packard +Date: Mon Jul 2 14:21:48 2018 -0700 + + altos/test: Compute and show height error tracker in ao_flight_test + + Enable the computation of ao_error_h_sq_avg in ao_flight_test even + when an accelerometer is present to allow review of that data. + + Signed-off-by: Keith Packard + +commit c263fde769da380d55d223cebe3c9b6e8f19cb29 +Author: Keith Packard +Date: Mon Jul 2 14:20:39 2018 -0700 + + altosuilib: Split cc1111 vs arm telefire/telemini for flashing + + Only older telefire and telemini boards had cc1111 processors and need + pair-programming. + + Signed-off-by: Keith Packard + +commit 8794920328c8311372f83e4e5656ce14c7f8336b +Author: Bdale Garbee +Date: Sun Jul 1 14:50:26 2018 -0600 + + add a turnon script for TeleLCO v2.0 + +commit 655fd8e1490b70061cd81edf1d019e0469843688 +Author: Keith Packard +Date: Mon Jun 18 10:53:35 2018 -0700 + + altos/telelco-v2.0: Do all drag race beeping from the beeping thread + + Instead of starting the beep from the calling thread, just update some + state and poke the beeping thread. + + Signed-off-by: Keith Packard + +commit 9ece56e3ad76af6ae623ad7a6782c0c933839be8 +Author: Keith Packard +Date: Sun Jun 17 12:35:23 2018 -0700 + + altos/ao_pad: Move LED test to the monitor task + + It sets the LEDs, so it's best to not start doing that until we've + tested them. + + Signed-off-by: Keith Packard + +commit cef5a5725e3bf2c17965599bd76eb93cb05a0f80 +Author: Keith Packard +Date: Sun Jun 17 12:30:09 2018 -0700 + + altos/ao_pad: Turn on all LEDs for a moment at power up + + Allow validation of all LED connections. + + Signed-off-by: Keith Packard + +commit 731ba39a22719a8c431eb63895cd8ba553975114 +Author: Keith Packard +Date: Sun Jun 17 12:29:36 2018 -0700 + + altos/ao_pad: Use AO_LED_TYPE for computing active LEDs. + + instead of uint8_t + + Signed-off-by: Keith Packard + +commit 42ee832368f6ff796444823d53935d824acd329a +Author: Keith Packard +Date: Sun Jun 17 12:28:51 2018 -0700 + + altos/stm: Let products override AO_LED_TYPE for stm processors + + No need requiring it to be uint16_t + + Signed-off-by: Keith Packard + +commit c2d9f13a97d45b7dbe2cb47b563aea59ec725bb1 +Author: Keith Packard +Date: Sun Jun 17 01:36:00 2018 -0700 + + Bump version to 1.8.6 + + Prepare for release. + + Signed-off-by: Keith Packard + +commit 290506129fb6cb664da3a5e3ca450a0dcdff0398 +Author: Keith Packard +Date: Sun Jun 17 01:20:01 2018 -0700 + + altos/telelco-v2.0: Fix AO_ADC_DUMP + + Was printing p.v_batt instead of (p)->v_batt. I don't know why the + former even worked. + + Signed-off-by: Keith Packard + +commit 291bcd751991960ae3dad8c6523323fdcbafa16d +Author: Keith Packard +Date: Sat Jun 16 23:50:11 2018 -0700 + + altos/telelco-v0.2-cc1200: Add build for NAR hacked TeleLCO v0.2 board + + This has the CC1120 replaced with a CC1200, but with 32MHz xtals + instead of 40MHz on the radio chip. + + Signed-off-by: Keith Packard + +commit 16482bf5d63eafc5256f14a218d3a374f6584e0a +Author: Keith Packard +Date: Sat Jun 16 23:51:26 2018 -0700 + + altos/driver: Improve quadrature debouncing for mechanical encoders + + Track state of encoder better and only bump values when the full + motion is detected (all four states). + + Signed-off-by: Keith Packard + +commit abac6c59d6b004d52a7b782865d2d987732cd61e +Author: Keith Packard +Date: Sun Jun 17 00:17:29 2018 -0700 + + altos/telelco-v0: Test display, show batt voltage at boot + + Just like telelco v2 + + Signed-off-by: Keith Packard + +commit 96835cc841ff7afad0b4d2fe4b63f26b951da122 +Author: Keith Packard +Date: Sun Jun 17 00:19:37 2018 -0700 + + ao-bringup: Find dfu-util in $PATH for chaoskey + + In case it's not in /usr/bin + + Signed-off-by: Keith Packard + +commit 7821e341a7cf55e32b926eb4474220dabb6eeb81 +Author: Keith Packard +Date: Sat Jun 16 23:47:42 2018 -0700 + + altos/stm: Define ADC channels for TEMP and V_REF + + These are fixed at 16 and 17. + + Signed-off-by: Keith Packard + +commit 5c465b0049659246908b15be68806b1390e8ebe5 +Author: Keith Packard +Date: Sat Jun 16 23:47:15 2018 -0700 + + altos/stm: Remove unused ADC names from ao_adc_single_stm.c + + Signed-off-by: Keith Packard + +commit 5d9881547706b49cc22b98cc5c94e01e8a7f5181 +Author: Keith Packard +Date: Thu May 31 22:45:49 2018 -0700 + + altos/telelco: Remove STATIC_TEST code from stand-alone LCO boxes + + This command conflicts with the 'debug' command in these devices and + so wasn't usable anyways. + + Signed-off-by: Keith Packard + +commit f755181fd3ec82d7644591e2ed4b99a244acfd6e +Author: Keith Packard +Date: Thu May 31 22:42:13 2018 -0700 + + altos/telelco-v2.0: Test displays at power on + + At boot, light up all LEDS and LCD segments for a second to let the + user verify that things are working correctly. + + Signed-off-by: Keith Packard + +commit 99642f9c4f89aa5577376a9cd118e7cff26e2762 +Author: Keith Packard +Date: Thu May 31 22:39:45 2018 -0700 + + altos/telefire*: Do voltage tests in decivolts instead of ADC units + + This requires that each pad device specify the ADC reference voltage + and all relevant voltage divider resistor values explicitly so that + the ADC values can be converted to decivolts and compared with one + another. This should be easier to understand in the future when + reading the code. + + Signed-off-by: Keith Packard + +commit ab22c56ca02db87a84b6950c024a90b086f5ce28 +Author: Keith Packard +Date: Thu May 31 16:24:33 2018 -0700 + + altos/telefireeight-v1.0: Fix ADC definitions + + Was missing all of the GPIO configuration bits, which probably meant + the ADCs were returning garbage values. + + Signed-off-by: Keith Packard + +commit 82ed4f5c45b1a9f114577a59fac546c81d69f810 +Author: Keith Packard +Date: Wed May 30 11:38:24 2018 -0700 + + altoslib: Revert field name changes for accel cal values + + These names get written in the JSON part of all .eeprom files, so we + can't change the names or the values won't be read and written correctly. + + Signed-off-by: Keith Packard + +commit 484ffebc54048bbe276e0e2c0e2ab52c6a1761c1 +Author: Keith Packard +Date: Mon May 28 19:19:43 2018 -0700 + + altos/telelco-v2.0: Set HAS_ADC_SINGLE to enable HSI timer + + The ADC unit requires the HSI timer to run, so make sure it's enabled + for this device. + + Signed-off-by: Keith Packard + +commit 16971e550d1018fb6acf3fee3c56098f5ba9921e +Author: Keith Packard +Date: Mon May 28 19:18:48 2018 -0700 + + altos/stm: Enable HSI timer when HAS_ADC_SINGLE is set + + The ADC unit always uses the HSI timer. + + Signed-off-by: Keith Packard + +commit 42a261a56606be69b5fb90fd6017c70a1e5d72dd +Author: Keith Packard +Date: Mon May 28 16:10:51 2018 -0700 + + altos/telelco-v2.0: Display local batt voltage at startup + + Show the battery voltage for a second at startup. + + Signed-off-by: Keith Packard + +commit 3fb27f0ab7163c96945a60fd406e5423552206a2 +Author: Keith Packard +Date: Mon May 28 16:09:19 2018 -0700 + + altos/stm: Add polling ADC sampler API + + This just fetches ADC values on demand instead of loading them + periodically into a ring buffer from the timer interrupt. + + Signed-off-by: Keith Packard + +commit dbeb9b91a48418c5bc9f6edccaef20c3ef77d45d +Author: Keith Packard +Date: Mon May 28 15:12:26 2018 -0700 + + altos/telelco-v2.0: Change drag race selected/no-continutity pattern + + Make it turn on at the same time as the pads with continuity, but turn + off sooner + + Signed-off-by: Keith Packard + +commit eb31a40b3499287e0a52324a9adc3728883ed957 +Author: Keith Packard +Date: Mon May 28 15:07:06 2018 -0700 + + altos/telelco-v2.0: Add debug output for pad voltage display + + Signed-off-by: Keith Packard + +commit 29f9880f7b09bc135d34bf0dcb221bdede7726b3 +Author: Keith Packard +Date: Mon May 28 14:54:47 2018 -0700 + + altos/telelco-v2.0: A bit fancier with the drag-mode LED show + + Continutity leds now show whether the pad is included in the drag race + *and* the continutity using four different patterns: + + Drag select & igniter present: long on, short off + Drag select & igniter missing: short on, long off + Not select & igniter present: solid on + Not select & igniter missing: solid off + + Signed-off-by: Keith Packard + +commit 98ea690cc7514f43254f3a6c72668c11820f657c +Author: Keith Packard +Date: Mon May 28 14:41:51 2018 -0700 + + altos/telelco-v2.0: Fix button names and pin mappings. Add drag LED. + + Signed-off-by: Keith Packard + +commit b1f1a4513391aa595eb64552f2aa4cfedd0cc0ff +Author: Keith Packard +Date: Mon May 28 14:35:18 2018 -0700 + + altos/telelco-v2.0: Mixed up the select_button pin (is E0, was set to E13) + + Signed-off-by: Keith Packard + +commit 2c94ba66d5b4c99b43ab965331bf1faa270a9768 +Author: Keith Packard +Date: Mon May 28 14:26:47 2018 -0700 + + altos/telelco-v2.0: Only look at drag select presses, not releases + + Signed-off-by: Keith Packard + +commit a26cf26e3416b1982abec249678a32a420bf8809 +Author: Keith Packard +Date: Mon May 28 14:26:12 2018 -0700 + + altos/telelco-v2.0: Use single-step quadrature code + + Signed-off-by: Keith Packard + +commit ccad6e970c5c7416561443f1e6e2fa8f80698957 +Author: Keith Packard +Date: Mon May 28 14:15:34 2018 -0700 + + altos/driver: Add support for one-step-per-click quadrature encoder + + The mechanical encoders go through all four steps per click while the + optical ones have a single step per click. Support both kinds. + + Signed-off-by: Keith Packard + +commit f172b139ddc3fcc17cf89b57e5126264c0faa45e +Author: Keith Packard +Date: Mon May 28 13:08:33 2018 -0700 + + altos/telelco-v2.0: Reduce quadrature debounce time + + The optical encoders shouldn't bounce at all; let's try a minimal value. + + Signed-off-by: Keith Packard + +commit a4dbc940cc6c8ff5565e8af21f2dcb4ae090380c +Author: Keith Packard +Date: Mon May 28 13:07:06 2018 -0700 + + altos/drivers: Make quadrature debounce longer by default. Fix state tracking + + This increases the default debounce time for quadrature encoders to + 30ms, which cleans up the mechanical encoders on TeleLCO v0.2. Also + change state tracking to explicitly check for expected state values to + avoid mis-triggering. + + Signed-off-by: Keith Packard + +commit 7e2a2849f58e98adc1114bb8f3a6319408d93691 +Author: Keith Packard +Date: Mon May 28 12:06:41 2018 -0700 + + altos/telelco-v2.0: Only switch encoder mode on push, not release + + Was not checking event value. + + Signed-off-by: Keith Packard + +commit 863a9d523b26a8a5f8fbd5b516bd7dd914ee079e +Author: Keith Packard +Date: Mon May 28 11:23:03 2018 -0700 + + altos/ao_button.c: Support up to 16 buttons + + TeleLCO v2.0 has more than 4 + + Signed-off-by: Keith Packard + +commit eb70e334ffc77e737bb21ab3fe777a982d80ee3b +Author: Keith Packard +Date: Mon May 28 11:12:36 2018 -0700 + + altos/telelco-v2: Change select button to alternate box/pad mode + + Instead of a three-way, just make the select button two-way and have + the arming switch disable it. + + Signed-off-by: Keith Packard + +commit 14fa6cee857918966740d05c4ed13b1a79db3caa +Author: Keith Packard +Date: Mon May 21 22:36:35 2018 -0700 + + altos: Add TeleFireEight v1.0 product + + Eight pyro channel version of the TeleFire boards. + + Signed-off-by: Keith Packard + +commit e272f6a66881b6904037ee7b1afeb9a8a3ec5b2a +Author: Keith Packard +Date: Mon May 21 22:32:38 2018 -0700 + + altos/drivers: Pads with multi-port firing and pad selector DIP switch + + TeleFire 8 scrambles GPIOs to make layout cleaner, placing the 8 + firing outputs across two GPIO ports. + + We're also adding an 8-unit selector for box number so that boards can + be re-configured in the field. These override any ROM-configuration + value; you can select the rom value by setting all switches to 'off'. + + Signed-off-by: Keith Packard + +commit 85a8846a423ce2d15815466564fb589bb553c742 +Author: Keith Packard +Date: Wed May 16 22:03:25 2018 -0700 + + altos/stm: Add per-LED port/pin mode in LED code + + If you've got a complicated LED pin arrangement, you can ask for each + one to be configured separately, instead of using groups in a couple + of GPIO registers. The code isn't as efficient this way, but at least + it's easy to read. + + Signed-off-by: Keith Packard + +commit 96ee5257068a988db10097af8df72b0008bce978 +Author: Keith Packard +Date: Wed May 16 22:02:11 2018 -0700 + + altos: Add TeleLCO v2.0 product + + New LCO design with a single rotary knob and lots more buttons. + + Signed-off-by: Keith Packard + +commit 5a26df7db9453bf0596f729a23efb90e5e8a63c7 +Author: Keith Packard +Date: Wed May 16 22:05:26 2018 -0700 + + altos/vidtime: Check for value change in normal code, not irq + + This makes sure each value change is reported to the user. + + Signed-off-by: Keith Packard + +commit 06dac6551418ba817798c187f198b9b00c1dda74 +Author: Keith Packard +Date: Mon May 7 11:26:42 2018 -0700 + + altos: add 'vidtime', a simple brightness monitor + + This is a testing tool for video refresh tracking. It uses the mpusb + v3.0 hardware and monitors the phototransistor value, sending 0 or 1 + to the USB port when the value changes. + + Signed-off-by: Keith Packard + +commit 1f56dc30a31e3d5c833f73ec9cd31f548a80e154 +Merge: feb881a2 71acc79f +Author: Keith Packard +Date: Mon May 7 09:53:52 2018 -0700 + + Merge branch 'mpusb' + +commit 71acc79f8e828d56296db282c72cf4492a8aa4f4 +Author: Keith Packard +Date: Mon May 7 09:43:27 2018 -0700 + + altos/mpusb-v3.0: Make it compile again + + A few things have changed since this code was written. + + Signed-off-by: Keith Packard + +commit bc70f92966221f941b96177b401744a7aca24814 +Author: Keith Packard +Date: Mon May 7 09:42:28 2018 -0700 + + altos/stmf0: leave ao_power_gpio names undefined without power management + + Should make it more obvious at compile time that you've done something wrong. + + Signed-off-by: Keith Packard + +commit 5ddd4e10bd8ddb4a00a0ccd8982db3311ec5a9e7 +Author: Keith Packard +Date: Wed Jan 20 00:00:07 2016 -0800 + + altos: Add µPusb v3.0 project + + This replaces the ft230 with a stm32f04, saving a bit of BOM + and giving us control over the firmware. + + Signed-off-by: Keith Packard + +commit feb881a24250bd7e71ec8ccef0099d4b4a0df519 +Author: Keith Packard +Date: Mon May 7 08:58:21 2018 -0700 + + doc: Update pyro channel info to reflect UI changes + + Use the new naming in the UI. Add lots more comments about how things work. + + Signed-off-by: Keith Packard + +commit 7b11a34bb031035883bac97952e5ca6db0684e33 +Author: Keith Packard +Date: Mon May 7 08:56:32 2018 -0700 + + altos/test: Replace state name with 10* state value in test log. Fix raw speed + + Using a state value means we can plot state changes along with the + rest of the graph. Raw speed (simple integrated acceleration) was + busted; mostly needing to skip the first accel sample. + + Signed-off-by: Keith Packard + +commit cc83d57454ed07e4828b4413e5af6ae2ecfe2e5a +Author: Keith Packard +Date: Mon May 7 08:51:36 2018 -0700 + + altos: Eliminate height requirement for coast detect + + We had required a minimum altitude of 100m to transition from boost to + coast. With small motors in a heavy multi-staged rocket, this can fail + to detect coast in time to light the second motor. + + Also, this would fail to deploy recovery systems if the flight failed + before reaching 100m. + + Signed-off-by: Keith Packard + +commit 49aafcbb6c0f3ecda4b668776be74a04a5654377 +Author: Keith Packard +Date: Mon May 7 08:50:33 2018 -0700 + + Update version to 1.8.5.2 + + Shipped some bits to Fred Taverni to test eliminating the altitude + requirement for boost detect as he stages so low. + + Signed-off-by: Keith Packard + +commit ab65e9f257493da5282d8933d8f0dcb716c1f41f +Author: Keith Packard +Date: Sun May 6 21:16:25 2018 -0700 + + ao-chaosread: Add support for the new flash endpoint in chaoskey + + This adds support for endpoint 0x87, which streams the contents of the + onboard flash to the host for firmware verification. + + Signed-off-by: Keith Packard + +commit bea42e45952df85d61428662caefbb100465a585 +Author: Keith Packard +Date: Sun May 6 21:13:02 2018 -0700 + + altos/chaoskey-v1.0: Add endpoint for reading flash contents + + This creates another IN endpoint which provides the contents of flash + for validation of the firmware load on the host. + + Signed-off-by: Keith Packard + +commit 4451f7b6bade66775a197b93c6e70ba15f1826ce +Author: Keith Packard +Date: Sun May 6 21:11:48 2018 -0700 + + altos/stmf0: Fix up USB debug code + + At least make it compile. In this configuration, it's dumping out IN3 + endpoint register values. + + Signed-off-by: Keith Packard + +commit a06c283c358455008cd1e5376ccc0b6f72c7ac87 +Author: Keith Packard +Date: Sun May 6 21:11:02 2018 -0700 + + altos/stmf0: Add IN3 alternate endpoint support + + This adds the code necessary to drive another IN endpoint. + + Signed-off-by: Keith Packard + +commit b15549d8c5277ba3aa425e232473a17dc136e5a4 +Author: Keith Packard +Date: Sun May 6 21:09:22 2018 -0700 + + altos/stmf0: Toggle IN2 SW_BUF bit when sending data + + This tells the hardware we're done writing data to the second input + buffer and allows it to be switched from NAK to VALID. + + Signed-off-by: Keith Packard + +commit 8efe0d40deded973f08f63eb650a036f9e24d2fb +Author: Keith Packard +Date: Sun May 6 21:17:32 2018 -0700 + + altos/kernel: Add USB descriptors for IN3 + + This adds the necessary descriptor information to support another IN + endpoint for applications. + + Signed-off-by: Keith Packard + +commit f282b802d2f5a0da56bb8245169c46a16b2eed71 +Author: Keith Packard +Date: Sun May 6 21:06:31 2018 -0700 + + altos/kernel: Define usb IN2/IN3 functions + + These are putchar and flush functions that are used when sending data + to the additional IN2 and IN3 endpoints. + + Signed-off-by: Keith Packard + +commit 257350e1a3e4ba2048e80d30a4a0454eb65d4a26 +Author: Keith Packard +Date: Tue May 1 23:47:27 2018 -0700 + + ao-bringup/turnon_telemini: Skip DFU if no DFU device is present + + This skips running dfu-util to load the bootloader if there isn't a + suitable DFU device listed in the system, which allows an + already-flashed device to be run through the same script. + + Signed-off-by: Keith Packard + +commit 08e543cd8b761e4cbbfa97404fcd5394f65a0e9e +Author: Keith Packard +Date: Tue May 1 23:44:00 2018 -0700 + + altos/stmf0: Set 0x0 mapping to Main Flash for boot loader + + When DFU finishes loading firmware and jumps to the application, it + leaves the mapping of addresses starting at 0x0 set to System flash, + which prevents the boot loader from receiving interrupts and requires + a power cycle during flash & cal. + + Signed-off-by: Keith Packard + +commit 980e3dc43ac4712680a370756e5112e9f330aa9a +Author: Keith Packard +Date: Tue May 1 23:36:57 2018 -0700 + + altos/stmf0: whitespace fix + + Trailing whitespace. + + Signed-off-by: Keith Packard + +commit 772b5f1cb625fba1396a57b47498ef805ae1a9a8 +Author: Keith Packard +Date: Tue May 1 23:36:16 2018 -0700 + + altos/stmf0: Change tests for AO_BOOT_CHAIN and AO_BOOT_PIN to #if + + Were #ifdef, which meant that #define AO_BOOT_PIN 0 didn't work right. + + Signed-off-by: Keith Packard + +commit 312f303be7f2a641020903ed2daccb8a4d67ec42 +Author: Keith Packard +Date: Sat Apr 28 12:03:10 2018 -0700 + + altoslib: Fix Idle Monitor on TeleMega v3 + + The new IMU includes a mag sensor, and there's no separate mag sensor. + + Add support for reading the mag sensor values from the IMU, separate + out v3 from previous TeleMega versions so that the code can stop + trying to read the mag sensor. + + Signed-off-by: Keith Packard + +commit 0dfaecc25a12da57248541a66dd5118161616cce +Author: Keith Packard +Date: Sat Apr 21 16:16:18 2018 -0700 + + altos/fox1ihu: Pull down radio control pin in flash loader + + Ensures that the radio is powered down while in the flash loader. + + Signed-off-by: Keith Packard + +commit 8025b98420f16730e5e6e45114cbdbbf88f7a748 +Author: Keith Packard +Date: Fri Aug 7 20:16:41 2015 -0700 + + Remove ao_radio_cal from stm products without radios + + Products without a radio don't need this value. + + Signed-off-by: Keith Packard + +commit c408c773793b5a5685d95c11ba6f710200505c25 +Author: Bdale Garbee +Date: Tue May 6 00:38:33 2014 -0600 + + had the sense backwards .. presence of 'attached' should put us in the loader + +commit 9003147a89074f8d991d1707f307fd4e41435aa3 +Author: Bdale Garbee +Date: Mon May 5 17:32:22 2014 -0600 + + move signal that forces flash-loader on to PB8, active high + +commit ddf70e806f894707613830fd64e21b5bb8f19972 +Author: Keith Packard +Date: Sat Apr 27 00:36:36 2013 -0700 + + altos: Build fox1ihu by default + + Signed-off-by: Keith Packard + +commit 6247e0c81084b59365ceca0ced33d2db92a72444 +Author: Keith Packard +Date: Sat Feb 1 00:06:30 2014 -0800 + + altos/fox: Enable system timer in flash loader and prod watchdog with it + + This makes it possible to reflash the board without needing to disable + the watchdog. + + Signed-off-by: Keith Packard + +commit 04aa1dfa7918dcf4eea9ec4cef5a31ac2a61a00d +Author: Keith Packard +Date: Fri Jan 31 22:39:58 2014 -0800 + + altos/fox: Update ADC to fox-1 IHU Revision 2 + + Change ADC pin definitions to match new hardware. + + Signed-off-by: Keith Packard + +commit 54da028c492464802b048cb949d392cd83994e75 +Author: Keith Packard +Date: Fri Jan 31 17:44:45 2014 -0800 + + altos/fox: Transition to current altos build environment + + Fix the library usage, use $(LIBS) instead of $(SAT_CLIB) -lgcc + + Signed-off-by: Keith Packard + +commit ca58096665fc1a11ca5683f0e6aafaf3e153af37 +Author: Keith Packard +Date: Sun Apr 28 00:42:31 2013 -0700 + + altos/fox: update product name to show v2, enable watchdog by default + + Signed-off-by: Keith Packard + +commit e79202f95f0e5b4a01da31d3742a775bea62cc92 +Author: Keith Packard +Date: Sun Apr 28 00:05:39 2013 -0700 + + altos/fox: Run app when PD6 is low + + Signed-off-by: Keith Packard + +commit 36cf713ead58a52539c87de764b022ba0dcde27d +Author: Keith Packard +Date: Sat Apr 27 16:06:48 2013 -0700 + + altos/fox: Add fox1ihu flash loader + + Signed-off-by: Keith Packard + +commit 4c37ccc63d37ff0a4382f6812060d3c5fd4b6cfb +Author: Keith Packard +Date: Thu Apr 25 21:25:12 2013 -0700 + + altos/fox: Add MRAM and SD card drivers + + Signed-off-by: Keith Packard + +commit f517aa5e042af8dd7fd36be47e4b196f212e79b0 +Author: Keith Packard +Date: Thu Mar 21 10:16:35 2013 -0700 + + altos/fox: Enable M25 driver for MRAM. + + The M25 driver can also talk to the MRAM chip, with a few adjustments + + Signed-off-by: Keith Packard + +commit e0c969910a516c018e64eaa73cdbe4bc2f979835 +Author: Keith Packard +Date: Thu Mar 21 09:49:15 2013 -0700 + + altos/fox: Add watchdog timer + + Runs at 25Hz, can be enabled and disabled via the command line + + Signed-off-by: Keith Packard + +commit 6adf9d2a17d701ed0ceb742f322fa72723149980 +Author: Keith Packard +Date: Wed Jan 23 21:37:24 2013 -0800 + + altos/fox: Turn on all of the fox lights + + Fox has two red and two green LEDs + + Signed-off-by: Keith Packard + +commit 524afb040aa34d93abae7d04afa1df7a626f9877 +Author: Keith Packard +Date: Wed Jan 23 21:36:18 2013 -0800 + + altos/fox: Provide names for fox ADC channels + + Signed-off-by: Keith Packard + +commit 8b783887d7f136d3a389316545b74f4755e43eb4 +Author: Keith Packard +Date: Wed Jan 23 21:05:26 2013 -0800 + + altos/fox: Fix up Fox ADC bits + + Update to current schematic + + Signed-off-by: Keith Packard + +commit ff2330a7fedfa7f6be3502ad0d591ab9e5ddddc6 +Author: Keith Packard +Date: Wed Jan 23 20:48:04 2013 -0800 + + altos/fox: Initialize FOX adc + + Signed-off-by: Keith Packard + +commit fbf01178e560d8a36916e295d7bdb0b0e98d2b02 +Author: Bdale Garbee +Date: Wed Jan 23 21:45:28 2013 -0700 + + altos/fox: rename fox product + + It's Fox1IHU-v1 now + +commit 23ba75c3c2ddde65dc543b52cd87b8a1433c5024 +Author: Keith Packard +Date: Wed Jan 23 19:03:26 2013 -0800 + + altos/fox: Add fox1ihu bringup firmware + + Firmware capable of testing fox1ihu hardware + + Signed-off-by: Keith Packard + +commit 8612c1287a1c458a17f33af1d679d30a13dea772 +Author: Keith Packard +Date: Thu Apr 26 17:24:51 2018 -0700 + + altoslib: Fix data fetching during flashing of cc1111-based devices + + We want to get enough information about the target device to verify + that the new firmware matches, so fetch 512 bytes instead of just + barely enough to cover the romconfig data. + + Also catch out-of-bounds accesses and handle them, in case even this + large array isn't enough. + + Signed-off-by: Keith Packard + +commit eee9f6128da146b0e9c711d49b2a3eb49a95aaf3 +Author: Keith Packard +Date: Thu Apr 26 16:30:54 2018 -0700 + + altoslib: Keep config data accel cal in antenna up form. + + Instead of letting the accel cal data live in whatever form it was + fetched in, keep it in antenna up form and provide it in whatever + orientation is necessary. + + This fixes bugs in changing pad configuration where the accel cal values + from the old orientation would get used in the new orientation and + wreck them. + + Signed-off-by: Keith Packard + +commit b3474fb33a58e78b3b8f36958dd44768e49f3edc +Author: Keith Packard +Date: Wed Apr 25 23:07:46 2018 -0700 + + altoslib: Flush settings restoration commands after accel cal + + To avoid mangling settings when the user doesn't 'save' things, + restore the original accel cal values and orientation after finishing + accelerometer calibration. + + Signed-off-by: Keith Packard + +commit 0d691170a96545a9e57aad454de87541cea8c292 +Author: Keith Packard +Date: Sun Apr 22 20:02:04 2018 -0700 + + altoslib: Remove ascending/descending from pyro config + + Ascending and descending don't add any functionality and can confuse + people. Clears pyro configuration value when ascending or descending were + selected in the configuration so that the user knows to reset the + channel from scratch. + + Signed-off-by: Keith Packard + +commit 57218127ee39724e985fefcf203991401f01cc84 +Author: Keith Packard +Date: Sun Apr 22 20:01:01 2018 -0700 + + altoslib: Clarify terms in Mega pyro config + + Suggestions from Bob Brown et al + + Speed -> ascent rate + Height -> height above ground + Acceleration -> Vertical acceleration + + Signed-off-by: Keith Packard + +commit 06ca18ee67f80a9d1e25799930aca59e99e32d7f +Author: Keith Packard +Date: Sat Apr 21 16:22:16 2018 -0700 + + Set version to 1.8.5.1 + + Firmware has changed + + Signed-off-by: Keith Packard + +commit b47796991cb6c2edb85f9201a53515b4dd28b946 +Author: Keith Packard +Date: Tue Jul 15 22:52:35 2014 -0700 + + altos/flash-loader: On STM, don't include ao_usb_disable + + This saves a bit of space, keeping the flash loader under 4k on fox + + Signed-off-by: Keith Packard + +commit b478d3c3569d2f9df50b0030197468d14af67688 +Author: Keith Packard +Date: Sat Apr 21 16:17:26 2018 -0700 + + altos: Use max of 64 previous orient values when checking pyro limits + + Instead of checking just a single measurement to see if the + orientation is outside of the desired limits, use the maximum of 64 + previous values to that rapidly changing orientation won't + accidentally enable a pyro channel if sampled at the 'wrong time'. + + Signed-off-by: Keith Packard + +commit a414a32f86c9d8a2c5f576898c0f0dc75263ff85 +Author: Keith Packard +Date: Sat Apr 21 16:14:39 2018 -0700 + + altos/stm: Simplify ao_usb_write a bit + + Remove unnecessary 'offset' param (was always passed zero). This also + makes some code conditional on that value no longer necessary. + + Signed-off-by: Keith Packard + +commit 1569b23b2f139e3840ec145f4eef45f36fc4939a +Author: Keith Packard +Date: Mon Apr 16 09:46:22 2018 -0700 + + doc: add release check for altusmetrum-docinfo.xml copyright + + Signed-off-by: Keith Packard + +commit d5c038473d56ebbe61b8a71b5eb28d03385f8c48 +Author: Keith Packard +Date: Mon Apr 16 09:45:35 2018 -0700 + + altosdroid: Attempt to avoid some reported altosdroid crashes + + Just looking at stack traces, maybe these changes will avoid some problems? + + Signed-off-by: Keith Packard + +commit 110e4818b85781c33d683b7b7e7f2864a1223c5c +Author: Keith Packard +Date: Thu Apr 5 16:41:20 2018 -0700 + + micropeak: Make reported 'max height' value show filtered max height + + MicroPeak tries to filter out bogus pressure data so that the value + reported on the LED is reasonable. We want to report that same value + in the UI, which means replacing the normal mechanism for computing + max height from the time series of height data with the value computed + from the saved minimum pressure value recorded in the device. + + Signed-off-by: Keith Packard + +commit 20dc0e6c8e365c1f4188189d506163d589c3bade +Author: Bdale Garbee +Date: Sun Apr 22 19:00:03 2018 -0600 + + add a warning about Google limiting per-day access until/unless we pay + +commit 0b58d3067d994319b73c2bd15817f6922257ece2 +Author: Bdale Garbee +Date: Sat Mar 31 17:44:18 2018 -0600 + + another second seems to help on the very slow Acer laptop + +commit 865364d2738ae0b79a390eab62a5ddac1e890c71 +Author: Keith Packard +Date: Fri Mar 23 17:35:47 2018 -0600 + + altos: Hack up code for TeleMetrum to make it just a tracker + + Support for a failed TeleMetrum device that uses just the GPS receiver + and radio to create a TeleGPS-compatible device called 'tmgps'. + + Signed-off-by: Keith Packard + +commit 58eda1736d8cffa6e3b5afce6f5faabbb179045e +Author: Keith Packard +Date: Fri Mar 23 17:34:23 2018 -0600 + + altos/ao_cc1120: Only call ao_packet_slave_stop when HAS_SLAVE + + Don't try to disable packet slave mode when the product doesn't + support packet slave mode. + + Signed-off-by: Keith Packard + +commit 49fd1fe435b116665b41722c7d14878a62bb3311 +Author: Bdale Garbee +Date: Tue Mar 20 18:25:43 2018 -0600 + + add a paragraph to the intro pointing to the altusmetrum email list + +commit 59e23c27c2a85d7d748223e444b24d19937afe47 +Author: Bdale Garbee +Date: Sun Mar 18 15:49:07 2018 -0600 + + preparing to release 1.8.5 + +commit 7b614380f307cb5e27f2a05281bc76c4ace93334 +Merge: 16a9d861 39023ed6 +Author: Bdale Garbee +Date: Sun Mar 18 15:47:31 2018 -0600 + + Merge branch 'master' into branch-1.8 + +commit 39023ed6e29103a85bfad505506fa0dbf4dc1112 +Author: Bdale Garbee +Date: Sun Mar 18 15:42:48 2018 -0600 + + doc: update copyright year in doc/altusmetrum-docinfo.xml + +commit 84146083da782c335ba7f040b238c3f51ba2f484 +Merge: ee79a205 78e5ae58 +Author: Bdale Garbee +Date: Sun Mar 18 15:33:44 2018 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 78e5ae58c2ad5ba7246a649c0bd15ff68b5d0e74 +Author: Keith Packard +Date: Sat Mar 17 11:26:29 2018 -0700 + + Bump version to 1.8.5 + + Signed-off-by: Keith Packard + +commit 529c04026dec55d9d0922689e56f1d23b0ff6095 +Author: Keith Packard +Date: Sat Mar 17 11:25:00 2018 -0700 + + doc: Add release notes for 1.8.5 + + Signed-off-by: Keith Packard + +commit bd0021d431165a6c896a6022691a447e27fd555e +Author: Keith Packard +Date: Fri Mar 16 14:54:04 2018 -0700 + + altos/stmf0: Add some common definitions for flash loaders + + Signed-off-by: Keith Packard + +commit 4894d965d73231b5c74810d826c7c97fa1bd7803 +Author: Keith Packard +Date: Fri Mar 16 14:53:14 2018 -0700 + + altos: Make panic beeps use fixed frequencies + + This ensures that the beeps will work even before the configuration + has been loaded. + + Signed-off-by: Keith Packard + +commit 1ea6188a9c78ab0642001110cac6c3b35e8ccc88 +Author: Keith Packard +Date: Fri Mar 16 14:52:09 2018 -0700 + + ao-usbload: Flip product names in loader error message + + I was reversing the 'target' vs 'image' names in the error message, + leading to a bit of confusion. + + Signed-off-by: Keith Packard + +commit 788d02a3caf0f14f3c84ff6ae7e2a2fff302e91b +Author: Keith Packard +Date: Fri Mar 16 14:51:22 2018 -0700 + + ao-bringup: Check for Loader USB id before attempting dfu-util + + This lets me restart the turnon process after the boot loader has been + flashed. + + Signed-off-by: Keith Packard + +commit 7068149704e6de67ece670227445e987421cd600 +Author: Keith Packard +Date: Fri Mar 16 14:50:29 2018 -0700 + + chaoskey: Create unified ROM image with both loader and app + + Flash the whole thing all at once to reduce the number of steps during + turnon. + + Signed-off-by: Keith Packard + +commit 46d8197bb80ce3fe4cdc7b36c3be211366093bd5 +Author: Keith Packard +Date: Fri Mar 16 14:49:04 2018 -0700 + + ao-bringup: Don't wait for user when testing EasyMini igniters + + I always have the LEDs ready to go before starting the turnon process. + + Signed-off-by: Keith Packard + +commit ee79a205e118ea8730a02cc327d8fb79cc5f74ff +Merge: 365eee3e 78a90fc7 +Author: Bdale Garbee +Date: Mon Feb 12 16:38:57 2018 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 78a90fc760b88ab66c5c238289afc38356e29d8a +Author: Keith Packard +Date: Mon Feb 12 15:36:12 2018 -0800 + + Add TeleGPS v2.0 binaries to distribution + + Signed-off-by: Keith Packard + +commit 54e8e033ccf47526e5ff08f93c105ef75334924e +Author: Keith Packard +Date: Sat Jan 13 21:29:08 2018 -0800 + + libaltos: Use case-insensitive compare when matching BT MACs + + We use the BT MAC vendor portion to figure out which port to connect + to as that is simpler and takes less network traffic than actually + doing discovery. However, on Windows, we were generating the address + in lower case and comparing against upper case vendors, which didn't + work out too well. + + Signed-off-by: Keith Packard + +commit b95db5819885da89504d5e11decfda98cfac37aa +Author: Keith Packard +Date: Fri Jan 12 22:27:41 2018 -0800 + + altoslib/altosuilib: Validate rom image is for target device + + This should avoid mis-programming devices with incorrect firmware. + + Signed-off-by: Keith Packard + +commit f26cc1a677f577da533425a15485fcaa24626b23 +Author: Keith Packard +Date: Wed Jan 10 23:11:40 2018 -0800 + + altos/scheme: Move ao-scheme to a separate repository + + This way it can be incorporated into multiple operating systems more easily. + + Signed-off-by: Keith Packard + +commit 4b52fc6eea9a478cb3dd42dcd32c92838df39734 +Author: Keith Packard +Date: Mon Jan 8 13:46:17 2018 -0800 + + altos/scheme: Allow unicode in lexer + + This just passes any bytes with the high bit set through the system so + programs can include UTF-8 in strings and symbols. What the heck. + + Signed-off-by: Keith Packard + +commit f8a967959b2f5ca3486ab3422f30fe4ad4ba17a8 +Author: Keith Packard +Date: Sun Jan 7 23:06:51 2018 -0800 + + altos/lambdakey-v1.0: Add LED function back in + + We've made things smaller, so there's (barely) space for this now. + + Signed-off-by: Keith Packard + +commit 6ae22601bbf018193ac093fb0f745ebe213bfb64 +Author: Keith Packard +Date: Sun Jan 7 23:06:22 2018 -0800 + + altos/scheme: remove debug code from vector write + + Signed-off-by: Keith Packard + +commit bf37c22c6cdd4a90117bdc809e5c063a079082ad +Author: Keith Packard +Date: Sun Jan 7 23:05:02 2018 -0800 + + altos/scheme: Allow individual lisp keywords to be feature-conditional + + This lets us build a smaller lisp that is just missing some aliases + for existing functionality to save rom space. + + Signed-off-by: Keith Packard + +commit 283553f0f118cef1dbcfbf5e86a43575a610d27f +Author: Keith Packard +Date: Sun Jan 7 23:04:22 2018 -0800 + + altos/scheme: Split tests out from build sources + + Run tests on both tiny and full scheme test programs. + + Signed-off-by: Keith Packard + +commit 48d164e3d4b2ef27fae20fae63b8014803a7b178 +Author: Keith Packard +Date: Sun Jan 7 21:44:39 2018 -0800 + + altos/stmf0: Use double buffering for ChaosKey + + This improves the USB performance of ChaosKey so that it doesn't NAK + during data transfers at all. + + Signed-off-by: Keith Packard + +commit db7f7c6c7f956058250b8057c6c27284f6f22e53 +Author: Keith Packard +Date: Sun Jan 7 21:43:22 2018 -0800 + + ao-chaosread: add --raw and --cooked flags + + Allow reading from the cooked endpoint as well as the raw one. + + Signed-off-by: Keith Packard + +commit 8545ed42bd29152f4937fb6457aba5fbd57e7691 +Author: Keith Packard +Date: Sun Jan 7 17:43:42 2018 -0800 + + altos/stmf0: use double buffering for USB rx data + + This also allows us to stop shadowing USB rx buffers in system ram + + Signed-off-by: Keith Packard + +commit 42072f591690b8258d957ab7a9b2f5d911676b39 +Author: Keith Packard +Date: Sun Jan 7 12:43:13 2018 -0800 + + altos/stmf0: Use double buffering for USB tx data + + This shouldn't have much of an effect, but shows how double buffering + works. + + Signed-off-by: Keith Packard + +commit eead259673c6594d41cfab796c8674c8bf1863cc +Author: Keith Packard +Date: Sun Jan 7 11:51:07 2018 -0800 + + altos/stmf0: Stop shadowing USB tx buffers in system RAM + + Use the 16-bit USB memory directly, avoiding the buffer space and the copy + + Signed-off-by: Keith Packard + +commit ee62272bec67b5784a4ee4e12d8a59677bf9d112 +Author: Keith Packard +Date: Sun Jan 7 11:49:09 2018 -0800 + + altos/stmf0: Remove packet counters from non-debug build + + These counters are only useful for helping debug the USB driver. + + Signed-off-by: Keith Packard + +commit 043c5b56ffc2d8171769f6e988eaad6e457bad89 +Author: Keith Packard +Date: Sun Jan 7 11:47:57 2018 -0800 + + altos/kernel: Use ao_put_string for syntax error message + + Avoid using puts, which can be a large library function. + + Signed-off-by: Keith Packard + +commit b446d9657cad0ff45f6f65c774d82cb9f2f65088 +Author: Keith Packard +Date: Sat Jan 6 18:11:19 2018 -0800 + + altos/lambdakey-v1.0: Switch back to command buffered input + + Instead of just reading from stdin with no echo or editing. + + Signed-off-by: Keith Packard + +commit 16061947d4376b41e596d87f97ec53ec29d17644 +Author: Keith Packard +Date: Sat Jan 6 17:29:10 2018 -0800 + + altos/scheme: Add ports. Split scheme code up. + + And lots of other changes, including freeing unreferenced atoms. + + Signed-off-by: Keith Packard + +commit 39df849f0717d92a7d5bdf8aa5904bd4db1b467f +Author: Keith Packard +Date: Sat Jan 6 17:21:45 2018 -0800 + + altos/scheme: add 'install' target to install both test and tiny test + + Signed-off-by: Keith Packard + +commit 0d9a3e0378f84ffc8447747150066eae33cd3229 +Author: Keith Packard +Date: Thu Jan 4 02:28:13 2018 -0800 + + altos/scheme: Add vector and string funcs. Test everybody. + + Add a bunch of string and vector functions from r7rs. I think most + everything is here now. + + Signed-off-by: Keith Packard + +commit d34f01110d8770ac99556901143a54c3d492cde0 +Author: Keith Packard +Date: Thu Jan 4 02:27:11 2018 -0800 + + altos/scheme: Accept more escaped character constants + + Allow all those specified in r7rs + + Signed-off-by: Keith Packard + +commit 243baa14a62e3efe5ae792c73db75f9c2cb86abb +Author: Keith Packard +Date: Thu Jan 4 02:26:21 2018 -0800 + + altos/scheme: Allow make-vector value param to be optional + + It can default to #f + + Signed-off-by: Keith Packard + +commit a6e01e7aafb1d1fdb15d633ec23d8fe51afd15df +Author: Keith Packard +Date: Thu Jan 4 02:25:45 2018 -0800 + + altos/scheme: Add builtin list-tail + + This is used enough to warrant a builtin, rather than lisp implementation + + Signed-off-by: Keith Packard + +commit e030fba5ab556c88af918d08e1b62e63d6605638 +Author: Keith Packard +Date: Thu Jan 4 02:24:15 2018 -0800 + + altos/scheme: Fix macro-detection debugging + + Just update to use ao_scheme_printf + + Signed-off-by: Keith Packard + +commit 036a5311cbc86dbc5a8f859778d52d588915e4e2 +Author: Keith Packard +Date: Thu Jan 4 02:23:40 2018 -0800 + + altos/scheme: add make-string builtin + + Allocate a blank string. + + Signed-off-by: Keith Packard + +commit 0a0327330dcbf5531cd0f8ca8b912fa51ef44f13 +Author: Keith Packard +Date: Thu Jan 4 02:22:02 2018 -0800 + + altos/scheme: Make constant built pool as large as possible + + This allows building with as much constant data as will fit. + + Signed-off-by: Keith Packard + +commit 637795fcf8ca52af431acec183cc961dae121e57 +Author: Keith Packard +Date: Wed Jan 3 14:58:57 2018 -0800 + + altos/scheme: Make for-each tail recursive + + Provides a native version of for-each that is tail recursive, rather + than having it just use map and discard the return value. + + Signed-off-by: Keith Packard + +commit 7bfc1eda398e8767e352cd6396ac61c7ea021079 +Author: Keith Packard +Date: Wed Jan 3 14:57:39 2018 -0800 + + altos/scheme: Add start/end args to vector->list + + This is an r7rs extension which allows you to extract a subset of the + vector. + + Signed-off-by: Keith Packard + +commit 2bcc178f3cbfd346b134bb3fe700b0512f340fea +Author: Keith Packard +Date: Wed Jan 3 14:56:15 2018 -0800 + + altos/scheme: fix parsing of vector followed by list + + The 'parsing a vector' state value wasn't getting cleared at the end + of the vector, so that (#(1 2) (3 4) returned (#(1 2) #(3 4) + + Signed-off-by: Keith Packard + +commit b7c34a2e5ecff19d61d337b8c84976cc46005ec4 +Author: Keith Packard +Date: Wed Jan 3 14:55:24 2018 -0800 + + altos/scheme: support %x format for scheme printf + + read debugging uses this format. + + Signed-off-by: Keith Packard + +commit fccb5105b79d5b9e2ed052ce5459028015c01741 +Author: Keith Packard +Date: Wed Jan 3 14:53:48 2018 -0800 + + altos/scheme: Add support for hex, octal and binary constants + + Signed-off-by: Keith Packard + +commit 365eee3ebfe73204033089b363687228f97e5d98 +Author: Bdale Garbee +Date: Wed Jan 3 14:43:29 2018 -0600 + + need to push telegps-v2.0 loader .bin file to corporate repo, too + +commit fc63968f90e3fab12e63d973a4ee7f16d80d765f +Author: Keith Packard +Date: Sun Dec 24 14:29:09 2017 -0800 + + altos/scheme: Pull out per-frame vals while printing list of frames + + Was using the same vals for all frames, which just doesn't work well. + + Signed-off-by: Keith Packard + +commit 7b5892f75a75363a656ede8befb419245aa218b5 +Author: Keith Packard +Date: Sun Dec 24 14:28:29 2017 -0800 + + altos/scheme: Add separate floor-quotient builtin + + Does what 'quotient' did before, now quotient rounds towards zero + while floor-quotient rounds down. + + Signed-off-by: Keith Packard + +commit d95486be96fe989f6984b3452c5c5d92897c5606 +Author: Bdale Garbee +Date: Thu Dec 21 20:40:28 2017 -0700 + + update Releasing with wisdom from 1.8.4 release process + +commit 16a9d8617b2d2092d166a85ada4349601afb0dce +Author: Bdale Garbee +Date: Thu Dec 21 19:06:22 2017 -0700 + + releasing 1.8.4 + +commit dbb78c8222c45f4430601deee0194b0c9dc2e79a +Merge: fe38c225 87aab995 +Author: Bdale Garbee +Date: Thu Dec 21 19:05:46 2017 -0700 + + Merge branch 'master' into branch-1.8 + +commit 87aab99521dc44d1d29fbb0b7f227f868f074836 +Author: Keith Packard +Date: Thu Dec 21 17:37:10 2017 -0800 + + Bump for version 1.8.4 + + Signed-off-by: Keith Packard + +commit 4bcdc106df2c5e8572570e57b4d97121df94799a +Author: Keith Packard +Date: Thu Dec 21 17:36:24 2017 -0800 + + Doc updates for version 1.8.4 + + Signed-off-by: Keith Packard + +commit 46304aa257635d14afc4d8567eedba0f93a5742f +Author: Keith Packard +Date: Tue Dec 19 16:57:33 2017 -0800 + + altos/micropeak: Remove all compiler results + + Not just the current version. + + Signed-off-by: Keith Packard + +commit 99299986e194337b05ee81cfb7c4aa1cb9e9a74e +Author: Keith Packard +Date: Tue Dec 19 16:56:33 2017 -0800 + + altos/attiny: Add ADC implementation + + It's primitive, but might serve to read ADC values. Untested. + + Signed-off-by: Keith Packard + +commit 342132a8869d530b6893bb84becf03cb30490600 +Author: Keith Packard +Date: Tue Dec 19 16:21:23 2017 -0800 + + ao-bringup: turnon_easymini was left with dfu_util disabled + + This was presumably changed for some test and left in the wrong + state. + + Signed-off-by: Keith Packard + +commit 6d05747941b8e31afb1f8522ac0b8c1ad12aa90f +Author: Keith Packard +Date: Tue Dec 19 16:19:40 2017 -0800 + + altos/easymini-v2.0: Adapt to final hardware pin assignment changes + + Beeper moved from PB0 to PB1 (Tim3 CH4) + Drogue fire moved from PB6 to PB3 + Bootloader moved from PB1 to PB6 + + Signed-off-by: Keith Packard + +commit 9826845f952abe898f029e31cc0f7080708e2eae +Author: Keith Packard +Date: Tue Dec 19 13:09:24 2017 -0800 + + altos/lambdakey-v1.0: Add back and/or macros + + With scheme shrinking a bit, there's now space for these useful macros. + + Signed-off-by: Keith Packard + +commit ed1f7b79abc7400a54b35fbf62c9db6855f9129a +Author: Keith Packard +Date: Tue Dec 19 12:39:20 2017 -0800 + + altos/scheme: Replace per-type indexed stash with poly stash heap + + Instead of having a random set of stash arrays with explicit indices + used by callers, just have a general heap. Less error prone, and less code. + + Signed-off-by: Keith Packard + +commit 71fb79492cb955af4bd52e79f1fa69d17e084dbc +Author: Keith Packard +Date: Tue Dec 19 12:16:24 2017 -0800 + + altos/scheme: Replace memory pool macros with inlines + + AO_SCHEME_IS_CONST -> ao_scheme_is_const_addr + AO_SCHEME_IS_POOL -> ao_scheme_is_pool_addr + + Provides better typechecking and avoids confusion with + ao_scheme_is_const inline (which takes an ao_poly instead of a void *) + + Signed-off-by: Keith Packard + +commit 34f998d147d08e966daad1ab76c40906018d3d8d +Author: Keith Packard +Date: Tue Dec 19 11:51:33 2017 -0800 + + altos/scheme: AO_SCHEME_IS_CONS -> ao_scheme_is_cons + + This inline was already defined; just use it. Also, switch some places + to use ao_scheme_is_pair instead as appropriate. + + Signed-off-by: Keith Packard + +commit fa6f4b331db9d37da6767005fd375b696485b46b +Author: Keith Packard +Date: Tue Dec 19 11:43:23 2017 -0800 + + altos/scheme: ao_scheme__cons -> ao_scheme_cons + + Fix the double underscore in this name. Ick. + + Signed-off-by: Keith Packard + +commit 00390fb09f47654905824af671b966ffca0a38b3 +Author: Keith Packard +Date: Tue Dec 19 11:40:08 2017 -0800 + + altos/scheme: Don't optimize ao_scheme_make_const + + Performance isn't interesting, and it's nice to have a bare system + ready for debugging. + + Signed-off-by: Keith Packard + +commit ba472dda57e134fe0f0e4a571a6d0c1e5a1ea6eb +Author: Keith Packard +Date: Tue Dec 19 11:39:39 2017 -0800 + + altos/scheme: Clean up test CFLAGS + + make it easy to switch between debug and optimized builds. + + Signed-off-by: Keith Packard + +commit 53b99e0419cb44c7983e41026bf0430deae58940 +Author: Keith Packard +Date: Tue Dec 19 11:37:33 2017 -0800 + + altos/scheme: (define (foo . bar)) has a pair, not list as card + + When defining a lambda with varargs, the args are not a list as the + final element is not a pair or nil. Use pair? instead of list? to + detect this form correctly. + + Signed-off-by: Keith Packard + +commit fbe5dc9f215e7014aa8f9d325c1fba939816be03 +Author: Keith Packard +Date: Tue Dec 19 11:35:09 2017 -0800 + + altos/scheme: apply also needs to not free value list on lambdas + + When apply is invoked on any function, the cons in the argument list + cannot be immediately freed as they have been passed to the + function. That applies to both built-ins as well as lambdas; this + patch removes the special ao_scheme_skip_cons_free global and just + marks the stack in both cases. + + Signed-off-by: Keith Packard + +commit 431165e5fa72ba6dffd477de32960745cdec332c +Author: Keith Packard +Date: Tue Dec 19 11:33:36 2017 -0800 + + altos/scheme: Rework display/write code + + Unify output functions and add bool to switch between write and + display mode. Make that only affect strings (as per r⁷rs). + + Use print recursion detection in frame and stack code, eliminating + PRINT flags in type field. + + Signed-off-by: Keith Packard + +commit 5628b983497d9d03e10cccee157419210a49cfa9 +Author: Keith Packard +Date: Mon Dec 18 02:14:57 2017 -0800 + + altos/scheme: Compile scheme test with -O3 + + This level of optimization caused trouble, so use it all of the time. + + Signed-off-by: Keith Packard + +commit 6593570418e087b9f83ed7f90303d4e1e7d20e83 +Author: Keith Packard +Date: Mon Dec 18 02:12:04 2017 -0800 + + altos/scheme: Work around gcc 7.2.0 optimization bug in memory manager + + After marking a set of memory chunks, it's possible that all of them + will be packed tight against 'top', in which case none of them will be + moving. In that case, gcc 7.2.0 appears to generate incorrect code + causing the loop to be abandoned, meaning that we don't actually + collect anything at all. + + Add a quick short-circuit test just after the mark phase that skips + the code which wouldn't do anything in this case. + + Signed-off-by: Keith Packard + +commit 9f1849e548e35498f88a0b8adbbc4a57c7a39222 +Author: Keith Packard +Date: Mon Dec 18 02:11:07 2017 -0800 + + altos/scheme: rearrange debugging defines + + Allow applications to redefine these as desired, add more flexibility + in what the various memory debugging flags can do. + + Signed-off-by: Keith Packard + +commit 2def6abebb3d14a29fe0e03bac09b9d74d2d1578 +Author: Keith Packard +Date: Mon Dec 18 02:08:23 2017 -0800 + + altos/scheme: abort when we try to print an invalid value + + This can catch a host of interpreter bugs; best to abandon the program + when it happens. + + Signed-off-by: Keith Packard + +commit e1a6b3bf458f311d832aea7eec34935d42f8efed +Author: Keith Packard +Date: Sun Dec 17 22:22:50 2017 -0800 + + altos/scheme: Use memory manager mark code to note recursive print + + This flags any object being printed and checks before recursing to + avoid infinite loops. + + Signed-off-by: Keith Packard + +commit 9d1131da911f7220ac8b6cb7ba5a0afd3deef657 +Author: Keith Packard +Date: Sun Dec 17 22:19:38 2017 -0800 + + altos/scheme: Use AO_SCHEME_IS_CONS in cons memory funcs + + More efficient than ao_scheme_poly_type as it doesn't care about + non-prim types. + + Signed-off-by: Keith Packard + +commit b866b3ca249dce61f8ff16c8d28514d1b80386d7 +Author: Keith Packard +Date: Thu Dec 14 23:10:43 2017 -0800 + + ao-bringup/test-chaoskey: Make finding most recent device more reliable + + Use dmesg -t to strip off the timestamp, which avoids having a + variable number of fields for awk to look at. + + Signed-off-by: Keith Packard + +commit a4c9233aa8a2f1b1dca6580d6d6275b48c40f01f +Author: Keith Packard +Date: Thu Dec 14 23:09:02 2017 -0800 + + altos/lambdakey-v1.0: shrink scheme code to fit the ROM + + scheme has grown a bit; adapt + + Signed-off-by: Keith Packard + +commit 32f6877288ea6b7eb1cae9a42fbe8e2c5dbb2f08 +Author: Keith Packard +Date: Thu Dec 14 23:04:39 2017 -0800 + + altos/scheme: swap BIGINT and STRING types + + This lets BIGINT be a primitive type, allowing it to use all 32 bits + for storage. This does make strings another byte longer, and also + slightly harder to deal with. It's a trade off. + + Signed-off-by: Keith Packard + +commit 2e11cae044cd2c053049effd76df9c5adecb84d7 +Author: Keith Packard +Date: Tue Dec 12 18:07:06 2017 -0800 + + altos/scheme: integer? is builtin on all versions + + Signed-off-by: Keith Packard + +commit 0614c653a8ca8c4ccbf59d34296ca4b3e7d9f3a0 +Author: Keith Packard +Date: Tue Dec 12 18:02:17 2017 -0800 + + altos/lambdakey-v1.0: Make stack larger + + scheme doesn't like to run with less than a 1kB stack. + + Signed-off-by: Keith Packard + +commit 839a7454686415a52f532d0e4f379061a68d5f1b +Author: Keith Packard +Date: Tue Dec 12 18:01:21 2017 -0800 + + altos/scheme: inline some mem calls to reduce stack usage. + + Also includes some code to display stack usage during collect calls. + + Signed-off-by: Keith Packard + +commit c490efdf90befdf048ff7d9cbbe26bcc6f942820 +Author: Keith Packard +Date: Tue Dec 12 18:00:12 2017 -0800 + + altos/scheme: Use direct calls from frame to frame_vals mem functions + + Avoids the extra stack depth of the poly versions. + + Signed-off-by: Keith Packard + +commit ca27d467198c556be483961a6ca3b8f97bbe96a6 +Author: Keith Packard +Date: Tue Dec 12 17:59:26 2017 -0800 + + altos/scheme: More compiler warning cleanups + + Make local funcs static. Don't mix decls and code.x + + Signed-off-by: Keith Packard + +commit 4bfce37e7567d9c2a09ea4da8113e7639516ed6e +Author: Keith Packard +Date: Tue Dec 12 17:54:03 2017 -0800 + + altos/scheme: apply const to places taking const strings. + + Mostly printf and friends. + + Signed-off-by: Keith Packard + +commit 28dbe9a04b16f79db255baecbf0cd486c510ef58 +Author: Keith Packard +Date: Tue Dec 12 15:31:27 2017 -0800 + + altos/stm: Align 'data' to 8 bytes, just like textram + + The textram section must be aligned to 8 bytes to keep the linker + happy. However, if that section contains no data, the declaration will + set the __data_start__ value to that alignment, but the data section + itself would start on a 4-byte alignment, potentially 4 bytes lower + than the value indicated by __data_start__. This completely scrambles + initialized memory as the startup code will copy the data segment to + __data_start__, 4 bytes off of the actual data segment start. + + Fix this by forcing the data segment to also be aligned to 8 bytes. + + Signed-off-by: Keith Packard + +commit db352bd0723e8d640bb034bc14e5ad193f0afe1d +Author: Keith Packard +Date: Tue Dec 12 15:30:45 2017 -0800 + + altos/kernel: Allow ao_cmd to be built without tasking + + Useful for single-threaded applications, like lambdakey + + Signed-off-by: Keith Packard + +commit 09ea349f5b37e257e8ca23ead493ba1694395530 +Author: Keith Packard +Date: Tue Dec 12 15:27:26 2017 -0800 + + altos/lambdakey-v1.0: Get this building again + + The lambdakey can't hold a full implementation of the scheme + interpreter, so use only a subset, removing floats, bigints and + vectors. Also reduce the pre-loaded lisp code as well. + + It's pretty spare at this point; but it does fill the ROM. + + Signed-off-by: Keith Packard + +commit d8c9024f3829dc3f241b16869f165f3ee01764f3 +Author: Keith Packard +Date: Tue Dec 12 15:25:51 2017 -0800 + + altos/scheme: Support scheme subsetting via feature settings + + This provides for the creation of smaller versions of the interpreter, + leaving out options like floating point numbers and vectors. + + Signed-off-by: Keith Packard + +commit a15166c435f65cb36f487ec8e5a4ff558a7e0502 +Author: Keith Packard +Date: Tue Dec 12 15:15:41 2017 -0800 + + altos/scheme: Add ao_scheme_vector.c + + Useful to include the code for implementing vectors + + Signed-off-by: Keith Packard + +commit 5cf77306257517a3d1ec8cea85fca34f576a8f22 +Author: Keith Packard +Date: Mon Dec 11 22:36:00 2017 -0800 + + doc: Don't 'publish' release notes, don't build pdf release notes + + All we use the release notes for is to include into the main AltOS + page. Also remove the docinfo for these files so that information + isn't duplicated for each set of release notes. + + Signed-off-by: Keith Packard + +commit 40236913922e0395780cd7d90354546ecaf279f9 +Author: Bdale Garbee +Date: Mon Dec 11 22:15:46 2017 -0700 + + update Releasing with changes discovered in 1.8.3 release process + +commit fe38c22595b050435dbacd35f1baae064fb7de75 +Author: Bdale Garbee +Date: Mon Dec 11 21:38:59 2017 -0700 + + releasing 1.8.3 + commit ea0aa97fb93e669868a6f2c49c5d4b46e7615b1f Merge: 216ea638 9adf8b23 Author: Bdale Garbee