summaryrefslogtreecommitdiff
path: root/examples/dual
AgeCommit message (Collapse)Author
2026-06-11Merge remote-tracking branch 'origin/master' into stm32c5hathach
# Conflicts: # README.rst
2026-06-01ultrareview nits: keep xfer_result table in sync, hoist blinky loophathach
- src/tusb.c: extend tu_str_xfer_result[] with "ABORTED" and "INVALID" to match the new enum size. Not reachable today (no HCD posts those values through hcd_event_xfer_complete), but keeps the enum/table invariant intact so future HCDs that surface ABORTED don't index OOB. - examples/dual/dynamic_switch/src/main.c: apply the same while(1) hoist already done for cdc_task / print_devinfo_task to led_blinking_task. On OS_NONE the loop returned mid-iteration, which on first call could fire multiple back-to-back toggles while start_ms (initially 0) caught up to uptime. Co-Authored-By: Claude Opus 4.7 <[email protected]>
2026-05-30dynamic_switch: hoist while(1) out for OS_NONEhathach
Sonar flagged the loop body as executing only once on OS_NONE because the OS_NONE branch returns inside the first iteration (main() drives the task again). Make the while(1) conditional on RTOS so the OS_NONE build is a straight-line function with no misleading loop. Co-Authored-By: Claude Opus 4.7 <[email protected]>
2026-05-28abstract OS logic with `CFG_TUSB_OS_HAS_SCHEDULER` to simplify conditional ↵hathach
checks
2026-05-28remove sync() in tinyusb callback since it cause issue with RTOS when usbh ↵hathach
task is blocking
2026-05-10add stm32c5 supportHiFiPHile
Signed-off-by: HiFiPHile <[email protected]>
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-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-12refactor(cdc): remove runtime CDC driver configuration in favor of ↵hathach
compile-time macros for simplicity and reduced complexity
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-11rename .rx_multiple_packet_transfer to .rx_need_zlphathach
2026-03-06Merge pull request #3528 from hathach/improve-iar-warningsHa Thach
Add IAR warning flags to CMake build and resolve warnings
2026-03-05add IAR warning flags to cmake build and fix themhathach
2026-03-05ci_hs: add deinit supportZixun LI
Signed-off-by: Zixun LI <[email protected]>
2026-03-04replace board_millis() with tusb_time_millis_api() in dynamic_switch examplehathach
2026-03-04Merge branch 'master' into dwc2_deinithathach
2026-02-28replace board_millis() with tusb_time_millis_api()hathach
2026-02-27Merge remote-tracking branch 'tinyusb/master' into dwc2_deinitHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-02-27Add a dynamic switch exampleHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-01-08host device info print no serial as 0 instead of n/ahathach
2025-12-19clean up cmake, remove family_get_project_name()hathach
2025-12-02adding metrics for computing average compiled sizehathach
2025-11-14tweak to dual host info device cdc to make it easier to pass hil testhathach
2025-11-13cdc device tx_persistent for dual host info to help with hil testhathach
2025-11-06fix typo detected by copilothathach
2025-11-06make host info to devcie cdc to work with freertos/nooshathach
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-10-28fix descriptor warning when shifting zerohathach
2025-10-24fix several warningshathach
2025-10-15fix build warning with clanghathach
2025-10-14more make refactorhathach
2025-10-14move make.mk to hw/bsp/family_support.mkhathach
2025-10-02fix typoshathach
2025-09-17Fix board_init_after_tusbHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-07-05enable ci host and dual build for ch32v20xhathach
2025-05-14update stm32wb linker to match new startuphathach
2025-05-13fix dual example for rp2350 conflict printf and cdc_printfhathach
2025-03-26added mimxrt1064_evk to hil test poolhathach
2025-03-24update hil test to include dual and host for pico/pico2hathach
2025-02-11Fix path.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-02-09Add CMake presets.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-01-21bump up cmake min to 3.20hathach
2024-11-07update bsp for h7 to support host modehathach
2024-11-06fix iar buildhathach
2024-10-21get hprt interrupt triggeredhathach
2024-10-15adding hcd dwc2hathach
2024-10-14change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵hathach
consistent
2024-10-11change tusb_init(), tusb_rhport_init() to use init struct for expandabilityhathach
2024-10-10add new tusb_int_handler(rhport, in_isr) as common irq handlerhathach
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible