summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altos/fox: Update ADC to fox-1 IHU Revision 2Keith Packard2018-04-26
| | | | | | Change ADC pin definitions to match new hardware. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/fox: Transition to current altos build environmentKeith Packard2018-04-26
| | | | | | Fix the library usage, use $(LIBS) instead of $(SAT_CLIB) -lgcc Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/fox: update product name to show v2, enable watchdog by defaultKeith Packard2018-04-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/fox: Run app when PD6 is lowKeith Packard2018-04-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/fox: Add fox1ihu flash loaderKeith Packard2018-04-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/fox: Add MRAM and SD card driversKeith Packard2018-04-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/fox: Enable M25 driver for MRAM.Keith Packard2018-04-26
| | | | | | The M25 driver can also talk to the MRAM chip, with a few adjustments Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/fox: Add watchdog timerKeith Packard2018-04-26
| | | | | | Runs at 25Hz, can be enabled and disabled via the command line Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/fox: Turn on all of the fox lightsKeith Packard2018-04-26
| | | | | | Fox has two red and two green LEDs Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/fox: Provide names for fox ADC channelsKeith Packard2018-04-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/fox: Fix up Fox ADC bitsKeith Packard2018-04-26
| | | | | | Update to current schematic Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/fox: Initialize FOX adcKeith Packard2018-04-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/fox: rename fox productBdale Garbee2018-04-26
| | | | It's Fox1IHU-v1 now
* altos/fox: Add fox1ihu bringup firmwareKeith Packard2018-04-26
| | | | | | Firmware capable of testing fox1ihu hardware Signed-off-by: Keith Packard <keithp@keithp.com>
* 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>