hathach
19400c8556
fix typo, add -Wno-error=unreachable-code for fuzz due to latest cdc changes
2022-12-08 10:30:22 +07:00
Tomas Rezucha
603effbb77
cdc: Fix autoflush for FIFO < MPS
2022-12-06 07:49:26 +01:00
Ha Thach
f03c28ec31
Merge pull request #1776 from hathach/hid-fido
...
Hid fido
2022-12-05 14:32:49 +07:00
hathach
d58120647a
rename to match fido sample uf2_hid..h
2022-12-05 13:18:05 +07:00
hathach
43b255f413
more typos
2022-12-04 19:44:01 +07:00
Bastien Nocera
6a2cf67289
Fix typos
2022-12-04 19:43:23 +07:00
hathach
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
Andrzej Tokarski
b41f5eadb3
Merge branch 'master' into midihost
2022-11-21 21:45:10 +01:00
atoktoto
89eac75085
Explicit type conversion
2022-11-21 13:49:43 +01:00
atoktoto
3ba0311078
Explicit type conversion
2022-11-21 12:36:50 +01:00
atoktoto
34729b1dc4
Fix usb-hub data transfer problems by AndrewCapon
2022-11-21 10:29:26 +01:00
hathach
64ecf43663
whitespace
2022-11-21 11:53:15 +07:00
atoktoto
0a844f2a30
Fix usb hubs
2022-11-19 18:08:31 +01:00
atoktoto
21e003af22
Added explicit conversions
2022-11-13 14:38:33 +01:00
atok
a6d4b64bec
Removed unused function prototype
2022-11-13 14:31:12 +01:00
atok
19563b4414
Simple MIDI rx example
2022-11-13 14:31:12 +01:00
atok
4fbf99621d
Get rid of implicit uint conversions
2022-11-13 14:30:53 +01:00
rppicomidi
3325e2613d
Make USB MIDI device code allow a device with no Audio Control interface
2022-11-13 14:29:16 +01:00
rppicomidi
2ddd74fada
Add MIDI host support to tinyusb
2022-11-13 14:29:16 +01:00
Mark K Cowan
9673d20901
PanRe refactor applied: s{_int_ctr_}{_int_}g; s{_INT_CTR_}{_INT_}g;
2022-10-26 21:43:27 +03:00
Mark K Cowan
15ed45e1a3
clean up descriptor search for interrupt endpoint
2022-10-26 21:40:30 +03:00
Ha Thach
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
Mark K Cowan
025d3477e8
fixed spec reference
2022-10-24 20:41:09 +03:00
Mark K Cowan
815c2cc995
keep alignment spec
2022-10-24 20:36:45 +03:00
Mark K Cowan
f931983469
UAC2 supports interrupt-endpoint for providing control-change notifications to the host
2022-10-23 13:38:24 +03:00
Mark K Cowan
4ec1643bdb
do not apply storage attributes to member of struct
2022-10-20 22:46:21 +03:00
Ha Thach
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
gaoyichuan
3846d5f38c
hid: add configurable report size for fido
2022-10-15 19:22:21 +08:00
gaoyichuan
2a520fb921
hid: add fido hid descriptor templates
2022-10-15 19:07:07 +08:00
kkitayam
53dc9d55b5
Fix pointer type to calculate streaming parameter
2022-10-12 20:41:03 +09:00
kkitayam
4be7ffd63f
Fix max payload size to clip at 1023
2022-10-07 21:30:03 +09:00
kkitayam
ee832e4e37
Fix descriptor searching
2022-10-03 21:41:58 +09:00
Mark K Cowan
6c3c2df823
audio_device: prototype added for function referenced before use
2022-09-17 21:27:04 +03:00
Ben Avison
62d90c8500
Move variable into its own curly-brace scope
...
IAR generates warning Pe546 'transfer of control bypasses initialization of
variable "invInvTag"'.
2022-09-13 18:00:51 +01:00
Ben Avison
caff3b5c54
Remove unused static data
...
This affects struct rspMsg in usbtmc_app.c (unconditionally) and uint8_t
termChar in usbtmc_device.c (when NDEBUG is defined). IAR generates warning
Pe550 'variable was set but never used'.
2022-09-13 18:00:51 +01:00
Ben Avison
6a2d01bae4
Don't assume different enum types can be combined
...
IAR generates warning Pa089 'enumerated type mixed with another enumerated
type'.
2022-09-13 18:00:51 +01:00
Ben Avison
53f0d5538b
Don't assume ints automatically convert to enums
...
IAR generates warning Pe188 'enumerated type mixed with another type'.
2022-09-13 18:00:50 +01:00
Ben Avison
65ba15c37d
Remove unreachable code
...
IAR generates warning Pe111 'statement is unreachable'. In a couple of
cases, replace return statements with TU_ATTR_FALLTHROUGH; because some
compilers apparently can't figure out that the return statements are
unreachable but do whinge about an imagined fall-through without them!
2022-09-13 18:00:50 +01:00
Ben Avison
16518dcbbb
Refactor pointer arithmetic on void*
...
This is a GCC extension, illegal in ISO C. IAR generates errors Pa152
'these operand types cannot be used here' and Pe852 'expression must be a
pointer to a complete object type'.
Replace with uint8_t*.
2022-09-13 18:00:49 +01:00
kkitayam
1debf62707
Fix compile errors
2022-09-13 21:22:02 +09:00
kkitayam
e80714740c
Change images to MJPEG
2022-09-13 21:22:02 +09:00
Jerzy Kasenberg
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
Ha Thach
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
Ha Thach
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
Ha Thach
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
hathach
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
NConrad
54250d7dd5
USBTMC: explicit type conversions fix
2022-07-09 17:50:17 -04:00
robert-hh
ec6f56768a
mimxrt: Change OPT_MCU_MIMXRT1xXX to OPT_MCU_MIMXRT.
...
Which fits both MIMXRT10XX and MIMXRT11XX.
2022-07-01 09:04:36 +02:00
robert-hh
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
hathach
9c56f70111
suppress error with net example
2022-06-27 20:30:47 +07:00