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
hathach
c3c0648456
add class driver deinit
2024-04-08 22:07:56 +07:00
Ha Thach
d33fe38a62
Merge pull request #1363 from tobozo/master
...
HID Mouse with absolute positioning
2024-04-08 18:33:40 +07:00
HiFiPhile
e642066562
Move TUP_DCD_EDPT_ISO_ALLOC outside usbd_edpt_close() loop.
2024-04-06 19:02:50 +02:00
HiFiPhile
2e4d4e4a01
Add endpoint ISO allocation to video class.
2024-04-02 20:54:33 +02:00
HiFiPhile
db28437218
Move endpoint alloc define to tusb_mcu.h
2024-04-02 20:54:33 +02:00
HiFiPhile
7ca988018e
UAC2: fix mounted condition.
2024-04-01 20:02:45 +02:00
HiFiPhile
05f9cab191
UAC2: refactor interrupt endpoint support.
2024-04-01 20:02:35 +02:00
HiFiPhile
a1f01fcbe0
Merge remote-tracking branch 'upstream/master' into pr/1702
2024-04-01 12:35:57 +02:00