Commit Graph

9136 Commits

Author SHA1 Message Date
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
hathach
ec1a26251d clean up pl2303 type data 2025-06-19 17:05:21 +07:00
hathach
2adb305ea7 house keeping 2025-06-19 15:30:02 +07:00
hathach
9503883ba7 usbh: add new API tuh_descriptor_get_device_local()
cdc host: remove the local desc_dev and the get_device descriptor call for ftdi and pl2303
2025-06-18 23:44:03 +07:00
hathach
506edc6267 add get_itf_by_xfer() to better determine cdc interface from xfer complete callback 2025-06-18 18:55:31 +07:00
hathach
d4abf43f22 add common cdch_process_set_config() to safely complete set_config() when it failed.
driver_process_set_config() also pass drv index with user_data
2025-06-17 22:16:13 +07:00
hathach
4a44dd5c47 Merge branch 'master' into fork/IngHK/cdch_upgrade
# Conflicts:
#	README.rst
#	docs/reference/index.rst
#	src/class/cdc/cdc_device.c
#	src/class/cdc/cdc_host.c
2025-06-16 11:08:01 +07:00
Ha Thach
e95973d346 Merge pull request #3137 from HiFiPhile/uac_simplify
uac2: remove support fifo
2025-06-12 22:18:17 +07:00
Ha Thach
99b4ebeb10 Merge pull request #3140 from james-advatek/stm32n657nucleo
Add STM32N657 Nucleo Board support
2025-06-12 21:50:23 +07:00
hathach
7d66a3e775 merge n6 and h7rs (same config) 2025-06-12 21:20:49 +07:00
hathach
2e231a7517 doc update 2025-06-12 15:57:56 +07:00
hathach
76b7468c74 ci skip clang/iar build for stm32n6
add stm32-tcpp0203 driver as dependency for h7rs and n6
2025-06-12 15:32:36 +07:00
hathach
edec37c1a3 fix cmake build 2025-06-12 14:07:51 +07:00
hathach
386f33807a Merge branch 'master' into fork/james-advatek/stm32n657nucleo 2025-06-12 11:02:54 +07:00
Ha Thach
170de855a3 Merge pull request #2960 from HiFiPhile/h7rs
Add NUCLEO-H7S3L8 BSP
2025-06-11 21:05:33 +07:00
hathach
732a07ba5d fix linker issue with clang 2025-06-11 19:59:24 +07:00
hathach
14124c1735 add h7rs to ci matrix 2025-06-11 19:35:20 +07:00
hathach
d3d505e8f7 Merge branch 'master' into fork/HiFiPhile/h7rs 2025-06-11 16:23:54 +07:00
Ha Thach
8e25220369 Merge pull request #3145 from hathach/refactor-maxim-bsp
Refactor maxim bsp
2025-06-11 16:20:35 +07:00
hathach
41e615d7c2 add make build for maxim 2025-06-11 12:08:16 +07:00
hathach
1be7b8f781 remove max32666fthr from hil pool 2025-06-11 09:39:42 +07:00
hathach
b56265f381 merge all maxim (32650, 32666, 32690, 78002) family into common bsp/maxim. Only support cmake build system
rename hw/mcu/analog/max32 to hw/mcu/analog/msdk
2025-06-10 22:28:03 +07:00
HiFiPhile
b203d9eaf7 Merge pull request #3143 from Precidata/fix-epsize
Fix TUH_EPSIZE_BULK_MPS macro
2025-06-09 18:15:33 +02:00
Cédric Berger
d533650105 Fix TUH_EPSIZE_BULK_MPS macro
TUH_EPSIZE_BULK_MPS should be set based on TUH_OPT_HIGH_SPEED, not TUD_OPT_HIGH_SPEED
2025-06-09 16:56:02 +02:00
HiFiPhile
d61077cbad Merge pull request #3135 from andrewleech/ncm-link-state-control
Add USB NCM link state control support
2025-06-09 14:25:25 +02:00
HiFiPhile
1ccb10e3f1 Fix ECM compile
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-08 13:53:23 +02:00
James Sandison
b956d10487 fix: allow FreeRTOS examples to compile 2025-06-04 13:52:35 +10:00
James Sandison
5c4b2c75d2 docs: update dwc2_info.md 2025-06-04 13:21:34 +10:00
James Sandison
efc8c08a66 chore: delete accidentally commited submodules 2025-06-04 11:42:21 +10:00
James Sandison
3cf7234d67 chore: whitespace fix 2025-06-04 11:37:45 +10:00
James Sandison
001c7e3863 doc: remove reference to stm32n657_dk board 2025-06-04 11:27:55 +10:00
James Sandison
d62a521e7c chore: add newline to EOF 2025-06-04 11:27:34 +10:00
James Sandison
56c9521abd chore: squash previous commits from other branches 2025-06-04 11:21:27 +10:00
HiFiPhile
dc0038f614 uac2: remove support fifo
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-05-29 13:56:46 +02:00
HiFiPhile
3d2b870fcb Fix wrong SysTick clock on NUCLEO-C071RB
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-05-29 13:36:34 +02:00