fw/altos
9 years agoaltos/lpc: Declare SPI send parameters as const
Keith Packard [Fri, 7 Nov 2014 00:04:14 +0000 (16:04 -0800)]
altos/lpc: Declare SPI send parameters as const

This matches STM

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Use other TeleDongle LED for CRC-invalid packet reporting
Keith Packard [Fri, 7 Nov 2014 00:02:47 +0000 (16:02 -0800)]
altos: Use other TeleDongle LED for CRC-invalid packet reporting

Instead of blinking out some fake-o RSSI indication, just blink the
red LED when a packet with a bad CRC is received.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosuilib: GPS errors are recorded in floating point, not integers
Keith Packard [Fri, 7 Nov 2014 00:02:07 +0000 (16:02 -0800)]
altosuilib: GPS errors are recorded in floating point, not integers

Fix the format used to present them in the info table.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Use AO_SPO_SPEED_FAST for CC1200
Keith Packard [Fri, 7 Nov 2014 00:01:24 +0000 (16:01 -0800)]
altos: Use AO_SPO_SPEED_FAST for CC1200

This asks for the fastest available SPI speed, instead of fixing it to
8MHz, which may not be supported on every architecture.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Stop attempting to ramp power on CC115L
Keith Packard [Fri, 7 Nov 2014 00:00:06 +0000 (16:00 -0800)]
altos: Stop attempting to ramp power on CC115L

The PA register on the 115L isn't in any way monotonic, making the old
code broken. Just rempve it instead of fixing it; we don't ramp
anywhere else...

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Declare port register type only in arch header
Keith Packard [Thu, 6 Nov 2014 23:58:42 +0000 (15:58 -0800)]
altos: Declare port register type only in arch header

Instead of defaulting to 8 bits, explicitly require declaration of the
type of the port register for each architecture.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMove teledongle 1.9 to 1.8; there's a new 1.9
Keith Packard [Thu, 6 Nov 2014 21:27:29 +0000 (13:27 -0800)]
Move teledongle 1.9 to 1.8; there's a new 1.9

1.9 is now the lpc11u14-based form-factor prototype board.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Rename microwater to microsplash
Keith Packard [Thu, 6 Nov 2014 06:11:44 +0000 (22:11 -0800)]
altos: Rename microwater to microsplash

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Pop up 'Connecting' dialog during Monitor Idle
Keith Packard [Fri, 31 Oct 2014 04:59:45 +0000 (21:59 -0700)]
altosui: Pop up 'Connecting' dialog during Monitor Idle

This was a bit harder than expected as I had to wire up a way to shut
down the whole monitor idle window when you clicked on the cancel button.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Increase CC1200 SPI data rate to 8MHz
Keith Packard [Sun, 26 Oct 2014 04:14:25 +0000 (21:14 -0700)]
altos: Increase CC1200 SPI data rate to 8MHz

This got set to 125kHz to make debugging with a logic analyzer easier
and never changed back to a reasonable speed.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Fix up telemetry delay computations
Keith Packard [Sun, 26 Oct 2014 02:56:25 +0000 (19:56 -0700)]
altos: Fix up telemetry delay computations

With RDF, APRS and telemetry all being sent at varying rates,
computing when to send the next radio data is not as simple as sending
telemetry and then figuring out whether to send RDF and/or APRS.

Fix this by computing times for the next telemetry/rdf/aprs packet,
and only sending each when that time has passed. Compute the delay
until the next radio activity as the minimum time to any transmission.

This also adds code to the config bits to reset the radio times
whenever something changes that might affect which radio data to send
next.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Perform cc1200 calibration less often. Tweak radio params
Keith Packard [Sun, 26 Oct 2014 00:44:48 +0000 (17:44 -0700)]
altos: Perform cc1200 calibration less often. Tweak radio params

This performs calibration after every 4 operations, or when the
frequency changes. This reduces the time it takes to get to receive
mode.

This also makes the sync and preamble qualifiers more strict to reject
bad packets.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Remove old AO_SEND_ALL_BARO bits
Keith Packard [Sat, 25 Oct 2014 18:20:44 +0000 (11:20 -0700)]
altos: Remove old AO_SEND_ALL_BARO bits

This was used for testing the original TeleMini which couldn't log
data at full speed.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Build TeleDongle v1.9 by default
Keith Packard [Sat, 25 Oct 2014 17:21:30 +0000 (10:21 -0700)]
altos: Build TeleDongle v1.9 by default

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Increase PQT value for cc1200 improving sensitivity
Keith Packard [Sat, 25 Oct 2014 17:20:07 +0000 (10:20 -0700)]
altos: Increase PQT value for cc1200 improving sensitivity

The PQT value indicates how 'good' the preamble is; higher values
allow a lower quality of preamble to pass the test, permitting more
packets to be decoded.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Sort out ao_gps_print altitude fetching
Keith Packard [Sat, 25 Oct 2014 17:17:48 +0000 (10:17 -0700)]
altos: Sort out ao_gps_print altitude fetching

ao_gps_print is used by both teledongle/telebt and the host-based GPS
test code. The first instance uses the old internal GPS structure,
containing just a 16-bit altitude while the second uses an
ao_telemetry structure, which contains 32 bits split into two
members.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos/teledongle-v1.9: Add remaining code to complete the project
Keith Packard [Tue, 7 Oct 2014 03:36:18 +0000 (05:36 +0200)]
altos/teledongle-v1.9: Add remaining code to complete the project

This turns the prototype board into a full teledongle

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Complete cc1200 driver
Keith Packard [Tue, 7 Oct 2014 03:34:06 +0000 (05:34 +0200)]
altos: Complete cc1200 driver

Deal with differences between cc1120 and cc1200, including built-in
packet support and various register changes.

This now works to send and receive telemetry, as well as send APRS and
RDF.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Expose telemetry altitude macros even without GPS
Keith Packard [Tue, 7 Oct 2014 03:35:10 +0000 (05:35 +0200)]
altos: Expose telemetry altitude macros even without GPS

This allows for APRS testing in the new teledongle code

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Mark STM ao_spi_send as taking const pointer
Keith Packard [Tue, 7 Oct 2014 03:32:00 +0000 (05:32 +0200)]
altos: Mark STM ao_spi_send as taking const pointer

We don't write to this, so let it be const for type checking

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoao-tools/ao-send-telem: Add verbose, fake and rate options
Keith Packard [Sat, 25 Oct 2014 02:10:45 +0000 (19:10 -0700)]
ao-tools/ao-send-telem: Add verbose, fake and rate options

Verbose dumps some data while sending packets.
Fake sends constructed packets, once every 500ms.
Rate sets the transmit bit rate.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosuilib: Try to detect the architecture when loading JNI lib
Keith Packard [Wed, 15 Oct 2014 23:10:11 +0000 (16:10 -0700)]
altosuilib: Try to detect the architecture when loading JNI lib

Look at sun.arch.data.model and os.arch to try and load the right
libaltos file the first time.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltoslib: synchronize access to serial debug output list
Keith Packard [Sat, 25 Oct 2014 04:21:19 +0000 (21:21 -0700)]
altoslib: synchronize access to serial debug output list

This list is access by both the receiver and the monitor task, so it
needs to be locked to prevent collisions.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agodocument pyro current limits in an appendix
Bdale Garbee [Thu, 9 Oct 2014 19:11:16 +0000 (13:11 -0600)]
document pyro current limits in an appendix

9 years agoaltos: Add prototype TeleDongle v1.9 code
Keith Packard [Sun, 5 Oct 2014 07:07:10 +0000 (00:07 -0700)]
altos: Add prototype TeleDongle v1.9 code

Lights up the hardware, sends carrier and RDF tones. A bit more cc1200
work to be done still.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Copy cc1120 driver to cc1200 driver and hack a bit
Keith Packard [Sun, 5 Oct 2014 07:03:28 +0000 (00:03 -0700)]
altos: Copy cc1120 driver to cc1200 driver and hack a bit

The cc1200 is similar to the cc1120, although many registers have
changed.

This driver can send a bare carrier and an RDF tone, but does not yet
receive or transmit telemetry data.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Fix syntax error with ao_log_mega change.
Keith Packard [Sat, 4 Oct 2014 07:30:54 +0000 (00:30 -0700)]
altos: Fix syntax error with ao_log_mega change.

Missed a semi-colon.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltoslib: Compute tilt angle from eeprom data
Keith Packard [Sat, 4 Oct 2014 07:11:13 +0000 (00:11 -0700)]
altoslib: Compute tilt angle from eeprom data

This copies the computation of tilt angle from the firmware so that
post-flight analysis can also show the data.

This change also renames all of the imu values to make them easier to
understand:

accel gyro axis

along roll length of the board
across pitch across the board
through yaw through the board.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Update 'Imperial Units' checkbox when units change
Keith Packard [Sat, 4 Oct 2014 07:10:03 +0000 (00:10 -0700)]
altosui: Update 'Imperial Units' checkbox when units change

If you have two graphs running, make sure the imperial units
checkboxes agree.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltoslib: Deal with new Mega log format that has 32-bit gyro cal
Keith Packard [Sat, 4 Oct 2014 07:07:39 +0000 (00:07 -0700)]
altoslib: Deal with new Mega log format that has 32-bit gyro cal

This adds parsing for the new log format type to get all 32 bits of
the gyro calibration data.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Record 32-bits for gyro calibration values
Keith Packard [Sat, 4 Oct 2014 07:04:39 +0000 (00:04 -0700)]
altos: Record 32-bits for gyro calibration values

The gyro ground calibration values are scaled by 512 to provide a bit
more precision for the computations. This means they don't fit in 16
bits, so change the format of the flight log record. Also change the
reported format so that AltosUI has a chance of figuring it out.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Check for map and stats table when changing units/fonts in graph
Keith Packard [Mon, 29 Sep 2014 19:57:27 +0000 (12:57 -0700)]
altosui: Check for map and stats table when changing units/fonts in graph

AltosGraphUI wasn't making sure the map and stats tables were present
before attempting to adjust font size and units.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Handle antenna down in ao_flight_test
Keith Packard [Mon, 29 Sep 2014 19:56:04 +0000 (12:56 -0700)]
altos: Handle antenna down in ao_flight_test

Parse the Pad orientation config value and flip the accelerometer
value back around in antenna down configuration.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoao-bringup: Auto-select programmer for teledongle turnon
Keith Packard [Sat, 27 Sep 2014 05:58:13 +0000 (22:58 -0700)]
ao-bringup: Auto-select programmer for teledongle turnon

Bdale's programmer is SN 100, Keith's is SN 186. Use the username to
figure out which one to use.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Make sure we drop the SPI mutex when aborting cc1120 recv
Keith Packard [Sat, 27 Sep 2014 05:53:39 +0000 (22:53 -0700)]
altos: Make sure we drop the SPI mutex when aborting cc1120 recv

The cc1120 receive code is 'twisty', in that it acquires the SPI mutex
in the middle of an interrupt handler so that it can quickly start the
radio when the signal comes in. This means we have to be careful to
drop that mutex in all paths which leave the receive code, including
when the packet receive is aborted mid-way through the process.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agostore cal value correctly even when we didn't need to change it
Bdale Garbee [Sat, 13 Sep 2014 23:56:51 +0000 (17:56 -0600)]
store cal value correctly even when we didn't need to change it

9 years agoaltosdroid: Update notebook to reflect current status
Keith Packard [Sat, 13 Sep 2014 22:59:18 +0000 (15:59 -0700)]
altosdroid: Update notebook to reflect current status

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Bring up main window when doing --replay or --graph
Keith Packard [Sat, 13 Sep 2014 22:52:56 +0000 (15:52 -0700)]
altosui: Bring up main window when doing --replay or --graph

This shows the main window when replaying or graphing files so that
you can interact with that, changing the global configuration or doing
other stuff.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Fix --replay to run in realtime after boost
Keith Packard [Sat, 13 Sep 2014 22:51:50 +0000 (15:51 -0700)]
altosui: Fix --replay to run in realtime after boost

I added the ability to rapidly replay files for AltosDroid to recover
from a crash, but didn't change AltosUI to use realtime mode again.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoreflect filename changes in LLC repo
Bdale Garbee [Sat, 13 Sep 2014 22:37:42 +0000 (16:37 -0600)]
reflect filename changes in LLC repo

9 years agoaltosdroid: Automatically sign the released version if the key is available
Keith Packard [Sat, 13 Sep 2014 22:23:40 +0000 (15:23 -0700)]
altosdroid: Automatically sign the released version if the key is available

Look in ~/altusmetrumllc for release.keystore and Passphrase and
enable building and signing of the release binary.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosdroid: Update version code and name for 1.5
Keith Packard [Sat, 13 Sep 2014 20:38:31 +0000 (13:38 -0700)]
altosdroid: Update version code and name for 1.5

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMark master branch as past the 1.5 point
Keith Packard [Sat, 13 Sep 2014 20:00:58 +0000 (13:00 -0700)]
Mark master branch as past the 1.5 point

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdated to reflect changes from 1.5 release
Bdale Garbee [Sat, 13 Sep 2014 18:31:08 +0000 (12:31 -0600)]
updated to reflect changes from 1.5 release

9 years agoupdate changelog for Debian build debian/1.5-1
Bdale Garbee [Sat, 13 Sep 2014 17:36:38 +0000 (11:36 -0600)]
update changelog for Debian build

9 years agoMerge branch 'branch-1.5' into debian
Bdale Garbee [Sat, 13 Sep 2014 17:31:35 +0000 (11:31 -0600)]
Merge branch 'branch-1.5' into debian

9 years agoupdated ChangeLog for release 1.5
Bdale Garbee [Sat, 13 Sep 2014 17:30:36 +0000 (11:30 -0600)]
updated ChangeLog for release

9 years agoignore cal_values file in bringup directory
Bdale Garbee [Sat, 13 Sep 2014 17:29:19 +0000 (11:29 -0600)]
ignore cal_values file in bringup directory

9 years agoneed multi-arch in fat build
Bdale Garbee [Sat, 13 Sep 2014 17:28:19 +0000 (11:28 -0600)]
need multi-arch in fat build

9 years agoaltos: Make sure we don't beep out continuity twice in idle mode
Keith Packard [Fri, 12 Sep 2014 02:56:13 +0000 (19:56 -0700)]
altos: Make sure we don't beep out continuity twice in idle mode

If the battery voltage report takes longer than the initialiation
sequence, we could get to the state reporting after the state had
switched from startup to idle. This would result in continuity being
reported the first time through the loop. Then, as the state had
already changed, we'd pass through the while test and go back to
report continuity a second time.

Fixed by using the state remembered before beeping out the voltage to
decide whether to report the continuity.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Fix ability to disable telemetry by setting interval to 0
Keith Packard [Thu, 11 Sep 2014 22:00:25 +0000 (15:00 -0700)]
altos: Fix ability to disable telemetry by setting interval to 0

For non-zero telemetry intervals, the radio code limits the value
based on the data rate. However, a zero interval means that telemetry
should be entirely disabled, so that value should be left alone when
checking.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agotelegps: Was mis-configuring the 'Configure Device' dialog
Keith Packard [Thu, 11 Sep 2014 21:23:29 +0000 (14:23 -0700)]
telegps: Was mis-configuring the 'Configure Device' dialog

Make sure we show 'rate_label' instead of showing 'radio_enable_label'
twice.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltoslib: Stop re-loading previous flight when starting telemetry monitoring
Keith Packard [Thu, 11 Sep 2014 21:14:07 +0000 (14:14 -0700)]
altoslib: Stop re-loading previous flight when starting telemetry monitoring

This feature is necessary on AltosDroid because there's no other UI
for reloading an old flight. It's not useful on the desktop where you
really just want to see new telemetry; old telemetry is availbale
through the 'graph flight' or 'replay' mechanisms.

AltosDroid uses a different class for reading telemetry data, so we
can just remove this feature from altoslib at this point.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoao-bringup: Improve igniter testing. Add TeleMega and TeleMetrum testing.
Keith Packard [Sat, 13 Sep 2014 03:58:26 +0000 (20:58 -0700)]
ao-bringup: Improve igniter testing. Add TeleMega and TeleMetrum testing.

The script lets you re-try each one when they fail, which is nice if
you're hand-holding the setup.

The TeleMetrum and TeleMega tests are adapted from the EasyMega tests
and are hooked up to the turnon scripts.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoao-tools/ao-test-igniter: Remove bogus printf
Keith Packard [Sat, 13 Sep 2014 03:57:05 +0000 (20:57 -0700)]
ao-tools/ao-test-igniter: Remove bogus printf

This must have been left over from testing; it prints "device (null)",
which isn't very useful.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoao-tools/ao-test-gps: Improve output formatting
Keith Packard [Sat, 13 Sep 2014 03:56:29 +0000 (20:56 -0700)]
ao-tools/ao-test-gps: Improve output formatting

Add a newline before printing out the flags and sats at exit time

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoao-bringup: Use C version of ao-test-gps in test-telegps
Keith Packard [Sat, 13 Sep 2014 00:22:37 +0000 (17:22 -0700)]
ao-bringup: Use C version of ao-test-gps in test-telegps

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoao-tools: Add ao-test-gps program
Keith Packard [Sat, 13 Sep 2014 00:22:03 +0000 (17:22 -0700)]
ao-tools: Add ao-test-gps program

This waits for GPS to report lock

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoao-bringup: Use C version of test-flash for telegps
Keith Packard [Fri, 12 Sep 2014 23:38:59 +0000 (16:38 -0700)]
ao-bringup: Use C version of test-flash for telegps

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Ignore built .desktop file
Keith Packard [Fri, 12 Sep 2014 02:59:58 +0000 (19:59 -0700)]
altosui: Ignore built .desktop file

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Make sure we don't beep out continuity twice in idle mode
Keith Packard [Fri, 12 Sep 2014 02:56:13 +0000 (19:56 -0700)]
altos: Make sure we don't beep out continuity twice in idle mode

If the battery voltage report takes longer than the initialiation
sequence, we could get to the state reporting after the state had
switched from startup to idle. This would result in continuity being
reported the first time through the loop. Then, as the state had
already changed, we'd pass through the while test and go back to
report continuity a second time.

Fixed by using the state remembered before beeping out the voltage to
decide whether to report the continuity.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Add smaller altitude table file to .gitignore
Keith Packard [Thu, 11 Sep 2014 22:57:21 +0000 (15:57 -0700)]
altos: Add smaller altitude table file to .gitignore

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos/test: Add TMv2 test program to .gitignore
Keith Packard [Thu, 11 Sep 2014 22:56:14 +0000 (15:56 -0700)]
altos/test: Add TMv2 test program to .gitignore

9 years agoaltos: Fix ability to disable telemetry by setting interval to 0
Keith Packard [Thu, 11 Sep 2014 22:00:25 +0000 (15:00 -0700)]
altos: Fix ability to disable telemetry by setting interval to 0

For non-zero telemetry intervals, the radio code limits the value
based on the data rate. However, a zero interval means that telemetry
should be entirely disabled, so that value should be left alone when
checking.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agotelegps: Was mis-configuring the 'Configure Device' dialog
Keith Packard [Thu, 11 Sep 2014 21:23:29 +0000 (14:23 -0700)]
telegps: Was mis-configuring the 'Configure Device' dialog

Make sure we show 'rate_label' instead of showing 'radio_enable_label'
twice.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltoslib: Stop re-loading previous flight when starting telemetry monitoring
Keith Packard [Thu, 11 Sep 2014 21:14:07 +0000 (14:14 -0700)]
altoslib: Stop re-loading previous flight when starting telemetry monitoring

This feature is necessary on AltosDroid because there's no other UI
for reloading an old flight. It's not useful on the desktop where you
really just want to see new telemetry; old telemetry is availbale
through the 'graph flight' or 'replay' mechanisms.

AltosDroid uses a different class for reading telemetry data, so we
can just remove this feature from altoslib at this point.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelog for Debian build
Bdale Garbee [Wed, 10 Sep 2014 07:35:31 +0000 (01:35 -0600)]
update changelog for Debian build

9 years agoMerge branch 'branch-1.5' into debian
Bdale Garbee [Wed, 10 Sep 2014 07:33:59 +0000 (01:33 -0600)]
Merge branch 'branch-1.5' into debian

9 years agoupdate changelog for release
Bdale Garbee [Wed, 10 Sep 2014 07:33:33 +0000 (01:33 -0600)]
update changelog for release

9 years agoMerge branch 'master' into branch-1.5
Bdale Garbee [Wed, 10 Sep 2014 07:32:27 +0000 (01:32 -0600)]
Merge branch 'master' into branch-1.5

9 years agouse dh_installmime, which requires telling configure to stay out of the way
Bdale Garbee [Wed, 10 Sep 2014 07:29:56 +0000 (01:29 -0600)]
use dh_installmime, which requires telling configure to stay out of the way

9 years agoanother build dep
Bdale Garbee [Wed, 10 Sep 2014 06:26:10 +0000 (00:26 -0600)]
another build dep

9 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Wed, 10 Sep 2014 07:30:37 +0000 (01:30 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

9 years agouse dh_installmime, which requires telling configure to stay out of the way
Bdale Garbee [Wed, 10 Sep 2014 07:29:56 +0000 (01:29 -0600)]
use dh_installmime, which requires telling configure to stay out of the way

9 years agoconfigure: Add --disable-install-shared-mime-info option
Keith Packard [Wed, 10 Sep 2014 07:03:53 +0000 (00:03 -0700)]
configure: Add --disable-install-shared-mime-info option

This inhibits the installation of the shared mime info data file and
updating of the shared mime database. Necessary if you want to use a
distribution-specific shared mime installation hook, like dh_installmime

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years ago.desktop: Use %F instead of %f in .desktop files
Keith Packard [Wed, 10 Sep 2014 06:43:10 +0000 (23:43 -0700)]
.desktop: Use %F instead of %f in .desktop files

%F is a list of files, %f is a single file. All of our tools can
handle lists of files, so make the .desktop file reflect that.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoanother build dep
Bdale Garbee [Wed, 10 Sep 2014 06:26:10 +0000 (00:26 -0600)]
another build dep

9 years agoupdate changelog for Debian build
Bdale Garbee [Wed, 10 Sep 2014 06:08:29 +0000 (00:08 -0600)]
update changelog for Debian build

9 years agoMerge branch 'branch-1.5' into debian
Bdale Garbee [Wed, 10 Sep 2014 06:05:33 +0000 (00:05 -0600)]
Merge branch 'branch-1.5' into debian

9 years agoupdate ChangeLog
Bdale Garbee [Wed, 10 Sep 2014 06:05:07 +0000 (00:05 -0600)]
update ChangeLog

9 years agoMerge branch 'branch-1.5' into debian
Bdale Garbee [Wed, 10 Sep 2014 06:03:58 +0000 (00:03 -0600)]
Merge branch 'branch-1.5' into debian

9 years agoMerge branch 'master' into branch-1.5
Bdale Garbee [Wed, 10 Sep 2014 06:02:57 +0000 (00:02 -0600)]
Merge branch 'master' into branch-1.5

9 years agomore build dependencies for processing icons
Bdale Garbee [Wed, 10 Sep 2014 05:44:45 +0000 (23:44 -0600)]
more build dependencies for processing icons

9 years agoMerge branch 'master' into branch-1.5
Bdale Garbee [Wed, 10 Sep 2014 06:01:33 +0000 (00:01 -0600)]
Merge branch 'master' into branch-1.5

9 years agoicons: Use DESTDIR when updating mime/icon caches
Keith Packard [Wed, 10 Sep 2014 06:00:14 +0000 (23:00 -0700)]
icons: Use DESTDIR when updating mime/icon caches

This is done in install-data-hook and needs to explicitly use DESTDIR

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agomore build dependencies for processing icons
Bdale Garbee [Wed, 10 Sep 2014 05:44:45 +0000 (23:44 -0600)]
more build dependencies for processing icons

9 years agocapture deleted file
Bdale Garbee [Wed, 10 Sep 2014 05:32:00 +0000 (23:32 -0600)]
capture deleted file

9 years agoupdate changelog for Debian build
Bdale Garbee [Wed, 10 Sep 2014 05:30:54 +0000 (23:30 -0600)]
update changelog for Debian build

9 years agoMerge branch 'branch-1.5' into debian
Bdale Garbee [Wed, 10 Sep 2014 05:28:39 +0000 (23:28 -0600)]
Merge branch 'branch-1.5' into debian

Conflicts:
ChangeLog
Releasing
altosui/Instdrv/NSIS/Includes/java.nsh
altosui/altos-windows.nsi.in
configure.ac
doc/Makefile
doc/altusmetrum.xsl
micropeak/micropeak-windows.nsi.in
telegps/telegps-windows.nsi.in

9 years agoupdated ChangeLog for 1.5 release
Bdale Garbee [Wed, 10 Sep 2014 05:23:27 +0000 (23:23 -0600)]
updated ChangeLog for 1.5 release

9 years agoreleasing version 1.5
Bdale Garbee [Wed, 10 Sep 2014 05:22:58 +0000 (23:22 -0600)]
releasing version 1.5

9 years agoaltoslib/altosuilib: clean all versions of the .jar file
Keith Packard [Tue, 9 Sep 2014 16:38:03 +0000 (09:38 -0700)]
altoslib/altosuilib: clean all versions of the .jar file

When we switch libary versions, we want to remove the old ones; just
have 'make clean' remove all versions of the libaries.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltoslib/altosuilib: Add EasyMega support
Keith Packard [Tue, 9 Sep 2014 16:37:13 +0000 (09:37 -0700)]
altoslib/altosuilib: Add EasyMega support

This makes flashing find the right files, and Monitor Idle show all of
the state data.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos/easymega: Set USB PID for EasyMega to 0x0028
Keith Packard [Tue, 9 Sep 2014 16:09:22 +0000 (09:09 -0700)]
altos/easymega: Set USB PID for EasyMega to 0x0028

It was using 0x0023, which is for TeleMega. 0x0028 is what's listed in
usbvidpid.h.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltoslib: Fix idle monitor parsing of MMA655x state
Keith Packard [Tue, 9 Sep 2014 16:02:51 +0000 (09:02 -0700)]
altoslib: Fix idle monitor parsing of MMA655x state

There's no ':' after 'MMA655X value' in the output, and the parser
returns 'true' on success, not false.

With this, 'Monitor Idle' now reports correct accelerometer readings.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoTag version 1.4.9.3 1.4.9.3
Keith Packard [Tue, 9 Sep 2014 16:01:42 +0000 (09:01 -0700)]
Tag version 1.4.9.3

This should be the final firmware version for 1.5

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Include EasyMega firmware in fat release
Keith Packard [Sun, 7 Sep 2014 05:56:25 +0000 (22:56 -0700)]
altosui: Include EasyMega firmware in fat release

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Sun, 7 Sep 2014 05:42:47 +0000 (23:42 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

9 years agodoc: Update for version 1.5 release
Keith Packard [Sun, 7 Sep 2014 05:28:13 +0000 (22:28 -0700)]
doc: Update for version 1.5 release

Add stuff about EasyMega and telemetry rate configuration. Update
screen shots as needed.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Scale packet master receive delay by baud rate
Keith Packard [Sun, 7 Sep 2014 03:44:30 +0000 (20:44 -0700)]
altos: Scale packet master receive delay by baud rate

Increase the time we wait for return packets based on the remote
protocol baud rate.

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