summaryrefslogtreecommitdiff
path: root/examples/device
AgeCommit message (Collapse)Author
2026-05-03Merge branch 'master' into copilot/upgrade-net-lwip-webserver-descriptorsZixun LI
2026-04-28fix warning, change hil jlink for feather nrf52840hathach
2026-04-26max32 change bulk endpoint to EP8,9 (2KB FIFO) and Audio ISO to EP10, 11 ↵hathach
(4KB FIFO)
2026-04-26shrink cdc_msc_throughput MSC buffer for FS targetshathach
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) <[email protected]>
2026-04-26skip cdc_msc_throughput on small-RAM MCUshathach
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) <[email protected]>
2026-04-26gate lwIP throughput tuning + iperf on MCU SRAM tierhathach
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) <[email protected]>
2026-04-25Merge branch 'master' into musb-followup-3594hathach
# Conflicts: # src/common/tusb_types.h # src/portable/mentor/musb/dcd_musb.c
2026-04-24Merge pull request #3597 from canokeys/big-endian-for-setup-packetsZixun LI
fix #3596: big-endian host support for SETUP packet handling
2026-04-23add cdc msc throughput examplehathach
2026-04-23Merge upstream master into net descriptor-based ep_size branchcopilot-swe-agent[bot]
- 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 <[email protected]>
2026-04-23reduce memory, focus on keep iperf speedhathach
2026-04-23tweak lwip config to get better iperf throughputhathach
2026-04-22musb implement double buffer for txhathach
2026-04-21replace `TUD_ENDPOINT_ONE_DIRECTION_ONLY` with ↵hathach
`CFG_TUD_ENDPOINT_ONE_DIRECTION_ONLY` for improved configuration consistency across examples and core sources
2026-04-20add test for net_lwip_webserver with iperf throughput validationhathach
2026-04-17remove duplicated tu_le16toh since we have converted the endian when setup.Fan DANG
2026-04-14get freertos working with rp2040hathach
2026-04-06remove IAR toolchain support from make build systemhathach
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) <[email protected]>
2026-03-27Merge pull request #3570 from IntegraSources/mtp-changesZixun LI
mtp: fixes in add_string
2026-03-25mtp: add sending mtp response if MTP_RESP_OPERATION_NOT_SUPPORTEDstepan chepushtanov
2026-03-22examples/net_lwip_webserver: fix other_speed_config to use ↵copilot-swe-agent[bot]
TUSB_DESC_OTHER_SPEED_CONFIG and fix SEED typo Co-authored-by: HiFiPhile <[email protected]> Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/3d21b8d3-b2df-4603-a426-2bcfdb408f04
2026-03-22net: upgrade net_lwip_webserver to separate FS/HS descriptors and add ↵copilot-swe-agent[bot]
bInterval to TUD_CDC_NCM_DESCRIPTOR Co-authored-by: HiFiPhile <[email protected]> Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/e212b526-e279-4a83-88bf-a742df293165
2026-03-18fix hid_generic_inout for TUD_ENDPOINT_ONE_DIRECTION_ONLY MCUshathach
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) <[email protected]>
2026-03-13actual build make/cmake for ft9xxhathach
2026-03-13add support for CH32F20X MCU and update board configurationhathach
2026-03-12fix exampleZixun LI
Signed-off-by: Zixun LI <[email protected]>
2026-03-12Merge branch 'master' into ncm_restartZixun LI
2026-03-12refactor(vendor/cdc): add CFG_TUD_CDC_RX_NEED_ZLP and CFG_TUD_VENDOR_RX_NEED_ZLPhathach
2026-03-12refactor(config): separate endpoint buffer sizes into RX and TX definitions ↵hathach
for clarity and flexibility
2026-03-07Merge pull request #3519 from hathach/samx7x_updateHa Thach
refresh dcd_samx7x
2026-03-07- update SAME70 BSP: remove unused definitions, consolidate startup fileshathach
- and add unique ID - add freertos
2026-03-06fix hil testhathach
2026-03-06reduce bufsize to compile with small mcuhathach
2026-03-06add hil test, update readmehathach
2026-03-06replace printer_to_hid example with printer_to_cdc examplehathach
fix printer GET_DEVICE_ID request weird wIndex (interface high, alt low)
2026-03-06add full read/write() API, use edpt stream for printer classhathach
2026-03-06update printer class: enhance descriptors, buffer sizes, and callbackshathach
2026-03-06Merge branch 'refs/heads/master' into fork/remiberthoz/device-class-printerhathach
2026-03-05add IAR warning flags to cmake build and fix themhathach
2026-03-05improve threadx support, add multi ROTS support for board_test and msc_dual_lunhathach
2026-03-05improve threadx support, add multi ROTS support for board_test and msc_dual_lunhathach
2026-03-01Merge remote-tracking branch 'tinyusb/master' into ncm_restartHiFiPhile
2026-02-28replace board_millis() with tusb_time_millis_api()hathach
2026-02-10Merge branch 'refs/heads/master' into copilot/improve-build-steps-rp2040-esp32hathach
2026-01-19example: update comment on CDC EP sizeZixun LI
Signed-off-by: Zixun LI <[email protected]>
2026-01-14Merge 'upstream/master' into device-class-printerRémi Berthoz
2026-01-14Merge remote-tracking branch 'tinyusb/master' into bsp_h7_tm4cZixun LI
2026-01-14bsp: add TI EK-TM4C1294XLHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-01-08Fix typo in printer_to_hid exampleRémi Berthoz
2026-01-07printer device: replace [[maybe_unused]] with (void)Rémi Berthoz