| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
Setting the stack pointer takes two instructions, so make sure we
don't get an interrupt in the middle of it. Let the restoration of
SREG set the interrupt flag as appropriate.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Some packets are flowing, although it's not working right.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
These are part of the ../src directory, I think
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Adapt ao_usb to new environment.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
This is working with output to the serial line
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Initializes the clock, configures STDIO to talk to the UART
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
|
| | |
|
| |
|
|
|
|
| |
That's what Bdale has wired up in his test setup.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
The Teensy uses a 16MHz crystal, but TeleScience has an 8MHz crystal.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Test ADC inputs by adjusting the waveform using the ADC0 input.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Just demonstrating further features of the chip
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
This reverts commit 514348055630edec12224c4b0964240b929759a3.
Looks like this was never a problem.
|
| | |
| |
| |
| | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
Otherwise, we're heading off into the weeds...
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
Needed to get sounds to come out
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Make sure the serial pins are configured as peripherals
Make sure the ser_reset and bt_link pins are going the right direction.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
It's available, let's use it.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
This line resets the BT module if held low for three seconds.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
The prototype used P2_1, while the real hardware uses P1_7. Lots of
defines to make this work...
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
It's just wired that way.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
Doesn't get built without it.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
This should make the telebt v0.1 binary that works on the real hardware.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
Mis-configured the DDR register setting the wrong pin to output.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |/
|
|
|
|
| |
This should permit basic testing of the chip.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
This makes the device scrolling lists fill any extra space when the
window is resized.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Eliminate more blocking code from the Swing thread.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Access the reader name directly from the reader object instead of a
local variable (which wasn't getting set anyways).
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Was getting the product number, not the product name.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
This avoids blocking the Swing thread while waiting for the serial
device.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Git doesn't like to add these.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
This required flushing input before reading data blocks and adjusting
some delays.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Record pre-launch samples in a small ring and flush that to flash when
launch is detected. This provides a complete record of the flight,
rather than simply starting after launch detect.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
This would cause the reader to just keep reading past the end of the
flight.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Instead of logging the best height guess from the kalman filter, log
barometer data. The logged data consists of the average value betwen
log points to reduce noise.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Disabling status messages means we don't need to filter them out of
the input stream.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
This was used to debug the serial line startup.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
This will permit some additional cleanups.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
Eliminate stdio I/O wrappers
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Use delays while sending commands to BT module.
Don't use BT for stdio until the module is initialized.
Add \r to name setting command
Don't require 'connected' signal for command input.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
"something" isn't quite ready to communicate right after the device is
connected, so we stick a delay in. There should be a better fix.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| | |
The BT device takes a few seconds after power-up before it is ready to
receive commands.
Signed-off-by: Keith Packard <keithp@keithp.com>
|