33 Commits

Author SHA1 Message Date
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
hathach
b2f18744fe add dcd event helper setup_recieved and bus_signal 2018-10-25 15:02:43 +07:00
hathach
55427606ef replace dcd_xfer_complete by dcd_xfer_complete() 2018-10-24 00:44:26 +07:00
hathach
177adf4bfa replace dcd_bus_event() and dcd_setup_received() by dcd_event_handler() 2018-10-23 16:31:45 +07:00
hathach
c7340f4b0e clean up helper func 2018-10-23 12:19:32 +07:00
hathach
a660fb0cfc clean up, update nrfx to 1.3.0 2018-09-25 12:57:46 +07:00
hathach
61e4a8c3d3 remove CFG_TUD_CDC_FLUSH_ON_SOF option 2018-08-30 15:20:15 +07:00
hathach
583326e535 nrf5x fix an issue with EP0STATUS require Easy DMA 2018-08-28 15:57:21 +07:00
hathach
b0d14e2e41 minor nrf52 driver correct 2018-08-28 13:15:03 +07:00
hathach
23c7c2102b fix compiler warnings 2018-08-23 20:54:51 +07:00
hathach
c5d2f661e7 rename common func to avoid conflict 2018-08-23 20:09:28 +07:00
hathach
e07b1acbed rename VERIFY to TU_VERIFY to avoid conflict with application 2018-08-13 18:10:23 +07:00
hathach
b07124c623 fix issue with cdc write failed sometimes 2018-08-13 18:09:29 +07:00
hathach
6d96b12e27 improve auto descriptor 2018-08-01 00:50:04 +07:00
hathach
5dd02cbdd3 house keeping 2018-07-27 16:59:57 +07:00
hathach
86c445cd71 move nrf_drv_usbd_errata to portable folder 2018-07-26 16:12:09 +07:00
hathach
544f9c1315 add dcd_edpt_stalled() API
- implement control endpoint get status, endpoint set feature
2018-07-25 21:21:33 +07:00
hathach
5f6cd49031 clean up include 2018-07-23 23:41:14 +07:00
hathach
51903a60c5 rename timeout_ API to tu_timeout API 2018-07-23 22:36:29 +07:00
hathach
361928f429 rename timeout_timer.h to tusb_timeout.h 2018-07-23 22:32:21 +07:00
hathach
4342325ee1 reworking device hid class driver 2018-07-23 15:25:45 +07:00
hathach
421ae8fc82 nrf: move power setup out of stack (to application) 2018-07-17 23:55:56 +07:00
hathach
a0849fee9f add nrf errata check temporarily part of hal_nrf 2018-07-10 22:08:03 +07:00
hathach
40de723d41 allow tusb_init() to call multiple times
enhance nrf5x
2018-07-05 00:23:47 +07:00
hathach
1faf0a81e4 clean up 2018-07-02 17:32:09 +07:00
hathach
1ee2bee5c8 clean up 2018-07-02 11:09:22 +07:00
hathach
142300ca60 remove sdk, add nrfx as submodule
update segger project to work with nrfx
2018-07-02 11:00:05 +07:00
hathach
6b2b6aaa3f fix msc device with transfer len > 65k bytes 2018-06-24 00:16:22 +07:00
hathach
84ef486418 enhance and fix bug with dcd for nrf5x
fix issue with large enough bulk out.
2018-06-23 13:20:07 +07:00
hathach
19807f0c07 clean up 2018-06-19 22:59:16 +07:00
hathach
424735d440 rename subfolder source to src 2018-06-18 14:05:24 +07:00