Reinhard Panhuber
03f974c9b9
Implement functions to allow for DMA usage in audio driver.
...
- Add tud_audio_n_get_ep_out_ff(), tud_audio_n_get_ep_in_ff(),
tud_audio_n_get_rx_support_ff(), and tud_audio_n_get_tx_support_ff()
- Change get_linear_read/write_info() to return linear and wrapped part
at once
- Adjusted affected code in audio_device.c and tested with
audio_4_channel.
2021-04-23 10:27:48 +02:00
Alex Lisitsyn
2f0cb8b5f1
tinyusb: add support of esp32s3 target
...
add support of new esp32s3 target and the board
update the roles.mk wrapper to allow dfu flashing of espressif chip
update examples to allow compilation for esp32s3_addax_1 board
once the code is tested the PR to original tinyusb repo will be submitted
2021-04-16 13:38:00 +02:00
hathach
b687a4fc20
Merge branch 'master' into edpt_ISO_xfer
2021-04-15 12:12:52 +07:00
hathach
3c84776e0a
minor clean up
2021-04-15 12:09:12 +07:00
Joey Castillo
7c8b4991f1
Add support for SAM L22 family
2021-04-09 17:33:14 -04:00
hathach
3acf0c2d73
revert dcd_edpt_xfer_fifo() implementation for esp32s2
2021-04-06 01:00:00 +07:00
hathach
69ad092fce
revert dcd_edpt_xfer_fifo() implementation for nuc120 121
2021-04-06 00:13:12 +07:00
hathach
49b2d8f26c
revert dcd_edpt_xfer_fifo() implementation for msp430
2021-04-06 00:07:17 +07:00
hathach
8d2dfe872c
revert dcd_edpt_xfer_fifo() implementation for stm32_fsdev
2021-04-05 19:19:49 +07: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
a1efd41649
Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer
2021-04-03 09:50:08 +02:00
kkitayam
4a597c9698
cleanup
2021-03-28 12:42:28 +09:00
kkitayam
a1f1941c3f
fixed a OUT transfer did not completed multiple of the max packet size
2021-03-27 16:03:04 +09:00
kkitayam
e010ea30e5
using BRDY interruption for handling IN transfers.
2021-03-27 14:42:19 +09:00
kkitayam
f8cf88f918
update for gr_citurs
2021-03-26 19:32:39 +09:00
kkitayam
13735eb21d
added dcd for Renesas USBa
2021-03-26 19:30:53 +09:00
Rafael Silva
2807644e7e
add efm32 driver
...
Signed-off-by: Rafael Silva <silvagracarafael@gmail.com>
2021-03-23 20:45:56 +00: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
hathach
64f41dea62
fix race condition that could cause drop packet of Bulk OUT transfer
...
NRF_USBD->SIZE.EPOUT[epnum] only need to write once to enable
Bulk/Interrupt transfer. We only need to do it in dcd_edpt_open() and
dcd_edpt_clear_stall()
2021-03-18 15:07:07 +07:00
hathach
82e24306e2
fix build with OPT_MCU_LPC177X_8X
2021-03-16 15:49:09 +07:00
hathach
a397353916
fix ci build with rp2040
2021-03-10 17:58:39 +07:00
hathach
794083b647
Merge branch 'master' into edpt_ISO_xfer
2021-03-10 17:10:49 +07:00
hathach
8cabbb28df
fix enum walkaround forever check for SE0 when pull up is disabled
2021-03-04 18:36:18 +07: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
3cdb82c21c
Change for copy modes in dcd_synopsis.c
2021-03-02 21:42:24 +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
c8b6d9b990
Revert implementation of dcd_edpt_iso_xfer()
2021-03-02 19:28:35 +01:00
hathach
a298045f6c
clean up
2021-03-02 23:30:21 +07:00
hathach
9d5e369170
rp2040 add disconnection detection
...
- also use dcd_event_bus_reset()
- Add TODO for suspend, resume later on (need to test with/without vbus
detection).
2021-03-02 23:24:36 +07:00
hathach
1676a836d1
fix rp2040 host build
2021-03-02 14:54:12 +07:00
Ha Thach
559ff80643
Merge pull request #684 from hathach/rp2040-host-example
...
add rp2040 to host example build
2021-03-02 13:03:52 +07:00
Ha Thach
5a753c1ab0
Merge pull request #675 from majbthrd/rp2040epaddr
...
rp2040: use TU endpoint conventions and remove redundant variables
2021-02-27 00:38:53 +07:00
Peter Lawrence
eb44b6f7db
rp2040: improve _hw_endpoint_init()
2021-02-26 11:07:34 -06:00
hathach
f6b48c07fc
add rp2040 to host example build
2021-02-26 14:05:08 +07:00
Ha Thach
0c05a02e67
Merge pull request #682 from hathach/rp2040_fix_hcd_init
...
Update RP2040 hcd_init to have rhport argument.
2021-02-26 11:52:48 +07:00
Liam Fraser
e6e7c73f6e
Update RP2040 hcd_init to have rhport argument.
2021-02-25 15:48:19 +00:00
majbthrd
efea18a888
Merge branch 'master' into rp2040epaddr
2021-02-25 09:15:42 -06:00
majbthrd
0632ecf556
Merge branch 'master' into rp2040device
2021-02-25 08:57:09 -06:00
Peter Lawrence
999ef227d0
rp2040: requested code mode in rp2040_usb.h
2021-02-25 08:45:47 -06:00
Ha Thach
50a0bddd8b
Merge pull request #672 from majbthrd/rp2040trim
...
rp2040: correctly size variables to reduce RAM usage
2021-02-25 21:17:59 +07:00
Peter Lawrence
762f262be7
rp2040: requested change from TU_MIN to tu_min16
2021-02-25 07:58:54 -06:00
Reinhard Panhuber
5ebe53f02d
Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer
2021-02-24 20:54:35 +01:00
Kamil Tomaszewski
448dcdc4cf
spresense: fix setup processed flag
2021-02-24 17:39:16 +01:00
Reinhard Panhuber
a7f07a1a63
Fix pointer type
2021-02-23 21:53:17 +01:00
Reinhard Panhuber
697c9476b7
Fix pointer type
2021-02-23 21:42:38 +01:00
Reinhard Panhuber
cb33840a9b
Fix pointer type
2021-02-23 21:15:27 +01:00
Peter Lawrence
e00178a1af
rp2040: don't compile in host code when in device mode
2021-02-23 14:04:56 -06:00
Reinhard Panhuber
00248de15a
Fix shadowing declartion in dcd_da146xx.c
2021-02-23 20:23:26 +01:00
Reinhard Panhuber
c76e04f835
Add dcd_edpt_iso_xfer() to dcd_template.c
2021-02-23 19:50:54 +01:00