52 Commits

Author SHA1 Message Date
hathach
421221baa5
making more progress, but failed with WRITE10
incorrect queue 448 bytes instead of 512
2019-12-21 23:51:57 +07:00
hathach
050fa2fd39
able to response to scsi inquiry, but failed to response to test unit ready 2019-12-21 19:33:41 +07:00
hathach
752aea7d72 enhance samg 2019-12-09 23:58:13 +07:00
hathach
fa96078882 clear data toggle in clear stall, also set config bit 2019-12-09 23:21:06 +07:00
hathach
75a2157715 fix samd using TUSB_REQ_SET_ADDRESS in dcd_edpt0_status_complete 2019-12-09 23:20:21 +07:00
hathach
0316e0ecd4 update descriptor, enhance ep in transfer 2019-12-09 22:48:35 +07:00
hathach
759fa76280 implementing dcd_edpt_open 2019-12-09 21:36:15 +07:00
hathach
208a77678c clean up, switch and update submodule samd to circuitpython branch 2019-12-09 18:37:54 +07:00
hathach
e9725dcdbe use dcd_edpt0_status_complete() to prepare for setup packet for samd21/samd51 2019-11-28 13:48:55 +07:00
hathach
d7558e8a0f use dcd_edpt0_status_complete() to set address without blocking for samd21/samd51/stm32_fsdev 2019-11-28 13:39:29 +07:00
hathach
ac701c398b clean up 2019-11-28 12:18:56 +07:00
hathach
552cc3ef33 implement dcd_edpt_stall 2019-11-28 11:56:35 +07:00
hathach
5dc04887e2 get passed set address 2019-11-28 11:48:08 +07:00
hathach
40b454cf28 get passed first get device descriptor 2019-11-27 23:20:48 +07:00
hathach
6225d5bcfd able to handle setup packet 2019-11-27 16:01:25 +07:00
hathach
bc21714c7e detect bus reset 2019-11-27 14:49:19 +07:00
hathach
745f0b4521 clean up 2019-11-27 11:02:24 +07:00
hathach
c691dc4cb2 update 2019-11-25 10:42:32 +07:00
hathach
58e8265964 usb hw init OK 2019-11-24 23:46:28 +07:00
hathach
f16ebd512b indent clean up 2019-07-04 18:45:10 +07:00
hathach
73d7ab201e
remove dcd_edpt_busy() 2019-06-10 22:29:18 +07:00
hathach
13e01c7dca
add TU_ prefix to compiler ATTR to prevent name conflict with application 2019-06-06 10:39:37 +07:00
hathach
667133304b fix samd dcd_clear_stall also reset data toggle 2019-05-10 00:10:18 +07:00
hathach
dd9c441a61
samd support suspend and resume. Though cannot distinguish between Suspend and Disconnect
should work with #47
2019-04-02 02:14:22 +07:00
hathach
b28cc6ddb1 added dcd_remote_wakeup() stub for all ports 2019-03-30 14:47:11 +07:00
hathach
1c2beba85c working on suspend and resume
change dcd_init signature
2019-03-29 16:23:00 +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
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
bd53256126
fix #32 2019-01-23 19:06:37 +07:00
hathach
6f17b4e019 change to dcd_get_frame_number 2018-12-21 12:46:20 +07:00
hathach
426064201a fix samd build 2018-12-19 13:16:42 +07:00
hathach
902697ca07 add dcd_get_microframe() 2018-12-17 12:14:11 +07:00
hathach
6d86db3977
rename edpt_dir/number/addr to tu_edpt_* 2018-12-12 11:51:31 +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
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
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
6aa0146c72
Reset USB peripheral and wait for startup 2018-11-23 11:15:39 -08:00
hathach
f196b24dce
rename DCD_XFER_SUCCESS to XFER_RESULT_SUCCESS 2018-11-23 15:22:46 +07:00
hathach
1d6fc49fa9
clean up 2018-11-21 17:03:39 +07:00
hathach
3cad1d1134
samd21 work well with cdc 2018-11-21 15:00:36 +07:00
hathach
a30dfa3324
clean up 2018-11-21 13:11:19 +07:00
hathach
a0ce92bcfd
update dcd samd21 2018-11-21 13:01:39 +07:00
hathach
155edc7b00
fix ses irq vector 2018-11-21 12:36:28 +07:00
hathach
d036f62b0e samd51 fix stable issue with dcd 2018-11-20 17:25:41 +07:00
hathach
c503d48ec4 clean up 2018-11-20 01:20:39 +07:00
hathach
5732be224c update example for PR. correct share_control definition
- rename dcd,hal to dcd_samd51, hal_samd51 since some IDE has issue with
duplicated names (e.g keil, ses).
2018-11-14 16:03:58 +07:00