Commit Graph

10319 Commits

Author SHA1 Message Date
ace993c21b False positive in tuh_task_event_ready() 2026-03-22 14:07:13 +01:00
f615202b9b We must wait at least the requested amount 2026-03-22 14:02:50 +01:00
8a9f44bdd2 Merge pull request #3560 from hathach/rp2-disable-hwifo
rp2 disable hwfifo
2026-03-19 10:31:17 +07:00
9b17d55c91 rp2 disable hwfifo 2026-03-19 09:59:34 +07:00
418501e99f Merge pull request #3559 from hathach/fix-fsdev-midi-host-bugs
Fix bugs in FSDEV HCD/DCD and MIDI host stream write
2026-03-18 21:01:43 +07:00
88196051e8 fix bugs in fsdev hcd, dcd and midi host stream write
- hcd_edpt_clear_stall: use ep_addr instead of hardcoded 0 (control endpoint)
- hcd: add TUP_USBIP_FSDEV_DRD define for MCUs with host support (C0, G0, H5,
  U3, U5) and use it in hcd compile guard instead of enumerating MCUs
- dcd_edpt_close_all: use FSDEV_EP_COUNT instead of CFG_TUD_ENDPPOINT_MAX for
  PMA btable offset to match handle_bus_reset
- midi host tuh_midi_stream_write: add missing cable_num to system messages,
  SysEx, and real-time MIDI packets. Add 0xF mask for SysEx CIN checks.
  Aligns with midi_device.c tud_midi_n_stream_write implementation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 19:04:13 +07:00
766ac4f7a2 Merge pull request #3557 from hathach/hil-host-cdc
add more hil tests
2026-03-18 18:10:32 +07:00
0521e6698e hil pico2 test with native host 2026-03-18 17:45:04 +07:00
8f7f286ae3 Merge pull request #3558 from hathach/hid-host-set-protocol-skipable
Add `CFG_TUH_HID_SET_PROTOCOL_ON_ENUM` configuration option
2026-03-18 14:06:37 +07:00
a46c863cc0 Update HID host to correctly handle protocol mode initialization and CONFIG_GET_REPORT_DESC response 2026-03-18 12:57:56 +07:00
b7656561b8 fix hid_generic_inout for TUD_ENDPOINT_ONE_DIRECTION_ONLY MCUs
Use separate endpoint numbers (EP1 OUT, EP2 IN) on MCUs with shared
FIFO that cannot support the same endpoint number in both directions.
Also add missing static qualifier to print_musb_info().

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 12:56:54 +07:00
6c895e7af4 Update several actions to latest version 2026-03-18 00:31:01 +07:00
3e47f1fcce add board_uart_read() for f7 2026-03-18 00:20:42 +07:00
b2a592d42a add hil test for device hid_generic_inout functionality 2026-03-18 00:02:47 +07:00
55994bc1d5 add hil tests for device msc_dual_lun and midi functionality 2026-03-17 22:25:23 +07:00
45e80a1042 add hil test for host msc and cdc 2026-03-17 21:38:46 +07:00
28e14abdc7 CFG_TUH_HID_SET_PROTOCOL_ON_ENUM option to skip set_protocol on enum, default is 1 2026-03-17 15:50:12 +07:00
a3b2b42176 add hil host cdc test 2026-03-17 14:58:45 +07:00
151a5ad198 Merge pull request #3556 from hathach/fix-midi-host
Fix MIDI host issue
2026-03-17 12:11:33 +07:00
cca3e7e346 fix midi host issue 3544 2026-03-17 11:38:07 +07:00
608bbdd21e Merge pull request #3555 from hathach/refactor-fsdev
refactor fsdev
2026-03-17 09:48:29 +07:00
d63f11dbda clean up fsdev symbols 2026-03-16 22:59:24 +07:00
741132948b Unify USB FSDEV driver implementation for various microcontrollers. Replace FSDEV_BUS_32BIT with CFG_TUSB_FSDEV_32BIT, adjust data/address stride macros, and refactor register/PMU access for consistency across platforms. 2026-03-16 22:33:25 +07:00
8e8bb9a66f add missing stm32u083nucleo board files
The board.cmake, board.mk, and board.h were created but not
included in the previous commit, causing CI cmake failure.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 22:30:03 +07:00
9b2f6f4f0c Consolidate USB FSDEV register definitions for STM32, CH32, and AT32 microcontrollers. Replace vendor-specific macros with unified U_-prefixed equivalents, ensuring consistency and reducing duplication across all platforms. 2026-03-16 18:01:02 +07:00
3da88d755d add stm32u083nucleo board 2026-03-16 15:15:23 +07:00
c1cf1ecef2 Merge pull request #3551 from hathach/readme_fix
Readme fix
2026-03-16 09:35:19 +07:00
b4e92f63c6 fix windows build
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2026-03-14 09:19:24 +01:00
925bf6ba30 fix readme
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2026-03-14 09:18:29 +01:00
8b59e6234d Merge pull request #3550 from hathach/update-bsp
Update BSP
2026-03-14 13:31:49 +07:00
c5e3098c37 update rx65n_target: correct pin configuration and remove unused USB interrupt definitions 2026-03-14 12:58:41 +07:00
36400d108f migrate kinetis_k32l build system to new mcux-devices paths 2026-03-14 00:11:45 +07:00
e2ead60107 add ft9xx-gcc toolchain support to CI 2026-03-13 23:07:46 +07:00
adf853643b add ft9xx-gcc toolchain support to CI 2026-03-13 23:01:38 +07:00
7ce1e78204 actual build make/cmake for ft9xx 2026-03-13 18:11:59 +07:00
8a70453bae fix ci 2026-03-13 18:11:18 +07:00
9dcd8506c4 forgot to add files
add cmake support for rx
2026-03-13 15:46:55 +07:00
911956f453 remove TUSB_MCU_VENDOR_ESPRESSIF, use ESP_PLATFORM for Espressif 2026-03-13 12:39:24 +07:00
aa1535a226 add support for CH32F20X MCU and update board configuration 2026-03-13 12:18:27 +07:00
5794e50c37 rename and migrate kinetis_k32l to new mcux-devices 2026-03-13 11:46:53 +07:00
f98f7e003f Merge pull request #3438 from hathach/ncm_restart
Fix NCM state on restart
2026-03-13 01:29:37 +07:00
5bca175ea1 Merge branch 'master' into ncm_restart 2026-03-13 00:57:30 +07:00
1fcb49fc63 Merge pull request #3549 from hathach/remove-cdc-configure
remove tud cdc configure
2026-03-13 00:41:09 +07:00
c6e13e8c15 update hil host 2026-03-12 23:06:39 +07:00
467f8c0a6b fix example
Signed-off-by: Zixun LI <admin@hifiphile.com>
2026-03-12 11:00:40 +01:00
e2884a1b88 Merge branch 'master' into ncm_restart 2026-03-12 10:55:18 +01:00
c06dc871d6 reset notification state to speed change
Signed-off-by: Zixun LI <admin@hifiphile.com>
2026-03-12 10:52:51 +01:00
0e23ccd7df refactor(cdc): remove deprecated runtime CDC configuration, add backward compatibility with no-op macros 2026-03-12 16:52:27 +07:00
79bbea8559 download metrics in case hil failed 2026-03-12 16:49:51 +07:00
cd60008e89 clean up 2026-03-12 15:56:48 +07:00