{{ message }}
Commit 9d91111
committed
Move atmel-samd to tinyusb and support nRF flash.
This started while adding USB MIDI support (and descriptor support is
in this change.) When seeing that I'd have to implement the MIDI class
logic twice, once for atmel-samd and once for nrf, I decided to refactor
the USB stack so its shared across ports. This has led to a number of
changes that remove items from the ports folder and move them into
supervisor.
Furthermore, we had external SPI flash support for nrf pending so I
factored out the connection between the usb stack and the flash API as
well. This PR also includes the QSPI support for nRF.1 parent d08747d commit 9d91111
154 files changed
Lines changed: 2193 additions & 3457 deletions
File tree
- lib
- ports
- atmel-samd
- boards
- arduino_zero
- circuitplayground_express_crickit
- circuitplayground_express
- feather_m0_adalogger
- feather_m0_basic
- feather_m0_express_crickit
- feather_m0_express
- feather_m0_rfm69
- feather_m0_rfm9x
- feather_m0_supersized
- feather_m4_express
- feather_radiofruit_zigbee
- gemma_m0
- grandcentral_m4_express
- hallowing_m0_express
- itsybitsy_m0_express
- itsybitsy_m4_express
- meowmeow
- metro_m0_express
- metro_m4_express
- pirkey_m0
- trellis_m4_express
- trinket_m0_haxpress
- trinket_m0
- ugame10
- common-hal
- busio
- microcontroller
- supervisor
- usb_hid
- external_flash
- supervisor
- esp8266
- nrf
- boards
- feather_nrf52840_express
- makerdiary_nrf52840_mdk
- pca10056
- pca10059
- common-hal
- busio
- digitalio
- microcontroller
- pulseio
- usb_hid
- peripherals/nrf
- supervisor
- usb
- supervisor
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
- examples/device/nrf52840/src/msc_flash_qspi.c+2-40
- examples/device/nrf52840/src/tusb_config.h+1-1
- examples/device/nrf52840_freertos/segger/nrf5x_freertos.emProject+8-5
- examples/device/nrf52840_freertos/src/main.c+11-4
- examples/device/nrf52840_freertos/src/msc_app.c+35-44
- examples/device/nrf52840_freertos/src/msc_app.h+64
- examples/device/nrf52840_freertos/src/msc_flash_qspi.c+124
- examples/device/nrf52840_freertos/src/tusb_config.h+6-4
- examples/obsolete/device/src/mouse_device_app.c+1-1
- examples/obsolete/host/src/cdc_serial_host_app.c+2-2
- examples/obsolete/host/src/keyboard_host_app.c+1-1
- examples/obsolete/host/src/mouse_host_app.c+1-1
- examples/obsolete/host/src/msc_cli.c+3-3
- hw/bsp/pca10056/board_pca10056.c+9-19
- hw/mcu/nordic/FreeRTOSConfig.h+167
- src/class/cdc/cdc_device.c+43-26
- src/class/cdc/cdc_device.h+2-1
- src/class/cdc/cdc_host.c+2-2
- src/class/cdc/cdc_rndis_host.c+4-4
- src/class/custom/custom_device.c+2-2
- src/class/custom/custom_device.h+1
- src/class/custom/custom_host.c+2-2
- src/class/hid/hid_device.c+46-33
- src/class/hid/hid_device.h+2-3
- src/class/hid/hid_host.c+3-3
- src/class/msc/msc.h+10-8
- src/class/msc/msc_device.c+79-77
- src/class/msc/msc_device.h+35-11
- src/class/msc/msc_host.c+2-2
- src/common/sys_queue.h+871
- src/common/tusb_common.h+4-31
- src/common/tusb_fifo.c+50-44
- src/common/tusb_fifo.h+19-39
- src/common/tusb_types.h-3
- src/common/tusb_verify.h+8-8
- src/device/control.c+262
- src/device/control.h+98
- src/device/dcd.h+54-29
- src/device/usbd.c+144-322
- src/device/usbd_pvt.h+2-20
- src/host/ehci/ehci.c+5-5
- src/host/hub.c+2-2
- src/host/ohci/ohci.c+3-3
- src/host/usbh.c+1-1
- src/osal/osal.c-1
- src/osal/osal.h+9-11
- src/osal/osal_freertos.h+44-57
- src/osal/osal_mynewt.h+6-7
- src/osal/osal_none.h+72-126
- src/portable/microchip/samd21/dcd.c+341
- src/portable/microchip/samd21/hal.c+35-46
- src/portable/microchip/samd51/dcd.c+360
- src/portable/microchip/samd51/hal.c+88
- src/portable/nordic/nrf5x/dcd_nrf5x.c+34-109
- src/portable/nxp/lpc11xx_lpc13xx/dcd_lpc_11uxx_13uxx.c+17-7
- src/portable/nxp/lpc17xx/dcd_lpc175x_6x.c+23-12
- src/portable/nxp/lpc43xx_lpc18xx/dcd_lpc43xx.c+24-14
- src/tusb.h+1
- src/tusb_option.h+2
- tests/lpc175x_6x/test/test_dcd_lpc175x_6x.c+4-4
- tests/lpc18xx_43xx/test/host/cdc/test_cdc_host.c+1-1
- tests/lpc18xx_43xx/test/host/ehci/test_pipe_bulk_open.c+1-1
- tests/lpc18xx_43xx/test/host/ehci/test_pipe_bulk_xfer.c+2-2
- tests/lpc18xx_43xx/test/host/ehci/test_pipe_control_open.c+1-1
- tests/lpc18xx_43xx/test/host/ehci/test_pipe_control_xfer.c+2-2
- tests/lpc18xx_43xx/test/host/ehci/test_pipe_interrupt_open.c+2-2
- tests/lpc18xx_43xx/test/host/ehci/test_pipe_interrupt_xfer.c+2-2
- tests/lpc18xx_43xx/test/host/ehci/test_pipe_isochronous_open.c+1-1
- tests/lpc18xx_43xx/test/host/hid/test_hidh_keyboard.c+1-1
- tests/lpc18xx_43xx/test/host/hid/test_hidh_mouse.c+1-1
- tests/lpc18xx_43xx/test/host/usbh/test_enum_task.c+1-1
- tests/support/ehci_controller_fake.c+2-2
- tests/support/type_helper.h+2-2
- tools/usbtreeview/UsbTreeView.txt-168
- tools/usbtreeview/Win32/UsbTreeView.exe
- tools/usbtreeview/x64/UsbTreeView.exe
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
388 | 389 | | |
389 | 390 | | |
390 | 391 | | |
| 392 | + | |
| 393 | + | |
391 | 394 | | |
392 | 395 | | |
393 | 396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 48 | | |
54 | 49 | | |
55 | 50 | | |
56 | 51 | | |
57 | 52 | | |
| 53 | + | |
| 54 | + | |
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
| |||
90 | 87 | | |
91 | 88 | | |
92 | 89 | | |
93 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
94 | 93 | | |
95 | 94 | | |
96 | 95 | | |
97 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | | - | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
207 | | - | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | 217 | | |
224 | 218 | | |
225 | 219 | | |
| |||
246 | 240 | | |
247 | 241 | | |
248 | 242 | | |
249 | | - | |
250 | 243 | | |
251 | 244 | | |
252 | 245 | | |
| |||
265 | 258 | | |
266 | 259 | | |
267 | 260 | | |
268 | | - | |
269 | | - | |
270 | 261 | | |
271 | 262 | | |
272 | 263 | | |
273 | 264 | | |
274 | 265 | | |
275 | 266 | | |
276 | 267 | | |
| 268 | + | |
| 269 | + | |
277 | 270 | | |
278 | 271 | | |
279 | 272 | | |
| |||
282 | 275 | | |
283 | 276 | | |
284 | 277 | | |
285 | | - | |
286 | 278 | | |
287 | 279 | | |
288 | 280 | | |
| |||
306 | 298 | | |
307 | 299 | | |
308 | 300 | | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | 301 | | |
323 | 302 | | |
324 | 303 | | |
| |||
339 | 318 | | |
340 | 319 | | |
341 | 320 | | |
342 | | - | |
343 | 321 | | |
344 | 322 | | |
345 | 323 | | |
| |||
352 | 330 | | |
353 | 331 | | |
354 | 332 | | |
355 | | - | |
356 | | - | |
357 | 333 | | |
358 | | - | |
| 334 | + | |
359 | 335 | | |
360 | 336 | | |
361 | 337 | | |
| |||
412 | 388 | | |
413 | 389 | | |
414 | 390 | | |
| 391 | + | |
415 | 392 | | |
416 | 393 | | |
417 | | - | |
418 | 394 | | |
419 | 395 | | |
420 | | - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
421 | 402 | | |
422 | 403 | | |
423 | 404 | | |
| |||
489 | 470 | | |
490 | 471 | | |
491 | 472 | | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | 473 | | |
508 | 474 | | |
509 | 475 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | | - | |
49 | | - | |
| 47 | + | |
| 48 | + | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 33 | | |
41 | 34 | | |
42 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
| |||
Lines changed: 6 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
32 | 15 | | |
33 | 16 | | |
34 | 17 | | |
35 | | - | |
36 | | - | |
| 18 | + | |
| 19 | + | |
37 | 20 | | |
38 | 21 | | |
39 | 22 | | |
40 | 23 | | |
41 | | - | |
42 | | - | |
43 | 24 | | |
44 | 25 | | |
45 | 26 | | |
46 | 27 | | |
47 | 28 | | |
48 | 29 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 30 | | |
58 | 31 | | |
59 | 32 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
Lines changed: 6 additions & 34 deletions

0 commit comments