ea2de8be7e
Merge branch 'master' into copilot/upgrade-net-lwip-webserver-descriptors
2026-05-03 14:36:25 +02:00
3792a9a387
fix warning, change hil jlink for feather nrf52840
2026-04-28 16:38:36 +07:00
dd10717153
max32 change bulk endpoint to EP8,9 (2KB FIFO) and Audio ISO to EP10, 11 (4KB FIFO)
2026-04-26 11:42:52 +07:00
5ba472d5c9
shrink cdc_msc_throughput MSC buffer for FS targets
...
CFG_TUD_MSC_EP_BUFSIZE: 4096 → (HS ? 4096 : 1024). Keep the big buffer for
HS where it actually amortises CBW overhead at iperf-class throughput; FS
peaks around ~830 kBps so 1 KB is plenty and the example now fits on
small-RAM MCUs (lpc11/13, samd11, kinetis_kl, stm32f0/l0, stm32f1, etc.).
Also dedupe CDC_TX_BUFSIZE = CDC_RX_BUFSIZE.
Drops the previously-needed skip.txt — verified builds locally on
lpcxpresso1347, cynthion_d11, lpcxpresso11u37/u68, stm32f072disco/eval,
frdm_kl25z, stm32l052dap52.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-26 10:14:31 +07:00
ef2f24cddb
skip cdc_msc_throughput on small-RAM MCUs
...
The example uses 4 KB MSC bulk buffer + 2-4 KB CDC buffers to push USB
throughput, which overflows on lpcxpresso1347 (RamUsb2) and cynthion_d11.
Skip the same MCU set as net_lwip_webserver — these targets don't have
the RAM headroom to benefit from throughput tuning anyway.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-26 09:50:47 +07:00
bafce337f7
gate lwIP throughput tuning + iperf on MCU SRAM tier
...
The bigger TCP_WND/PBUF_POOL/MEMP_NUM_TCP_SEG and the always-on iperf
overflowed SRAM on stm32c0/f1/wb, lpc11/13, samd11. Add LWIP_HIGH_THROUGHPUT
gate (defined in tusb_config.h, consumed by lwipopts.h) so RAM-tight MCUs
keep the original modest buffers and skip iperf, while RAM-rich targets
(max32*/stm32f2/f4/f7/h5/h7/h7rs/u5/n6, rp2040, mimxrt1xxx, nrf5x) keep
the throughput tuning needed for the iperf HIL test.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-26 09:43:58 +07:00
2dc90e364a
Merge branch 'master' into musb-followup-3594
...
# Conflicts:
# src/common/tusb_types.h
# src/portable/mentor/musb/dcd_musb.c
2026-04-25 23:00:48 +07:00
4c7fd70e53
Merge pull request #3597 from canokeys/big-endian-for-setup-packets
...
fix #3596 : big-endian host support for SETUP packet handling
2026-04-24 11:19:41 +02:00
45754d8259
add cdc msc throughput example
2026-04-23 23:38:54 +07:00
5c0c166246
Merge upstream master into net descriptor-based ep_size branch
...
- Resolve .gitignore conflict: incorporate upstream's .worktrees entry and
expand dependency path patterns to cover all tools/get_deps.py fetched dirs
(lib/, tools/linkermap, tools/uf2, hw/mcu/*) instead of listing only a few
- Auto-merged upstream changes: build system cleanups, BSP updates,
portability fixes, new boards (nrf54lm20dk, stm32h743_weact),
fatfs relocation, and many other upstream improvements
- Net driver changes (ecm_rndis_device.c, ncm_device.c, net_device.h,
usbd.h, usb_descriptors.c) retain our PR's descriptor-based ep_size
approach as our branch takes precedence
Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com >
2026-04-23 09:49:02 +00:00
d3b6a252b1
reduce memory, focus on keep iperf speed
2026-04-23 16:09:23 +07:00
f9ffb94f3d
tweak lwip config to get better iperf throughput
2026-04-23 15:29:27 +07:00
8513c50231
musb implement double buffer for tx
2026-04-22 11:53:02 +07:00
f9e79844ed
replace TUD_ENDPOINT_ONE_DIRECTION_ONLY with CFG_TUD_ENDPOINT_ONE_DIRECTION_ONLY for improved configuration consistency across examples and core sources
2026-04-21 11:26:51 +07:00
9d0af750a5
add test for net_lwip_webserver with iperf throughput validation
2026-04-20 17:46:15 +07:00
5939831f17
remove duplicated tu_le16toh since we have converted the endian when setup.
2026-04-17 18:39:56 +08: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
a2cca43290
Merge pull request #3570 from IntegraSources/mtp-changes
...
mtp: fixes in add_string
2026-03-27 15:31:10 +01:00
9a03a16c81
mtp: add sending mtp response if MTP_RESP_OPERATION_NOT_SUPPORTED
2026-03-25 15:43:48 +07:00
f6fd60a6a3
examples/net_lwip_webserver: fix other_speed_config to use TUSB_DESC_OTHER_SPEED_CONFIG and fix SEED typo
...
Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com >
Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/3d21b8d3-b2df-4603-a426-2bcfdb408f04
2026-03-22 20:25:07 +00:00
3e5b79282a
net: upgrade net_lwip_webserver to separate FS/HS descriptors and add bInterval to TUD_CDC_NCM_DESCRIPTOR
...
Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com >
Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/e212b526-e279-4a83-88bf-a742df293165
2026-03-22 19:43:46 +00: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
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
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
aea4f6046e
refactor(vendor/cdc): add CFG_TUD_CDC_RX_NEED_ZLP and CFG_TUD_VENDOR_RX_NEED_ZLP
2026-03-12 12:25:59 +07:00
78bbc7dc2e
refactor(config): separate endpoint buffer sizes into RX and TX definitions for clarity and flexibility
2026-03-12 11:43:32 +07:00
d65964ea32
Merge pull request #3519 from hathach/samx7x_update
...
refresh dcd_samx7x
2026-03-07 15:29:23 +07:00
6c4f119ddd
- update SAME70 BSP: remove unused definitions, consolidate startup files
...
- and add unique ID
- add freertos
2026-03-07 13:01:32 +07:00
8878e02c30
fix hil test
2026-03-06 19:24:27 +07:00
8f24ab0950
reduce bufsize to compile with small mcu
2026-03-06 18:20:29 +07:00
aeb121f94c
add hil test, update readme
2026-03-06 17:56:05 +07:00
73cd531295
replace printer_to_hid example with printer_to_cdc example
...
fix printer GET_DEVICE_ID request weird wIndex (interface high, alt low)
2026-03-06 17:22:38 +07:00
988b18a40a
add full read/write() API, use edpt stream for printer class
2026-03-06 16:06:42 +07:00
5838c7f09d
update printer class: enhance descriptors, buffer sizes, and callbacks
2026-03-06 15:11:59 +07:00
558abb93af
Merge branch 'refs/heads/master' into fork/remiberthoz/device-class-printer
2026-03-06 12:05:54 +07:00
61e4b9ce3f
add IAR warning flags to cmake build and fix them
2026-03-05 23:24:14 +07:00
0c7a385cf8
improve threadx support, add multi ROTS support for board_test and msc_dual_lun
2026-03-05 20:48:30 +07:00
70c93adc2f
improve threadx support, add multi ROTS support for board_test and msc_dual_lun
2026-03-05 17:51:57 +07:00
7da7d0725b
Merge remote-tracking branch 'tinyusb/master' into ncm_restart
2026-03-01 15:36:21 +01:00
8444c25ab6
replace board_millis() with tusb_time_millis_api()
2026-02-28 00:01:40 +07:00
7b934efa0d
Merge branch 'refs/heads/master' into copilot/improve-build-steps-rp2040-esp32
2026-02-10 11:43:32 +07:00
7921aae6e2
example: update comment on CDC EP size
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2026-01-19 10:53:48 +01:00
bd760e5e37
Merge 'upstream/master' into device-class-printer
2026-01-14 19:51:01 +01:00
796e7c2332
Merge remote-tracking branch 'tinyusb/master' into bsp_h7_tm4c
2026-01-14 09:51:50 +01:00
104d3f2545
bsp: add TI EK-TM4C1294XL
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2026-01-14 00:21:52 +01:00
ff9522f3c1
Fix typo in printer_to_hid example
2026-01-08 18:20:28 +01:00
1de6608c83
printer device: replace [[maybe_unused]] with (void)
2026-01-07 18:05:19 +01:00