summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | altos: Strip out everything but the basic position reporting from APRSKeith Packard2012-12-05
| | | | | | | | | | | | | | | | | | | | | Any useful data will be sent over the digital link; APRS is strictly for position tracking Signed-off-by: Keith Packard <keithp@keithp.com>
* | | Signed-off-by: Keith Packard <keithp@keithp.com>Keith Packard2012-12-05
| | | | | | | | | | | | | | | | | | altos: Switch APRS to standard position reporting form Stop using NMEA sentences for position
* | | altos: Add missing ao_aprs.h fileKeith Packard2012-12-05
| | | | | | | | | | | | | | | | | | This has defines for the planned APRS interface Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Generate all of the APRS messagesKeith Packard2012-12-05
| | | | | | | | | | | | | | | | | | | | | Note that two of them are in NMEA form, which some receivers appear not to parse Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Add test scaffolding for APRSKeith Packard2012-12-05
| | | | | | | | | | | | | | | | | | | | | | | | This moves some test code out of ao_aprs.c and into ao_aprs_test.c, and then adds Makefile fragments to compile and run the resulting program, creating a wav file as output Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Make aprs code output encoded packets to stdoutKeith Packard2012-12-05
| | | | | | | | | | | | | | | | | | | | | This generates a .wav file containing a single APRS packet. This has been tested and appears to be successfully decoded by an APRS receiver. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | altos: Add Pico Beacon code as ao_aprs.cKeith Packard2012-12-05
|/ / | | | | | | | | | | | | | | | | | | | | | | Pico Beacon hooks a GPS to an AD9954 DDS radio chip with a PIC. It directly synthesizes the necessary AX.25 packets to do APRS reporting. We're going to appropriate the code for use in Mega Metrum to (optionally) broadcast APRS packets. http://ad7zj.net/kd7lmo/aprsbeacon_code.html Signed-off-by: Keith Packard <keithp@keithp.com> (
* | altos: Break out GPS speed resetting sequenceKeith Packard2012-12-04
| | | | | | | | | | | | | | To set the GPS speed, we delay for 1/2 sec, change speed, then delay for another 1/2 sec. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: shrink ao_companion_status by merging printf callsKeith Packard2012-12-04
| | | | | | | | | | | | | | Multiple printf calls are longer than one big one, so merge these together to save some code space Signed-off-by: Keith Packard <keithp@keithp.com>
* | Another ao-mega addition which shouldn't be hereKeith Packard2012-12-04
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | ao-tools. Oops, let 'ao-mega' slip into build.Keith Packard2012-12-04
| | | | | | | | | | | | | | This is a tool to parse ao-mega eeprom files; not sure it'll be that useful, and it's certainly not usable *yet*. Signed-off-by: Keith Packard <keithp@keithp.com>
* | ao-sky-flash: Clean up debug printfs a bitKeith Packard2012-12-04
| | | | | | | | | | | | This makes debugging output a bit cleaner Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Make skytraq reflashing code try both 9600 and 4800 baudKeith Packard2012-11-30
| | | | | | | | | | | | | | This lets it communicate with the ROM code which boots at 4800 baud instead of 9600 baud. Signed-off-by: Keith Packard <keithp@keithp.com>
* | ao-tools: Add ao-sky-flash to update GPS firmwareKeith Packard2012-11-30
| | | | | | | | | | | | | | This uses a new feature of AltOS to directly connect the GPS chip to the USB link to reprogram the former. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Add support for reflashing skytraq GPS chipsKeith Packard2012-11-30
| | | | | | | | | | | | | | | | | | | | This simply switches the skytraq port to 115200 baud and then essentially connects it directly to the USB port by forwarding bytes in both directions. Once started, the only way out is to reboot the board. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Expose GPS serial fifo on MegaMetrumKeith Packard2012-11-30
| | | | | | | | | | | | Necessary for direct access by the GPS reflashing code Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Add ao_task_minimize_latency to reduce IRQ delaysKeith Packard2012-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When set, this causes the task switching code to avoid blocking IRQs while looking for an idle task as that can increase IRQ latencies enough to drop characters at 115200 baud on the cc1111. Note that this *also* eliminates the ability to use low power modes as we cannot know at any point whether some interrupt has come along and woken a task. Has no effect when using task queues as those require IRQs to be blocked while looking at the queue. Shouldn't be a problem there though as the check for no running tasks is very cheap. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Use ao_xmemcpy in ao_log_telem.cKeith Packard2012-11-30
| | | | | | | | | | | | This eliminates the libc generic version in TeleTerra Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Add support for 115200 baud serial ratesKeith Packard2012-11-30
| | | | | | | | | | | | Necessary for flashing skytraq chips Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Make stdio 8-bit clean by making pollchar return intKeith Packard2012-11-30
| | | | | | | | | | | | | | | | | | | | We were stealing one value (0xff) in the return value from pollchar to indicate 'not ready yet'. Instead of doing that, use the integer value -1 and have pollchar return an int instead of a char. That necessitated cleaning a few other bits to make sure that 0xff wouldn't get promoted to -1 on accident. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Share cc1111 reset/debug-start codeKeith Packard2012-11-30
| | | | | | | | | | | | | | These sequences are very similar, differing only in whether the dbg clock line is toggled while holding reset low for a while. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Shrink cc1111/ao_dbg.c a bitKeith Packard2012-11-30
| | | | | | | | | | | | Share code for osequence of ao_dbg_long_delay(); ao_dbg_send_bits() Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Share getnibble functionKeith Packard2012-11-30
| | | | | | | | | | | | | | Two implementations of the same function, one in cc1111/ao_dbg.c and the other in core/ao_send_packet.c. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Make TeleBalloon v1.1 build againKeith Packard2012-11-29
| | | | | | | | | | | | This is untested, but at least it builds now Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2012-11-20
|\|
| * 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>
* | let upstream version rule, don't force use of Debian version in firmwareBdale Garbee2012-11-20
|/
* 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>