10336 Commits

Author SHA1 Message Date
c64452cda5 Merge pull request #3566 from Precidata/async-cleanup
Couple of random cleanup patches following async PR
2026-03-29 15:22:49 +02:00
bf8f0ec2a2 Merge pull request #3576 from embedded-ideas/master
fix incorrect check for NO_WARN_RWX_SEGMENTS_SUPPORTED.
2026-03-29 15:21:54 +02:00
dbfaebf6cb fix incorrect check for NO_WARN_RWX_SEGMENTS_SUPPORTED. Use "NOT DEFINED" instead of "NOT VAR" to properly detect whether the variable is unset. 2026-03-29 12:43:41 +02:00
653e6300a3 osal/mynewt: fix queue receive tiemout
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2026-03-27 15:44:24 +01:00
a2cca43290 Merge pull request #3570 from IntegraSources/mtp-changes
mtp: fixes in add_string
2026-03-27 15:31:10 +01:00
f9d86936a4 fix string overflow
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2026-03-27 14:12:10 +01:00
9a03a16c81 mtp: add sending mtp response if MTP_RESP_OPERATION_NOT_SUPPORTED 2026-03-25 15:43:48 +07:00
a64a8579c5 mtp: fix adding empty cstring to mtp_container_info 2026-03-25 15:43:48 +07:00
096458deff Merge pull request #3569 from hathach/revert-3565-driver-init
Revert "Make driver init() function optional"
2026-03-23 12:51:22 +07:00
d8994a3018 Revert "Make driver init() function optional" 2026-03-23 11:46:16 +07:00
434947495c Merge pull request #3565 from Precidata/driver-init
Make driver init() function optional
2026-03-22 22:54:34 +01:00
f0d7db1788 Unifiy Device and Host side 2026-03-22 21:56:58 +01:00
ebd18f5efa Update documentation 2026-03-22 14:20:37 +01:00
04701bf918 Remove unused define 2026-03-22 14:17:01 +01:00
db7722dee8 Simplify tud_task() like in tuh_task() 2026-03-22 14:12:50 +01:00
3a262cb6ea False negative in tuh_task_event_ready() 2026-03-22 14:09:41 +01:00
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
c9fdfc7e13 Don't crash on driver without init()
Handle init() like deinit()
2026-03-21 16:26:23 +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