bd1f7f86ce
add common EPSIZE for bulk/iso in full and highspeed
...
adding cdc host fifo tx/rx
2022-12-16 17:08:37 +07:00
f62f973956
minor rename
2022-12-16 17:08:37 +07:00
f0c51eae44
cdc check for bNumEndpoints before checking for endpoint descriptor
2022-12-16 17:08:37 +07:00
4f03695084
adding tuh_cdc_mount_cb/tuh_cdc_umount_cb
...
start adding cdc_app.c to example
2022-12-16 17:08:37 +07:00
96d2be905b
fix build with usbtmc
2022-12-15 18:47:54 +07:00
88e6da7273
use OSAL_MUTEX_REQUIRED to replace CFG_FIFO_MUTEX/TUSB_OPT_MUTEX
...
add macro to swallow mutex API in order to simplify code with mutex
2022-12-15 18:03:01 +07:00
007ed1f0fe
Added missing typecast to pass build checks
2022-12-08 14:50:34 +01:00
15ab35d9b8
usbtmc: correct packet size bug
...
Code was only reading the first 64 bytes of a 512 bytes packet.
2022-12-08 11:35:32 +01:00
19400c8556
fix typo, add -Wno-error=unreachable-code for fuzz due to latest cdc changes
2022-12-08 10:30:22 +07:00
603effbb77
cdc: Fix autoflush for FIFO < MPS
2022-12-06 07:49:26 +01:00
f03c28ec31
Merge pull request #1776 from hathach/hid-fido
...
Hid fido
2022-12-05 14:32:49 +07:00
d58120647a
rename to match fido sample uf2_hid..h
2022-12-05 13:18:05 +07:00
43b255f413
more typos
2022-12-04 19:44:01 +07:00
6a2cf67289
Fix typos
2022-12-04 19:43:23 +07:00
7298923927
rework tuh_msc_complete_cb_t signature to use new tuh_msc_complete_data_t
...
add user arg to all scsi command API that support complete callback
2022-11-23 16:01:48 +07:00
64ecf43663
whitespace
2022-11-21 11:53:15 +07:00
28f49c088b
Merge pull request #1698 from battlesnake/fix-attrs-on-struct-member
...
do not apply storage attributes to member of struct
2022-10-25 15:23:09 +07:00
815c2cc995
keep alignment spec
2022-10-24 20:36:45 +03:00
4ec1643bdb
do not apply storage attributes to member of struct
2022-10-20 22:46:21 +03:00
e79325adec
Merge pull request #1668 from kkitayam/add_support_for_mjpeg
...
Add support for MJPEG on UVC
2022-10-19 23:10:11 +07:00
3846d5f38c
hid: add configurable report size for fido
2022-10-15 19:22:21 +08:00
2a520fb921
hid: add fido hid descriptor templates
2022-10-15 19:07:07 +08:00
53dc9d55b5
Fix pointer type to calculate streaming parameter
2022-10-12 20:41:03 +09:00
4be7ffd63f
Fix max payload size to clip at 1023
2022-10-07 21:30:03 +09:00
ee832e4e37
Fix descriptor searching
2022-10-03 21:41:58 +09:00
6c3c2df823
audio_device: prototype added for function referenced before use
2022-09-17 21:27:04 +03:00
1debf62707
Fix compile errors
2022-09-13 21:22:02 +09:00
e80714740c
Change images to MJPEG
2022-09-13 21:22:02 +09:00
c7469ce986
dfu: Allow DFU coexistence with other interfaces
...
dfu_moded_open() only works correct when its called on DFU interface
descriptor. It means that DFU is the only one interface in configuration
or driver is called after all others interface drivers were tried and
gave up.
If other interface is supported and but driver for DFU is called first
(this is the case for BTH and RNDIS).
Code after while loop (that was not entered) has an TU_ASSERT that will
make set_configuration to fail.
Now TU_VERIFY is called first to make sure open code is called for DFU
only and not other interface descriptors like in other drivers.
2022-08-09 10:42:30 +02:00
fd5bb6e5db
Merge pull request #1514 from maddyaby/audiod_typo
...
Fix typo in audiod_rx_done_cb in audio_device.c
2022-07-19 17:10:45 +07:00
ed2e587ace
Merge pull request #1568 from hathach/revert-hid-callback-len-temporarily
...
temporarily revert len back to uint8_t in tud_hid_report_complete_cb() 0.14.0 release
2022-07-19 12:16:32 +07:00
2110e27678
Merge pull request #1531 from pigrew/usbtmc_highspeed
...
USBTMC: Fixes and support for high-speed USB
2022-07-18 22:20:43 +07:00
b495d6f8ec
temporarily revert len back to uint8_t in tud_hid_report_complete_cb() for up coming release
2022-07-17 22:56:07 +07:00
54250d7dd5
USBTMC: explicit type conversions fix
2022-07-09 17:50:17 -04:00
ec6f56768a
mimxrt: Change OPT_MCU_MIMXRT1xXX to OPT_MCU_MIMXRT.
...
Which fits both MIMXRT10XX and MIMXRT11XX.
2022-07-01 09:04:36 +02:00
60c1750a9b
mimxrt: Add/change definitions for MIMXRT11XX boards.
...
These are mostly identical to the MIMXRT10XX, with one tiny difference.
2022-06-30 22:21:31 +02:00
9c56f70111
suppress error with net example
2022-06-27 20:30:47 +07:00
a0ef489890
fix all warnings with host rp2040
2022-06-27 17:11:24 +07:00
6522a8150e
fix all device examples warnings
2022-06-27 13:48:47 +07:00
1a1f633922
Merge branch 'master' into add-more-warnings
2022-06-27 12:50:50 +07:00
556b5d5044
change report len in hid API from uint8_t to uint16_t
...
since HS interrupt endpoint can be up to 1024, 8-bit is not enough.
affected APIs are:
- tud_hid_n_report() / tud_hid_report()
- tud_hid_report_complete_cb()
2022-06-27 12:22:36 +07:00
b9dc9dbd78
fix most warnings with rp2040 -wconversion
2022-06-27 11:50:17 +07:00
c675debfb2
USBTMC: Handle busy interrupt in.
2022-06-26 14:34:34 -04:00
239b5d5279
USBTMC: Manually stall and unstall EP when clear(ENDPOINT_HALT) is received.
2022-06-24 23:06:32 -04:00
0042eccb3b
fix redundant-decls warnings by usbd/usbh
2022-06-24 22:52:11 +07:00
4f6e770eda
add more warning option, also fix -Wconversion with rp2040
...
-Wuninitialized, -Wunused, -Wredundant-decls
2022-06-24 19:46:19 +07:00
e9c29e6a2d
Update USBTMC driver to support dynamic packet sizes (based on descriptor).
2022-06-21 21:27:52 -04:00
905a0b2457
correct bulk size for highspeed endpoint in dynamic_configuration and usbtmc exmaples
2022-06-17 14:37:35 +07:00
e9089b993f
Fix typo in audiod_rx_done_cb in audio_device.c
2022-06-16 16:22:55 -07:00
06392247eb
add TU_ATTR_FAST_FUNC for audio sof isr call chain
2022-06-07 11:50:50 +07:00