Ha Thach
d3195414dc
Merge pull request #657 from ndinsmore/RP2040_enable_isochronous_buffer_size
...
RP2040:Enable full size isochronous buffers
2021-02-22 12:47:48 +07:00
hathach
43ca626774
merge iso and cbi transaction size to max ep size
2021-02-22 12:27:02 +07:00
hathach
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
Ha Thach
30085592d4
Merge pull request #665 from jgressmann/same54xplainedpro
...
Adds support for Microchip SAM E54 Xplained Pro
2021-02-22 11:30:23 +07:00
Jean Gressmann
16c8f75637
Adds support for Microchip SAM E54 Xplained Pro
2021-02-20 16:00:27 +01:00
ndinsmore
cb5b9eb2f6
Remove stray. commented out line
2021-02-19 08:33:06 -05:00
Ha Thach
1bba2c0fc3
Update CONTRIBUTORS.md
2021-02-19 17:19:33 +07:00
Ha Thach
9067926a70
Merge pull request #661 from hathach/improve-fifo
...
improve tu fifo
2021-02-19 12:24:05 +07:00
hathach
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
Ha Thach
be9f86ca9e
Merge pull request #660 from hathach/fix-typo-midi-write24
...
Fix typo midi write24
2021-02-19 11:22:21 +07:00
Ha Thach
044d29c927
Merge pull request #654 from xmos-jmccarthy/master
...
Add alternate bitfield padding option
2021-02-19 11:03:53 +07:00
hathach
8f3f21045b
make midi example less ambigous for cable and channel
2021-02-19 10:57:20 +07:00
hathach
aa85099171
fix tud_midi_write24 typo
...
rename jack_id to cable_num in function argument
2021-02-19 10:51:47 +07:00
hathach
c245305f72
update adafruit rp2040 board define
2021-02-19 10:50:50 +07:00
Reinhard Panhuber
fff6283bf7
Update .non_used_index_space = UINT16_MAX - (2*_depth-1) in osal_none.h
2021-02-18 21:22:11 +01:00
Reinhard Panhuber
8904874f76
Exclude #include "osal/osal.h" for OPT_OS_NONE
2021-02-18 20:52:57 +01:00
Reinhard Panhuber
31bf73517e
Add #include "osal/osal.h" in tu_fifo.h
2021-02-18 20:16:57 +01:00
Jeremiah McCarthy
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
Reinhard Panhuber
c098da9803
Implement left and right justifications for 24 to 32 bit PCM encoding
2021-02-18 19:25:08 +01:00
Ha Thach
f60380cdc8
Merge pull request #658 from lurch/patch-1
...
rp2040/family.c: allow LED_PIN to be undefined
2021-02-19 00:36:04 +07:00
ndinsmore
ac87a4547d
Change to using tu_min32
...
This was a github edit, not tested
2021-02-18 08:25:04 -05:00
Andrew Scheller
2145ab7664
rp2040/family.c: allow LED_PIN to be undefined
2021-02-18 11:53:18 +00:00
Reinhard Panhuber
681cfd0bf2
Correct for wrong pointer type in audio_device.c
2021-02-18 11:12:16 +01:00
Nicholas R Dinsmore
27f4b6f5a4
Included size check for ISO buffers
2021-02-17 18:22:24 -05:00
Reinhard Panhuber
6cb9a6ebb1
Add (void *) for pointer cast.
2021-02-17 23:04:19 +01:00
Reinhard Panhuber
d8481ac7e4
Fix wrong pointer call in dcd_samg.c
2021-02-17 22:52:59 +01:00
Reinhard Panhuber
666e0fad35
Fix wrong tu_fifo_read_n() call in dcd_stm32_fsdev.c
2021-02-17 22:50:49 +01:00
Reinhard Panhuber
402005c9e0
Fix missing pointer operator in dcd_nuc505.c
2021-02-17 22:49:10 +01:00
Reinhard Panhuber
94bf4f54da
Fix missing FIFO definitions
2021-02-17 22:29:51 +01:00
Reinhard Panhuber
53a796a92e
Fix wrong pointer type.
2021-02-17 22:29:40 +01:00
Reinhard Panhuber
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
Reinhard Panhuber
eee47493a3
Fix bug in evasion buffer list
2021-02-17 21:59:32 +01:00
Reinhard Panhuber
e407ce463d
Add SAMD MCUs to buffer evasion list
2021-02-17 21:47:01 +01:00
Reinhard Panhuber
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
Reinhard Panhuber
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
Reinhard Panhuber
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
Nicholas R Dinsmore
79b360f0a6
Enable iso buffers per rp2040 spec
2021-02-17 13:22:34 -05:00
Ha Thach
1b849fc70a
Merge pull request #655 from ndinsmore/fifo_fix
...
Fix to fifo pointer overflow mathmatics
2021-02-17 14:07:29 +07:00
Nicholas R Dinsmore
b7ec66e33a
This fixes the overflow mathmatic in the fifo
2021-02-16 23:08:08 -05:00
Jeremiah McCarthy
f8fbc0930b
Add alternate bitfield padding option
...
Adds configuration option CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, which
substitutes bitfield variable " : 0" padding syntax with an unused
variable of size equal to the remaining number of bits.
This change resolves aligned access issues for some platforms.
Default behavior is original if the option is not explicitly enabled.
2021-02-16 10:43:52 -05:00
Reinhard Panhuber
a5d7b6266d
Implement dcd_edpt_iso_xfer() for msp430
2021-02-14 14:05:15 +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
b634b5958b
Implement dcd_edpt_iso_xfer() for INTERRUPT driven dcd_nuc505
2021-02-13 21:00:55 +01:00
Reinhard Panhuber
0c3dc8f99b
Implement dcd_edpt_iso_xfer() for dcd_nuc121.c
2021-02-13 17:44:59 +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
e681678402
Implement dcd_edpt_iso_xfer() for dcd_nuc120.c
2021-02-13 17:06:27 +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
Reinhard Panhuber
59d6ed9ea4
Implement dcd_edpt_iso_xfer() for dcd_esp32s2.c
2021-02-13 12:13:10 +01:00
Reinhard Panhuber
9e2a1d2e6a
Fix CFG_TUD_AUDIO_EP_IN/OUT_SW_BUFFER_SIZE to be defined anyway
2021-02-12 18:31:54 +01:00
Reinhard Panhuber
3df61d6755
Fix a ; in #define definition
2021-02-12 18:25:01 +01:00