summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* altos: Configure cc115l sync byte count for each radio modeKeith Packard2013-03-30
| | | | | | two sync bytes for packet mode, disable sync for rdf/aprs mode. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Get CC115L radio working.Keith Packard2013-03-29
| | | | | | | | | | | | | | | | This involved figuring out which GPIO signal would reliably indicate that the transmitter was finished; I ended up using the PA_PD bit for this. This also converts all of the radio users to the long packet support as the CC115L has only a 64-byte fifo, not large enough to hold either an RDF tone or a regular AltOS telemetry packet. This also renames the public API for sending APRS packets from ao_radio_send_lots to ao_radio_send_aprs, which is at least more accurate. The workings of that API haven't changed, just the name. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add temporary RF power settingsKeith Packard2013-03-29
| | | | | | | | | | These expose the raw cc115l and rfpa0133 register settings so that we can calibrate them against measured power outputs. I've tested them to verify that they change how much power the board consumes, so they're clearly doing something... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add FAT32 support. And lots more testing.Keith Packard2013-03-29
| | | | | | | | Generalizes the FAT code to deal with either 16-bit or 32-bit versions. The testing code now runs over a variety of disk images to check for compatibility on all of them. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: seek forward on FAT cluster chain instead of restartingKeith Packard2013-03-28
| | | | | | | | This improves sequential file performance by taking advantage of any previous cached cluster/offset pair and starting from there when the cluster changes rather than starting from scratch at the begining again. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add a simple cache for the FAT position->cluster computationKeith Packard2013-03-28
| | | | | | | This improves read/write performance with large files by not re-walking the cluster chain for every operation Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Clean up fat driver API. Improve fat testKeith Packard2013-03-28
| | | | | | | | Make FAT api provide reasonable error return values, change the tests to write and then read a pile of files, checking that the contents are correct (using md5sum). Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add sanity checking to busy counts in bufio driverKeith Packard2013-03-28
| | | | | | Make sure the busy counts don't underflow or overflow. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't deref null pyros when saving altimeter configKeith Packard2013-03-27
| | | | | | | The check for no pyro config is to compare npyros against zero rather than check the length of the pyros array as the latter may be null. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use FTDW, clear DATA bit. Disable backup write protectionKeith Packard2013-03-27
| | | | | | | | | The newer(?) chips in telegps didn't like the previous programming scheme, so go back to fixed time for write, which does an implicit erase before every write. Also clear the DATA bit, which is only needed for double word erase/programming. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Teleshield has a radio, set HAS_RADIO in ao_pins.hKeith Packard2013-03-27
| | | | | | Otherwise, lots of random code won't know about the radio.. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add new panic flag for bufio misuseKeith Packard2013-03-27
| | | | | | Allow the bufio code to signal a fatal error if someone misuses the API Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Hook up the FAT16 and SD card support to telegpsKeith Packard2013-03-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add SDCARD and FAT16 filesystem supportKeith Packard2013-03-27
| | | | | | | This adds a fairly primitive FAT16 file system implementation along with support for SD cards. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix config to not abort radio recv when no recv is availableKeith Packard2013-03-26
| | | | | | | Use the new radio recv define to skip disabling the receiver when there isn't a receiver. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow radio recv and xmit to be separately configuredKeith Packard2013-03-26
| | | | | | | The CC115L is xmit only, so split out the functions and provide defines to check for xmit or recv separately as needed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm: Ensure SPI always sends 0xff during receiveKeith Packard2013-03-26
| | | | | | SD cards require 0xff when fetching data Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Improve CC115L driver. Generates carrier now.Keith Packard2013-03-26
| | | | | | Still no data, but at least the carrier comes up on frequency now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add RFPA0133 amplifier driverKeith Packard2013-03-26
| | | | | | No configuration of power level yet, just the bare driver. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps: Hook up cc115l driverKeith Packard2013-03-24
| | | | | | Doesn't actually do anything yet, but should initialize the chip at least Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add cc115l driver (untested)Keith Packard2013-03-24
| | | | | | Includes support for sending telemetry, RDF and APRS tones Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Make library support µPusbKeith Packard2013-03-20
| | | | | | Set baud rate to 9600, look for FTDI-style names Signed-off-by: Keith Packard <keithp@keithp.com>
* Add telegps initial versionKeith Packard2013-03-20
| | | | | | Just lights up the GPS and USB Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: add ao-dump-upKeith Packard2013-03-18
| | | | | | Dumps out a µP log. Useful for µPusb bring-up Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak: Improve download docs and UIKeith Packard2013-03-11
| | | | | | | Add text explaining that the LED and phototransistor must be touching to both the doc and the UI. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge remote-tracking branch 'mjb/altosdroid'Keith Packard2013-03-10
|\
| * altosdroid: Add map polyline between pad and rocketMike Beattie2013-03-10
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: Add rocket and pad map markersMike Beattie2013-03-10
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: programmatically create map fragmentMike Beattie2013-03-10
| | | | | | | | | | | | | | | | * Allows reliable fetching of a GoogleMap handle. * Set map options, initial location (NCR North for now, temporarily) * Add some info fields below map, and update them accordingly Signed-off-by: Mike Beattie <mike@ethernal.org>
| * Merge branch 'master' into altosdroidMike Beattie2013-03-10
| |\
| | * altosdroid: Add SDK checks to configure.acMike Beattie2013-03-10
| | | | | | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| | * altosdroid: adjust clean targets to get rid of automake warningMike Beattie2013-03-10
| | | | | | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| | * ao-tools: Add ao-edit-telem to .gitignoreMike Beattie2013-03-10
| | | | | | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| * | Merge branch 'master' into altosdroidMike Beattie2013-03-10
| |\|
| * | altosdroid: fix side-to-side scrolling in map tabMike Beattie2013-03-08
| | | | | | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* | | altos: re-enable optimization for stm-demo. remove unused bitsKeith Packard2013-03-10
| |/ |/| | | | | | | | | This makes stm-demo run on the discovery board again. Signed-off-by: Keith Packard <keithp@keithp.com>
* | ao-tools: Add ao-edit-telemKeith Packard2013-03-09
| | | | | | | | | | | | | | | | This lets you edit a telemetry file. The only current editing available is to change the pad location, allowing a flight to be replayed anywhere in the world. Signed-off-by: Keith Packard <keithp@keithp.com>
* | ao-tools/lib: Add cc_telemetry_unparseKeith Packard2013-03-09
| | | | | | | | | | | | This takes a telemetry structure and generates a string version Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Add N/S and E/W to info table lat/lon valuesKeith Packard2013-03-09
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge remote-tracking branch 'mjb/altosdroid'Keith Packard2013-03-07
|\|
| * altosdroid: Auto tab changingMike Beattie2013-03-07
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: implement Age field updatingMike Beattie2013-03-07
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: implement UI updating on tabsMike Beattie2013-03-07
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: implement tabs interfaceMike Beattie2013-03-07
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: Import initial versions of XML and Java for Tab contentMike Beattie2013-03-07
| | | | | | | | | | | | | | | | | | | | * Includes TabsAdapter class borrowed from Support Library sample code * New "GoNoGoLights" class for dealing with the red/green/gray LEDs * extra required strings in strings.xml * Couple of support functions in AltosDroid.java * rudimentary Maps tab - does nothing at present. Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: whitespace cleanupMike Beattie2013-03-07
| | | | | | | | | | | | DAMN my OCD. Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: make AltosDroid.pos() staticMike Beattie2013-03-07
| | | | | | | | | | | | * Will be used from tabs that display lat/lon Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: convert spaces to tabs in strings.xmlMike Beattie2013-03-07
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: adjust release Makefile targetMike Beattie2013-03-07
| | | | | | | | | | | | | | | | * Rename target * Add dependency on unsigned release APK * use $(ZIPALIGN) variable Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altosdroid: Symlink red/green/gray LEDs via build systemMike Beattie2013-03-07
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>