| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-05-26 | ch32_usbhs: fix endpoint stall length index and clear-stall response | Jie Feng | |
| Fix issue in the stall handling: - dcd_edpt_stall() for an IN endpoint cleared EP_TX_LEN(0) instead of EP_TX_LEN(ep_num), clobbering endpoint 0's transmit length register when stalling any other IN endpoint. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> | |||
| 2026-05-23 | dcd/ch32x: optmize CTRL reg writing, basically revert e14b0e85 | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2026-05-23 | dcd/ch32hs: refactor transfer flow | HiFiPhile | |
| Refactor the driver to follow USBFS style for easier maintenance. Replace the old packet/response helpers with explicit queue and update paths for IN and OUT transfers. Introduce transfer validity tracking and per-endpoint data toggle state. Reset toggle state on init, close-all, endpoint close, clear-stall, and bus reset. Initialize endpoint controls consistently in NAK + TOG_0 mode. Tighten EP0 setup/status handling and route transfer IRQ processing through the transfer-flag path. Stop enabling ISO_ACT in INT_EN and clear unhandled interrupt flags explicitly. Signed-off-by: HiFiPhile <[email protected]> | |||
| 2026-05-23 | dcd/ch32fs: do not set EP0 to ACK on status complete | HiFiPhile | |
| It would casue race condition, SETUP packet is always acked. Signed-off-by: HiFiPhile <[email protected]> | |||
| 2026-05-23 | dcd/ch32fs: clear INT flag after processing | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2026-05-23 | dcd/ch32x : code reformat | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2026-05-23 | dcd/ch32fs: set EP to NAK earlier to reduce spuroius transfer | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2026-05-22 | dcd/ch32fs: reset EP on clear stall | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2026-05-22 | dcd/ch32fs: fix ISO IN transfer | HiFiPhile | |
| OUT is still buggy Signed-off-by: HiFiPhile <[email protected]> | |||
| 2026-05-22 | dcd/ch32fs: only enable EP0 ACK if no data stage, reduce race | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2026-05-22 | dcd/ch32fs: reset EP regs on bus reset | HiFiPhile | |
| Signed-off-by: HiFiPhile <[email protected]> | |||
| 2026-04-28 | fix(dcd_ch32_usbfs): fix dropped bulk OUT packets by properly re-arming ↵ | mickabrig7 | |
| EP_RX_CTRL state | |||
| 2025-11-19 | Merge remote-tracking branch 'tinyusb/master' into ↵ | HiFiPhile | |
| copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]> | |||
| 2025-11-17 | make TUP_DCD_EDPT_ISO_ALLOC i.e dcd_edpt_iso_alloc()/dcd_edpt_iso_activate() ↵ | hathach | |
| as default driver implementation. dcd_edpt_close() is deprecated and will be removed from all driver in the future. | |||
| 2025-10-22 | Apply suggestions from code review | Zixun LI | |
| Co-authored-by: Copilot <[email protected]> | |||
| 2025-10-22 | Add is_isr parameter to dcd_edpt_xfer and dcd_edpt_xfer_fifo | copilot-swe-agent[bot] | |
| Co-authored-by: HiFiPhile <[email protected]> | |||
| 2025-10-14 | fix lots of warnings for missing-prototypes for irqhandler | hathach | |
| 2025-09-03 | use tusb_time_millis_api() instead of board_millis() | hathach | |
| make loopdelay() always inline | |||
| 2025-08-24 | Remove dynamic memory allocation | Mitsumine Suzu | |
| 2025-08-24 | Improve retry operation at NAK response. | Mitsumine Suzu | |
| 2025-08-24 | Insert small delay for LowSpeed device | Mitsumine Suzu | |
| 2025-08-24 | Small cleanups. | Mitsumine Suzu | |
| 2025-07-05 | always define CFG_TUH_WCH_USBIP_USBFS=1 for ch32v20x since only port1 ↵ | hathach | |
| support host mode reformat hcd usbfs add uart rx for ch32v20x bsp | |||
| 2025-03-16 | Fix interupt, LowSpeed switching and rename | verylowfreq | |
| 2025-03-16 | Update hcd_init() signature. Add osal_task_delay() implementation for none os. | verylowfreq | |
| 2025-03-16 | Fix for timing, timeout, and device switching issues | verylowfreq | |
| 2025-03-16 | Fix the condition related to CFG_TUH_WCH_USBIP_USBFS macro | verylowfreq | |
| 2025-03-16 | fix pre-commmit | hathach | |
| 2025-03-16 | Repeat xfer on USB_PID_OUT if data is larger than MaxPacketSize | verylowfreq | |
| 2025-03-16 | Add ch32v20x usbfs hcd initial support. | verylowfreq | |
| 2025-02-06 | use speed enum | Jannis Konrad | |
| 2025-02-05 | ch32v3 fs: signal bus speed | Jannis Konrad | |
| 2024-10-14 | change dcd_init() return from void to bool | hathach | |
| 2024-10-14 | change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵ | hathach | |
| consistent | |||
| 2024-10-11 | change dcd_init() to take rhport struct | hathach | |
| 2024-06-14 | add ch32v103 bsp support, compile but does not run, probably due to ↵ | hathach | |
| compile/linker issue | |||
| 2024-06-14 | use stock core_riscv.h for ch32 v2 v3 | hathach | |
| 2024-05-24 | wch usbfs/usbhs need to specify which driver to use. for v307 default to ↵ | hathach | |
| highspeed | |||
| 2024-05-21 | re-add sof event | hathach | |
| 2024-05-21 | - minor update to ep_set_response_and_toggle/xfer_data_packet | hathach | |
| - merge USBHS_ISO_ACT_FLAG, USBHS_TRANSFER_FLAG handler since they are similar - improve uart output - add note for link speed in bus reset | |||
| 2024-05-21 | use CFG_TUD_ENDPOINT0_SIZE, rename ep0_data_in_out_buffer to simply ep0_buffer | hathach | |
| reformat indent to 2 spaces | |||
| 2024-05-21 | fix(ch32, iso): fix iso IN transfers for CH32 | Denis Krasutski | |
| 2024-05-21 | bugfix(ch32-hs-dcd): fix ch32 DATAx managment and long packet transmission | dkrasutski | |
| 2024-05-20 | code format | hathach | |
| add missing MIT license | |||
| 2024-05-20 | use correct wch usbhs, usbfs for ch32v307 using CFG_TUD_MAX_SPEED | hathach | |
| 2024-05-20 | temp code | hathach | |
| 2024-05-19 | fix ep0 stall not clearing | Matthew Tran | |
| 2024-05-16 | change default risv-gcc to riscv-none-elf- and add _zicsr extension | hathach | |
| add cmake for ch32v20x, skip freertos examples for CH32V20X, also skip net webserver due to lack of RAM update to use openocd with wlinke adapter | |||
| 2024-05-15 | add CH32V20x USB OTG/FS driver | Matthew Tran | |
| 2024-05-09 | Format. | HiFiPhile | |
