summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altos: Don't lose IRQ disabled state in ao_sleepKeith Packard2012-06-17
| | | | | | | | | | | | Using ao_arch_critical around the wchan setting will force interrupts to be re-enabled before ao_yield records the state of that bit, potentially causing problems with functions not atomically testing and sleeping. Tasks that need to set wchan with interrupts disabled should have interrupts disabled when entering ao_sleep already. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: ao_storage_read already calls ao_storage_setupKeith Packard2012-06-17
| | | | | | No need to call twice. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Catch timeout errors when setting up TD telem monitoringKeith Packard2012-06-17
| | | | | | Close the port in this case so it can be used for other things. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use interrupts to wake up after RDF transmission.Keith Packard2012-06-17
| | | | | | Also clean up the debug output Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Crank cc1120 power down to 0dBm to avoid crashing CPUKeith Packard2012-06-17
| | | | | | | Looks like RFI from the transmitter is confusing the CPU; lower the 1120 power output from +14dBm to +0dBm to keep the CPU happy. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Reduce STM SPI data rate to 4MHzKeith Packard2012-06-15
| | | | | | cc1120 doesn't want more than 6.1MHz, otherwise it gets very angry. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Start making cc1120 radio workKeith Packard2012-06-15
| | | | | | RDF tones and radio calibration work now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix cc1120 packet mode datarate and configKeith Packard2012-06-15
| | | | | | Was using the wrong function Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make sure cc1120 is initialized correctly at startup timeKeith Packard2012-06-15
| | | | | | Check to make sure it pulls down MISO when CS is enabled. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: use 'b' command for radio beepKeith Packard2012-06-15
| | | | | | 'B' is used by the baro data dumper. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix RDF mode data rate and PKT_CFG0 valueKeith Packard2012-06-15
| | | | | | | Changes tone to the desired 1kHz frequency and ensures the PKT_CFG0 has the right value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Actually write cc1120 register valuesKeith Packard2012-06-15
| | | | | | Helps to not use 'read' mode when writing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Configure cc1120 frequencyKeith Packard2012-06-15
| | | | | | | Set default conversion value, and pull the selected frequency calibration data out of the config block. Signed-off-by: Keith Packard <keithp@keithp.com>
* Temporarily disable packet and telem on MMKeith Packard2012-06-15
| | | | | | While work on the radio code progresses Signed-off-by: Keith Packard <keithp@keithp.com>
* Allow product to override maximum number of command lists (NUM_CMDS)Keith Packard2012-06-15
| | | | | | Just in case some product wants to save memory, or have more. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add files necessary to build applicationKeith Packard2012-06-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: More changes to migrate code to altoslibKeith Packard2012-06-04
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: attempt to get ms5607 data into .mega files was misinformedKeith Packard2012-06-04
| | | | | | | The ms5607 'p' command also means 'go into packet mode', which nicely broke attempts to communicate with teledongle Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make cc1111 products all depend on ao_arch.h and ao_arch_func.hKeith Packard2012-06-04
| | | | | | Ensures that files get recompiled as needed Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Other half of the ms5607 prom reporting patchKeith Packard2012-06-04
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: typo in ao_monitor prevented ground station from including codeKeith Packard2012-06-04
| | | | | | | This created ground station software that couldn't actually receive and report telemetry packets. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make 'v' command dump pressure sensor ROM valuesKeith Packard2012-06-04
| | | | | | Avoids needing a new command Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: fix test builds of non-accel flight codeKeith Packard2012-06-04
| | | | | | | Remove references to accel variables when building baro-only flight test code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Legacy telemetry needs original ADC recordKeith Packard2012-06-04
| | | | | | | | The legacy telemetry packets included the raw ADC structure directly, so make sure that doesn't change further, allowing teledongle firmware to remain compatible with old TM firmware. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove unused AES code from teledongle and tidongleKeith Packard2012-06-04
| | | | | | Leave this out as neither of these products need it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove accel_ref from pre v1.1 TM firmwareKeith Packard2012-06-04
| | | | | | | V1.0 needs RAM space for flash buffer, leaving too little room for this extra data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: More cleanups for moving files to altoslibKeith Packard2012-06-04
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Clean up random rebase failuresKeith Packard2012-06-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Move new sensor library code into altoslibKeith Packard2012-06-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Build altosdroidKeith Packard2012-06-02
|
* Add local.properties to .gitignoreMike Beattie2012-06-02
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Add TelemetryService.java and associated filesMike Beattie2012-06-02
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Move altoslib sources to top dirKeith Packard2012-06-02
| | | | | | No sense having them live deep in the file system. Signed-off-by: Keith Packard <keithp@keithp.com>
* Demonstrate using AltosLib from altosdroidKeith Packard2012-06-02
| | | | | | | | Get things hooked up so that we can use AltosLib functions from the android application; it's a bit of a hack at present, but appears to work. Some more 'official' technique would be nice... Signed-off-by: Keith Packard <keithp@keithp.com>
* Ignore generated altoslib filesKeith Packard2012-06-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Build Android local.properties from local.properties.inKeith Packard2012-06-02
| | | | | | Make sure the SDK path is set correctly Signed-off-by: Keith Packard <keithp@keithp.com>
* Add $HOME/android as an SDK locationMike Beattie2012-06-02
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* doc: Add companion SPI message protocol docKeith Packard2012-06-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Clean up a few 'fat' build rulesKeith Packard2012-06-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add altosdroid/Makefile.amKeith Packard2012-06-02
|
* Add AltusMetrum Logo as app icon, and change app nameMike Beattie2012-06-02
| | | | | Signed-off-by: Mike Beattie <mike@ethernal.org> Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: build android bits when possibleKeith Packard2012-06-02
| | | | | | Locate android sdk automatically Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: import code from mjbKeith Packard2012-06-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move java altoslib to top levelKeith Packard2012-06-02
| | | | | | This will be shared with other (android) java code. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add altoslib/.gitignoreKeith Packard2012-06-02
|
* altosui: Fix AltosTelemetryReader moveKeith Packard2012-06-02
| | | | | | Lost the provided link value causing a crash. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove unused filesKeith Packard2012-06-02
| | | | | | Left around from development, these aren't useful. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move telemetry reader &c to altoslibKeith Packard2012-06-02
| | | | | | Move all of the device and file reading code into altoslib Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move AltosState.java to altoslibKeith Packard2012-06-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Pull most of AltosSerial into AltosLinkKeith Packard2012-06-02
| | | | | | Share basic command processing across java users Signed-off-by: Keith Packard <keithp@keithp.com>