Commit Graph
19 Commits
Author SHA1 Message Date
Scott Shawcroft c870efffc0 Fix write protected MSC. The bits were flipped. 2019-02-20 15:12:36 -08:00
Scott Shawcroft 52abbec7c5 Remove txbuf in favor of fifo.
Fifo incurs a second copy into a USB buffer but this ensures the
correct USB buffer alignment. Some LPC chips require 64 byte
alignment that txbuf couldn't do.
2019-01-08 14:10:40 -08:00
Scott Shawcroft aa281521a6 Fix the test 2019-01-04 18:32:42 -08:00
Scott Shawcroft ebbd8578af Change travis for makefile. 2019-01-04 18:29:52 -08:00
Scott Shawcroft 048fc9694c Split out txbuf and add unit test. 2019-01-04 18:27:00 -08:00
Scott Shawcroft a3173b8de4 Add USB Midi support.
It also introduces a txbuffer which copies data into it but passes
the buffer straight to the USB rather than another copy.
2019-01-04 12:16:27 -08:00
Scott Shawcroft b4103eef06 needs to be filled out. blinks though 2018-11-27 18:11:03 -08:00
Scott Shawcroft db42207fcd Add a porting doc and make a pass over the others.
Fixes #5
2018-11-27 18:07:22 -08:00
Scott Shawcroft 61bea0db1c Update travis to build the example
Also remove the old failing tests so the build is passing.
2018-11-25 12:16:28 -08:00
Scott Shawcroft bf70f89240 Introduce a Makefile for the OS_NONE device example
It currently supports the SAMD21 and SAMD51 only. More will be
added later.
2018-11-25 11:46:06 -08:00
Scott Shawcroft 47fabe42ed One tweak to make -Wdiscarded-qualifiers happy. 2018-11-23 12:48:55 -08:00
Scott Shawcroft bf8c4612dc Make sure OUT endpoint 0 on the SAMDs always has a valid buffer to store
a SETUP token into.
2018-11-23 11:20:23 -08:00
Scott Shawcroft 246c28db1a Turn off interrupts when working with the event queue. 2018-11-23 11:18:53 -08:00
Scott Shawcroft 6aa0146c72 Reset USB peripheral and wait for startup 2018-11-23 11:15:39 -08:00
Scott Shawcroft 299a2f12de Support the no CDC protocol as well. 2018-11-09 11:32:59 -08:00
Scott Shawcroft 537a29273c Exempt from strict warnings for struct packing and add MCU options 2018-11-09 00:10:44 -08:00
Scott Shawcroft 30e3c64134 Polish up control split and treat it more like a normal endpoint. 2018-11-08 13:45:30 -08:00
Scott Shawcroft 7a40ec2647 Split out the control endpoint logic 2018-11-07 23:04:34 -08:00
Scott Shawcroft c582c0fda9 Add SAMD21 and SAMD51 support for CircuitPython.
The ProtoThreads style subtasks were removed because it led to
extremely unclear control flow. RTOSes can be used if threading is
needed.

Also added some additional functionality to MSC to support dynamic
LUNs and read-only LUNs.
2018-11-07 12:02:28 -08:00