summaryrefslogtreecommitdiff
path: root/src-avr
Commit message (Collapse)AuthorAge
* src-avr: Get USB on AVR workingKeith Packard2011-05-18
| | | | | | | As usual, the key is to know when to send 0-length IN and OUT packets. Needs a bunch of cleanup, but it's working now. Signed-off-by: Keith Packard <keithp@keithp.com>
* src-avr: Make avr-demo objects depend on ao_usb.hKeith Packard2011-05-18
| | | | | | Now that we have a usb driver, it's part of the build Signed-off-by: Keith Packard <keithp@keithp.com>
* src-avr: Trap accidental restartKeith Packard2011-05-18
| | | | | | | Use the LED output pin to notice when avr-demo accidentally restarts and print out an error message in that case. Signed-off-by: Keith Packard <keithp@keithp.com>
* src-avr: Suspend interrupts while switching stacksKeith Packard2011-05-18
| | | | | | | | 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>
* src-avr: USB work in progressKeith Packard2011-05-17
| | | | | | Some packets are flowing, although it's not working right. Signed-off-by: Keith Packard <keithp@keithp.com>
* src-avr: Add a couple of missing filesKeith Packard2011-05-17
| | | | | | These are part of the ../src directory, I think Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-avr: Start writing USB driver.Keith Packard2011-05-15
| | | | | | Adapt ao_usb to new environment. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-avr: Enable command processor over serial line in demoKeith Packard2011-05-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* 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>