]> git.gag.com Git - fw/altos/log
fw/altos
12 years agoaltos: Make gcc happy with ao_telemetry_set_interval
Keith Packard [Wed, 27 Jun 2012 06:15:54 +0000 (23:15 -0700)]
altos: Make gcc happy with ao_telemetry_set_interval

Using unsigned locals made GCC sad as it was compared with a signed value.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Turn radio-related bits of ao_flight_mm.c
Keith Packard [Wed, 27 Jun 2012 06:14:13 +0000 (23:14 -0700)]
altos: Turn radio-related bits of ao_flight_mm.c

Now that MM has full radio functionality, we can make it work right.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: custom hex printer for telemetry packets
Keith Packard [Wed, 27 Jun 2012 06:13:14 +0000 (23:13 -0700)]
altos: custom hex printer for telemetry packets

Using printf is way too slow with pdclib; just hand-write hex byte output.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Optimize FEC encode and decode
Keith Packard [Wed, 27 Jun 2012 06:11:10 +0000 (23:11 -0700)]
altos: Optimize FEC encode and decode

Integrate interleaving, CRC and padding within the decode/encode
functions.

Provide for ISR priorities so that the 1120 RX interrupt takes
precedence over the other interrupts or we risk losing bits.

Optimize the viterbi decoder a bit (goes from 10ms per packet to 7ms
per packet).

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Add GPS logging code for MegaMetrum
Keith Packard [Wed, 27 Jun 2012 06:07:38 +0000 (23:07 -0700)]
altos: Add GPS logging code for MegaMetrum

MM uses a different logging format with larger log blocks, so
restructure the GPS logging code to fill them up

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Make cc1111 radio control functions static
Keith Packard [Wed, 27 Jun 2012 06:05:42 +0000 (23:05 -0700)]
altos: Make cc1111 radio control functions static

No need to publish these; they're all private to cc1111

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Clean up usage of port parameters
Keith Packard [Wed, 27 Jun 2012 06:01:58 +0000 (23:01 -0700)]
altos: Clean up usage of port parameters

Make stm port parameters always be pointers; this avoids the confusion
where some macros took '&port' and others took a bare 'port', and also
unifies code to run on other processors in a consistent fashion.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Make libaltos recognise new USB ids
Keith Packard [Wed, 27 Jun 2012 05:20:50 +0000 (22:20 -0700)]
altosui: Make libaltos recognise new USB ids

libaltos has a small range of 'AltusMetrum' products to avoid opening
other devices. We've got more IDs, so open up the range.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: AltosSerial and AltosLink both tried to provide frequency setting
Keith Packard [Wed, 27 Jun 2012 05:19:01 +0000 (22:19 -0700)]
altosui: AltosSerial and AltosLink both tried to provide frequency setting

AltosLink owns all of the device configuration, so remove that from
AltosSerial and make sure that AltosLink provides the right function
signatures (wasn't using the new direct frequency setting command).

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: rename ao_viterbi.c to ao_fec_rx.c
Keith Packard [Wed, 27 Jun 2012 05:16:44 +0000 (22:16 -0700)]
altos: rename ao_viterbi.c to ao_fec_rx.c

Keep it parallel with ao_fec_tx.c

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Incremental viterbi decode
Keith Packard [Mon, 25 Jun 2012 13:51:36 +0000 (06:51 -0700)]
altos: Incremental viterbi decode

Decode radio input one interleave block at a time. This overlaps the
decode computation with the packet reception, leading to lower latency
in an attempt to keep up with the transmitter.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: decode cc1120 received packets
Keith Packard [Mon, 25 Jun 2012 13:38:34 +0000 (06:38 -0700)]
altos: decode cc1120 received packets

Call the fec decode function, compute RSSI and check CRC

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Get cc1120 packet reception working
Keith Packard [Mon, 25 Jun 2012 12:03:34 +0000 (05:03 -0700)]
altos: Get cc1120 packet reception working

Interrupt-per-bit, but it seems to work

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Forgot ao_telemetry.h
Keith Packard [Mon, 25 Jun 2012 12:03:16 +0000 (05:03 -0700)]
altos: Forgot ao_telemetry.h

Not much builds without this...

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: improve FEC apis to reduce data copying
Keith Packard [Sat, 23 Jun 2012 23:05:42 +0000 (16:05 -0700)]
altos: improve FEC apis to reduce data copying

Integrate interleaving and whitening into encode and decode steps.
Add CRC checking function for receive.

Make ao_fec_test program round-trip the data and verify correctness.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Add ao_viterbi.c to megametrum build
Keith Packard [Sat, 23 Jun 2012 09:24:30 +0000 (02:24 -0700)]
altos: Add ao_viterbi.c to megametrum build

It's not used yet, just wanted to see how big the resulting object
file was (492 bytes).

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: fix comment about decoding last byte of FEC data
Keith Packard [Sat, 23 Jun 2012 09:23:08 +0000 (02:23 -0700)]
altos: fix comment about decoding last byte of FEC data

There aren't *any* forward bits to use when decoding the last byte.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Make ao_fec_tx_test build cleanly with -Wall
Keith Packard [Sat, 23 Jun 2012 09:13:52 +0000 (02:13 -0700)]
altos: Make ao_fec_tx_test build cleanly with -Wall

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: optimize Viterbi implementation
Keith Packard [Sat, 23 Jun 2012 09:12:58 +0000 (02:12 -0700)]
altos: optimize Viterbi implementation

Minimize data usage, make data arrays static

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: incremental viterbi decode
Keith Packard [Sat, 23 Jun 2012 07:54:42 +0000 (00:54 -0700)]
altos: incremental viterbi decode

Decode bits incrementally. Don't bother decoding the last byte; it's
always a pad byte.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Start optimizing viterbi decoder
Keith Packard [Sat, 23 Jun 2012 06:31:11 +0000 (23:31 -0700)]
altos: Start optimizing viterbi decoder

Only need two cost arrays (previous and next). Create constant
full-width decoder table instead of expanding bits into bytes for each
decode step.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Add the simplest possible viterbi decoder
Keith Packard [Sat, 23 Jun 2012 06:12:02 +0000 (23:12 -0700)]
altos: Add the simplest possible viterbi decoder

I think I understand how it works now. It's not exactly speedy, and it
uses a lot of memory.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Move FEC code to core
Keith Packard [Thu, 21 Jun 2012 16:52:37 +0000 (09:52 -0700)]
altos: Move FEC code to core

It's not a driver as it's not specific to the 1120 chip

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoao-tools: Support MM telemetry packets in ao-telem
Keith Packard [Thu, 21 Jun 2012 16:51:17 +0000 (09:51 -0700)]
ao-tools: Support MM telemetry packets in ao-telem

Parse the new packet formats

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Support MM telemetry packets
Keith Packard [Thu, 21 Jun 2012 16:50:18 +0000 (09:50 -0700)]
altosui: Support MM telemetry packets

Required restructuring the whole telemetry system to provide abstract
interfaces to flight data.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Crank down STM SPI speed for MM
Keith Packard [Thu, 21 Jun 2012 16:46:50 +0000 (09:46 -0700)]
altos: Crank down STM SPI speed for MM

The cc1120 is noisy enough to break SPI data transfers at 4MHz, so
crank things down to 1MHz. It's "stable" now, but clearly needs a
filter and shorter traces.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Add full MM telemetry
Keith Packard [Thu, 21 Jun 2012 16:45:42 +0000 (09:45 -0700)]
altos: Add full MM telemetry

Create two new telemetry packets to hold all of the MM data.

This patch also splits the telemetry structures out of ao.h

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Configure STM LCD driver for giant LCD digits
Keith Packard [Thu, 21 Jun 2012 16:39:10 +0000 (09:39 -0700)]
altos: Configure STM LCD driver for giant LCD digits

These devices require static mode.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Make sure ao_storage_config is set before reading config block
Keith Packard [Mon, 18 Jun 2012 02:11:35 +0000 (19:11 -0700)]
altos: Make sure ao_storage_config is set before reading config block

ao_storage_read does in fact call ao_storage_setup, but we need the
value of ao_storage_config *before* calling ao_storage_read, so call
ao_storage_setup first.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: hack STM serial number to 58
Keith Packard [Mon, 18 Jun 2012 02:06:08 +0000 (19:06 -0700)]
altos: hack STM serial number to 58

otherwise altosui won't record telemetry

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: make cc1120 ao_radio_send re-entrant
Keith Packard [Mon, 18 Jun 2012 02:04:53 +0000 (19:04 -0700)]
altos: make cc1120 ao_radio_send re-entrant

It gets called from multiple tasks, so put local data on the stack.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Add telemetry to megametrum
Keith Packard [Mon, 18 Jun 2012 02:04:22 +0000 (19:04 -0700)]
altos: Add telemetry to megametrum

Now that the radio works

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoao-tools: add rudimentary support for MM telemetry to ao-telem
Keith Packard [Mon, 18 Jun 2012 02:02:50 +0000 (19:02 -0700)]
ao-tools: add rudimentary support for MM telemetry to ao-telem

Just pretends they're TM packets for now

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Add rudimentary MM support to altosui
Keith Packard [Mon, 18 Jun 2012 02:01:24 +0000 (19:01 -0700)]
altosui: Add rudimentary MM support to altosui

Decoded the MM sensor packets as if they were TM packets.
Add the USB ids.
Add class of 'altimeter' devices and match those instead of just
telemetrum as appropriate.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Move product definitions from AltosUI to AltosLib
Keith Packard [Mon, 18 Jun 2012 01:58:56 +0000 (18:58 -0700)]
altosui: Move product definitions from AltosUI to AltosLib

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Software implemenation of CC1111 radio encoding
Keith Packard [Sun, 17 Jun 2012 23:17:00 +0000 (16:17 -0700)]
altos: Software implemenation of CC1111 radio encoding

Add CRC, whitening, FEC and interleaving routines for transmission
path to allow cc1120 to send telem packets to cc1111.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Be more careful about register save/restore in ao_yield
Keith Packard [Sun, 17 Jun 2012 23:14:33 +0000 (16:14 -0700)]
altos: Be more careful about register save/restore in ao_yield

Make sure the general registers are all saved before messing with any
of them. Then, explicitly use r0 to save/restore apsr and primask.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Don't lose IRQ disabled state in ao_sleep
Keith Packard [Sun, 17 Jun 2012 23:12:18 +0000 (16:12 -0700)]
altos: Don't lose IRQ disabled state in ao_sleep

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>
12 years agoaltos: ao_storage_read already calls ao_storage_setup
Keith Packard [Sun, 17 Jun 2012 23:11:23 +0000 (16:11 -0700)]
altos: ao_storage_read already calls ao_storage_setup

No need to call twice.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Catch timeout errors when setting up TD telem monitoring
Keith Packard [Sun, 17 Jun 2012 23:09:43 +0000 (16:09 -0700)]
altosui: Catch timeout errors when setting up TD telem monitoring

Close the port in this case so it can be used for other things.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Use interrupts to wake up after RDF transmission.
Keith Packard [Sun, 17 Jun 2012 19:43:43 +0000 (12:43 -0700)]
altos: Use interrupts to wake up after RDF transmission.

Also clean up the debug output

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Crank cc1120 power down to 0dBm to avoid crashing CPU
Keith Packard [Sun, 17 Jun 2012 19:42:32 +0000 (12:42 -0700)]
altos: Crank cc1120 power down to 0dBm to avoid crashing CPU

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>
12 years agoaltos: Reduce STM SPI data rate to 4MHz
Keith Packard [Sat, 16 Jun 2012 05:41:17 +0000 (22:41 -0700)]
altos: Reduce STM SPI data rate to 4MHz

cc1120 doesn't want more than 6.1MHz, otherwise it gets very angry.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Start making cc1120 radio work
Keith Packard [Sat, 16 Jun 2012 05:40:30 +0000 (22:40 -0700)]
altos: Start making cc1120 radio work

RDF tones and radio calibration work now.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Fix cc1120 packet mode datarate and config
Keith Packard [Sat, 16 Jun 2012 05:38:37 +0000 (22:38 -0700)]
altos: Fix cc1120 packet mode datarate and config

Was using the wrong function

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Make sure cc1120 is initialized correctly at startup time
Keith Packard [Sat, 16 Jun 2012 05:32:10 +0000 (22:32 -0700)]
altos: Make sure cc1120 is initialized correctly at startup time

Check to make sure it pulls down MISO when CS is enabled.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: use 'b' command for radio beep
Keith Packard [Sat, 16 Jun 2012 05:31:36 +0000 (22:31 -0700)]
altos: use 'b' command for radio beep

'B' is used by the baro data dumper.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Fix RDF mode data rate and PKT_CFG0 value
Keith Packard [Sat, 16 Jun 2012 05:30:03 +0000 (22:30 -0700)]
altos: Fix RDF mode data rate and PKT_CFG0 value

Changes tone to the desired 1kHz frequency and ensures the PKT_CFG0
has the right value.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Actually write cc1120 register values
Keith Packard [Sat, 16 Jun 2012 05:28:55 +0000 (22:28 -0700)]
altos: Actually write cc1120 register values

Helps to not use 'read' mode when writing.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Configure cc1120 frequency
Keith Packard [Sat, 16 Jun 2012 05:27:48 +0000 (22:27 -0700)]
altos: Configure cc1120 frequency

Set default conversion value, and pull the selected frequency
calibration data out of the config block.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoTemporarily disable packet and telem on MM
Keith Packard [Sat, 16 Jun 2012 05:26:06 +0000 (22:26 -0700)]
Temporarily disable packet and telem on MM

While work on the radio code progresses

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoAllow product to override maximum number of command lists (NUM_CMDS)
Keith Packard [Sat, 16 Jun 2012 05:23:10 +0000 (22:23 -0700)]
Allow product to override maximum number of command lists (NUM_CMDS)

Just in case some product wants to save memory, or have more.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosdroid: Add files necessary to build application
Keith Packard [Tue, 5 Jun 2012 22:15:25 +0000 (15:15 -0700)]
altosdroid: Add files necessary to build application

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: More changes to migrate code to altoslib
Keith Packard [Tue, 5 Jun 2012 03:56:25 +0000 (20:56 -0700)]
altosui: More changes to migrate code to altoslib

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: attempt to get ms5607 data into .mega files was misinformed
Keith Packard [Tue, 5 Jun 2012 03:55:33 +0000 (20:55 -0700)]
altosui: attempt to get ms5607 data into .mega files was misinformed

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>
12 years agoaltos: Make cc1111 products all depend on ao_arch.h and ao_arch_func.h
Keith Packard [Tue, 5 Jun 2012 03:54:36 +0000 (20:54 -0700)]
altos: Make cc1111 products all depend on ao_arch.h and ao_arch_func.h

Ensures that files get recompiled as needed

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Other half of the ms5607 prom reporting patch
Keith Packard [Tue, 5 Jun 2012 03:53:53 +0000 (20:53 -0700)]
altos: Other half of the ms5607 prom reporting patch

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: typo in ao_monitor prevented ground station from including code
Keith Packard [Tue, 5 Jun 2012 03:53:06 +0000 (20:53 -0700)]
altos: typo in ao_monitor prevented ground station from including code

This created ground station software that couldn't actually receive
and report telemetry packets.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Make 'v' command dump pressure sensor ROM values
Keith Packard [Tue, 5 Jun 2012 03:52:38 +0000 (20:52 -0700)]
altos: Make 'v' command dump pressure sensor ROM values

Avoids needing a new command

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: fix test builds of non-accel flight code
Keith Packard [Tue, 5 Jun 2012 03:51:35 +0000 (20:51 -0700)]
altos: fix test builds of non-accel flight code

Remove references to accel variables when building baro-only flight
test code.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Legacy telemetry needs original ADC record
Keith Packard [Tue, 5 Jun 2012 03:50:10 +0000 (20:50 -0700)]
altos: Legacy telemetry needs original ADC record

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>
12 years agoaltos: Remove unused AES code from teledongle and tidongle
Keith Packard [Tue, 5 Jun 2012 03:49:15 +0000 (20:49 -0700)]
altos: Remove unused AES code from teledongle and tidongle

Leave this out as neither of these products need it.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: Remove accel_ref from pre v1.1 TM firmware
Keith Packard [Tue, 5 Jun 2012 03:47:14 +0000 (20:47 -0700)]
altos: Remove accel_ref from pre v1.1 TM firmware

V1.0 needs RAM space for flash buffer, leaving too little room for
this extra data.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltos: More cleanups for moving files to altoslib
Keith Packard [Tue, 5 Jun 2012 02:28:58 +0000 (19:28 -0700)]
altos: More cleanups for moving files to altoslib

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltoslib: Clean up random rebase failures
Keith Packard [Sun, 3 Jun 2012 02:59:40 +0000 (19:59 -0700)]
altoslib: Clean up random rebase failures

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltoslib: Move new sensor library code into altoslib
Keith Packard [Sun, 3 Jun 2012 02:42:47 +0000 (19:42 -0700)]
altoslib: Move new sensor library code into altoslib

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoBuild altosdroid
Keith Packard [Sat, 17 Mar 2012 03:27:45 +0000 (20:27 -0700)]
Build altosdroid

12 years agoAdd local.properties to .gitignore
Mike Beattie [Thu, 23 Feb 2012 03:43:04 +0000 (16:43 +1300)]
Add local.properties to .gitignore

Signed-off-by: Mike Beattie <mike@ethernal.org>
12 years agoAdd TelemetryService.java and associated files
Mike Beattie [Thu, 23 Feb 2012 03:41:26 +0000 (16:41 +1300)]
Add TelemetryService.java and associated files

Signed-off-by: Mike Beattie <mike@ethernal.org>
12 years agoMove altoslib sources to top dir
Keith Packard [Thu, 23 Feb 2012 04:00:48 +0000 (17:00 +1300)]
Move altoslib sources to top dir

No sense having them live deep in the file system.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoDemonstrate using AltosLib from altosdroid
Keith Packard [Thu, 23 Feb 2012 03:37:24 +0000 (16:37 +1300)]
Demonstrate using AltosLib from altosdroid

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>
12 years agoIgnore generated altoslib files
Keith Packard [Wed, 22 Feb 2012 22:15:23 +0000 (11:15 +1300)]
Ignore generated altoslib files

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoBuild Android local.properties from local.properties.in
Keith Packard [Wed, 22 Feb 2012 10:39:01 +0000 (23:39 +1300)]
Build Android local.properties from local.properties.in

Make sure the SDK path is set correctly

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoAdd $HOME/android as an SDK location
Mike Beattie [Wed, 22 Feb 2012 10:40:25 +0000 (23:40 +1300)]
Add $HOME/android as an SDK location

Signed-off-by: Mike Beattie <mike@ethernal.org>
12 years agodoc: Add companion SPI message protocol doc
Keith Packard [Fri, 13 Jan 2012 18:40:30 +0000 (10:40 -0800)]
doc: Add companion SPI message protocol doc

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Clean up a few 'fat' build rules
Keith Packard [Sun, 8 Jan 2012 04:56:49 +0000 (20:56 -0800)]
altosui: Clean up a few 'fat' build rules

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoAdd altosdroid/Makefile.am
Keith Packard [Fri, 6 Jan 2012 00:30:41 +0000 (16:30 -0800)]
Add altosdroid/Makefile.am

12 years agoAdd AltusMetrum Logo as app icon, and change app name
Mike Beattie [Thu, 5 Jan 2012 05:01:44 +0000 (21:01 -0800)]
Add AltusMetrum Logo as app icon, and change app name

Signed-off-by: Mike Beattie <mike@ethernal.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosdroid: build android bits when possible
Keith Packard [Thu, 5 Jan 2012 04:54:40 +0000 (20:54 -0800)]
altosdroid: build android bits when possible

Locate android sdk automatically

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosdroid: import code from mjb
Keith Packard [Thu, 5 Jan 2012 04:33:06 +0000 (20:33 -0800)]
altosdroid: import code from mjb

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Move java altoslib to top level
Keith Packard [Thu, 5 Jan 2012 04:28:42 +0000 (20:28 -0800)]
altosui: Move java altoslib to top level

This will be shared with other (android) java code.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoAdd altoslib/.gitignore
Keith Packard [Tue, 3 Jan 2012 06:43:48 +0000 (22:43 -0800)]
Add altoslib/.gitignore

12 years agoaltosui: Fix AltosTelemetryReader move
Keith Packard [Tue, 3 Jan 2012 06:42:18 +0000 (22:42 -0800)]
altosui: Fix AltosTelemetryReader move

Lost the provided link value causing a crash.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Remove unused files
Keith Packard [Tue, 3 Jan 2012 06:41:48 +0000 (22:41 -0800)]
altosui: Remove unused files

Left around from development, these aren't useful.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Move telemetry reader &c to altoslib
Keith Packard [Tue, 3 Jan 2012 06:35:41 +0000 (22:35 -0800)]
altosui: Move telemetry reader &c to altoslib

Move all of the device and file reading code into altoslib

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Move AltosState.java to altoslib
Keith Packard [Tue, 3 Jan 2012 06:13:38 +0000 (22:13 -0800)]
altosui: Move AltosState.java to altoslib

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Pull most of AltosSerial into AltosLink
Keith Packard [Tue, 3 Jan 2012 06:05:47 +0000 (22:05 -0800)]
altosui: Pull most of AltosSerial into AltosLink

Share basic command processing across java users

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Move AltosGreatCircle.java to altoslib
Keith Packard [Tue, 3 Jan 2012 05:12:45 +0000 (21:12 -0800)]
altosui: Move AltosGreatCircle.java to altoslib

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Move AltosEepromTeleScience.java to altoslib
Keith Packard [Tue, 3 Jan 2012 05:08:34 +0000 (21:08 -0800)]
altosui: Move AltosEepromTeleScience.java to altoslib

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Move more eeprom stuff to altoslib
Keith Packard [Tue, 3 Jan 2012 05:05:02 +0000 (21:05 -0800)]
altosui: Move more eeprom stuff to altoslib

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Move eeprom managment code to library
Keith Packard [Tue, 3 Jan 2012 04:57:57 +0000 (20:57 -0800)]
altosui: Move eeprom managment code to library

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Move AltosEepromChunk.java to lib
Keith Packard [Tue, 3 Jan 2012 04:47:16 +0000 (20:47 -0800)]
altosui: Move AltosEepromChunk.java to lib

Also fixes install issues with split lib

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Finish moving AltosConfigData to altoslib
Keith Packard [Tue, 3 Jan 2012 04:39:16 +0000 (20:39 -0800)]
altosui: Finish moving AltosConfigData to altoslib

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Move AltosConfigData.java to library
Keith Packard [Tue, 3 Jan 2012 04:34:38 +0000 (20:34 -0800)]
altosui: Move AltosConfigData.java to library

Create a new 'AltosLink' which exposes how to talk to the remote
device abstractly via 'get_reply' and 'printf' methods.

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Add back in the split-out Altos constants as AltosLib
Keith Packard [Tue, 3 Jan 2012 04:32:35 +0000 (20:32 -0800)]
altosui: Add back in the split-out Altos constants as AltosLib

These were pulled out of Altos.java, but not added back to git

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Complete split out of separate java library
Keith Packard [Tue, 3 Jan 2012 01:26:59 +0000 (17:26 -0800)]
altosui: Complete split out of separate java library

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Clean swing/awt bits out of altoslib
Keith Packard [Tue, 3 Jan 2012 00:16:51 +0000 (16:16 -0800)]
altosui: Clean swing/awt bits out of altoslib

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agomove a file back
Keith Packard [Tue, 3 Jan 2012 00:13:46 +0000 (16:13 -0800)]
move a file back

12 years agoaltosui: Split out lots of the altosui code to a shared library
Keith Packard [Tue, 3 Jan 2012 00:09:29 +0000 (16:09 -0800)]
altosui: Split out lots of the altosui code to a shared library

To be shared with the Android application eventually

Signed-off-by: Keith Packard <keithp@keithp.com>
12 years agoaltosui: Split out UI-specific preferences
Keith Packard [Mon, 2 Jan 2012 23:45:14 +0000 (15:45 -0800)]
altosui: Split out UI-specific preferences

Prepare to create library shared with android application.

Signed-off-by: Keith Packard <keithp@keithp.com>