Ha Thach
81fa9966de
Merge pull request #895 from ElectronicCats/master
...
add support SAML21
2021-06-20 01:01:00 +07:00
hathach
6b621baeb3
fix race condition with control since TASKS_EP0RCVOUT also require EasyDMA
2021-06-19 01:58:27 +07:00
hathach
832d22d7ad
force single buffered for device mode, out endpoint
2021-06-17 01:55:35 +07:00
MasterPhi
30fff56aa4
Revert "Use byte copy.", add barrier after buffer write.
...
Signed-off-by: MasterPhi <admin@hifiphile.com>
2021-06-16 00:18:38 +02:00
MasterPhi
67a6560ec9
Default use dual bank for FS, use dcd irq switch.
2021-06-15 21:52:14 +02:00
MasterPhi
6cc702e9ec
Prevent buffer overflow.
...
Signed-off-by: MasterPhi <admin@hifiphile.com>
2021-06-15 21:16:51 +02:00
MasterPhi
54dc694be4
Use byte copy.
2021-06-15 19:11:53 +02:00
MasterPhi
ca8e8041ef
Fix resume, always init FS clock.
...
Signed-off-by: MasterPhi <admin@hifiphile.com>
2021-06-15 17:53:09 +02:00
sabas1080
7bed7d70f0
add support SAML21
2021-06-15 00:01:28 -05:00
hathach
5c567129ea
fix calculating xferred bytes with double buffer with short packet on buffer0
2021-06-13 18:30:26 +07:00
hathach
f38c460433
fix ep tx with double buffered
2021-06-13 17:19:14 +07:00
hathach
bd039c8d37
fix build with log for device
2021-06-13 16:16:25 +07:00
hathach
1af64f9729
remove sent_setup from hw endpoint
2021-06-13 15:31:00 +07:00
hathach
289ccf3c93
remove dev_ep_map
2021-06-13 13:19:20 +07:00
MasterPhi
85fc423569
Rename SAM7X to SAMX7X
...
Signed-off-by: MasterPhi <admin@hifiphile.com>
2021-06-12 12:36:59 +02:00
MasterPhi
f039607afc
Fix indent.
...
Signed-off-by: MasterPhi <admin@hifiphile.com>
2021-06-12 11:19:08 +02:00
Rafael Silva
776a770947
dcd: sam7x: rename family dcd to include the whole family
...
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-12 00:09:24 +01:00
Wini-Buh
60d8ecbfe6
clean up
2021-06-11 22:36:17 +02:00
Wini-Buh
1c23462b43
weak atrribute work around removed from CCRX_Port
2021-06-11 22:25:36 +02:00
Rafael Silva
2196991df3
dcd: same70: trim trailling spaces
...
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-11 21:03:36 +01:00
Rafael Silva
bcd3e31bd6
dcd: same70: fix unused variable warning
...
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-11 20:59:48 +01:00
Rafael Silva
9a03ab9dfa
dcd: same70: change cmsis deprecated macros
...
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2021-06-11 20:52:22 +01:00
hathach
910e11a8ab
fix ci build
2021-06-11 19:04:16 +07:00
hathach
dfe5a727c6
log clean up
2021-06-11 18:54:09 +07:00
hathach
b39faa15ef
map pico_info to log2, pico_trace to log3
2021-06-11 18:44:08 +07:00
hathach
a6d22f5a68
replace pico_warn by log level 1
2021-06-11 18:40:01 +07:00
hathach
66c8a13f13
remove unused variable in hw endpoint
...
last_buf, buf_sel, transfer_size
2021-06-11 18:26:41 +07:00
hathach
93cb2ff4cf
more refactor double buffered rp2040
2021-06-11 18:16:13 +07:00
hathach
1d48320d8a
rename hw endpoint
...
- total_len to remaining_len
- len to xferred_len
2021-06-11 17:58:29 +07:00
hathach
5d6e381ef6
refactor rp2040 usb
...
- make _hw_endpoint_xfer_sync and _hw_endpoint_start_next_buffer private
- drop prefix _ from _hw_endpoint_xfer_continue and
_hw_endpoint_reset_transfer
2021-06-11 17:34:51 +07:00
MasterPhi
c291deccfa
Add fifo & DMA linked list mode support.
2021-06-11 12:17:11 +02:00
HiFiPhile
24de9d39af
Format.
2021-06-11 12:17:11 +02:00
HiFiPhile
1dafcd1132
- Add Full Speed switch
...
- Add DMA support
- Add Dual bank support
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2021-06-11 12:17:11 +02:00
HiFiPhile
4f4a33b378
Seems like fixed ep0 issues, code format.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2021-06-11 12:17:11 +02:00
HiFiPhile
f8aa4b3ff3
Add sketchy SAME70 DCD driver.
2021-06-11 12:17:10 +02:00
hathach
a1a03c92f6
double buffered work with host
2021-06-11 17:05:49 +07:00
hathach
43656dc0a7
more clean up
2021-06-10 23:29:02 +07:00
hathach
cf0a475a2e
clean up
2021-06-10 22:00:59 +07:00
hathach
c7f51cde40
implement usbh_edpt_busy (WIP), remove hcd_edpt_busy
2021-06-10 17:19:21 +07:00
hathach
7e6cba7359
remove hcd_edpt_stalled()
2021-06-10 16:55:12 +07:00
Ha Thach
3c4ab6bd8a
Merge pull request #883 from hathach/fix-rp2040-host-transferred-bytes
...
fix computing transferred bytes with E4
2021-06-10 11:35:51 +07:00
hathach
501de2a5e8
fix computing transferred bytes with E4
2021-06-08 10:29:22 +07:00
hathach
c2b85c8d6d
add OPT_MCU_MM32F327X
...
move dcd_mm32f into mindmotion folder
2021-06-07 18:51:44 +07:00
zhangslice
26b9fc38ed
Add MM32 SDK and USB driver ( #869 )
...
* Add MM32 SDK and USB driver
* add mindmotion mm32sdk as submodule
remove the local copy of mm32
* mit license
Signed-off-by: zhangslice <1304224508@qq.com>
Co-authored-by: hathach <thach@tinyusb.org>
2021-06-07 17:32:46 +07:00
Wini-Buh
5a554508ca
Merge remote-tracking branch 'upstream/master' into CCRX_Port
2021-06-03 22:17:30 +02:00
graham sanderson
c81bc38d42
Add __unused to variables that are only used if TU_LOG does something
2021-06-03 10:10:44 -05:00
Wini-Buh
e26cf6b26c
Missing RX device dependency corrected
2021-06-02 21:33:32 +02:00
Ha Thach
8ea0dfba68
Merge pull request #865 from kilograham/pico-0.10.0
...
Pico 0.10.0
2021-06-03 01:02:54 +07:00
hathach
bc0a0386e9
clean up
2021-05-31 18:41:08 +07:00
hathach
31077f48d2
correct ohci endpoint address in xfer complete
2021-05-31 18:16:07 +07:00