fw/altos
9 years agoupdate changelogs for Debian build debian/0.6+163+g01e524f
Bdale Garbee [Fri, 9 Apr 2010 01:56:40 +0000 (19:56 -0600)]
update changelogs for Debian build

9 years agochoose a better set of docbook xsl files
Bdale Garbee [Fri, 9 Apr 2010 01:55:05 +0000 (19:55 -0600)]
choose a better set of docbook xsl files

9 years agoWhen changing RESET line, delay 20ms
Keith Packard [Fri, 9 Apr 2010 00:28:17 +0000 (17:28 -0700)]
When changing RESET line, delay 20ms

The GPS data sheet suggests a 1uF cap on the reset line to ensure it
is held low long enough for the power supply to come up to voltage. TM
v1.0 loads a 0.001uF cap there, but in case that isn't large enough,
it could be replaced with the larger one. This change makes sure that
even with that larger value, the debugging link will be able to reset
the target.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMerge remote branch 'origin/master'
Keith Packard [Thu, 8 Apr 2010 20:31:23 +0000 (13:31 -0700)]
Merge remote branch 'origin/master'

9 years agoUse 16-bit flite voice (which appears to have changed symbols recently)
Keith Packard [Thu, 8 Apr 2010 20:30:16 +0000 (13:30 -0700)]
Use 16-bit flite voice (which appears to have changed symbols recently)

9 years agoMerge remote branch 'origin/master' into altosui
Keith Packard [Thu, 8 Apr 2010 18:46:56 +0000 (11:46 -0700)]
Merge remote branch 'origin/master' into altosui

9 years agoupdate changelogs for Debian build debian/0.6+131+g6629ec5
Bdale Garbee [Thu, 8 Apr 2010 18:43:03 +0000 (12:43 -0600)]
update changelogs for Debian build

9 years agolose the url entirely for now
Bdale Garbee [Thu, 8 Apr 2010 18:42:47 +0000 (12:42 -0600)]
lose the url entirely for now

9 years agoupdate changelogs for Debian build debian/0.6+129+g934434f
Bdale Garbee [Thu, 8 Apr 2010 18:41:42 +0000 (12:41 -0600)]
update changelogs for Debian build

9 years agofix typo in url
Bdale Garbee [Thu, 8 Apr 2010 18:41:28 +0000 (12:41 -0600)]
fix typo in url

9 years agoupdate changelogs for Debian build debian/0.6+127+g05ad583
Bdale Garbee [Thu, 8 Apr 2010 18:36:18 +0000 (12:36 -0600)]
update changelogs for Debian build

9 years agoneed another build dep
Bdale Garbee [Thu, 8 Apr 2010 18:34:54 +0000 (12:34 -0600)]
need another build dep

9 years agoupdate changelogs for Debian build debian/0.6+125+g8f1d47e
Bdale Garbee [Thu, 8 Apr 2010 18:28:49 +0000 (12:28 -0600)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+124+gc66eeba
Bdale Garbee [Thu, 8 Apr 2010 18:28:20 +0000 (12:28 -0600)]
update changelogs for Debian build

9 years agoEnable telemetry monitoring
Keith Packard [Tue, 6 Apr 2010 07:58:00 +0000 (00:58 -0700)]
Enable telemetry monitoring

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoTasks may move in task structure as a result of ao_exit
Keith Packard [Tue, 6 Apr 2010 07:56:57 +0000 (00:56 -0700)]
Tasks may move in task structure as a result of ao_exit

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoTD reports "not-connected" when GPS has 0 sats
Keith Packard [Tue, 6 Apr 2010 07:55:19 +0000 (00:55 -0700)]
TD reports "not-connected" when GPS has 0 sats

9 years agoserial port read function cannot be interrupted. poll every 1 second
Keith Packard [Tue, 6 Apr 2010 07:54:52 +0000 (00:54 -0700)]
serial port read function cannot be interrupted. poll every 1 second

9 years agoInterrupt running replay thread when starting another replay
Keith Packard [Tue, 6 Apr 2010 05:42:05 +0000 (22:42 -0700)]
Interrupt running replay thread when starting another replay

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd Linux device discovery
Keith Packard [Tue, 6 Apr 2010 05:21:46 +0000 (22:21 -0700)]
Add Linux device discovery

AltosDeviceLinux.java scans /proc to locate suitable devices. This
will be hooked up to the UI shortly.

9 years agoSwitch TeleMetrum from v0.2 to v1.0
Keith Packard [Mon, 5 Apr 2010 03:55:30 +0000 (20:55 -0700)]
Switch TeleMetrum from v0.2 to v1.0

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoClean up some altosui comments
Keith Packard [Mon, 5 Apr 2010 03:55:18 +0000 (20:55 -0700)]
Clean up some altosui comments

9 years agoDon't abort the radio when enabling telemetry monitoring
Keith Packard [Mon, 5 Apr 2010 02:54:46 +0000 (19:54 -0700)]
Don't abort the radio when enabling telemetry monitoring

If telemetry monitoring is already on, then there isn't any point, and
if it's not on, then presumably there isn't any radio work to abort.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMake ao_radio_idle keep trying to get the radio to idle.
Keith Packard [Mon, 5 Apr 2010 02:48:50 +0000 (19:48 -0700)]
Make ao_radio_idle keep trying to get the radio to idle.

Attempting to abort a radio operation could lead to a hang if the user
of the radio jumped in and started using it again before the task
attempting to abort woke up. This change just keeps smacking the radio
until the radio goes idle long enough to detect it.

9 years agoUse RXTX for serial comm. Add logdir preference saving
Keith Packard [Sun, 4 Apr 2010 23:32:04 +0000 (16:32 -0700)]
Use RXTX for serial comm. Add logdir preference saving

9 years agorewrite urls in docbook format
Bdale Garbee [Sat, 3 Apr 2010 14:02:44 +0000 (08:02 -0600)]
rewrite urls in docbook format

9 years agoMake .jar file
Keith Packard [Sat, 3 Apr 2010 07:02:44 +0000 (00:02 -0700)]
Make .jar file

9 years agoRemove unused cell renderer class
Keith Packard [Sat, 3 Apr 2010 06:25:02 +0000 (23:25 -0700)]
Remove unused cell renderer class

9 years agoRemove GPS data missing from skytraq. Save max height/accel/speed
Keith Packard [Sat, 3 Apr 2010 06:20:38 +0000 (23:20 -0700)]
Remove GPS data missing from skytraq. Save max height/accel/speed

9 years agoReport current gps nsat, not last locked nsat
Keith Packard [Sat, 3 Apr 2010 06:05:40 +0000 (23:05 -0700)]
Report current gps nsat, not last locked nsat

9 years agoClean up GPS data formatting
Keith Packard [Sat, 3 Apr 2010 06:00:30 +0000 (23:00 -0700)]
Clean up GPS data formatting

9 years agoFix state updates
Keith Packard [Sat, 3 Apr 2010 05:47:40 +0000 (22:47 -0700)]
Fix state updates

9 years agoFix status update
Keith Packard [Sat, 3 Apr 2010 04:48:41 +0000 (21:48 -0700)]
Fix status update

9 years agoFix up table formatting
Keith Packard [Sat, 3 Apr 2010 04:44:00 +0000 (21:44 -0700)]
Fix up table formatting

9 years agoDisplay table of flight info. gps is not working yet though
Keith Packard [Sat, 3 Apr 2010 01:10:59 +0000 (18:10 -0700)]
Display table of flight info. gps is not working yet though

9 years agoSteal C code from ao-view
Keith Packard [Fri, 2 Apr 2010 23:07:40 +0000 (16:07 -0700)]
Steal C code from ao-view

9 years agoAdd telem parsing code
Keith Packard [Fri, 2 Apr 2010 20:37:52 +0000 (13:37 -0700)]
Add telem parsing code

9 years agocrudely incorporate "day in the life" info from web page
Bdale Garbee [Fri, 2 Apr 2010 05:56:47 +0000 (23:56 -0600)]
crudely incorporate "day in the life" info from web page

9 years agotweak copyright assertion
Bdale Garbee [Fri, 2 Apr 2010 05:39:42 +0000 (23:39 -0600)]
tweak copyright assertion

9 years agoFix windows install file
Keith Packard [Fri, 2 Apr 2010 01:31:14 +0000 (18:31 -0700)]
Fix windows install file

9 years agoAdd Windows install .inf file
Keith Packard [Fri, 2 Apr 2010 01:30:56 +0000 (18:30 -0700)]
Add Windows install .inf file

9 years agoAdd telemetry data parsing code
Keith Packard [Thu, 1 Apr 2010 06:05:03 +0000 (23:05 -0700)]
Add telemetry data parsing code

9 years agoStart adding java-based UI
Keith Packard [Wed, 31 Mar 2010 20:49:54 +0000 (13:49 -0700)]
Start adding java-based UI

9 years agomake lintian happy
Bdale Garbee [Wed, 31 Mar 2010 05:26:35 +0000 (23:26 -0600)]
make lintian happy

9 years agoupdate changelogs for Debian build debian/0.6+119+g00f49c8
Bdale Garbee [Wed, 31 Mar 2010 05:19:48 +0000 (23:19 -0600)]
update changelogs for Debian build

9 years agofix typo
Bdale Garbee [Wed, 31 Mar 2010 05:19:07 +0000 (23:19 -0600)]
fix typo

9 years agoupdate changelogs for Debian build debian/0.6+117+gb41e617
Bdale Garbee [Wed, 31 Mar 2010 05:18:37 +0000 (23:18 -0600)]
update changelogs for Debian build

9 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Wed, 31 Mar 2010 05:15:32 +0000 (23:15 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

Conflicts:
ChangeLog

9 years agoupdate changelogs for Debian build debian/0.6+111+g20d4d41
Bdale Garbee [Wed, 31 Mar 2010 05:14:47 +0000 (23:14 -0600)]
update changelogs for Debian build

9 years agoinitial harness for documentation
Bdale Garbee [Wed, 31 Mar 2010 05:11:40 +0000 (23:11 -0600)]
initial harness for documentation

9 years agomove gbp.conf into debian/
Bdale Garbee [Mon, 15 Mar 2010 18:04:18 +0000 (12:04 -0600)]
move gbp.conf into debian/

9 years agoMerge remote branch 'origin/master'
Keith Packard [Fri, 12 Mar 2010 18:38:26 +0000 (10:38 -0800)]
Merge remote branch 'origin/master'

9 years agoDocument the ao-dumplog '--remote' flag for radio-link downloads
Keith Packard [Fri, 12 Mar 2010 18:37:32 +0000 (10:37 -0800)]
Document the ao-dumplog '--remote' flag for radio-link downloads

The --remote (or -R) flag uses TeleDongle to fetch data over the radio
command link from TeleMetrum. It's been there for a while, but the man
page failed to mention it.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoRound radio calibration value instead of truncating
Keith Packard [Fri, 12 Mar 2010 18:35:12 +0000 (10:35 -0800)]
Round radio calibration value instead of truncating

The radio calibration function in the bring-up code was truncating the
radio calibration value which caused the resulting frequency to
always measure above the target frequency, instead of trying to get as
close as possible. This change will result in a closer frequency
match, but may sometimes be below the target frequency.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+109+geda5e11
Bdale Garbee [Sat, 6 Mar 2010 03:11:11 +0000 (19:11 -0800)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+108+g6e61170
Bdale Garbee [Fri, 5 Mar 2010 00:33:39 +0000 (17:33 -0700)]
update changelogs for Debian build

9 years agoNeed to duplicate new altitude conversion code in aoview.
Keith Packard [Mon, 1 Mar 2010 02:24:46 +0000 (18:24 -0800)]
Need to duplicate new altitude conversion code in aoview.

Altitude conversion is now done with a smaller table and interpolation
instead of a giant table.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+106+ga1478f6
Bdale Garbee [Sun, 28 Feb 2010 00:36:13 +0000 (17:36 -0700)]
update changelogs for Debian build

9 years agoMerge remote branch 'origin/master'
Keith Packard [Sat, 27 Feb 2010 23:19:33 +0000 (15:19 -0800)]
Merge remote branch 'origin/master'

9 years agoAdd .gitignore for ao-bringup
Keith Packard [Sat, 27 Feb 2010 23:18:47 +0000 (15:18 -0800)]
Add .gitignore for ao-bringup

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoFix up LED colors for each product.
Keith Packard [Sat, 27 Feb 2010 23:14:04 +0000 (15:14 -0800)]
Fix up LED colors for each product.

Different products assign different color LEDs to the two available
LED drivers (P1_0, P1_1). Make the LED color pin assignments
per-product (in ao_pins.h), then deal with not always having a green LED.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoEliminate deadlock when writing config from radio link
Keith Packard [Sat, 27 Feb 2010 23:11:44 +0000 (15:11 -0800)]
Eliminate deadlock when writing config from radio link

Writing the 'Saved\r\n' string would fill the packet buffer and cause
a flush to occur, which would need to wait for the radio link to
receive and transmit a packet. The radio link always re-fetches the
radio channel number when lighting up the radio, so it need to look in
the config space. If the config mutex was held by the config writing
process while the radio was trying to get the channel number, then
we'd get a deadlock.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoLeave .ihx files in the build directory too - easier to debug that way
Keith Packard [Sat, 27 Feb 2010 23:10:16 +0000 (15:10 -0800)]
Leave .ihx files in the build directory too - easier to debug that way

sdcdb wants the .ihx and .cdb files in the same directory, so humor it
by copying the .ihx files to the src directory instead of moving them.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agocreate a turn on script for lighting up TeleDongle v0.2 boards
Bdale Garbee [Fri, 26 Feb 2010 22:21:12 +0000 (15:21 -0700)]
create a turn on script for lighting up TeleDongle v0.2 boards

9 years agoAdd LED test
Keith Packard [Fri, 26 Feb 2010 18:33:13 +0000 (10:33 -0800)]
Add LED test

9 years agoFix and document the ao-rawload --run flag
Keith Packard [Fri, 26 Feb 2010 00:40:13 +0000 (16:40 -0800)]
Fix and document the ao-rawload --run flag

This allows ram-based programs to be loaded and executed easily.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAllow product names to have suffixes (like board revisions)
Keith Packard [Fri, 26 Feb 2010 00:33:34 +0000 (16:33 -0800)]
Allow product names to have suffixes (like board revisions)

When looking for a board by product name, just look at the prefix of
the name instead of requiring an exact match. This will allow products
to have board version suffixes.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd ao_radio_xmit to help test boards without flashing them.
Keith Packard [Fri, 26 Feb 2010 00:32:57 +0000 (16:32 -0800)]
Add ao_radio_xmit to help test boards without flashing them.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+95+g2f45953
Bdale Garbee [Thu, 25 Feb 2010 00:30:23 +0000 (17:30 -0700)]
update changelogs for Debian build

9 years agoun-muck changelog
Bdale Garbee [Thu, 25 Feb 2010 00:29:47 +0000 (17:29 -0700)]
un-muck changelog

9 years agodebugging
Bdale Garbee [Thu, 25 Feb 2010 00:27:51 +0000 (17:27 -0700)]
debugging

9 years agoconditionalize use of git on executability of /usr/bin/git binary
Bdale Garbee [Thu, 25 Feb 2010 00:25:28 +0000 (17:25 -0700)]
conditionalize use of git on executability of /usr/bin/git binary

9 years agoupdate changelogs for Debian build
Bdale Garbee [Thu, 25 Feb 2010 00:22:45 +0000 (17:22 -0700)]
update changelogs for Debian build

9 years agosee if this works
Bdale Garbee [Thu, 25 Feb 2010 00:22:20 +0000 (17:22 -0700)]
see if this works

9 years agomove git-using variable declaration into the prebuild target
Bdale Garbee [Thu, 25 Feb 2010 00:13:29 +0000 (17:13 -0700)]
move git-using variable declaration into the prebuild target

9 years agoupdate changelogs for Debian build debian/0.6+88+gdeccc10
Bdale Garbee [Wed, 24 Feb 2010 23:44:44 +0000 (16:44 -0700)]
update changelogs for Debian build

9 years agoadd gawk as a build dependency since strtonum is a gawk extension
Bdale Garbee [Wed, 24 Feb 2010 23:43:32 +0000 (16:43 -0700)]
add gawk as a build dependency since strtonum is a gawk extension

9 years agoupdate changelogs for Debian build debian/0.6+86+g2491282
Bdale Garbee [Wed, 24 Feb 2010 21:57:26 +0000 (14:57 -0700)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+85+g82fdbfe
Bdale Garbee [Wed, 24 Feb 2010 21:53:27 +0000 (14:53 -0700)]
update changelogs for Debian build

9 years agoMust install .map files for ao-load to work
Keith Packard [Sun, 21 Feb 2010 05:35:43 +0000 (21:35 -0800)]
Must install .map files for ao-load to work

ao-load uses the .map files to rewrite the serial number and other
config parameters into the program flash.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd back stack size checking to altos linking phase
Keith Packard [Sun, 21 Feb 2010 05:20:05 +0000 (21:20 -0800)]
Add back stack size checking to altos linking phase

This verifies that the stack start specified during the compile
will work with the resulting program

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoQuiet make output.
Keith Packard [Sun, 21 Feb 2010 05:05:45 +0000 (21:05 -0800)]
Quiet make output.

This borrows ideas from the notmuch project to reduce the command line
clutter seen when compiling or linking stuff.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoUpdate .gitignore files
Keith Packard [Sun, 21 Feb 2010 04:36:08 +0000 (20:36 -0800)]
Update .gitignore files

9 years agoChange altos build process to support per-product compile-time changes
Keith Packard [Sun, 21 Feb 2010 04:22:16 +0000 (20:22 -0800)]
Change altos build process to support per-product compile-time changes

This creates per-product subdirectories and recompiles everything for
each product, allowing per-product compile-time changes for things
like peripheral pin assignments and attached serial devices.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoChange barometer conversion code to shrink conversion table
Keith Packard [Sun, 21 Feb 2010 04:21:07 +0000 (20:21 -0800)]
Change barometer conversion code to shrink conversion table

9 years agoLog GPS data on pad after boost detect.
Keith Packard [Sun, 14 Feb 2010 00:42:27 +0000 (16:42 -0800)]
Log GPS data on pad after boost detect.

This wakes up the two GPS reporting tasks and gets them to report out
any existing GPS data to the log file. To make sure the timestamps in
that GPS data are accurate, this also records GPS time on receipt of
the GPS data instead of when that is logged.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoPull in a bit more data for filtering the start of the boost
Keith Packard [Sun, 7 Feb 2010 08:25:22 +0000 (00:25 -0800)]
Pull in a bit more data for filtering the start of the boost

9 years agoCompute daytime using GPS as time base
Keith Packard [Sun, 7 Feb 2010 08:24:56 +0000 (00:24 -0800)]
Compute daytime using GPS as time base

9 years agoMissing ao_mutex_put in gps_dump
Keith Packard [Fri, 12 Feb 2010 02:48:56 +0000 (18:48 -0800)]
Missing ao_mutex_put in gps_dump

9 years agoSwitch to using internal cc1111 temperature sensor
Keith Packard [Mon, 11 Jan 2010 00:31:50 +0000 (16:31 -0800)]
Switch to using internal cc1111 temperature sensor

v0.2 has no temperature sensor, and several of the v0.1 boards didn't
get a temperature sensor loaded. Use the internal temperature sensor
on the cc1111 in all cases instead.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoForce idle mode by shorting the SPI clock to ground at boot time.
Keith Packard [Sun, 10 Jan 2010 06:06:19 +0000 (22:06 -0800)]
Force idle mode by shorting the SPI clock to ground at boot time.

This allows you to override the flight mode detection code in case the
accelerometer calibration is broken somehow. Hold the SPI clock shoted
to ground until the LED comes on, then remove it.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd simple gps dump command 'g'
Keith Packard [Sun, 10 Jan 2010 04:57:48 +0000 (20:57 -0800)]
Add simple gps dump command 'g'

This just dumps out the data in a very simple format to verify the GPS
receiver.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoRemove flash debugging printfs
Keith Packard [Sun, 10 Jan 2010 04:57:29 +0000 (20:57 -0800)]
Remove flash debugging printfs

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoDon't set ao_flash_setup_done until we're actually done.
Keith Packard [Sun, 10 Jan 2010 04:42:57 +0000 (20:42 -0800)]
Don't set ao_flash_setup_done until we're actually done.

Because we're accessing this variable outside of the mutex, we need to
make sure it isn't set until the data it covers has been initialized.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoDump config block from read/write config and flash_status commands
Keith Packard [Sun, 10 Jan 2010 04:04:42 +0000 (20:04 -0800)]
Dump config block from read/write config and flash_status commands

9 years agoDump more flash parameters for the flash_status command
Keith Packard [Sun, 10 Jan 2010 03:46:46 +0000 (19:46 -0800)]
Dump more flash parameters for the flash_status command

9 years agoAdd 'f' command to display flash status register contents
Keith Packard [Sun, 10 Jan 2010 01:57:52 +0000 (17:57 -0800)]
Add 'f' command to display flash status register contents

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd at45db161d.h header file for new flash part.
Keith Packard [Sat, 9 Jan 2010 17:55:04 +0000 (09:55 -0800)]
Add at45db161d.h header file for new flash part.

Forgot to add this when I added the driver.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoRemove green LED and temp sensor from v0.2 code
Keith Packard [Sat, 9 Jan 2010 09:29:41 +0000 (01:29 -0800)]
Remove green LED and temp sensor from v0.2 code

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd AT45DBxx1D driver
Keith Packard [Sat, 9 Jan 2010 09:22:06 +0000 (01:22 -0800)]
Add AT45DBxx1D driver

This driver supports the AT45DB011D through AT45DB321D DataFlash
parts as found in TeleMetrum v0.2

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