MasterPhi
|
8c6cd5396c
|
Fix non-DMA IN irq.
|
2021-07-21 10:50:07 +02:00 |
|
MasterPhi
|
5492d9148c
|
Re-enable SETUP irq on EP0 stall.
|
2021-07-21 10:29:47 +02:00 |
|
MasterPhi
|
9c26c0c01e
|
Remove redundant TX irq.
|
2021-07-21 09:42:26 +02:00 |
|
MasterPhi
|
eec927ea95
|
Fix EP0 issue (again)
|
2021-07-21 00:28:51 +02:00 |
|
MasterPhi
|
fa9a327a71
|
Workaround of EP0 issue, clean up.
|
2021-07-20 13:24:39 +02:00 |
|
MasterPhi
|
895c913aa9
|
Merge branch 'dcd_same70' of https://github.com/HiFiPhile/tinyusb into dcd_same70
|
2021-07-19 22:04:34 +02:00 |
|
MasterPhi
|
75f61328ea
|
Remove clock init.
|
2021-07-19 22:03:47 +02:00 |
|
hathach
|
05f59fb8ed
|
clean up warning
|
2021-07-19 12:08:01 +07:00 |
|
MasterPhi
|
8cae17bfc8
|
Fixing NAKed OUT xfer
|
2021-07-19 01:07:33 +02:00 |
|
MasterPhi
|
bae0d3b7bb
|
Fix build error.
|
2021-07-17 14:42:23 +02:00 |
|
MasterPhi
|
7e3e41952f
|
Fix ISO support.
|
2021-07-17 13:48:21 +02:00 |
|
HiFiPhile
|
b194aa240b
|
Merge branch 'master' into dcd_same70
|
2021-07-17 12:10:35 +02: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 |
|
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 |
|
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 |
|
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
|
b36b211c26
|
clean up tusb_fifo.h include
|
2021-05-27 17:58:42 +07:00 |
|
hathach
|
13de8f5d98
|
minor clean up
|
2021-05-10 19:15:46 +07:00 |
|
hathach
|
b687a4fc20
|
Merge branch 'master' into edpt_ISO_xfer
|
2021-04-15 12:12:52 +07:00 |
|
Joey Castillo
|
7c8b4991f1
|
Add support for SAM L22 family
|
2021-04-09 17:33:14 -04:00 |
|
hathach
|
bebe2f0bbf
|
revert dcd_edpt_xfer_fifo() implementation for nuc505
|
2021-04-04 22:50:26 +07:00 |
|
hathach
|
586a46c7d3
|
revert dcd_edpt_xfer_fifo() implementation for samg
samg fifo is accessed byte by byte (although the register is 32 bit).
|
2021-04-04 21:33:19 +07:00 |
|
Reinhard Panhuber
|
a60bd0c8ac
|
Fix bug in writing to constant src/dst address.
Copying has to be conduct in full words (at least for STM32). Renamed
copy function to tu_fifo_write_n_const_addr_full_words()
|
2021-03-23 19:33:04 +01:00 |
|
Reinhard Panhuber
|
a1b07ae14c
|
Change copy modes for new read/write functions in tusb_fifo.c
|
2021-03-02 21:52:42 +01:00 |
|
Reinhard Panhuber
|
7b8a08d2e1
|
Rename dcd_edpt_iso_xfer() to dcd_edpt_xfer_fifo()
|
2021-03-02 20:00:39 +01:00 |
|
Reinhard Panhuber
|
d8481ac7e4
|
Fix wrong pointer call in dcd_samg.c
|
2021-02-17 22:52:59 +01:00 |
|
Reinhard Panhuber
|
893f997dcb
|
Change FIFO use indication to ff == NULL to avoid future errors.
This way people don't need to pay attention for the buffer pointer
|
2021-02-14 09:25:34 +01:00 |
|
Reinhard Panhuber
|
126e46e38a
|
Fix not increment xfer->buffer if xfer->buffer == NULL in dcd_samg.c
|
2021-02-13 17:37:13 +01:00 |
|
Reinhard Panhuber
|
7ab389db21
|
Implement dcd_edpt_iso_xfer() for dcd_samg.c. NOTE: ISO EP not supported
|
2021-02-13 16:36:32 +01:00 |
|
hathach
|
6e6e6265e4
|
use dcd_event_bus_reset() with speed to replace bus_signal
|
2021-01-08 22:34:36 +07:00 |
|
hathach
|
3e1d85eed2
|
comment clean up
|
2021-01-08 11:43:26 +07:00 |
|
hathach
|
cc5dfd03cd
|
update comment and correct the size to 8+2
|
2021-01-08 11:21:26 +07:00 |
|
hathach
|
60620dca42
|
walkround for samd21 setup_packet overflow
increase setup packet size from 8 to 12, since USB DMA controller is
suspected to overflow the buffer with 2 extra bytes
|
2021-01-08 01:21:03 +07:00 |
|
hathach
|
9d3a9cf546
|
add OPT_MCU_SAMD11
skip ci build for example that need more ROM/RAM could fit into SAMD11
|
2020-08-22 18:46:19 +07:00 |
|
hathach
|
acde49ccc9
|
enable pull-up in dcd_init() instead of usbd
|
2020-08-01 20:14:58 +07:00 |
|
hathach
|
0407cfe16c
|
fix samd21 race condition with setup packet
reproduced with Adafruit_TinyUSB_ArduinoCore port commit 11d669b4d2a40eb2fc5e51b2a9707a6de9d42363 and SAMD BSP 1.6.1
|
2020-07-23 01:39:15 +07:00 |
|
Jeff Epler
|
b2ef8cdd42
|
dcd_samd: Provide implementation for OPT_MCU_SAME5X
|
2020-06-25 18:51:04 -05:00 |
|