aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Re-export samd51 meta-feature.v0.1.0Brian Cully2019-09-091-4/+4
|
* Use latest version of atsamd-hal, remove patch.Brian Cully2019-09-021-3/+4
|
* Don't allow CI failures on stable.Brian Cully2019-08-181-3/+0
|
* Fix `cargo test` by removing example.Brian Cully2019-08-185-427/+1
| | | | | Unfortunate, but necessary for automated testing. Documentation will need to be added to show usage, and a demo crate.
* Remove warnings for unconstructed variants of PipeErr.Brian Cully2019-08-171-0/+1
|
* Update git revs for SAMD hal stuff.Brian Cully2019-08-171-3/+3
|
* Only build in CI for now. Testing is complicated.Brian Cully2019-08-171-0/+3
|
* Travis, README badges.Brian Cully2019-08-172-0/+11
|
* Update for starb 0.2Brian Cully2019-08-173-3/+3
|
* Update README.Brian Cully2019-08-111-7/+3
| | | | Don't need special branch anymore.
* A bunch of cleanup and fixes.Brian Cully2019-08-103-72/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify the code a bunch to reduce it to states we actually care about. This will now probe my Logitech G105, NIZ Plum 85EC, and Keyboard.io Model 01. * Don't listen for wakeup interrupts. Only listen for device connection and disconnection, which wakeups sometimes mean. * Remove the SETTLE_DELAY stuff on device connection, as this appears to be handled in hardware, and prevents over-delay which was causing the Model 01 to reset, since it wasn't getting a SOF in time. * Set initial max packet size for address 0 endpoint 0 based on whether the connection is Full Speed or Low Speed. * Remove all intflag checks from USB handler that we don't explicitly set up. * Always listen dor dconn/ddisc in handler. Since we're using a ring buffer for event storage, we shouldn't miss these and always handle them in order. * Don't freeze pipes on errors. Let the hardware do it. * Don't retransmit packets on errors, just keep polling hardware. * Move trfail check to the end, since it's either dependent on previous, more specific checks, or it's just a NAK (but, for some reason, not ERRORFLOW). * Add `modify` method to control pipe register.
* Use ring buffer for USB events.Brian Cully2019-08-101-56/+24
| | | | | Get rid of the static mut that can drop intermediate events and cause innumerable race conditions.
* Use endpoint's max packet size for pipe.Brian Cully2019-08-102-4/+34
|
* Remove device from driver on error.Brian Cully2019-08-101-0/+1
|
* Simplify data toggle handling.Brian Cully2019-08-082-5/+10
| | | | | Only use the data toggle from hardware if we get a data toggle error. Otherwise, use computed toggle values based on endpoint.
* Re-export atsamd-hal MCU selection features.Brian Cully2019-08-081-1/+11
| | | | | This is necessary because atsamd-hal, which this crate uses, needs an MCU feature selected in order to map peripherals properly.
* Remove un-needed compiler features from simple example.Brian Cully2019-08-052-4/+1
|
* Remove .cargo/config by moving it to Makefile.Brian Cully2019-08-052-18/+26
| | | | | Since I'm using `make` anyway, might as well consolidate build rules there.
* Initial commitBrian Cully2019-08-0421-0/+4255