summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altos-avr: Initial OS port to AVRKeith Packard2011-05-13
| | | | | | This is working with output to the serial line Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup-avr: cleaner stack switching codeKeith Packard2011-05-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup-avr: clean up alternate stack codeKeith Packard2011-05-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup-avr: switching to alternate stack worksKeith Packard2011-05-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup-avr: Create common 'ao-bringup' interfacesKeith Packard2011-05-12
| | | | | | Initializes the clock, configures STDIO to talk to the UART Signed-off-by: Keith Packard <keithp@keithp.com>
* Add uart testKeith Packard2011-05-12
|
* Run on new stackKeith Packard2011-05-12
|
* ao-bringup-avr: Switch to ADC13Keith Packard2011-05-12
| | | | | | That's what Bdale has wired up in his test setup. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup-avr: Flip to 8MHz clock for TeleScienceKeith Packard2011-05-11
| | | | | | The Teensy uses a 16MHz crystal, but TeleScience has an 8MHz crystal. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup-avr: Make LED PWM from ADC0 valueKeith Packard2011-05-11
| | | | | | Test ADC inputs by adjusting the waveform using the ADC0 input. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup-avr: Initialize crystal clock and 100Hz timer interruptKeith Packard2011-05-11
| | | | | | Just demonstrating further features of the chip Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup-avr: Enable crystal clock in blink demoKeith Packard2011-05-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'telebt' into telescienceKeith Packard2011-05-11
|\
| * Revert "altos: Debugging TBT issues -- check pin configuration after boot"Keith Packard2011-05-06
| | | | | | | | | | | | This reverts commit 514348055630edec12224c4b0964240b929759a3. Looks like this was never a problem.
| * altos: clear CPU port 1 interrupt flag when handledKeith Packard2011-05-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Hook up the P1 ISR for TeleBT v0.1 bt_link lineKeith Packard2011-05-06
| | | | | | | | | | | | Otherwise, we're heading off into the weeds... Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Initialize beeper for telebtKeith Packard2011-05-06
| | | | | | | | | | | | Needed to get sounds to come out Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Debugging TBT issues -- check pin configuration after bootKeith Packard2011-05-06
| | | | | | | | | | | | | | 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>
| * altos: Add beeper to TBT v0.1Keith Packard2011-05-06
| | | | | | | | | | | | It's available, let's use it. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: pull TBT v0.1 ser_reset line lowKeith Packard2011-05-06
| | | | | | | | | | | | This line resets the BT module if held low for three seconds. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Fix BT link status pin for real TBT hardwareKeith Packard2011-05-06
| | | | | | | | | | | | | | 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>
| * altos: Use USART configuration 1 with flow control for TBTKeith Packard2011-05-06
| | | | | | | | | | | | It's just wired that way. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add telebt-v0.1 to MakefileKeith Packard2011-05-06
| | | | | | | | | | | | Doesn't get built without it. Signed-off-by: Keith Packard <keithp@keithp.com>
| * first cut at a telebt turn on scriptBdale Garbee2011-05-06
| |
| * altos: Add preliminary telebt v0.1 definesKeith Packard2011-05-06
| | | | | | | | | | | | This should make the telebt v0.1 binary that works on the real hardware. Signed-off-by: Keith Packard <keithp@keithp.com>
* | ao-bringup-avr: fix blinking code to actually drive the pin as outputKeith Packard2011-05-03
| | | | | | | | | | | | Mis-configured the DDR register setting the wrong pin to output. Signed-off-by: Keith Packard <keithp@keithp.com>
* | ao-bringup-avr: Add very primitive 'blink' to toggle the 32u4 B7 lineKeith Packard2011-05-03
|/ | | | | | This should permit basic testing of the chip. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix BT manage dialog so that the device lists resizeKeith Packard2011-04-25
| | | | | | | This makes the device scrolling lists fill any extra space when the window is resized. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move AltosIgniteUI device open out of Swing threadKeith Packard2011-04-25
| | | | | | Eliminate more blocking code from the Swing thread. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Display reader name (usually the device) when an I/O error occursKeith Packard2011-04-25
| | | | | | | 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>
* altosui: Fix TeleBT name in flight monitor titleKeith Packard2011-04-25
| | | | | | Was getting the product number, not the product name. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Separate out flash debug code to separate threadKeith Packard2011-04-25
| | | | | | | This avoids blocking the Swing thread while waiting for the serial device. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: add telebt-v0.0 MakefileKeith Packard2011-04-23
| | | | | | Git doesn't like to add these. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make flight data download work through TeleBTKeith Packard2011-04-19
| | | | | | | This required flushing input before reading data blocks and adjusting some delays. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'telemini' into telebtKeith Packard2011-04-19
|\
| * altos: Write a few pre-launch samples for Tm/Tn devicesKeith Packard2011-04-14
| | | | | | | | | | | | | | | | 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>
| * altosui: oops - lost state changes when downloading eeprom data.Keith Packard2011-04-13
| | | | | | | | | | | | | | This would cause the reader to just keep reading past the end of the flight. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/altosui: Log averaged baro sensor data in Tm/TnKeith Packard2011-04-09
| | | | | | | | | | | | | | | | 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>
* | altosui: Eliminate ao_cmd_filter hookKeith Packard2011-04-19
| | | | | | | | | | | | | | Disabling status messages means we don't need to filter them out of the input stream. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: remove BT logging codeKeith Packard2011-04-19
| | | | | | | | | | | | This was used to debug the serial line startup. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Remove bt debug commandKeith Packard2011-04-19
| | | | | | | | | | | | This will permit some additional cleanups. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Simplify BT communicationsKeith Packard2011-04-19
| | | | | | | | | | | | Eliminate stdio I/O wrappers Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Solidify BT connectionsKeith Packard2011-04-19
| | | | | | | | | | | | | | | | | | 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>
* | altosui: Wait two seconds after bluetooth connect XXXKeith Packard2011-04-19
| | | | | | | | | | | | | | "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>
* | altos: Add delays to bt startup sequenceKeith Packard2011-04-19
| | | | | | | | | | | | | | 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>
* | altosui: Use persistent list of bluetooth devices for device dialogsKeith Packard2011-04-19
| | | | | | | | | | | | | | | | Store a list of known bluetooth devices as preferences. Always include those in device dialogs with an option to go browse for more devices in both the device dialog and the Configure AltosUI dialog. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Make bluetooth dialog modalKeith Packard2011-04-18
| | | | | | | | | | | | | | This allows it to be displayed correctly while the device dialog box (also modal) is up. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Make AltosBTDevice implement AltosDevice interfaceKeith Packard2011-04-14
| | | | | | | | | | | | | | This will allow the use of either USB or BT devices through the AltosDevice interface. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Create abstract AltosDevice classKeith Packard2011-04-14
| | | | | | | | | | | | | | This will wrap either USB or BT devices. The USB device constants have been moved to Altos.java Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Add primitive bluetooth device manager UI.Keith Packard2011-04-14
| | | | | | | | | | | | | | This isn't useful, but does inquire for available bluetooth devices and show them in a list. Signed-off-by: Keith Packard <keithp@keithp.com>