altos: Allow ms5607 driver to either set ao_sensor_errors or panic Products that want to remain usable (over USB) after a sensor failure don't want to panic when the ms5607 fails, but products with limited ROM space don't want to have extra code to check for the sensor failure and panic. Change the MS5607 driver to allow either option, and then make the micropeak based devices use it. Signed-off-by: Keith Packard <keithp@keithp.com>
altos/micropeak: Create a script to load firmware. The micropeak-load script flashes micropeak with firmware from whatever directory it is sitting in. A 'publish' target in the source directory copies the script and hex to ~/altusmetrumllc/Binaries Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Provide stable binaries for MicroPeak Publish MicroPeak .hex file to LLC repo and install it from there, rather than rebuilding it locally. This ensures that the installed bits don't depend on local configuration of any kind. Signed-off-by: Keith Packard <keithp@keithp.com>
Add --with parameters to configure for compiler selection This allows the user to specify which compiler to use for each target CPU. Also checks to make sure the arm compiler supports -m0 and -m3 cpu type flags. The build now actually uses the specified compilers too. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Move micropeak sources around This sticks the micropeak sources in appropriate directories, rather than in the micropeak product directory so that they can be shared with future micropeak-style products. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Add Kalman filter to MicroPeak This filters altitudes more accurately and also allows tracking of acceleration, which is used to discard height data generated by ejection charge noise Signed-off-by: Keith Packard <keithp@keithp.com>
micropeak: Record samples before boost detect This saves a ring of 16 samples while waiting for boost, and then goes back through those looking for the first sample higher than the ground and writes the remaining ones to the log so that we get a more complete log of the flight Signed-off-by: Keith Packard <keithp@keithp.com>