summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | 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>
* | altos: Add stack-guard code. Uses STM MPU to trap stack overflow.Keith Packard2012-10-25
| | | | | | | | | | | | | | | | This marks the lowest portion of the stack as inaccessible to the CPU, causing the processor to fault when it reaches it. The fault then generates a panic message so that the user can know what happened. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Replace __critical usage with ao_arch_critical as neededKeith Packard2012-10-25
| | | | | | | | | | | | | | | | | | | | | | | | | | sdcc offers __critical as a machine-independent way to block interrupts, but as gcc doesn't, we need to use a compiler-independent construct instead. ao_arch_critical has been around since the AVR port, but some old __critical usages remained. This fixes a bunch of random hangs when communicating with MM over USB or the radio as the various stdio loops were running without interrupts blocked between the test and the sleep. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: profiling on STM32LKeith Packard2012-10-25
| | | | | | | | | | | | Add sample-based profiling, using a 1kHz timer Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Add ao_arch_block/release_interrupts to avr and cc1111Keith Packard2012-10-25
| | | | | | | | | | | | Stop using cli/sei for AVR, add replacement to __critical for cc1111 Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Force beep timer regs reload when enabling beeperKeith Packard2012-10-25
| | | | | | | | | | | | | | Without this, there can be a long delay between asking for the beeper and having it actually start sounding. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: When slave mode first starts, accept any packetKeith Packard2012-10-25
| | | | | | | | | | | | | | | | This eliminates the packet sequence matching for the first packet, allowing outstanding send data to arrive from the master instead of ignoring packets with data until they match the seqno Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Allow AltosConfig to abort before serial line startsKeith Packard2012-10-25
| | | | | | | | | | | | Check to see if the serial line is active before trying to close it. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2012-10-23
|\|
| * Merge remote-tracking branch 'mjb/altosdroid'Keith Packard2012-10-22
| |\
| | * altosdroid: add autogenerated BuildInfo.javaMike Beattie2012-10-22
| | | | | | | | | | | | | | | | | | | | | | | | * Generated by shell script that parses git describe * Makefile rule to call script on every run * also includes eclipse hooks to call shell script on build Signed-off-by: Mike Beattie <mike@ethernal.org>
| * | altosui: Allow any non-basestation to be configuredKeith Packard2012-10-22
| | | | | | | | | | | | | | | | | | TelePyro has some configuration bits. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: make check-avr-mem utility executableKeith Packard2012-10-22
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Allow pyro flight state config to be setKeith Packard2012-10-22
| | | | | | | | | | | | | | | | | | Without these lines, flight state compares can't be shown or set. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Let AVR products override the stack size. Set telepyro to 104Keith Packard2012-10-22
| | | | | | | | | | | | | | | | | | Otherwise, telepyro doesn't have enough ram... Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altoslib: capitalize 'Invalid' state name appropriatelyKeith Packard2012-10-22
| | | | | | | | | | | | | | | | | | | | | It shouldn't ever appear, but it seemed wrong to have it not match the rest of the strings. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altosui/altoslib: Add support for configuring pyro channelsKeith Packard2012-10-22
| | | | | | | | | | | | | | | | | | | | | This provides a UI on devices which have pyro channels other than main/apogee. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Add state comparisons to pyro channel conditionsKeith Packard2012-10-22
| |/ | | | | | | | | | | | | | | Let pyro channels block waiting for flight state changes. This allows for pyro channels to be synchronized with the main iginiter channels. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: AltosState now has speed and max_speed funcsKeith Packard2012-10-21
| | | | | | | | | | | | | | These pull out the appropriate baro/accel speed values and may use some fancier values in future. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Add AltosRecordNone.javaKeith Packard2012-10-21
| | | | | | | | | | | | oops. forgot a file. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/test: Use MMA655X in ao_flight_test_mm. Add run-mm to plot mm dataKeith Packard2012-10-21
| | | | | | | | | | | | | | | | | | Pull MMA655X data out of eeprom file when available. Switch build to using MMA655x by default. Clone run-one to plot a single mm flight Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Handle .mega files in Landed tab 'Graph Flight' buttonKeith Packard2012-10-21
| | | | | | | | | | | | Need to check for .mega files here too. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Document mega log packet typesKeith Packard2012-10-21
| | | | | | | | | | | | | | Just add comments to ao_log.h so it's easy to remember which labels go with each record. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Parse GPS .mega file entries for reply/graphingKeith Packard2012-10-21
| | | | | | | | | | | | | | | | The .mega file parsing had a pile of leftovers from when it was cloned from the .eeprom file parsing code. Replace all of that with the right parsing bits so that GPS data will be presented correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Move computed state from AltosRecord to AltosStateKeith Packard2012-10-21
| | | | | | | | | | | | | | Make AltosRecord simply track the raw data and have AltosState hold all computed values, including cross-packet averages and computed speeds. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Compute accelerometer speed from megametrum eeprom dataKeith Packard2012-10-21
| | | | | | | | | | | | Duplicates code from the TM eeprom state tracking code. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: remove a couple of TM log record types from MM log parsingKeith Packard2012-10-21
| | | | | | | | | | | | PRESSURE and DEPLOY log records don't occurin MM eeprom files. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: MegaMetrum eeprom never loses GPS dateKeith Packard2012-10-21
| | | | | | | | | | | | | | | | TeleMetrum had a firmware bug that would fail to record the GPS date and time correctly, that was hacked around in altosui, but isn't needed for MegaMetrum. Remove those hacks from the MM path. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Correct megametrum eeprom filename dateKeith Packard2012-10-21
| | | | | | | | | | | | Was fetching day-of-month from the year field Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Add new filename filtersKeith Packard2012-10-21
| | | | | | | | | | | | Allow the user to restrict filenames to telem, eeprom or mega files Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/stm: Stop spewing clock out PA8 pinKeith Packard2012-10-21
| | | | | | | | | | | | | | This was used to debug the clock bringup, but is not useful anymore, and probably a bad idea to boot. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Merge branch 'master' into pwmin-new1.1.9.1pwmin-newKeith Packard2012-10-18
| |\
| * | altos: Build telescience-pwm product when possibleKeith Packard2012-10-16
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Add telescience-pwm productKeith Packard2012-10-16
| | | | | | | | | | | | | | | | | | Split out special PWM-sampling telescience product Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altos: Only enable PWM on telescience_pwm productKeith Packard2012-10-16
| | | | | | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * | telescience: correctly calculating rate values with higher resolutionRobert Garbee2012-10-16
| | |
| * | ICP3 workingRobert Garbee2012-10-16
| | |
| * | Timer 3 working with slower clock and all 16 bits.Robert Garbee2012-10-16
| | |
| * | first work on PWM input to TeleScience, 'p' command displays timer 1Robert Garbee2012-10-16
| | |
| * | telescience: steal last adc channel for icp3 most recent valueRobert Garbee2012-10-16
| | | | | | | | | | | | | | | | | | Make the ICP3 rpm counter use in ao_adc_avr.c optional Signed-off-by: Keith Packard <keithp@keithp.com>
* | | remove local copy of launch-sites.txt and reference to old web locationBdale Garbee2012-10-23
| |/ |/|
* | altosui: Re-add a couple of "unused" valuesKeith Packard2012-10-18
| | | | | | | | | | | | | | The values in these calls aren't needed, but the side-effects are, so add them back in. Signed-off-by: Keith Packard <keithp@keithp.com>