summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* altoslib: Fix data fetching during flashing of cc1111-based devicesKeith Packard2018-04-26
| | | | | | | | | | | 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 <keithp@keithp.com>
* altoslib: Keep config data accel cal in antenna up form.Keith Packard2018-04-26
| | | | | | | | | | | | 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 <keithp@keithp.com>
* altoslib: Flush settings restoration commands after accel calKeith Packard2018-04-26
| | | | | | | | 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 <keithp@keithp.com>
* altoslib: Remove ascending/descending from pyro configKeith Packard2018-04-26
| | | | | | | | | 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 <keithp@keithp.com>
* altoslib: Clarify terms in Mega pyro configKeith Packard2018-04-26
| | | | | | | | | | Suggestions from Bob Brown et al Speed -> ascent rate Height -> height above ground Acceleration -> Vertical acceleration Signed-off-by: Keith Packard <keithp@keithp.com>
* Set version to 1.8.5.1Keith Packard2018-04-26
| | | | | | Firmware has changed Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/flash-loader: On STM, don't include ao_usb_disableKeith Packard2018-04-26
| | | | | | This saves a bit of space, keeping the flash loader under 4k on fox Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use max of 64 previous orient values when checking pyro limitsKeith Packard2018-04-26
| | | | | | | | | 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 <keithp@keithp.com>
* altos/stm: Simplify ao_usb_write a bitKeith Packard2018-04-26
| | | | | | | 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 <keithp@keithp.com>
* doc: add release check for altusmetrum-docinfo.xml copyrightKeith Packard2018-04-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Attempt to avoid some reported altosdroid crashesKeith Packard2018-04-26
| | | | | | Just looking at stack traces, maybe these changes will avoid some problems? Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak: Make reported 'max height' value show filtered max heightKeith Packard2018-04-26
| | | | | | | | | | 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 <keithp@keithp.com>
* add a warning about Google limiting per-day access until/unless we payBdale Garbee2018-04-22
|
* another second seems to help on the very slow Acer laptopBdale Garbee2018-03-31
|
* altos: Hack up code for TeleMetrum to make it just a trackertmgpsKeith Packard2018-03-23
| | | | | | | 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 <keithp@keithp.com>
* altos/ao_cc1120: Only call ao_packet_slave_stop when HAS_SLAVEKeith Packard2018-03-23
| | | | | | | Don't try to disable packet slave mode when the product doesn't support packet slave mode. Signed-off-by: Keith Packard <keithp@keithp.com>
* add a paragraph to the intro pointing to the altusmetrum email listBdale Garbee2018-03-20
|
* doc: update copyright year in doc/altusmetrum-docinfo.xmlBdale Garbee2018-03-18
|
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2018-03-18
|\
| * Bump version to 1.8.5Keith Packard2018-03-17
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * doc: Add release notes for 1.8.5Keith Packard2018-03-17
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Add some common definitions for flash loadersKeith Packard2018-03-16
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Make panic beeps use fixed frequenciesKeith Packard2018-03-16
| | | | | | | | | | | | | | This ensures that the beeps will work even before the configuration has been loaded. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-usbload: Flip product names in loader error messageKeith Packard2018-03-16
| | | | | | | | | | | | | | I was reversing the 'target' vs 'image' names in the error message, leading to a bit of confusion. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-bringup: Check for Loader USB id before attempting dfu-utilKeith Packard2018-03-16
| | | | | | | | | | | | | | This lets me restart the turnon process after the boot loader has been flashed. Signed-off-by: Keith Packard <keithp@keithp.com>
| * chaoskey: Create unified ROM image with both loader and appKeith Packard2018-03-16
| | | | | | | | | | | | | | Flash the whole thing all at once to reduce the number of steps during turnon. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-bringup: Don't wait for user when testing EasyMini ignitersKeith Packard2018-03-16
| | | | | | | | | | | | I always have the LEDs ready to go before starting the turnon process. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2018-02-12
|\|
| * Add TeleGPS v2.0 binaries to distributionKeith Packard2018-02-12
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * libaltos: Use case-insensitive compare when matching BT MACsKeith Packard2018-01-13
| | | | | | | | | | | | | | | | | | | | 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 <keithp@keithp.com>
| * altoslib/altosuilib: Validate rom image is for target deviceKeith Packard2018-01-12
| | | | | | | | | | | | This should avoid mis-programming devices with incorrect firmware. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/scheme: Move ao-scheme to a separate repositoryKeith Packard2018-01-10
| | | | | | | | | | | | This way it can be incorporated into multiple operating systems more easily. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/scheme: Allow unicode in lexerKeith Packard2018-01-08
| | | | | | | | | | | | | | 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 <keithp@keithp.com>
| * altos/lambdakey-v1.0: Add LED function back inKeith Packard2018-01-07
| | | | | | | | | | | | We've made things smaller, so there's (barely) space for this now. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/scheme: remove debug code from vector writeKeith Packard2018-01-07
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/scheme: Allow individual lisp keywords to be feature-conditionalKeith Packard2018-01-07
| | | | | | | | | | | | | | 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 <keithp@keithp.com>
| * altos/scheme: Split tests out from build sourcesKeith Packard2018-01-07
| | | | | | | | | | | | Run tests on both tiny and full scheme test programs. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Use double buffering for ChaosKeyKeith Packard2018-01-07
| | | | | | | | | | | | | | This improves the USB performance of ChaosKey so that it doesn't NAK during data transfers at all. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-chaosread: add --raw and --cooked flagsKeith Packard2018-01-07
| | | | | | | | | | | | Allow reading from the cooked endpoint as well as the raw one. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: use double buffering for USB rx dataKeith Packard2018-01-07
| | | | | | | | | | | | This also allows us to stop shadowing USB rx buffers in system ram Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Use double buffering for USB tx dataKeith Packard2018-01-07
| | | | | | | | | | | | | | This shouldn't have much of an effect, but shows how double buffering works. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Stop shadowing USB tx buffers in system RAMKeith Packard2018-01-07
| | | | | | | | | | | | Use the 16-bit USB memory directly, avoiding the buffer space and the copy Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stmf0: Remove packet counters from non-debug buildKeith Packard2018-01-07
| | | | | | | | | | | | These counters are only useful for helping debug the USB driver. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/kernel: Use ao_put_string for syntax error messageKeith Packard2018-01-07
| | | | | | | | | | | | Avoid using puts, which can be a large library function. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/lambdakey-v1.0: Switch back to command buffered inputKeith Packard2018-01-06
| | | | | | | | | | | | Instead of just reading from stdin with no echo or editing. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/scheme: Add ports. Split scheme code up.Keith Packard2018-01-06
| | | | | | | | | | | | And lots of other changes, including freeing unreferenced atoms. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/scheme: add 'install' target to install both test and tiny testKeith Packard2018-01-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/scheme: Add vector and string funcs. Test everybody.Keith Packard2018-01-04
| | | | | | | | | | | | | | Add a bunch of string and vector functions from r7rs. I think most everything is here now. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/scheme: Accept more escaped character constantsKeith Packard2018-01-04
| | | | | | | | | | | | Allow all those specified in r7rs Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/scheme: Allow make-vector value param to be optionalKeith Packard2018-01-04
| | | | | | | | | | | | It can default to #f Signed-off-by: Keith Packard <keithp@keithp.com>