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
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
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
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
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
John Toniutti
f09fa22bbc
Fix redefinition
2024-05-09 18:45:20 +02:00
John Toniutti
015b57b6ef
Add missing key codes
...
Source: https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf from page 57 to page 59
2024-05-09 17:05:14 +02:00
HiFiPhile
63e64f374b
Merge pull request #911 from thierer/vendor_class_zero_length_transfer
...
Enable empty transfers for tud_vendor_n_write()
2024-05-09 16:56:31 +02:00
HiFiPhile
2b9e53772e
Take updated change from cdc_device.
2024-05-09 16:28:25 +02:00
HiFiPhile
70ae07b084
Merge pull request #2252 from rsolorzanomsft/hid-lighting
...
Add HID Lighting and Illumination functionality
2024-05-08 15:00:08 +02:00
HiFiPhile
d37d25d557
Merge pull request #2532 from acscd/master
...
Added support for SCSI_CMD_PREVENT_ALLOW_MEDIUM_REMOVAL
2024-05-08 14:48:47 +02:00
HiFiPhile
c773c612fd
Merge pull request #2629 from andrewleech/cdc-persistent-tx-buffer
...
Add option to make CDC TX buffer persistent.
2024-05-08 12:17:45 +02:00
Andrew Leech
d01b2cfc0e
Add option to make CDC TX buffer persistent.
2024-05-08 19:41:02 +10:00
HiFiPhile
4abdfc10f5
Merge branch 'master' into remove-tud_network_link_state_cb
2024-05-07 12:32:28 +02:00
HiFiPhile
91d69fa942
Reformat NCM class.
2024-05-07 00:10:26 +02:00
Hardy Griech
cc70958c16
mostly comments
2024-05-05 21:18:57 +02:00
Hardy Griech
ea55537fb2
minor changes due to CR with HiFiPhile
2024-05-05 20:33:01 +02:00
HiFiPhile
327e3ec4bd
Stall unsupported class request.
2024-04-28 21:59:54 +02:00
HiFiPhile
a29852320a
Merge remote-tracking branch 'upstream/master' into pr/2227
2024-04-28 19:46:00 +02:00
HiFiPhile
1c04d5992a
Merge pull request #2494 from tommie/usbtmcnotif
...
Add notification support for device class USBTMC
2024-04-28 12:36:41 +02:00
HiFiPhile
bd033a2d53
Fix CI.
2024-04-27 17:24:19 +02:00
HiFiPhile
fdb431b5c7
Buffer int msg to ensure alignment and placement correctness.
2024-04-27 17:12:00 +02:00
HiFiPhile
98e85a296d
bulk_in: copy buffer to ensure alignment correctness.
2024-04-27 17:09:05 +02:00
HiFiPhile
24339dbcce
Code format.
2024-04-26 18:01:02 +02:00
HiFiPhile
268cc19f44
Merge remote-tracking branch 'remotes/tinyusb/master' into pr/2253
2024-04-26 17:57:53 +02:00
HiFiPhile
4af67dd007
Simplify transfer failure cb.
2024-04-26 17:45:14 +02:00
HiFiPhile
1661acf82f
Add missing alignment.
2024-04-26 13:42:20 +02:00
HiFiPhile
7fb8d3341c
use separate buffer for ctrl transfer.
2024-04-26 13:40:13 +02:00
HiFiPhile
9ef3755f03
Merge branch 'master' of https://github.com/hathach/tinyusb into pr/2283
2024-04-26 13:12:56 +02:00
HiFiPhile
13bde7af40
uac2: return on clear_feature.
2024-04-25 11:51:05 +07:00
hathach
c097c85dcf
fix print lu format warnings with clang
2024-04-22 16:17:22 +07:00
hathach
62331f0207
fix nrfx v3 spim freq when init
...
fix clang build with nrf
2024-04-22 15:55:50 +07:00
Luke A
804a73a454
Adding tuh_hid_get_report(...) to hid_host.h
...
This allows USB host functionality to call HID_REQ_CONTROL_GET_REPORT on the IN Endpoint, and read the report buffer in the callback.
2024-04-10 15:46:57 +07:00
HiFiPhile
b0568e32a5
Fix tud_video_n_streaming check
2024-04-09 11:11:06 +02:00
Ha Thach
42decf28f1
Merge pull request #1835 from MasterQ32/otg_bringup
...
Implements deinit functions for host/device mode switch
2024-04-08 23:48:52 +07:00
hathach
366564e952
fix missing if mutex required
2024-04-08 22:13:05 +07:00