Commit Graph
36 Commits
Author SHA1 Message Date
Scott Shawcroft 7b27b8f498 Unify skip and only logic for build scripts
And switch to a single file that can include mcu, family or board.
2022-01-05 15:44:23 -08:00
Scott Shawcroft 4fe0a30ec7 Skip net and freertos examples 2022-01-05 14:33:24 -08:00
Scott Shawcroft 84e2df51be Split by compiler for testing 2022-01-05 14:11:39 -08:00
Scott Shawcroft a79ffeb764 Add Raspberry Pi Zero W and Zero 2 W
These are different Broadcom chips. The peripherals are essentially
the same. The main differences are:
* The CPU(s)
* The interrupt controller
* The peripheral base address (but not the peripherals that we use)
2022-01-05 13:47:01 -08:00
Scott Shawcroft 2ef200003d Update broadcom library 2021-10-22 09:31:24 -07:00
Scott Shawcroft 35b62810c3 Update submodule 2021-10-22 09:00:42 -07:00
Scott Shawcroft 4279ad7d6e Merge pull request #1 from hathach/tannewt-rpi
pi cm4 enumerated as full speed device
2021-10-22 08:55:10 -07:00
Scott Shawcroft 4ab14867da Trying to get USB init 2021-10-12 16:47:53 -07:00
Scott Shawcroft 98ab8117d6 USB seems to init ok 2021-10-05 18:20:44 -07:00
Scott Shawcroft 0932d502c7 remove bcm files 2021-09-30 14:50:38 -07:00
Scott Shawcroft 0a6ca65e3f MMU works 2021-09-24 16:14:01 -07:00
Scott Shawcroft 829f92d00f Trying to setup the mmu 2021-09-22 15:19:02 -07:00
Scott Shawcroft 2499c9382d rpi start. doesn't work 2021-09-17 16:51:34 -07:00
Scott Shawcroft cd6454a330 Add if guards for dcache flushes. 2020-01-16 17:17:49 -08:00
Scott Shawcroft ae68668df9 flush and invalidate the dcache 2020-01-15 21:59:15 -08:00
Scott Shawcroft 00c440cb26 Merge pull request #99 from jepler/issue98-midi-program-change
midi_device: Send message classes C and D as 2 bytes
2019-08-15 23:34:42 -07:00
Scott Shawcroft 909891325a Fix slow CDC OUT by NAKing
This NAKs CDC OUT packets when the ring buffer doesn't have
enough space for it. This makes CDC OUT reliable rather than
allowing overwriting into the ring buffer.
2019-03-21 14:52:56 -07:00
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