Commit Graph

28 Commits

Author SHA1 Message Date
hathach a73017fdc2
hal clean up
- replace tusb_hal_int_enable/disable to dcd_int_enable/disable,
hcd_int_enable/disable
- remove tusb_hal_init(), this will be part of dcd_init/hcd_init,
anything beyond dcd/hcd should be inited by bsp
2018-12-05 13:20:25 +07:00
hathach 6048a3bff4
remove dcd_connect/disconnect since there is no usage now 2018-12-05 12:22:33 +07:00
hathach 064eec5dd8
clean up warnings 2018-11-26 12:29:55 +07:00
hathach f196b24dce
rename DCD_XFER_SUCCESS to XFER_RESULT_SUCCESS 2018-11-23 15:22:46 +07:00
hathach 00694b56c5 nrf5x: clean up dcd, add comment 2018-11-16 22:17:11 +07:00
hathach b62ca2e5cd nrf5x: correct control transfer direction
added dcd description.
2018-11-16 21:52:23 +07: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
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 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 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 544f9c1315 add dcd_edpt_stalled() API
- implement control endpoint get status, endpoint set feature
2018-07-25 21:21:33 +07:00
hathach 4342325ee1 reworking device hid class driver 2018-07-23 15:25:45 +07:00
hathach a0849fee9f add nrf errata check temporarily part of hal_nrf 2018-07-10 22:08:03 +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