X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;h=90220e0de1c7021b1cb705bde660a455796bd859;hb=55b62bb5d6a9d6b484bcd0d802964d529dd5f9bb;hp=94cb587509ff8a4274079c4f1ec8265bf4dcc521;hpb=b12e982259817328e348f1aaa91c5c824891e7b9;p=fw%2Faltos diff --git a/ChangeLog b/ChangeLog index 94cb5875..90220e0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,2249 @@ +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 +Date: Mon Dec 11 21:37:48 2017 -0700 + + Merge branch 'master' into branch-1.8 + +commit 9adf8b23aac8256f230b10adcab9dd323266caaa +Author: Bdale Garbee +Date: Mon Dec 11 21:33:21 2017 -0700 + + TeleMega default is now v3.0 + +commit b4d78ad85e8f5b1bee78746d63bb4b069e087e5a +Author: Keith Packard +Date: Mon Dec 11 16:30:46 2017 -0800 + + doc: Update release notes and docinfo for 1.8.3 + + Signed-off-by: Keith Packard + +commit 2efb997865ee46bf0e8d5145c95d051a7656222a +Author: Keith Packard +Date: Mon Dec 11 14:42:45 2017 -0800 + + altoslib: Keep old GPS values when updating data + + This way, updating satellite information doesn't drop all of the + regular GPS data on the floor. + + Signed-off-by: Keith Packard + +commit fa3ff3a089e4af88dd0cc9a9e92511a0ba4a8e0f +Author: Keith Packard +Date: Mon Dec 11 14:08:32 2017 -0800 + + altos: Actually store current MPU9250 data in data ring + + The ring is updated when the ADC finishes; all of the other sensor + data needs to be copied in at that point. + + Signed-off-by: Keith Packard + +commit 962df1f8c7f7ffbebe9b32d6ac363b333af606b3 +Author: Keith Packard +Date: Mon Dec 11 13:47:54 2017 -0800 + + altos: Remove more software for hardware prototypes + + These never saw the light of day. + + Signed-off-by: Keith Packard + +commit 05efe58cb13b58292527668ca51639eaebe1112b +Author: Bdale Garbee +Date: Mon Dec 11 14:44:15 2017 -0700 + + take telescience out of the routine builds + +commit 713e8ca6b6cfb29555d8d847e0bb2652cfe011ae +Author: Keith Packard +Date: Mon Dec 11 12:23:29 2017 -0800 + + Bump to version 1.8.3 + + Signed-off-by: Keith Packard + +commit 992797db2158b23d46c496e5e223deeca28bf4c9 +Author: Keith Packard +Date: Mon Dec 11 12:23:00 2017 -0800 + + doc: Note TeleMega v3.0 support in 1.8.3 relnotes + + Signed-off-by: Keith Packard + +commit 8d65e7b367712075a42d26c6d4bbff474dc1ae14 +Author: Keith Packard +Date: Tue Dec 5 12:22:34 2017 -0800 + + altos/drivers: Hook up mag sensor for MPU9250 + + Set mag sensor to provide data at 100Hz. + Set i2c master to pull mag data at sample rate (200Hz). + + Signed-off-by: Keith Packard + +commit ec638405045d33d48476ab85edf09a2e1756e3e3 +Author: Keith Packard +Date: Sun Dec 10 18:35:53 2017 -0800 + + altos/scheme: Allow ao_scheme_read_eval_print to be restarted + + Reset exceptions at the top so that we can call it more than once. + + Signed-off-by: Keith Packard + +commit 8ebecd364fd328e9c649c11729bddf58731aaafb +Author: Keith Packard +Date: Sun Dec 10 18:34:49 2017 -0800 + + altos: Allow building with newlib + avr stdio on ARM + + Redefines some stdio bits so that we can build with either pdclib or + newlib + avr stdio. + + Signed-off-by: Keith Packard + +commit b0de72d942eb87c5acd190878dd57ca4f812e8a1 +Author: Keith Packard +Date: Sun Dec 10 18:32:18 2017 -0800 + + altos: Add scheme for stm discovery board demo + + Signed-off-by: Keith Packard + +commit 655576011e9cc648c7c4bbf51179744a427ff237 +Author: Keith Packard +Date: Sun Dec 10 18:21:01 2017 -0800 + + altos/lambdakey-v1.0: Switch to newlib, get things compiling again + + scheme is now way too large to fit on this device; some subsetting is + clearly indicated. + + Signed-off-by: Keith Packard + +commit 7d77071f5b45632937f262600ca95c7b71f4d3da +Author: Keith Packard +Date: Sun Dec 10 16:55:57 2017 -0800 + + altos/scheme: Add Makefile for scheme test app + + Signed-off-by: Keith Packard + +commit dd2ed58fcdffaff7b5a9ef898affa3e1ec01ef44 +Author: Keith Packard +Date: Sun Dec 10 16:54:50 2017 -0800 + + altos/scheme: Make test scheme app heap maximum size + + It's only 32kB. + + Signed-off-by: Keith Packard + +commit 3e7a703bb2e70a0568b44159b993386f7ec46e04 +Author: Keith Packard +Date: Sun Dec 10 16:53:25 2017 -0800 + + altos/scheme: Make eqv? work for numbers and strings + + Large numbers, floats and strings need a value check, not just a + comparison between ao_polys + + Signed-off-by: Keith Packard + +commit bdafb4dfad89d92efec37ed826d5f22e9167e717 +Author: Keith Packard +Date: Sun Dec 10 16:52:26 2017 -0800 + + altos/scheme: Stash cons across value allocation in compare + + Large ints, strings and floats can cause allocation, requiring that + the 'cons' pointer be stashed and retrieved in case it moved. + + Signed-off-by: Keith Packard + +commit b72638e60b6636b479b79bbf0047cf7409f58820 +Author: Keith Packard +Date: Sun Dec 10 16:51:25 2017 -0800 + + altos/scheme: add list-copy + + A lot easier as a built-in; the obvious scheme version is recursive. + + Signed-off-by: Keith Packard + +commit 7517da1646fc30faaa9ee1c969cfa35ae1a17423 +Author: Keith Packard +Date: Sun Dec 10 16:50:06 2017 -0800 + + altos/scheme: Use 64-bit ints to track memory allocation stats + + These are only collected for debug purposes, but can get quite large + if the interpreter runs for a while. + + Signed-off-by: Keith Packard + +commit 7e14e243565e814ddd524c8d09454719dc89c6d8 +Author: Keith Packard +Date: Sun Dec 10 13:13:27 2017 -0800 + + altos/scheme: Add a bunch of string and vector builtins + + Just make the language closer to r7rs + + Signed-off-by: Keith Packard + +commit 6d14f809b54b99725447a934047167c2e7febe82 +Author: Bdale Garbee +Date: Mon Dec 11 10:17:40 2017 -0700 + + TeleMega v3.0 turnon scripts + +commit d1d98e408311c5ba18138a18f4c88448e4254626 +Merge: 2f8fce1c abb856cd +Author: Bdale Garbee +Date: Mon Dec 11 10:16:24 2017 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit abb856cd66e00d739e4efb1930b5c168eaf48029 +Author: Keith Packard +Date: Sun Dec 10 00:02:34 2017 -0800 + + altos/scheme: Avoid crashing with non-list in length + + Use ao_scheme_cons_cdr to fetch the next list element as that returns + NULL for non-cons elements. + + Signed-off-by: Keith Packard + +commit 17fe6de833cccb6d43d0ac0ed84a4faaa3463a09 +Author: Keith Packard +Date: Sun Dec 10 00:02:00 2017 -0800 + + altos/scheme: Add vectors + + Constant time and smaller can be a feature. + + Signed-off-by: Keith Packard + +commit 0d3365e2c04793cd8432c30a66881f53385a2e60 +Author: Keith Packard +Date: Sun Dec 10 00:00:23 2017 -0800 + + altos/scheme: Fix name of constant scheme file + + .lisp -> .scheme + + Signed-off-by: Keith Packard + +commit 111622dbcd56c225a9d5ace9f0ef745e62f8a94c +Author: Keith Packard +Date: Sat Dec 9 16:57:35 2017 -0800 + + altoslib: Fix 8 to 12 bit conversion for Mega pyro voltage data + + The conversion was losing the replicated top four bits by shifting by + the wrong amount. + + Signed-off-by: Keith Packard + +commit 1133130986a78628ea297ce1f6a023baf4382d8f +Author: Keith Packard +Date: Sat Dec 9 16:56:20 2017 -0800 + + altos/scheme: Let readline know if there's a list in progress + + This lets the interactive prompt change based on what state the lexer + is in + + Signed-off-by: Keith Packard + +commit 2f8fce1cf6ce4bd12a836cc8ee15f4edbc95c95e +Merge: d314a565 185b1136 +Author: Bdale Garbee +Date: Tue Dec 5 13:23:09 2017 -0700 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 185b11367cd85948885fceafb5d46303b6f1356d +Author: Keith Packard +Date: Tue Dec 5 12:22:34 2017 -0800 + + altos/drivers: Start adding defines to get mag data out of MPU9250 + + Signed-off-by: Keith Packard + +commit d314a5654fafa5eac86d8293f1197a2f2c2eac72 +Author: Bdale Garbee +Date: Tue Dec 5 13:18:45 2017 -0700 + + moving to TeleMega v3.0 by default + +commit 1bf219209c8d9e31a9c3726dad169ff5d17ed4b2 +Author: Bdale Garbee +Date: Tue Dec 5 13:17:18 2017 -0700 + + handle repeated invocations without failing as often + +commit 2aa02234b1ac2b1701b44fcec9e9bd82bea526b7 +Author: Keith Packard +Date: Tue Dec 5 10:48:04 2017 -0800 + + altos/cortexelf-v1: Adapt to lisp->scheme name change + + Signed-off-by: Keith Packard + +commit 038581bd212e66bcf017c7ace28c80a3ae0d0f50 +Author: Keith Packard +Date: Tue Dec 5 10:42:02 2017 -0800 + + altos/scheme: Add explicit dependency on ao_scheme_builtin.h for ao_scheme_make_const + + This ensures that a parallel build will wait for ao_scheme_builtin.h + to be complete before attempting to compile ao_scheme_make_const + + Signed-off-by: Keith Packard + +commit bd7a19a86f6d4fe19c7e72904e9b8ac0f2081ff7 +Author: Keith Packard +Date: Tue Dec 5 10:38:14 2017 -0800 + + altos/scheme: Move scheme test program to scheme sub-directory + + Keeps it away from the usual test setup + + Signed-off-by: Keith Packard + +commit 195cbeec19a6a44f309a9040d727d37fe4e2ec97 +Author: Keith Packard +Date: Tue Dec 5 10:29:13 2017 -0800 + + altos/scheme: Rename to 'scheme', clean up build + + Constant block is now built in a subdir to avoid messing up source + directory. + + Renamed to ao_scheme to reflect language target. + + Signed-off-by: Keith Packard + +commit 9dbc686ad7d3289dc0f9bcf4a973f71100e02ded +Author: Keith Packard +Date: Sun Dec 3 19:54:18 2017 -0800 + + altos/lisp: Switch to scheme formal syntax for varargs + + Scheme uses bare symbols to indicate a varargs parameter; any bare + (i.e., not wrapped in a cons cell) parameter will get the 'rest' of + the parameter list. This works for lambdas, nlambdas and macros. As a + result, the 'lexpr' form has been removed as it is equivalent to a + lambda with a varargs formal. + + Signed-off-by: Keith Packard + +commit a1d013ab8cc508d4e17ae8876bc5465d1a2dfc1e +Author: Keith Packard +Date: Sun Dec 3 19:52:11 2017 -0800 + + altos/lisp: Fix stash usage across frame allocation + + Must un-stash before allocation failure check. + Use frame_stash instead of poly_stash for frames. + + Signed-off-by: Keith Packard + +commit 32ab76c3049b913283caafbaef873754d76dc9d4 +Author: Keith Packard +Date: Sun Dec 3 19:49:20 2017 -0800 + + altos/lisp: Check only cdr base type when moving cons cells + + The cdr may have moved, so we can't look at the target object + type. Fortunately, the base type encoded in the reference itself is + sufficient to check for a non-cons cdr. + + Signed-off-by: Keith Packard + +commit ed6967cef5d82baacafe1c23229f44d58c838326 +Author: Keith Packard +Date: Sun Dec 3 19:47:03 2017 -0800 + + altos/lisp: Split out read debug, add memory validation + + Split read debug into a separate #define to reduce debug noise + Add some memory validation -- validate stash API, and validate + cons_free calls. + + Signed-off-by: Keith Packard + +commit b9009b3916956db00b7b78bd06fb0df704690eb1 +Author: Keith Packard +Date: Sat Dec 2 23:21:55 2017 -0600 + + altos/lisp: use strtof instead of atof + + atof returns double, strtof returns float. + + Signed-off-by: Keith Packard + +commit 880c35363a2596202c8a3d980bf4ac41eceead66 +Author: Keith Packard +Date: Sat Dec 2 23:21:01 2017 -0600 + + altos/lisp: Convert more builtin lisp code to scheme format + + Use defines where possible, use (define (name args ...)) form for lambdas + + Signed-off-by: Keith Packard + +commit 577911241db454bc3129fc47566c6a55752c4182 +Author: Keith Packard +Date: Sat Dec 2 23:19:44 2017 -0600 + + altos/lisp: Overflow int computations to float + + When an int computation overflows, switch to float. + + Signed-off-by: Keith Packard + +commit b986a12b478a6d4ff550786d24aa8628dc0abe32 +Author: Keith Packard +Date: Sat Dec 2 15:59:17 2017 -0600 + + altoslib: Add support for TeleMega v3.0 log files + + These look much like TeleMega v2.0 log files, except that the mag + sensor data now comes from the mpu9250 instead of an external + hmc5883. The gyro and 3-axis accel data from the mpu9250 are the same + as the mpu6000. + + Signed-off-by: Keith Packard + +commit 8c19778d8b56aafa048ddf9654c40b32bd8c64b0 +Author: Keith Packard +Date: Sat Dec 2 15:53:05 2017 -0600 + + altos: Build TeleMega v3.0 by default + + Signed-off-by: Keith Packard + +commit ecc075596d6cd2b9c0a3107036d5368ebc3a77bd +Author: Keith Packard +Date: Sat Dec 2 15:31:06 2017 -0600 + + altos: Add TeleMega v3.0 + + Adds files to build telemega v3.0 flash loader and firmware + + Signed-off-by: Keith Packard + +commit f0068719b17019c5cd7ed318364a0581caf64e1a +Author: Keith Packard +Date: Sat Dec 2 15:32:38 2017 -0600 + + altos/kernel: MPU9250 support + + Use MPU9250 for accel, gyro and mag data in logging, telemetry and + flight status computations. + + Signed-off-by: Keith Packard + +commit c31744299e5a4342bbe26d3735ee2d8f09192ae9 +Author: Keith Packard +Date: Fri Dec 1 15:40:23 2017 -0600 + + altos/lisp: split set/def. Add def support to lambdas + + In scheme, set can only re-define existing variables while def cannot + redefine existing variables in lambda context. Def within lambda + creates a new variable at the nearest enclosing scope. + + Signed-off-by: Keith Packard + +commit 98923ae1189f062b8b94120d47a56892db25493f +Author: Keith Packard +Date: Fri Dec 1 18:28:16 2017 +0100 + + altos/lisp: Split out frame vals from frame struct + + This lets the frame be resized without moving the base structure. The + plan is to allow all frames to be resized, not just the global frame. + + Signed-off-by: Keith Packard + +commit 835bf4131f9e20575bfdf2179462ebdf54a14761 +Author: Keith Packard +Date: Fri Dec 1 12:06:04 2017 +0100 + + altos/lisp: Make let distinct from let* + + let is supposed to define the values all at once, evaluating the + initializers in the enclosing context. let* defines the new names and + then initializes them one at a time. + + Signed-off-by: Keith Packard + +commit 5d0b85f25fa1e5cc816a8256afb38cf9552f6d9d +Author: Keith Packard +Date: Fri Dec 1 11:32:27 2017 +0100 + + altos/lisp: return from unmatched cond is #f, not nil + + Fix the return value when we fall off the end of a cond expression to + be #f + + Signed-off-by: Keith Packard + +commit 796017262cd433af5d143cc7168c944e1e05f4e2 +Author: Keith Packard +Date: Fri Dec 1 11:31:29 2017 +0100 + + altos/lisp: Fix pairp builtin + + Pairs are non-nil cons values; add an explicit check for nil here + + Signed-off-by: Keith Packard + +commit cd0bd9791a77868c226d285bf4d57e8c321755d5 +Author: Keith Packard +Date: Fri Dec 1 10:12:38 2017 +0100 + + altos/lisp: Add quasiquote + + This adds read support for quasiquote syntax, and then adds a + quasiquote implementation in lisp + + Signed-off-by: Keith Packard + +commit 00bf2ca86b60e6501880011897cea073865c5a03 +Author: Keith Packard +Date: Sat Nov 25 17:29:10 2017 -0800 + + altos/lisp: Rename progn to begin + + Match scheme name. + + Signed-off-by: Keith Packard + +commit 5f9f97cc2d43936d1941da3a9a130c279bc70b99 +Author: Keith Packard +Date: Sun Nov 19 21:07:23 2017 -0800 + + altos/test: Update to build altos lisp test app + + Signed-off-by: Keith Packard + +commit 6d2f271a45759bd792d299f04a424d3382ef4798 +Author: Keith Packard +Date: Sun Nov 19 21:07:00 2017 -0800 + + altos/lisp: Add floats + + Signed-off-by: Keith Packard + +commit 12a1f6ad48f2b924f71239effeb90afca75a090f +Author: Keith Packard +Date: Sat Nov 18 22:00:44 2017 -0800 + + altos/lisp: Fix some scheme compat issues + + flush -> flush-output + nth -> list-ref (oh, and add list-tail) + add let* (same as let for now) + write control chars in octal + make hanoi example work + + Signed-off-by: Keith Packard + +commit 5f8f0ed5cd5d4b4f793c602ed09f9b4bdb98f7e8 +Author: Keith Packard +Date: Sat Nov 18 20:38:15 2017 -0800 + + altos/lisp: Add 'big' ints -- 24 bits wide + + With the default ints being only 14 bits, having a larger type with + more precision seems useful. This is not exposed to the application. + + Signed-off-by: Keith Packard + +commit e745229311366a792110d78d8480a2bf83eef9a0 +Author: Keith Packard +Date: Fri Nov 17 23:28:08 2017 -0800 + + altos/cortexelf-v1: Make lisp compile again + + Signed-off-by: Keith Packard + +commit 65fb0ad8693407cc9bd114424c1f51b6aa6befc3 +Author: Keith Packard +Date: Fri Nov 17 23:27:36 2017 -0800 + + altos/test: Add jiffy funcs to lisp test + + Signed-off-by: Keith Packard + +commit cf5729a0bae51172f12fc9ec4339d4e975a45fcc +Author: Keith Packard +Date: Fri Nov 17 23:23:50 2017 -0800 + + altos/lisp: Finish first pass through r7rs + + * print -> write, patom -> display + * Add read-char, write-char + * Add exit, current-jiffy, current-second, jiffies-per-second + * Add for-each and string-for-each + * Avoid duplicate builtins with different atoms + + Signed-off-by: Keith Packard + +commit e1acf5eb12aceda7aa838df031c1da1129d0fa5d +Author: Keith Packard +Date: Fri Nov 17 22:14:19 2017 -0800 + + altos/lisp: Add apply + + And all of the library routines that use it, map, string-map and friends. + + Signed-off-by: Keith Packard + +commit a4e18a13029cc7b16b2ed9da84d6e606bc725ac3 +Author: Keith Packard +Date: Fri Nov 17 08:50:50 2017 -0800 + + altos/lisp: Character consts. String and assoc builtins. + + Also add back escaped characters in strings. + + Signed-off-by: Keith Packard + +commit 5b6f4b5de89a2bb0d63442e2651cf8d2ee0f4b10 +Author: Keith Packard +Date: Fri Nov 17 08:04:28 2017 -0800 + + altos/lisp: Generate built-in lambda atoms for const creation + + Signed-off-by: Keith Packard + +commit cd9152973f29f4e775569f5acbbe8fab2d93d170 +Author: Keith Packard +Date: Thu Nov 16 22:15:06 2017 -0800 + + altos/test: More lisp test Makefile fixes + + Depend on ao_lisp_const.h + + Signed-off-by: Keith Packard + +commit 435a91ae3889cd361b543f4555a78488905e0bbb +Author: Keith Packard +Date: Thu Nov 16 22:13:46 2017 -0800 + + altos/lisp: Lots more scheme bits + + * Arithmetic functions and tests + * append, reverse and list-tail + * set-car! and set-cdr! + + Signed-off-by: Keith Packard + +commit cc76030d669600051fbb42a8cf85701aaaf5f5b7 +Author: Keith Packard +Date: Thu Nov 16 18:47:34 2017 -0800 + + altos/test: Get lisp test building using Makefile-inc + + Instead of re-defining all of the lisp sources and headers + + Signed-off-by: Keith Packard + +commit 2e58b6c380bc6440490c47650fbf11d45b3f2e72 +Author: Keith Packard +Date: Thu Nov 16 18:46:03 2017 -0800 + + altos/lisp: More schemisms + + Add 'if'. + setq -> set!, but doesn't define new variables + def -> define + Add pair? and list? + Add eq? and eqv? as aliases for = + + Signed-off-by: Keith Packard + +commit 0ced351c8f4449f7086b04e42c822d649f040d1f +Author: Keith Packard +Date: Thu Nov 16 18:41:18 2017 -0800 + + altos/lisp: Add 'else' sematics to cond + + Signed-off-by: Keith Packard + +commit b3b4731fcb89cb404433f37a7704a503567c43bd +Author: Keith Packard +Date: Thu Nov 16 17:49:47 2017 -0800 + + altos/lisp: Add scheme-style bools (#t and #f) + + Cond and while compare against #f, just like scheme says to. + + Signed-off-by: Keith Packard + +commit bd881a5b85d7cd4fb82127f92f32e089499b50cb +Author: Keith Packard +Date: Thu Nov 16 13:02:07 2017 -0800 + + altos/lisp: Add non-cons cdr support + + The cdr of a cons can be any value; add support for lexing and + printing them. + + Signed-off-by: Keith Packard + +commit 50a095fbe828b6ec3159d27930712df6b1b519b4 +Author: Keith Packard +Date: Sat Nov 11 21:29:11 2017 -0800 + + doc: Update for 1.8.3 + + Also added a pile of docinfo files for older release notes files. + + Signed-off-by: Keith Packard + +commit 23cf8fb4d5745ad76d9517c9702d03d10c58144a +Author: Keith Packard +Date: Sat Nov 11 20:52:01 2017 -0800 + + altos: Fix new GCC warnings + + * Duplicate 'const' in test code. + * Mis-formatted loop in kf_rem_pio2 + * Unused 'one' in sf_cos + + Signed-off-by: Keith Packard + +commit f3b279141cd30ad6a212ce75f5a7c2b8e3d33870 +Author: Keith Packard +Date: Sat Nov 11 20:50:45 2017 -0800 + + altos: Fix inverted test for corrupt flight log + + Was reporting correct flight log as corrupted. Oops. + + Signed-off-by: Keith Packard + +commit 9a7b4f02ad32ca43a45ed9fe446b8db96e60b5e5 +Author: Keith Packard +Date: Sat Nov 11 20:49:20 2017 -0800 + + altoslib: Improve EEprom download + + * Catch and report CRC errors + * Deal with corrupted flight records + * Add ability to immediately graph new data + * Check before overwriting existing files + + Signed-off-by: Keith Packard + +commit 10834eb60f7a44fee159d9e9ad5ffb2e013fe9cf +Author: Keith Packard +Date: Sat Nov 11 20:46:45 2017 -0800 + + altoslib: Remove spurious semicolon in AltosReplayReader.java + + Signed-off-by: Keith Packard + +commit e80005ea63bb9b1eee33a8876ad74ed5d50478ed +Author: Keith Packard +Date: Sat Nov 11 20:44:27 2017 -0800 + + altoslib: Don't write KML record when height data is missing + + This avoids a crash dealing with corrupted flight data + + Signed-off-by: Keith Packard + +commit a2097545dec62cd0970725bf690128dad6baf22e +Author: Keith Packard +Date: Sat Nov 11 16:38:40 2017 -0800 + + altos/test: Adapt flight test to int16_t flight number type + + Flight numbers are now limited to 32767 to allow for negative values + for corrupted slots. + + Signed-off-by: Keith Packard + +commit 5b6805d1a6a91a26a1892f414a99f0184871ac1a +Author: Keith Packard +Date: Sat Nov 11 16:08:32 2017 -0800 + + altosuilib: New line styles and colors for graphs. Selectable line width + + Improve the readability of graphs by offering a better selection of + colors and adding line styles. Let the user configure the line width + as desired. + + Signed-off-by: Keith Packard + +commit 82e552d194216b41d27d805bee2947127c2d555b +Author: Keith Packard +Date: Thu Nov 2 09:12:18 2017 -0700 + + altos/stm: Add AO_EXTI_MODE_PULL_NONE + + This is clearer than using '0'. + + Signed-off-by: Keith Packard + +commit 5460d7ff46116901bceacd43282b406c446dded5 +Author: Keith Packard +Date: Thu Nov 2 09:11:39 2017 -0700 + + altos: whitespace cleanup in ao_adc_stm.c + + Signed-off-by: Keith Packard + +commit 83929cd290279963b01b2ccd52c70d61bdeff6b0 +Author: Keith Packard +Date: Sun Oct 22 15:44:32 2017 -0500 + + altos: Share common logging code. Deal with corrupt initial flight records + + Move common logging APIs from per-format files into ao_log.c. Then, + change that code to check the first log record in a slot (containing + the flight number) to see if it's invalid and deal with it. That + involves not re-using that slot, and allowing it to be erased. + + Corrupted log blocks are reported with a negative flight number. + + Signed-off-by: Keith Packard + +commit 256ddea8c430b4b5dcb8bb95c19ad26032129e1b +Author: Keith Packard +Date: Sun Oct 22 15:43:07 2017 -0500 + + altos: Define AO_LOG_FORMAT in */ao_pins.h. Use in ao_cmd.c + + Instead of having a global variable define the log format, use a macro + instead to save data space. + + Signed-off-by: Keith Packard + +commit 15af16ad21f67019065763a93d52cea6097a69d1 +Author: Keith Packard +Date: Sun Oct 22 15:39:25 2017 -0500 + + altos: Remove cross-block storage I/O on cc1111 + + We don't ever need to be able to do storage read/write across chunks + of flash on the old cc1111 products, so remove the loops that support + it to save space. + + Signed-off-by: Keith Packard + +commit 749400fd244eba38806c623d2a35722642230698 +Author: Keith Packard +Date: Sun Oct 22 14:04:09 2017 -0500 + + altoslib: Move temp GPS API from cal_data to data_listener + + This makes the API more consistent, and means that the listener is + responsible for mangaing the temp gps state. In particular, the + AltosDataListener set_gps API now calls the cal_data function. + + Signed-off-by: Keith Packard + +commit e98235e314ac764509af26c93da9e6d1de8184ea +Author: Keith Packard +Date: Sat Oct 14 12:18:26 2017 -0700 + + altoslib: Save separate config for local and remote. Use in idle + + When using the remote link, there are two separate configuration data + blocks, that for the local device and for remote. Make the link report + both versions, depending on whether it is in remote mode or not. + + Request config data in remote mode when running idle monitoring so + that the presented data is for the remote device, not the local one. + + Signed-off-by: Keith Packard + +commit 964a14568b73296194f84c728cc7e01d6f0e2f64 +Author: Keith Packard +Date: Sat Oct 14 12:05:07 2017 -0700 + + altoslib: Report un-adjusted ground accel in idle IMU monitor + + The ground accel is the basis of the accel adjustment, so it needs to + be delivered in un-adjusted form. + + Signed-off-by: Keith Packard + +commit 4431f70044f4e1120d606f0ded1845349295d68e +Author: Keith Packard +Date: Thu Oct 12 00:31:26 2017 -0700 + + altos: Add MPU9250 support to self test and data + + The remaining hooks to make the MPU9250 work in flight. + + Signed-off-by: Keith Packard + +commit 77d1aee917306ad59492c4c8352fe2125b430d0c +Author: Keith Packard +Date: Thu Oct 12 00:30:23 2017 -0700 + + altoslib: Fix time series filter window computation + + Small floating point rounding errors could lead to NaNs. + + Signed-off-by: Keith Packard + +commit e04679ba52761d5531037117a21ab1f1896358b0 +Author: Keith Packard +Date: Thu Oct 12 00:29:07 2017 -0700 + + altoslib: Don't crash if there's no GPS coord to write KML + + Just check for null before writing as a precaution. + + Signed-off-by: Keith Packard + +commit a69d5773a63dbe5d6d758cea8eca2bf724e9d672 +Author: Keith Packard +Date: Thu Oct 12 00:26:31 2017 -0700 + + altoslib: Allow gps time later than requested if it's first + + When generating a KML file, we want to position markers near the start + of the flight section. This is done by looking for a GPS coordinate + 'before' the starting point of the flight, which doesn't work well + when the first GPS coordinate is later than that. Pick the first point + after the chosen time if there isn't an earlier one. + + Signed-off-by: Keith Packard + +commit 9d7bb706918fd7d6db77eab21931b4fc74cb9105 +Author: Keith Packard +Date: Thu Oct 12 00:14:30 2017 -0700 + + altos: Add MPU9250 driver (accel/gyro only for now) + + This is almost an exact copy of the MPU6000 driver, just a few minor + register changes. + + Signed-off-by: Keith Packard + +commit c8dbfff65dd61e42d0a02158dcb520e7710ef87e +Author: Keith Packard +Date: Sun Oct 8 18:50:59 2017 -0700 + + altos: Stop storing pyro fired status in config block + + We already have the fired status saved in the ao_pyro_fired variable, + so just use that to detect whether a channel has already been fired. + + Fixes possible cases where the pyro config data gets written back to + eeprom with the fired bit set, which then inhibits the channel during + flight. + + Signed-off-by: Keith Packard + +commit 5d82209122e3b797a7345f6ad5b6710832fcdd4a +Author: Keith Packard +Date: Thu Oct 5 16:46:08 2017 -0700 + + Set version to 1.8.2.1 + + Testing KML export changes at TRA + + Signed-off-by: Keith Packard + +commit 7e971b45f22aa77421061ff2925e0458835014b2 +Author: Keith Packard +Date: Wed Oct 4 13:44:31 2017 -0700 + + altoslib: Missing file for filter additions. + + Signed-off-by: Keith Packard + +commit 2f779d318753b73463f7166977453ab5533e5921 +Author: Keith Packard +Date: Wed Oct 4 13:43:45 2017 -0700 + + altosuilib: Add 'show marker' button to graphs + + Provides a marker at each actual data point which can be useful for + sparse data sets like telemetry with poor reception. + + Signed-off-by: Keith Packard + +commit 730ee7bf91f607ece42c010a10c53d0013492b96 +Author: Keith Packard +Date: Wed Oct 4 13:42:16 2017 -0700 + + altoslib: Adapt KML output to make TRA record people happier + + Provide two paths, one using GPS data the other baro. Replace separate + path segments for each state with markers so that the path is a single + unit, able to be displayed in the elevation profile widget. + + Signed-off-by: Keith Packard + +commit 98dc29a7a964f8d653b73989c6751695d168844c +Author: Keith Packard +Date: Mon Oct 2 19:33:37 2017 -0700 + + altoslib: Add user-selectable filter width for data smoothing + + Also switch smoothing window to Kaiser and change default accel filter + width to 1 second instead of 4 seconds. + + Now users can play with the filter and see what it does. + + Signed-off-by: Keith Packard + +commit d75e8b9046295051c91696461e8d5f59c8260ccc +Author: Keith Packard +Date: Mon Oct 2 17:02:18 2017 -0700 + + altosuilib: Show raw tick values in graph and info table + + Not terribly useful, but did help validate firmware handling of tick + wrapping, so we'll keep it. + + Signed-off-by: Keith Packard + +commit c6be13e8ef80e5afc836e04cbfe4cb17631540e4 +Author: Keith Packard +Date: Mon Oct 2 16:58:53 2017 -0700 + + altoslib: Allow early bail-out on bad telemetry CRC + + Check the CRC status in the packet before creating a new telemetry + object. + + Signed-off-by: Keith Packard + +commit 770998be2c15dd41a63520d0c8747d7cf32ec447 +Author: Keith Packard +Date: Mon Oct 2 16:57:15 2017 -0700 + + altos: Allow pyro config name to end with newline, not just space/tab + + A pyro config like 'Descending' has no value associated. When it is at + the end of the line, allow a newline to terminate the name instead of + just a space. + + Signed-off-by: Keith Packard + +commit de2b6ec1cdfd48c948bff7edbfe2540440429b1b +Author: Keith Packard +Date: Mon Oct 2 16:55:18 2017 -0700 + + altoslib,altosuilib,altosui: log_format/device_type TeleGPS selects stateless + + When the device being analyzed has no flight state, we want to use the + 'stateless' state so that the UI can display reasonable + information. This bit was lost in the recent AltosState shuffle and + this patch brings it back. + + Signed-off-by: Keith Packard + +commit 322c1abead39cb398380dff384cd274c19dd81dd +Author: Keith Packard +Date: Mon Oct 2 13:55:57 2017 -0700 + + altosuilib: Don't drain voice when terminating display + + If the voice thread is wedged (as with PulseAudio and un-patched + freetts 1.2.2), we'll get stuck here and the UI will freeze up. + + Signed-off-by: Keith Packard + +commit cfc09e8f1f263595972cbb6af23f22e2d749c744 +Author: Keith Packard +Date: Tue Sep 26 18:00:36 2017 -0700 + + altoslib: Add tilt and pyro data to CSV export + + It's now version 6. Also removed duplicate time values and made radio + values conditional on having radio data. + + Signed-off-by: Keith Packard + +commit df39a30c762d57c7d04110e054f74d50fa8d85de +Author: Bdale Garbee +Date: Tue Sep 19 11:56:52 2017 -0600 + + don't exit on dfu-util errors, it's not reliable about reporting success + +commit 8124109e0b455c9d8d583f4d985b93d23d7b1350 +Author: Bdale Garbee +Date: Mon Sep 18 21:24:52 2017 -0600 + + tweak Releasing based on 1.8.2 release experience + +commit 216ea6388a75c46891dc4687a2eb0c97dc63b136 +Author: Bdale Garbee +Date: Mon Sep 18 20:46:04 2017 -0600 + + releasing 1.8.2 + +commit 60666630789b6925d7e16160ebdc88ccd23f51de +Author: Bdale Garbee +Date: Mon Sep 18 20:43:14 2017 -0600 + + be more aggressive about removing and ignoring .mdwn files + +commit 1ece6e6fd3faaae3f6c6d434497eb04235939dc3 +Author: Bdale Garbee +Date: Mon Sep 18 20:43:14 2017 -0600 + + be more aggressive about removing and ignoring .mdwn files + +commit b12e982259817328e348f1aaa91c5c824891e7b9 +Merge: b1cf0dab e87d56b6 +Author: Bdale Garbee +Date: Mon Sep 18 20:35:00 2017 -0600 + + Merge branch 'master' into branch-1.8 + +commit e87d56b665ca30a3e5920c23cd60c99b84341aa2 +Author: Keith Packard +Date: Mon Sep 18 18:51:51 2017 -0700 + + Update release version and date + + Signed-off-by: Keith Packard + +commit a54b3330574dd130540e482a06a3f8d7ca652b6c +Author: Keith Packard +Date: Mon Sep 18 18:43:00 2017 -0700 + + Update docs for 1.8.2 release + + Signed-off-by: Keith Packard + +commit d0c1ebc43a9c5bb0a3503d33978a5e7bc87057fe +Author: Keith Packard +Date: Mon Sep 18 18:51:18 2017 -0700 + + Add short section on accelerometer calibration + +commit 60cadbc85949adf464be16a5cf8ce2c24d67bedf +Author: Keith Packard +Date: Mon Sep 18 14:40:37 2017 -0700 + + altos/telegps-v2.0: Enable USB connect monitoring + + Disable radios when plugged in to USB to save power and avoid being + noisy. + + Signed-off-by: Keith Packard + +commit 6e4c104c28952f2010c7b1cbc9ce59e148ab2d8f +Merge: 63eeaada 4f2cbe0c +Author: Bdale Garbee +Date: Mon Sep 18 16:01:43 2017 -0600 + + Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos + +commit 63eeaada85cb9ddccb0fa9b2d751cc8f46399d9c +Author: Bdale Garbee +Date: Mon Sep 18 16:01:21 2017 -0600 + + production TeleGPS v2.0 use a 16Mhz crystal for the SOC + +commit 4f2cbe0c537c9f417aae310cc3b89f84e0915103 +Author: Keith Packard +Date: Mon Sep 18 09:57:41 2017 -0700 + + altoslib: Avoid crashing when computing stats for empty flight logs + + Signed-off-by: Keith Packard + +commit b9a00856aa4cf55ae4a143288058094ef8061134 +Author: Keith Packard +Date: Mon Sep 18 09:57:06 2017 -0700 + + telegps: Fix up TeleGPS UI bits after accel cal changes + + Signed-off-by: Keith Packard + +commit 95952059bbb50b5f22460418df003a87c8bd3271 +Author: Keith Packard +Date: Tue Sep 12 15:47:43 2017 -0700 + + test/ao_flight_test: Show recorded pyro firing + + Can compare with computed values. + + Signed-off-by: Keith Packard + +commit 28a2db68e4806383cfaa7075d454c35cade9633a +Author: Bdale Garbee +Date: Sun Sep 17 12:41:50 2017 -0600 + + publish support for TeleGPS v2.0 + +commit ad61e277069217d98400e884d3c173357d2343ed +Author: Bdale Garbee +Date: Thu Sep 14 10:51:18 2017 -0600 + + deal with cheap BT dongle that shows multiple copies of unit in lescan output + +commit 5666a3c9427324ad8f92e21c5f9017436b36a82a +Author: Keith Packard +Date: Tue Sep 12 14:02:11 2017 -0700 + + altosuilib: Make steps in accel cal default button + + This way you can just hit return through the process. + + Signed-off-by: Keith Packard + +commit 441056b01abcf9287f61f425cf29fc4b1603c619 +Author: Keith Packard +Date: Tue Sep 12 13:43:06 2017 -0700 + + altos/test: Handle new eeprom file format. Give up on telem files. + + Parse eeprom config using libjson-c, then read the hex values into a + giant blob. + + Signed-off-by: Keith Packard + +commit be44d33f5e94b8c4180adb275ec83cc70852db48 +Author: Keith Packard +Date: Tue Sep 12 13:41:11 2017 -0700 + + altos: Fix debug printf in ao_pyro for state >= + + Signed-off-by: Keith Packard + +commit 10d14146ef84fbe4670454bc0996854a4066cfea +Author: Keith Packard +Date: Tue Sep 12 13:40:06 2017 -0700 + + chaoskey: Wait for input data to stabilize before using it + + The ADC data takes a while to start working after power on; wait for + the range of input values to look reasonable before using the data. + + Signed-off-by: Keith Packard + +commit 8284ba8bf78aade8f9d8f711cfefe2010ce81066 +Author: Keith Packard +Date: Tue Sep 12 13:38:36 2017 -0700 + + doc: Add forward reference from 'idle' description to idle entry steps. + + This provides a reminder that entering idle mode takes specific steps + which differ between models. + + Signed-off-by: Keith Packard + +commit 8960cb525ef43c2262c7854b9a6f08237b3ea05b +Author: Keith Packard +Date: Tue Sep 12 13:37:24 2017 -0700 + + altosui: Handle missing GPS when graphing mega/metrum data + + These have GPS, but if we never get a valid packet, then there won't + be any final position to display. + + Signed-off-by: Keith Packard + +commit a4dfaf25954134dbdc7229e2de39d4a4c049f285 +Author: Keith Packard +Date: Tue Sep 12 13:37:06 2017 -0700 + + altosui: Remove debug printfs in FC config UI + + Signed-off-by: Keith Packard + +commit bc1cc0db1251e351d862dffbf618d0ce926c389d +Author: Keith Packard +Date: Tue Sep 12 13:36:24 2017 -0700 + + altosdroid: Display serial, call, freq in tracker list + + This makes the list a lot easier to find entries in when it gets long. + + Signed-off-by: Keith Packard + +commit 4151c30e1294c0dda3aa02e7ac23b9616f25a4d0 +Author: Keith Packard +Date: Tue Sep 12 13:35:25 2017 -0700 + + altoslib: Make receive frequency available in telem data + + This lets AltosDroid record which frequency each station was heard on. + + Signed-off-by: Keith Packard + +commit d84f5e576e83a2b965d0e9752a9bbef100954815 +Author: Keith Packard +Date: Tue Sep 12 13:34:23 2017 -0700 + + altoslib: Remove debug stack dump from AltosState + + An empty AltosState is allocated when parsing JSON data; it's not a + mistake. + + Signed-off-by: Keith Packard + +commit b48966c3121e1b5d4a659bebcad595d6f1ec5ee5 +Author: Keith Packard +Date: Tue Sep 12 13:33:13 2017 -0700 + + altoslib: Correctly parse IMU cal data + + Was trying to match 'IMU call along' instead of 'IMU cal along', + causing the line to not match and losing the IMU accel cal values. + + Signed-off-by: Keith Packard + +commit f607a882a50aa6cd9e8e3e74cbaa5bcc1b5fa4a4 +Author: Keith Packard +Date: Wed Sep 6 08:37:12 2017 -0600 + + ao-tools/ao-chaosread: Add -Wall -Wextra, clean up results + +commit 558a143315f0345b79cc4f22aa4b643fedcded9c +Author: Keith Packard +Date: Fri Aug 11 23:42:53 2017 -0400 + + altosui: Accel calibration UI + + Provides a GUI for re-calibrating accelerometers + + Signed-off-by: Keith Packard + +commit c9a742db2497d07079f3d4bf383c6246cf80507c +Author: Keith Packard +Date: Thu Aug 31 20:32:05 2017 -0700 + + Bump to version 1.8.1.1/android 16 for altosdroid + + AltosDroid 1.8.1 got released before the latest fix for not storing + frequency preferences was made. Make a 1.8.1.1 with a new android + release number for that. + + Signed-off-by: Keith Packard + +commit 6e85a8244389bffab0744be8dfa90b706f829083 +Author: Bdale Garbee +Date: Mon Aug 28 15:09:14 2017 -0600 + + need to capture .bin file for telebt-v4.0 loader + +commit ccf7ad5a31604e98b34bf16e3da6afb264ad1291 +Author: Bdale Garbee +Date: Mon Aug 28 14:01:54 2017 -0600 + + a few tweaks to the Releasing document based on experience with 1.8.1 + +commit b1cf0dab1e28433e06ab02cec033951ea0149ea3 +Author: Bdale Garbee +Date: Mon Aug 28 12:05:17 2017 -0600 + + releasing 1.8.1 + commit b68c0482d4fae8eb54cde1df0e4bcf4c5d272bad Author: Keith Packard Date: Sun Aug 27 22:49:09 2017 -0700