Commit Graph

9193 Commits

Author SHA1 Message Date
hathach
a56f55c10b Merge remote-tracking branch 'origin/master' into xfer_isr
# Conflicts:
#	examples/device/audio_4_channel_mic_freertos/src/main.c
#	examples/device/audio_test_freertos/src/main.c
#	src/class/audio/audio_device.c
2025-07-08 10:09:24 +07:00
Ha Thach
ea64300a9a Merge pull request #3164 from hathach/readd-max32666
re-add max32666fthr to hil pool
2025-07-07 22:28:25 +07:00
Ha Thach
9990e4bf0c Merge pull request #2963 from HiFiPhile/stm32_cache
Add DWC2 cache maintenance routines for STM32
2025-07-07 22:02:30 +07:00
hathach
7909b503c4 re-add max32666fthr to hil pool 2025-07-07 20:56:05 +07:00
hathach
3eb0451879 change CFG_TUSB_MEM_DCACHE_LINE_SIZE_DEFAULT (not defined) to 1
use stock iar linker
2025-07-07 20:31:49 +07:00
Zixun LI
a2ee6da299 Merge pull request #3162 from YixingShen/master
fixed vendord_open's tud_vendor_n_write_flush when CFG_TUD_VENDOR > 1
2025-07-07 10:53:39 +02:00
YixingShen
7b995267d6 update 2025-07-07 15:46:37 +08:00
YixingShen
59a3720795 fixed CFG_TUD_VENDOR > 1 vendord_open tud_vendor_n_write_flush
tud_vendor_n_write_flush argument should be 0,1,2,..., but
p_vendor - _vendord_itf is 0, sizeof(vendord_interface_t), 2*sizeof(vendord_interface_t), ...
2025-07-07 00:26:12 +08:00
HiFiPhile
3287cfaf76 Use DMA enable for DCache condition
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-07-05 12:50:00 +02:00
Ha Thach
b012e95dfe Merge pull request #2793 from verylowfreq/pr-ch32v-usbfs-host
Add Host support for ch32v20x usbfs
2025-07-05 12:56:30 +07:00
hathach
4b95a70bee enable ci host and dual build for ch32v20x 2025-07-05 11:51:33 +07:00
hathach
6e88895dbc always define CFG_TUH_WCH_USBIP_USBFS=1 for ch32v20x since only port1 support host mode
reformat hcd usbfs
add uart rx for ch32v20x bsp
2025-07-05 11:26:48 +07:00
HiFiPhile
ffab23cf0f Revise DCache with RTT section
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-07-04 12:10:56 +02:00
hathach
1b5f97ff23 Merge branch 'refs/heads/master' into fork/verylowfreq/pr-ch32v-usbfs-host 2025-07-04 09:49:28 +07:00
hathach
211c2e380f fix build with clang 2025-07-03 18:03:19 +07:00
hathach
970c8b744e Merge branch 'master' into fork/HiFiPhile/stm32_cache 2025-07-03 17:07:52 +07:00
Ha Thach
9d872d529f Merge pull request #2593 from HiFiPhile/dcd_notif
cdc: add uart status notification support.
2025-07-03 16:43:30 +07:00
hathach
89da5a724d reduce bInterval for default CDC descriptor from 16ms to 1ms 2025-07-03 14:28:44 +07:00
hathach
0df3bfb81d update cdc_msc/cdc_msc_freertos to also support notification 2025-07-03 14:28:19 +07:00
hathach
41606a533d make notify API and memory configurable with CFG_TUD_CDC_NOTIFY
add tud_cdc_n_notify_conn_speed_change()
add tud_cdc_notify_complete_cb()
2025-07-03 13:42:05 +07:00
hathach
cf3966efd9 Merge branch 'master' into fork/HiFiPhile/dcd_notif 2025-07-02 18:18:52 +07:00
Ha Thach
963971c6aa Merge pull request #3157 from hathach/update-buildsystem
Update buildsystem
2025-07-02 18:15:37 +07:00
hathach
a52e5ce99a build iar with circleci large resource 2025-07-02 17:43:38 +07:00
hathach
a64e3eb0aa update board_test always output to uart regardless of LOGGER option 2025-07-02 17:27:03 +07:00
hathach
52f0427096 remove make wrapper for rp2040/espressif 2025-07-02 16:34:17 +07:00
hathach
014d6b2f26 remove cmake arm-clang and make iar to reduce concurrent jobs 2025-07-02 15:55:42 +07:00
hathach
a8b5e2bfc0 update example 2025-07-02 15:38:14 +07:00
hathach
0388700ad7 update esp build, replace TUSB_MCU_VENDOR_ESPRESSIF by ESP_PLATFORM 2025-07-02 15:32:12 +07:00
hathach
4579b4f825 add doc for building examples with cmake build system
change ci matrix build:
- github build make/cmake one per family on push only
- circicle do full cmake build for all toolchain (missing rx-gcc)
2025-07-02 14:41:16 +07:00
hathach
a42184b6fe remove legacy DEPS_SUBMODULES in make 2025-07-02 11:03:50 +07:00
Ha Thach
0d6cb38163 Merge pull request #2967 from HiFiPhile/async_io
MSC Device: Add asynchronous IO support
2025-07-01 22:43:58 +07:00
hathach
c96cc4369f defer proc_async_io_done() 2025-07-01 22:17:38 +07:00
hathach
216a35e59a update example 2025-07-01 21:48:28 +07:00
hathach
d22cbe4cb5 refactor async io, add in_isr argument to tud_msc_async_io_done()
use cbw.command[0] for pending IO command
2025-07-01 20:13:21 +07:00
hathach
77e142ed76 Merge branch 'master' into fork/HiFiPhile/async_io 2025-06-30 21:09:40 +07:00
Ha Thach
cd96277bdc Merge pull request #2488 from IngHK/cdch_upgrade
CHCh Upgrade: Improved FTDI and CP210x support, add PL2303 support, bugfixes
2025-06-27 21:47:13 +07:00
hathach
d86362414e clean up 2025-06-27 21:17:30 +07:00
hathach
0194b8434f use enum buf for process_set_config for ch34x and pl2303 2025-06-27 17:27:09 +07:00
hathach
f4d049e61b update acm and pl2303 to match the rest of drivers 2025-06-27 17:09:11 +07:00
Zixun LI
cc12306e4b Merge pull request #3153 from Milek7/implicit-fb
audio_device: Fix data IN endpoints with implicit feedback
2025-06-27 11:40:25 +02:00
hathach
8b5d703f74 major refactor to generalize cdch serial driver
- add common 2 stage set line coding for driver without direct set_line_coding support e.g ftdi, cp210x, ch34x
- add common cdch_process_line_state_on_enum() to handle cfg line state on enum e.g CFG_TUH_CDC_LINE_CONTROL/CODING_ON_ENUM
- refactor cdch_internal_control_complete and user_complete_cb to be managed by tuh_cdc_ API instead of serial driver
2025-06-27 15:57:18 +07:00
milek7
2843eb4052 audio_device: Fix data IN endpoints with implicit feedback 2025-06-26 22:38:43 +02:00
HiFiPhile
d789a87a7d Merge branch 'master' into async_io
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-22 17:19:08 +02:00
hathach
470e12febc refactor, add cdch_internal_control_complete() 2025-06-20 17:25:58 +07:00
hathach
900d0d974b refactor change signature of serial driver's process_set_config
adding serial driver's request_complete()
2025-06-20 17:04:40 +07:00
hathach
adf6cbfe03 cdch clean up and refactor, add explicit sync() API 2025-06-20 12:52:34 +07:00
hathach
5c974cee23 usbh make TU_API_SYNC() public, to implement sync() API, change return of sync API from uint8_t to tusb_xfer_result_t 2025-06-20 12:51:29 +07:00
hathach
221b5288e4 union ftdi/pl2303/acm data to save memory. 2025-06-19 18:14:24 +07:00
hathach
ce9140a150 rename tuh_cdc_get_local_line_coding to tuh_cdc_get_line_coding_local
add tuh_cdc_get_control_line_state_local()
implement tuh_cdc_get/set_dtr/rts() as inline
2025-06-19 17:57:21 +07:00
hathach
fa3ec44533 revert CFG_TUH_CDC_DTR/RTS_CONTROL_ON_ENUM 2025-06-19 17:22:26 +07:00