Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update PCKSIZE for correct BYTE_COUNT offset and length. | Brian Cully | 2019-07-25 | 1 | -8/+12 |
| | |||||
* | Remove duplicate test code. | Brian Cully | 2019-07-25 | 1 | -57/+28 |
| | |||||
* | Add deserialize tests for usbproto as well. | Brian Cully | 2019-07-25 | 1 | -0/+40 |
| | |||||
* | Make DataBuf hold a mut pointer. | Brian Cully | 2019-07-25 | 3 | -20/+20 |
| | | | | | Since this is being used by hardware DMA, and the hardware treats it as mutable, lets mark it as such. | ||||
* | Put packet repr back. Add tests. | Brian Cully | 2019-07-25 | 1 | -14/+130 |
| | | | | | Packed was causing problems for logging, so use derived Debug impl instead. Add tests to make sure serialization works as expected. | ||||
* | Allow dead code in crate. | Brian Cully | 2019-07-25 | 1 | -9/+7 |
| | | | | | We have to stub out a lot of stuff from USB protocol and hardware, and it may or may not get used, so quash the warning. | ||||
* | Only reset USB during initialization state. | Brian Cully | 2019-07-25 | 1 | -3/+1 |
| | | | | | USBHost::new() sets up the state machine to initialize immediately, so rely on that, rather than initializing twice on CPU reset. | ||||
* | License for rb and usbh. | Brian Cully | 2019-07-25 | 1 | -0/+1 |
| | |||||
* | Move USB host stuff to separate crate. | Brian Cully | 2019-07-25 | 11 | -0/+3113 |