697c9476b7
Fix pointer type
2021-02-23 21:42:38 +01:00
cb33840a9b
Fix pointer type
2021-02-23 21:15:27 +01:00
00248de15a
Fix shadowing declartion in dcd_da146xx.c
2021-02-23 20:23:26 +01:00
387bf1478e
Fix missing , in tusb_fifo.h
2021-02-23 19:52:31 +01:00
c76e04f835
Add dcd_edpt_iso_xfer() to dcd_template.c
2021-02-23 19:50:54 +01:00
e223d46033
Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer
...
Conflicts:
src/common/tusb_fifo.h
src/osal/osal_none.h
2021-02-23 19:47:57 +01:00
313dd1439d
Implement dcd_edpt_iso_xfer() for dcd_da146xx.c BUT WITHOUT DMA SUPPORT
2021-02-23 19:41:21 +01:00
656673fb58
Merge pull request #674 from hathach/host-msc
...
Enhance Host MSC
2021-02-24 00:19:38 +07:00
451650fa32
move ehci and ohci to portable folder
2021-02-23 23:09:48 +07:00
0de6a05d73
fix ohci hcd_init() signature change
2021-02-23 19:45:53 +07:00
5108d76136
host msc: call read_capacity as part of enumeration
...
- add tuh_msc_get_block_count(), tuh_msc_get_block_size()
- rename tuh_msc_mounted_cb/tuh_msc_unmounted_cb to
tuh_msc_mount_cb/tuh_msc_unmount_cb to match device stack naming
- change tuh_msc_is_busy() to tuh_msc_ready()
- add CFG_TUH_MSC_MAXLUN (default to 4) to hold lun capacities
- add host msc configured to for state check.
2021-02-23 19:41:11 +07:00
386a386345
clean up host msc
2021-02-23 12:20:30 +07:00
cea31c346d
Merge pull request #575 from nwlab/yaa/msc_read
...
Added MSC read10 and write10 function
2021-02-23 11:51:48 +07:00
ade4bf74ea
update function comment
2021-02-23 11:38:15 +07:00
f2ed2ae09a
rename tuh_msc_scsi_inquiry() to tuh_msc_inquiry()
2021-02-23 11:14:19 +07:00
de95585258
nxp tdi: hcd_init() reset and set host mode
2021-02-23 01:27:52 +07:00
c5b8980398
separate hcd_init from ehci
2021-02-22 22:40:51 +07:00
1e07fc024c
add rhport to hcd_init()
2021-02-22 22:32:56 +07:00
8a2e4c79fd
make hcd tdi more generic
2021-02-22 18:02:52 +07:00
b591a66b3d
Pass the correct speed on Spresense
2021-02-22 11:24:16 +01:00
00b4b74e82
rename hcd_lpc18_43 to hcd_transdimension
2021-02-22 17:15:06 +07:00
43ca626774
merge iso and cbi transaction size to max ep size
2021-02-22 12:27:02 +07:00
44916bcacf
Merge branch 'RP2040_enable_isochronous_buffer_size' of https://github.com/ndinsmore/tinyusb into ndinsmore-RP2040_enable_isochronous_buffer_size
2021-02-22 12:21:52 +07:00
cb5b9eb2f6
Remove stray. commented out line
2021-02-19 08:33:06 -05:00
2a04ee68b8
add TU_FIFO_INIT() to help with tu_fifo declaration
...
tu_fifo_clear() also reset max_pointer_idx and non_used_index_space
2021-02-19 11:57:56 +07:00
be9f86ca9e
Merge pull request #660 from hathach/fix-typo-midi-write24
...
Fix typo midi write24
2021-02-19 11:22:21 +07:00
044d29c927
Merge pull request #654 from xmos-jmccarthy/master
...
Add alternate bitfield padding option
2021-02-19 11:03:53 +07:00
aa85099171
fix tud_midi_write24 typo
...
rename jack_id to cable_num in function argument
2021-02-19 10:51:47 +07:00
fff6283bf7
Update .non_used_index_space = UINT16_MAX - (2*_depth-1) in osal_none.h
2021-02-18 21:22:11 +01:00
8904874f76
Exclude #include "osal/osal.h" for OPT_OS_NONE
2021-02-18 20:52:57 +01:00
31bf73517e
Add #include "osal/osal.h" in tu_fifo.h
2021-02-18 20:16:57 +01:00
21f1cd4ec7
Implement requested PR changes
...
Removes CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, and makes the manual padding
behavior standard. Replaced unused variable name with TU_RESERVED.
2021-02-18 13:26:03 -05:00
c098da9803
Implement left and right justifications for 24 to 32 bit PCM encoding
2021-02-18 19:25:08 +01:00
ac87a4547d
Change to using tu_min32
...
This was a github edit, not tested
2021-02-18 08:25:04 -05:00
681cfd0bf2
Correct for wrong pointer type in audio_device.c
2021-02-18 11:12:16 +01:00
27f4b6f5a4
Included size check for ISO buffers
2021-02-17 18:22:24 -05:00
6cb9a6ebb1
Add (void *) for pointer cast.
2021-02-17 23:04:19 +01:00
d8481ac7e4
Fix wrong pointer call in dcd_samg.c
2021-02-17 22:52:59 +01:00
666e0fad35
Fix wrong tu_fifo_read_n() call in dcd_stm32_fsdev.c
2021-02-17 22:50:49 +01:00
402005c9e0
Fix missing pointer operator in dcd_nuc505.c
2021-02-17 22:49:10 +01:00
94bf4f54da
Fix missing FIFO definitions
2021-02-17 22:29:51 +01:00
53a796a92e
Fix wrong pointer type.
2021-02-17 22:29:40 +01:00
ae20d11124
Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer
...
Conflicts:
src/common/tusb_fifo.h
2021-02-17 22:08:21 +01:00
eee47493a3
Fix bug in evasion buffer list
2021-02-17 21:59:32 +01:00
e407ce463d
Add SAMD MCUs to buffer evasion list
2021-02-17 21:47:01 +01:00
189b357b54
Implement an evasion linear buffer for MCUs not capable for EP FIFO
...
Also MCUs using DMAs are within this list, however, these can use an EP
FIFO. There is just no time for implementation
2021-02-17 21:42:44 +01:00
2d7b61972c
Implement dcd_edpt_iso_xfer() for dcd_stm32_fsdev
...
Implemented a special copy strategy to copy directly from the FIFO. This
function, however, is untested and should be regarded as unreliable
until somebody was able to test it
2021-02-17 20:46:31 +01:00
c87357c025
Improve tu_fifo capabilites
...
Added tu_fifo_get_linear_write_info(), tu_fifo_backward_write_pointer(),
and tu_fifo_backward_read_pointer()
2021-02-17 20:44:26 +01:00
79b360f0a6
Enable iso buffers per rp2040 spec
2021-02-17 13:22:34 -05:00
b7ec66e33a
This fixes the overflow mathmatic in the fifo
2021-02-16 23:08:08 -05:00