fw/altos
10 years agoSlow down panic code, disable interrupts
Keith Packard [Wed, 15 Apr 2009 04:25:15 +0000 (21:25 -0700)]
Slow down panic code, disable interrupts

10 years agoKeep reporting flight state while it changes
Keith Packard [Wed, 15 Apr 2009 04:24:25 +0000 (21:24 -0700)]
Keep reporting flight state while it changes

10 years agouse red LED to indicate system startup
Keith Packard [Wed, 15 Apr 2009 04:23:55 +0000 (21:23 -0700)]
use red LED to indicate system startup

10 years agoUse ao_ee_flush_internal while holding mutex
Keith Packard [Wed, 15 Apr 2009 04:23:13 +0000 (21:23 -0700)]
Use ao_ee_flush_internal while holding mutex

10 years agoLeave beeping and lights to the flight code
Keith Packard [Wed, 15 Apr 2009 04:22:56 +0000 (21:22 -0700)]
Leave beeping and lights to the flight code

10 years agoMake mutex functions reentrant
Keith Packard [Wed, 15 Apr 2009 04:22:31 +0000 (21:22 -0700)]
Make mutex functions reentrant

10 years agoAdd in existing flight pieces: flight/report/log
Keith Packard [Wed, 15 Apr 2009 02:08:01 +0000 (19:08 -0700)]
Add in existing flight pieces: flight/report/log

These pieces come from the old telemetrum firmware.

Signed-off-by: Keith Packard <keithp@keithp.com>
10 years agoAdd eeprom driver and command loop
Keith Packard [Tue, 14 Apr 2009 21:21:56 +0000 (14:21 -0700)]
Add eeprom driver and command loop

This involved adding dma control and a mutex implementation.

Signed-off-by: Keith Packard <keithp@keithp.com>
10 years agoSwitch from --model-large to --model-small
Keith Packard [Tue, 14 Apr 2009 18:04:09 +0000 (11:04 -0700)]
Switch from --model-large to --model-small

This shrinks the application quite a bit, and should make it faster as well.

Signed-off-by: Keith Packard <keithp@keithp.com>
10 years agoAdd comments, clean up white space, etc.
Keith Packard [Tue, 14 Apr 2009 17:02:19 +0000 (10:02 -0700)]
Add comments, clean up white space, etc.

Various clean ups now that the basic code appears to work.

Signed-off-by: Keith Packard <keithp@keithp.com>
10 years agoSwitch USB to double-buffered
Keith Packard [Tue, 14 Apr 2009 04:58:07 +0000 (21:58 -0700)]
Switch USB to double-buffered

10 years agoFix USB input/output by reloading packet limits.
Keith Packard [Tue, 14 Apr 2009 04:51:59 +0000 (21:51 -0700)]
Fix USB input/output by reloading packet limits.

The USB controller is reset during the connection process, which clears the
packet limits set in the controller at initialization time. Reload those
values when the configuration is set.

Signed-off-by: Keith Packard <keithp@keithp.com>
10 years agoUSB working up through reading strings
Keith Packard [Tue, 14 Apr 2009 03:39:46 +0000 (20:39 -0700)]
USB working up through reading strings

10 years agoAdd USB support.
Keith Packard [Mon, 13 Apr 2009 20:51:08 +0000 (13:51 -0700)]
Add USB support.

This offers a single CDC ACM device over USB.

Signed-off-by: Keith Packard <keithp@keithp.com>
10 years agoAdd beep/led support.
Keith Packard [Mon, 13 Apr 2009 06:53:55 +0000 (23:53 -0700)]
Add beep/led support.

Support our P2_0 connected buzzer, and formalize LED output support.

Signed-off-by: Keith Packard <keithp@keithp.com>
10 years agoAdd A/D sampler
Keith Packard [Mon, 13 Apr 2009 06:17:16 +0000 (23:17 -0700)]
Add A/D sampler

Sample A/D at the timer tick, placing data in a ring
of samples.

Signed-off-by: Keith Packard <keithp@keithp.com>
10 years agoAdd 100Hz timer
Keith Packard [Mon, 13 Apr 2009 05:52:47 +0000 (22:52 -0700)]
Add 100Hz timer

Use Timer 1 to generate a 100Hz timer interrupt

10 years agoUpdate README
Keith Packard [Mon, 13 Apr 2009 04:58:49 +0000 (21:58 -0700)]
Update README

10 years agoGPL Version 2 only
Keith Packard [Mon, 13 Apr 2009 04:52:56 +0000 (21:52 -0700)]
GPL Version 2 only

10 years agoMake test more complicated
Keith Packard [Mon, 13 Apr 2009 04:33:55 +0000 (21:33 -0700)]
Make test more complicated

10 years agoSP points at last pushed byte
Keith Packard [Mon, 13 Apr 2009 04:33:46 +0000 (21:33 -0700)]
SP points at last pushed byte

10 years agoAdd .gitignore
Keith Packard [Mon, 13 Apr 2009 03:27:03 +0000 (20:27 -0700)]
Add .gitignore

10 years agoInitial AltOS import
Keith Packard [Mon, 13 Apr 2009 03:25:39 +0000 (20:25 -0700)]
Initial AltOS import