summaryrefslogtreecommitdiff
path: root/ao_usb.c
Commit message (Collapse)AuthorAge
* Use autotools, move altos to src subdirKeith Packard2009-06-04
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Discard usb output before connection. Handle USB reset.0.2Keith Packard2009-05-13
| | | | | | | | | | | | Discarding output before USB is plugged in allows threads that send output and do other things to work without a USB connection. Unfortuantely, there doesn't appear to be any way to detect when the USB link is disconnected, which means that once USB is enabled, future writes will continue to block. USB reset causes the USB interrupts to all be reconfigured back to power-on state. Signed-off-by: Keith Packard <keithp@keithp.com>
* Use 'char' instead of 'uint8_t' for character dataKeith Packard2009-04-29
| | | | | String and character constants are of char type, so using uint8_t causes promotion to 16-bit types when comparing the two.
* Label binaries with product and serial infoKeith Packard2009-04-26
|
* Allow the USB system to be disabled/enabled at run-timeKeith Packard2009-04-25
|
* Add radio support. Build separate executables for TeleMetrum and the TI dongleKeith Packard2009-04-20
| | | | | | | | | Ok, way too big a patch, but things were in rough shape. This patch adds support for the radio, both transmit and receive. Then, because I could no longer run the TeleMetrum code on the TI dongle, I ended up building a separate image for the TI board, which involved creating a mechanism for having multiple command sets and splitting code for different functions into different files.
* Add task names and 'T' command to show task status.Keith Packard2009-04-18
| | | | The T command shows the current wchan and PC for each task in the system.
* Add gps, debug dongle support and pressure alt tablesKeith Packard2009-04-17
| | | | | | | | GPS also pulled in serial support. The altitude tables take raw 11-bit pressure sample numbers and convert them to standard pressure altitude values. Signed-off-by: Keith Packard <keithp@keithp.com>
* Move a bunch of variables from __data to __xdataKeith Packard2009-04-15
|
* Switch from --model-large to --model-smallKeith Packard2009-04-14
| | | | | | This shrinks the application quite a bit, and should make it faster as well. Signed-off-by: Keith Packard <keithp@keithp.com>
* Switch USB to double-bufferedKeith Packard2009-04-13
|
* Fix USB input/output by reloading packet limits.Keith Packard2009-04-13
| | | | | | | | 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>
* USB working up through reading stringsKeith Packard2009-04-13
|
* Add USB support.Keith Packard2009-04-13
This offers a single CDC ACM device over USB. Signed-off-by: Keith Packard <keithp@keithp.com>