Commit Graph

1366 Commits

Author SHA1 Message Date
HiFiPhile
cdc98e12c1 Improve EP IN flow control.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2024-11-02 17:09:51 +01:00
HiFiPhile
ed8d2c9594 Fix align issue of _audiod_fct.alt_setting.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2024-11-02 17:07:44 +01:00
HiFiPhile
038be21e4d Merge pull request #2713 from rgrr/ncm-fix-in-tud_network_recv_renew
NCM: avoid recursions in tud_network_recv_renew()
2024-11-01 22:22:31 +01:00
Bollen Nico
5d74fb43b3 Extend callback information 2024-10-29 20:41:13 +01:00
Phil Schatzmann
970a03e398 Merge branch 'hathach:master' into rp2040-iso 2024-10-16 03:52:46 +02:00
pschatzmann
87a35c5734 RP2040 Compile Errors 2024-10-15 23:38:16 +02:00
pschatzmann
1b17bc04f9 RP2040 New ISO API 2024-10-15 23:09:05 +02:00
hathach
1f18be93db change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent 2024-10-14 18:27:52 +07:00
Ha Thach
65242fd11f Merge pull request #2720 from YixingShen/master
fixed video_device.c _find_desc_format
2024-10-07 11:12:53 +07:00
HiFiPhile
53989a99f6 Fix vendor class reset. 2024-10-01 00:03:01 +07:00
Ha Thach
4b107a2b9e Merge pull request #2450 from HiFiPhile/vendor_fifo
Allow vendor class to be used without FIFO.
2024-09-11 10:10:06 +07:00
hathach
3ab63fbc65 remove vendor ep_addr, use stream api instead 2024-09-10 18:27:22 +07:00
hathach
bbeae09259 update vendor device to use edpt stream which also support non-buffereed (no fifo) mode 2024-09-10 17:45:03 +07:00
hathach
cc816dc9c0 change edpt stream api to take hwid from API to reduce memory footprint 2024-09-10 17:41:20 +07:00
hathach
867f17acea change vendor device to use edpt stream API 2024-09-10 10:44:22 +07:00
Donatien Garnier
cef4c466b3 Bluetooth Device: Issue ZLP on ACL IN ep when transfer is multiple of endpoint max packet size 2024-08-30 07:53:49 +00:00
Mengsk
cefee1a743 Merge remote-tracking branch 'tinyusb/master' into vendor_fifo 2024-08-27 12:13:29 +02:00
Hjalmar
b786d6f4e6 Marked the keycode parameter of the keyboard_report functions as const since the functions don't modifies the value 2024-08-09 21:08:32 +02:00
HiFiPhile
95cb319bde Merge branch 'master' into vendor_fifo 2024-08-02 11:52:35 +02:00
HiFiPhile
4a48544aeb audiod_function_t clean up. 2024-07-28 12:04:25 +02:00
HiFiPhile
f48a4567a6 Merge branch 'master' of https://github.com/hathach/tinyusb into rx_fb 2024-07-28 11:59:52 +02:00
Ha Thach
e9f9d43d67 Merge pull request #2723 from liamfraser/rp2040_tweaks
RP2040 tweaks
2024-07-19 21:33:50 +07:00
hathach
6fb6602a09 - add tud_cdc_n_ready() though not used
- usbd now change _usbd_dev.cfg_num before calling driver's open()
2024-07-19 18:08:04 +07:00
hathach
be18af8235 revert changes to usbds configuration_reset() (deal with it in separated PR) 2024-07-19 17:10:53 +07:00
HiFiPhile
60b3d14d19 Check tud ready check for OUT xfer. 2024-07-19 17:02:53 +07:00
HiFiPhile
ffe1d0664b UAC2: Fix memclr on driver reset. 2024-07-18 20:02:57 +02:00
graham sanderson
31a979a6cc fix some clang compiler warnings 2024-07-18 11:11:06 +01:00
YixingShen
15766ad988 fixed _find_desc_format 2024-07-18 00:46:20 +08:00
hathach
0004faca83 minor update hid device 2024-07-17 19:29:21 +07:00
hathach
0ecf15bc61 follow up to #2253
- rename tud_hid_report_fail_cb() to tud_hid_report_failed_cb() and change its signature
- use default implementation for hid callbacks to be compatible with keil compiler
- code format
2024-07-17 14:35:23 +07:00
Hardy Griech
6b0b889f25 avoid recursions in tud_network_recv_renew() 2024-07-15 18:15:01 +02:00
hathach
1f590c3628 - add tud_cdc_configure_fifo() to replace CFG_TUD_CDC_PERSISTENT_TX_BUFF
- new line, and code format
2024-07-12 16:53:21 +07:00
hathach
ca12a57902 add u for unsigned 2024-07-05 15:19:16 +07:00
Ha Thach
bd562e4180 Revert "audio.h: fix error ISO C restricts enumerator values to range of 'int'" 2024-07-05 15:15:00 +07:00
Davide Gerhard
8f9a57636c audio.h: fix error ISO C restricts enumerator values to range of 'int'
fix error

~/dsp/libs/tinyusb/src/class/audio/audio.h:643:53: error: ISO C restricts enumerator values to range of 'int' before C23 [-Werror=pedantic]
  643 |   AUDIO_CHANNEL_CONFIG_RAW_DATA                   = 0x80000000, // TODO
      |                                                     ^~~~~~~~~~
compilation terminated due to -Wfatal-errors.

Closes: https://github.com/hathach/tinyusb/issues/2690
2024-06-28 19:57:59 +02:00
Davide Gerhard
8f699023f3 audio_device.c: fix strict-overflow warning with gcc >= 12
Fix the following error

~/libs/tinyusb/src/class/audio/audio_device.c:1493:23: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow]
 1493 |         while (p_desc < p_desc_end)
      |                ~~~~~~~^~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
2024-06-28 10:55:43 +02:00
hathach
2be72a97b8 minor update 2024-06-14 17:55:36 +07:00
hathach
969b06d77c minor update 2024-06-14 12:51:50 +07:00
Li Junru
61eee535c1 feat(uvc): support format frame based 2024-05-22 20:57:23 +08:00
HiFiPhile
67456357c5 Fix HS playback on OSX. 2024-05-12 19:00:02 +02:00
HiFiPhile
32d0baaaf8 Tested 3 bytes feedback work on OSX. 2024-05-12 14:03:29 +02:00
HiFiPhile
256ccc4757 Fix CI. 2024-05-11 12:57:38 +02:00
HiFiPhile
ad85c37c03 Optimize SOF. 2024-05-11 12:51:18 +02:00
HiFiPhile
33882b3e89 Merge remote-tracking branch 'remotes/tinyusb/master' into rx_fb 2024-05-11 12:44:16 +02:00
HiFiPhile
9ce44db56f Always send 4 bytes feedback despite 10.14 format (Apple wtf ?!) 2024-05-11 12:33:51 +02:00
Ha Thach
3e2ea77506 More ci tweak (#2636)
* change concurrency group to ${{ github.workflow }}-${{ github.ref }}
* use argparse for build.py hil_test.py, remove the need to install click
* move ci win/mac to build_cmake.yml
* rename build_family.yml to build_util.yml
* build_util.yml support esp32
* integrate build-espressif into build.yml
* build.py support make with --board option
* add get_deps action
* update hil test to reuse action
2024-05-10 18:55:43 +07:00
HiFiPhile
a13141a633 Merge pull request #2213 from Rocky04/patch-5
Adding support for a generic SOF callback
2024-05-10 10:58:37 +02:00
HiFiPhile
f4d4f2da29 Merge remote-tracking branch 'remotes/tinyusb/master' into rx_fb 2024-05-10 00:16:45 +02:00
HiFiPhile
376b43906a Convert to bit-field since it's more reliable. 2024-05-09 21:55:28 +02:00
HiFiPhile
dd17f6cc80 Merge pull request #2633 from jotonedev/missing-keys
Add missing key codes for keypad
2024-05-09 19:23:18 +02:00