Use autotools, move altos to src subdir Signed-off-by: Keith Packard <keithp@keithp.com>
Discard usb output before connection. Handle USB reset. 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 data 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 info
Allow the USB system to be disabled/enabled at run-time
Add radio support. Build separate executables for TeleMetrum and the TI dongle 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. The T command shows the current wchan and PC for each task in the system.
Add gps, debug dongle support and pressure alt tables 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 __xdata
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>
Switch USB to double-buffered
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>
USB working up through reading strings
Add USB support. This offers a single CDC ACM device over USB. Signed-off-by: Keith Packard <keithp@keithp.com>