hathach
06e1fac7c5
nrf5x enable suspend after set address, instead of set config
2019-04-02 01:20:34 +07:00
hathach
2cc4ab2aef
nrf5x added LOWPOWER when suspend/resume
2019-03-31 23:57:38 +07:00
hathach
eabfc53f38
added tud_suspended() and tud_ready()
2019-03-30 23:01:23 +07:00
hathach
b28cc6ddb1
added dcd_remote_wakeup() stub for all ports
2019-03-30 14:47:11 +07:00
hathach
93a853cd5b
usbd add connected, suspended, remote_wakeup
...
- remove use of osal_queue_reset
2019-03-30 02:26:15 +07:00
hathach
1c2beba85c
working on suspend and resume
...
change dcd_init signature
2019-03-29 16:23:00 +07:00
hathach
0bdd4bd550
added Suspend and Resume event for nrf5x port
...
also rename DCD_EVENT_SUSPENDED to DCD_EVENT_SUSPEND
2019-03-29 01:34:53 +07:00
hathach
1e9848d917
replace dcd_edpt_(clear)stall by usbd_edpt_(clear)stall
...
- remove dcd_edpt_stalled() from dcd porting
2019-03-27 16:09:49 +07:00
hathach
4722376654
remove dcd_get_frame_number()
2019-03-27 01:01:48 +07:00
hathach
18f248b142
remove tusb_hal_millis() usage, less work for porting
2019-03-24 01:19:32 +07:00
hathach
c211ee19dd
migrate license from BSD 3 clause to MIT
2019-03-20 16:11:42 +07:00
hathach
eda56769b9
dcd_set_address include status response, usbd control stall both control in and out
2019-03-13 23:14:48 +07:00
hathach
1a84f5da54
nrf5x Let application decide USBD_IRQn priority
2019-01-29 19:42:31 +07:00
hathach
777f41a066
clean up
2019-01-29 18:47:29 +07:00
hathach
6f17b4e019
change to dcd_get_frame_number
2018-12-21 12:46:20 +07:00
hathach
902697ca07
add dcd_get_microframe()
2018-12-17 12:14:11 +07:00
hathach
2a60427bdc
rename bit_* helper to tu_bit_*, BIT_* to TU_BIT_* for consistency
2018-12-14 15:30:54 +07:00
hathach
6d86db3977
rename edpt_dir/number/addr to tu_edpt_*
2018-12-12 11:51:31 +07:00
hathach
9f3e91a934
update nrf errata
2018-12-05 14:30:47 +07:00
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
e61e9d8b1b
nrf5x add DCD_EVENT_UNPLUGGED event
2018-11-23 15:05:40 +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
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
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
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