Commit Graph

407 Commits

Author SHA1 Message Date
5da96a38f0 fix ci 2026-04-14 14:04:07 +07:00
b55786e43a refactor rp2040 family.cmake to use family_configure_example() and apply WARN_FLAGS to tinyusb sources and examples sources only (skip 3rd party library and mcu vendor) 2026-04-14 13:17:12 +07:00
44b0ee0539 get freertos working with rp2040 2026-04-14 10:51:20 +07:00
4c7a9fed96 remove IAR toolchain support from make build system
IAR is only supported with CMake. Remove all IAR-specific references
from the Make build system including toolchain files, SRC_S_IAR,
LD_FILE_IAR variables, and IAR toolchain detection.

Also fix GET_SECTOR_COUNT truncation in msc_file_explorer and
broken formatting in stm32f7 board_uart_write.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 11:17:34 +07:00
751f465a39 Merge pull request #3581 from non-bin/master
Update FatFS to R0.16
2026-04-05 13:39:29 +07:00
9368e5d40f fix issue with exmaple 2026-04-03 10:45:16 +07:00
134e14849b fix hil host cdc echo test with imxrt and other fast mcu 2026-04-03 10:45:13 +07:00
b77632ebff update FatFS to R0.16 via abbrev/fatfs dependency
- Add lib/fatfs to deps_mandatory in get_deps.py, pinned to R0.16
  (commit 30ca13c6) from github.com/abbrev/fatfs mirror
- Move TinyUSB custom ffconf.h to examples/host/msc_file_explorer/src/
  with project-specific settings: FF_CODE_PAGE=437, FF_USE_LFN=1,
  FF_FS_RPATH=2, FF_VOLUMES=4, FF_FS_NORTC=1
- get_deps.py removes stock ffconf.h after clone to avoid conflict
- Remove vendored fatfs source files from git tracking

FatFS R0.16 includes important fixes since R0.15:
- Fixed FAT32 FsInfo regression (forced full FAT scan on f_getfree)
- Fixed f_readdir infinite loop (from R0.15b)
- f_getcwd/.. now works on exFAT
- Added FF_FS_CRTIME support
2026-04-02 17:32:45 +07:00
78d34d5b64 reduce code size, use state to replace active + pending 2026-04-01 17:47:01 +07:00
15eef94df0 add rp2040 sof + stop_trans on nak. increase nak_poll fs/ls delay to 300 us to prevent xfer is ack while stopping. 2026-03-23 17:57:41 +07:00
3c2627e739 update host msc hil test 2026-03-23 15:43:47 +07:00
99d70e2990 Add dd command to MSC file explorer for sector read and speed reporting, adjust CLI configuration and HIL tests 2026-03-20 18:57:02 +07:00
45e80a1042 add hil test for host msc and cdc 2026-03-17 21:38:46 +07:00
7ce1e78204 actual build make/cmake for ft9xx 2026-03-13 18:11:59 +07:00
aa1535a226 add support for CH32F20X MCU and update board configuration 2026-03-13 12:18:27 +07:00
e658e23435 fix CI
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2026-03-06 17:19:05 +01:00
860f0e01f2 Merge remote-tracking branch 'tinyusb/master' into hcd_ip3516
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2026-03-06 15:23:32 +01:00
61e4b9ce3f add IAR warning flags to cmake build and fix them 2026-03-05 23:24:14 +07:00
8444c25ab6 replace board_millis() with tusb_time_millis_api() 2026-02-28 00:01:40 +07:00
64ca0b9d58 host device info print no serial as 0 instead of n/a 2026-01-08 16:06:58 +07:00
49a8529dcf clean up cmake, remove family_get_project_name() 2025-12-19 12:33:42 +07:00
abf27bfa37 Merge remote-tracking branch 'tinyusb/master' into support-nxp-rw612
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-12-16 20:47:37 +01:00
22534a6019 Merge remote-tracking branch 'tinyusb/master' into support-nxp-rw612
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-12-16 11:51:42 +01:00
d8da458a0b example: host: support hpmicro family
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2025-12-16 13:11:21 +08:00
1583864e0b minor clean up 2025-12-15 13:28:24 +07:00
b43b99a571 bsp: nxp: add support for RW612 (FRDM-RW612)
- Added `rw61x` family support.
- Added `frdm_rw612` board support.
- Update `get_deps.py` to include mcux-sdk for RW61x.
- Add ci_hs_rw61x include to ChipIdea HS driver and enable host examples.
2025-12-14 01:30:12 +01:00
5e49aa8e4d example/bare_api: move buffer into USB section
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-12-13 21:08:42 +01:00
ba9bc1a79d update LPC54
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-12-13 21:08:42 +01:00
6153e1eadb example/msc_app: move buffers into usb ram section
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-12-13 21:08:42 +01:00
a70fbadeb9 bsp/lpc55: add hcd_ip3516
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-12-13 21:08:42 +01:00
80886fb32a Merge branch 'refs/heads/master' into hcd_fsdev 2025-12-13 14:56:15 +07:00
c859744784 adding metrics for computing average compiled size 2025-12-02 13:01:49 +07:00
f3ac009adb fix build
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-27 23:31:43 +01:00
2d3aaaf6e1 bsp/stm32h5: support host mode
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-27 22:39:34 +01:00
03bd8c26d6 fsdev: reorganize functions
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-25 22:45:40 +01:00
fb631c9a40 hcd: add fsdev driver
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-25 22:45:40 +01:00
4b92d325be device_info wait 100ms for host's uart, needed for hil test 2025-11-19 15:07:50 +07:00
7f173ab5ed fix more alerts 2025-11-08 15:54:02 +07:00
0172f40e66 update espressif cmake 2025-11-06 11:39:10 +07:00
8979af34c0 Fixed more alert found by PVS-Studio 2025-11-04 19:56:53 +07:00
bda7efb1b3 fix #2942, include stdio if CFG_TUSB_DEBUG > 0 and CFG_TUSB_DEBUG_PRINTF is not defined 2025-11-03 10:46:09 +07:00
813eba22c1 Merge pull request #3271 from karlp/pr/examplesd-freertos-stacks
examples/device/*_freertos: expand stack size when needed
2025-10-30 14:21:24 +07:00
ec8ef7a9af increase freertos stack size when debug is enabled 2025-10-30 11:16:19 +07:00
d92b810df7 fix Identifiers that start with '__' or '_[A-Z]' are reserved.
fix compiling with nuc family
2025-10-28 14:14:01 +07:00
367044e487 fix lots of warnings for missing-prototypes for irqhandler 2025-10-14 23:02:32 +07:00
c48bbfab5e more make refactor 2025-10-14 17:53:55 +07:00
0a2b6e77da more warnings fix 2025-10-14 17:33:56 +07:00
47b13f6b10 improve cmake warning flags, fix various warnings in examples 2025-10-14 17:13:28 +07:00
9bf18d080b move make.mk to hw/bsp/family_support.mk 2025-10-14 15:14:43 +07:00
1cec005f8f examples/device/*_freertos: expand stack size when needed
All four of these examples immediately crashed on stack overflow when
connected, at least on a FRDM_K64F board.

In 46fd822990 the default freertos stack size was increased, but
_only_ for stm32?  Perhaps either all platform examples need the default
increased, rather than increasing the problem task stacks as is done
here.

Signed-off-by: Karl Palsson <karl.palsson@marel.com>
2025-10-01 10:47:19 +00:00