summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altos: Note that Lithium battery may be included with MicroPeakmicropeak-1.1Keith Packard2012-12-12
| | | | | | | | I'm not willing to say that we'll always be able to include a battery, but we can certainly try, and they're certainly cheap enough that we should. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Update MicroPeak doc to include EEPROM and programming infoKeith Packard2012-12-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Log in-flight data for MicroPeakKeith Packard2012-12-12
| | | | | | | | This logs the low 16 bits of the pressure value to the remaining on-chip eeprom. It can be read out with a standard AVR programming dongle. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add load-slow target for MicroPeakKeith Packard2012-12-12
| | | | | | | This sets the programming clock to 1/4 of the 250kHz clock used by the MicroPeak firmware, allowing the device to be reprogrammed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Tim Van Milligan suggestion for µP -- delay before showing last flightKeith Packard2012-12-11
| | | | | | This gives the user time to move their finger out of the way of the LED. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Increase MicroPeak blink times a bitKeith Packard2012-12-11
| | | | | | | make the 0 longer (1 sec now), and make the time between digits longer (also 1 sec now) Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use alt_t value to hold displayed height in micropeakmicropeak-build-2012-12-09Keith Packard2012-12-09
| | | | | | | Heights are 32 bits (to get .1 meter resolution) in micropeak; make sure we have enough bits while blinking out the computed value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make sure pa to altitude conversion is done with 32 bitsKeith Packard2012-12-09
| | | | | | | We need 32 bits to hold intermediate values, even if the final altitude is reported in only 16 bits. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Store altitude in 32-bits for MicroPeakKeith Packard2012-12-09
| | | | | | Needs all 32 bits to store .1 meter resolution Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Slow down micropeak report timingKeith Packard2012-11-18
| | | | | | This makes reading the LED a lot easier. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: micropeak LED is orange now, not blueKeith Packard2012-11-18
| | | | | | Change the names around to match Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Minor updates to the micropeak docsKeith Packard2012-11-18
| | | | | | | Mention light issue in quick start guide. Update run-time estimate to 40 hours (measured over 44 hours) Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Clean everything, even if we don't have compilersKeith Packard2012-11-18
| | | | | | | This ensures that stale bits aren't left if PATH isn't set right when 'make clean' is called. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Reset telem tracking state when switching altimetersKeith Packard2012-11-18
| | | | | | | This discards any local state when the new telem packet has a different serial number Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Allow flight number to be zeroKeith Packard2012-11-18
| | | | | | | | It's zero when there's no storage space on the device. Instead of waiting for non-zero flight number, wait for the seen_flight bit to be set in the telem tracking state Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: MegaMetrum data telem packets have sensor data, not flight noKeith Packard2012-11-18
| | | | | | | Setting the seen_flight bit without a flight number leads to bogus file names Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make Tm recovery mode set RF cal and callsign tooKeith Packard2012-11-18
| | | | | | | This lets us connect to Tm even if someone messes up the RF calibration or callsign info Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: fix cc1120 radio test - state wasn't made staticKeith Packard2012-11-18
| | | | | | so whether the radio got turned on was random. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add (disabled) conversion for MS5611Keith Packard2012-11-18
| | | | | | | In case we actually end up shipping an MS5611-based board at some point, it will be nice to have the java code on hand Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Start updating AltOS documentation for multi-archKeith Packard2012-11-16
| | | | | | | Now that AltOS supports many processors, start updating the documentation to match. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Build megadongle when possible1.1.9.2Keith Packard2012-11-01
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/megadongle: Add megadongle productKeith Packard2012-11-01
| | | | | | Looks a lot like teledongle from a feature perspective. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove legacy telemetry from ao_monitor when not neededKeith Packard2012-11-01
| | | | | | | For products not supporting LEGACY_MONITOR, remove the (undefined) structs from the ao_monitor union. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove 'volatile' from ao_rssi.c globalsKeith Packard2012-11-01
| | | | | | No need for this, the variables aren't changed at interrupt time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: Support LEDs on multiple portsKeith Packard2012-11-01
| | | | | | | Split out the bits in a fairly simplistic fashion so that we support no more than 16 LEDs still. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/attiny: Remove debugging code which frobs PB1Keith Packard2012-10-30
| | | | | | This was clearly stuck there to debug something; not a good idea... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/micropeak: Run MS5607 at max resolution for micropeakKeith Packard2012-10-30
| | | | | | We've got lots of time, so get the highest resolution baro data available. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/micropeak: Clock micropeak at 250kHz to save powerKeith Packard2012-10-30
| | | | | | | | | | This reduces average current consumption from 2mA to .4mA. This makes the battery last longer, but also gets the current under something that the typical CR1025 battery can support. Would be nice to reduce current even further; cheap CR1025 batteries still seem to fade a bit at this current level. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/attiny: Don't initialize the CS pin in the general SPI setupKeith Packard2012-10-30
| | | | | | | Let the CS pin be configured by the driver, which can set the correct value before enabling the output. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/micropeak: Set boost detect to 10m. Add 30s boost delay.Keith Packard2012-10-29
| | | | | | | | | | | Wait for 30 seconds before even starting look for boost. This provides an opportunity to close up the airframe, potentially causing pressure gradients seen by the baro sensor. Also, require a 10m vertical motion before triggering boost. This should limit accidental boost detect while capturing any actual flights. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Add micropeak manualKeith Packard2012-10-29
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Build micropeak when avr-gcc is availableKeith Packard2012-10-29
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/micropeak: Switch to MS5607 sensor. Require 4m for boost. Elide dead codeKeith Packard2012-10-29
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/attiny: Update to new interrupt macrosKeith Packard2012-10-29
| | | | | | Add ao_arch_block/release_interrupts macros to attiny architecture Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge remote-tracking branch 'mjb/altosdroid'Keith Packard2012-10-26
|\
| * altosdroid: more restrictive commit no. matchingMike Beattie2012-10-25
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: more reliable branch detectionMike Beattie2012-10-25
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* | altos: Provide ao_task_alarm_tick to reduce per-tick costKeith Packard2012-10-26
| | | | | | | | | | | | | | Cache the next wakeup time and check that before jumping to the task code. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Leave interrupts disabled while checking for task to runKeith Packard2012-10-26
| | | | | | | | | | | | | | Otherwise, we run the risk of an interrupt waking a task after we've decided to idle the CPU. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Clean up stm arch macros a bit.Keith Packard2012-10-25
| | | | | | | | | | | | | | Turn a bunch of the macros into inline functions. Clean up the reboot method to use the stm_scb structure. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Clean up cc1111 architecture macros a bit, removing cli/seiKeith Packard2012-10-25
| | | | | | | | | | | | Just reformatting changes, aside from the removal of cli/sei Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Wrap ao_container_of value in parensKeith Packard2012-10-25
| | | | | | | | | | | | | | Keeps the cast from being separated from the value when used in expressions. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Switch drivers to ao_arch_block/release_interruptsKeith Packard2012-10-25
|/ | | | | | Stop using cli/sei, which are avr-specific Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump version to 1.1.9.2Keith Packard2012-10-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge remote-tracking branch 'mjb/altosdroid'Keith Packard2012-10-25
|\
| * altosdroid: Add version information to UIMike Beattie2012-10-24
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: Add branch to BuildInfoMike Beattie2012-10-24
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: match only the current version tagMike Beattie2012-10-23
| | | | | | | | | | | | | | | | | | | | | | Don't match non version tags - and always return the long format of git describe, rather than just the tag (when the tag is on the current commit). Split the commit number/hash more reliably by removing the version tag from the result first. Signed-off-by: Mike Beattie <mike@ethernal.org>
* | altos/megametrum: Depend on Makefile contents for buildKeith Packard2012-10-25
| | | | | | | | | | | | This ensures that everything is rebuilt when the Makefile changes Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Add task queues.Keith Packard2012-10-25
| | | | | | | | | | | | | | | | | | This replaces the array-based scheduler with a queue-based one instead. It should have the same basic scheduling semantics, but it walks shorter lists for each operation, making it much more efficient when the system has a lot of tasks. Signed-off-by: Keith Packard <keithp@keithp.com>