summaryrefslogtreecommitdiff
path: root/components/drivers/usb
AgeCommit message (Collapse)Author
2025-09-01fix: warnings generated by Kconfig.maosql
2025-08-08update(cherryusb): update to v1.5.2sakumisu
Signed-off-by: sakumisu <[email protected]>
2025-07-15update(cherryusb): update to v1.5.1sakumisu
Signed-off-by: sakumisu <[email protected]>
2025-07-08update(cherryusb): update framework and bugfixsakumisu
* update cdc_acm device framework * add host serial device framework * fix dfs read write return type * fix webusb desc len * fix dwc2 h7rs gccfg Signed-off-by: sakumisu <[email protected]>
2025-06-20update(cherryusb): update to v1.5.0 (#10409)sakumisu
2025-04-14[bsp/phytium]适配rtthread5.2版本 (#10178)zhangyan
* rtthread 5.2适配
2025-03-10fix(cherryusb): fix USBD_IRQHandler argumentsakumisu
Signed-off-by: sakumisu <[email protected]>
2025-03-10update(cherryusb): update to v1.4.3sakumisu
Signed-off-by: sakumisu <[email protected]>
2025-02-26[bsp][nxp] add cherryusb config for mcxa156 (#10041)hydevcode
[bsp][nxp] add cherryusb config for mcxa156 and add ci.attachconfig
2025-02-01[action] add ci menuconfig check (#9961)Supper Thomas
2025-01-24[bsp][nrf5x]added the cherryusb adapter for nrf52840 (#9939)hydevcode
2025-01-01update(cherryusb): update to v1.4.2sakumisu
Signed-off-by: sakumisu <[email protected]>
2024-10-19update(cherryusb): update to v1.4.1sakumisu
2024-09-02fix(cherryusb): fix build errorsakumisu
2024-09-02update(cherryusb): fix dfs mem leak, add check for lwip stack size, select ↵sakumisu
elmfat when use msc
2024-08-27[BSP][Phytium] add support for mainbranch cherryusb (xhci host + pusb2 ↵zhugengyu
device/host)
2024-08-27update(cherryusb): update to v1.4.0sakumisu
2024-07-12fix(cherryusb): fix typosakumisu
2024-06-30Update cherryusb to v1.3.1 (#9122)sakumisu
* fix(hpmicro): remove duplicate usb variable * update(cherryusb): update to v1.3.1
2024-06-16[components] [drivers ] [Kconfig] 整理 components/drivers 的 Kconfig (#9054)sp-cai
整理 components/drivers 的 Kconfig
2024-06-02refactor(drivers/usb):replace rtt usb stack with cherryusb (#8799)sakumisu
2024-03-19[fix] NXP bsp for RT-Thread 5.1.0 fixed up.StackYuan
2024-02-21fix(serial_v2): tx_fifo->rb.buffer_ptr not init when RT_DEVICE_FLAG_DMA_TX ↵LaterComer
and RT_SERIAL_TX_BLOCKING 为什么提交这份PR (why to submit this PR) serial_v2驱动框架,rt_serial_tx_enable()函数,在 DMA阻塞发送(RT_DEVICE_FLAG_DMA_TX and RT_SERIAL_TX_BLOCKING) 的时候,使用rt_malloc分配了tx_fifo内存,但是并未对tx_fifo->rb.buffer_ptr指针进行初始化(rt_malloc不会自动初始化内存),因此可能导致buffer_ptr是一个随机指针。但是rt_serail_write()函数需要根据tx_fifo->rb.buffer_ptr是否为RT_NULL来判断是调用_serial_fifo_tx_blocking_nbuf()还是_serial_fifo_tx_blocking_buf()。 由于tx_fifo->rb.buffer_ptr可能是一个随机值(不一定为RT_NULL=0),导致RT_DEVICE_FLAG_DMA_TX and RT_SERIAL_TX_BLOCKING模式下调用了_serial_fifo_tx_blocking_buf(),但是rb没有真正开辟内存空间,导致内存异常 你的解决方案是什么 (what is your solution) rt_serial_tx_enable(),在DMA阻塞发送分支下,对tx_fifo->rb.buffer_ptr进行初始化,赋值为RT_NULL。
2023-10-18[kernel][dm]适配新的设备驱动模型 (#8075)zms123456
2023-07-28[debug] use LOG_D instead RT_DEBUG_LOGMeco Man
related: https://github.com/RT-Thread/rt-thread/pull/7799
2023-06-29[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h (#7750)Shicheng Chu
2023-06-21[Kernel] message 可以返回消息的实际大小 (#7709)zhkag
2023-05-15[HUST CSE][components][udisk.c] add two checkout procedures after malloc to ↵kunpHust
make sure allocating successfully (#7475)
2023-05-12[components/drivers] add checking code after allocating memorymiaoxingr
2023-05-12[components][rndis.c] add safety checking after allocating memoryhust202013232
2023-05-09[components][rndis.c] add a checkout procedure after malloc to make sure ↵kkangdom
allocating successfully (#7460)
2023-04-28[winusb.c] add checking after allocating memory for variable winusb_device ↵ourea1429
to make sure allocae is successful
2023-04-17[HUST CSE] Fix many abnormal symbols in annotations and format code7YZ7
2023-03-23[errno code]fix that use RT_ENOMEM without -Zxy
2023-03-20[errno code][-RT_ERROR] fix that use RT_ERROR without -Meco Man
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-01-08format Kconfig and sconscriptMeco Man
2023-01-02USB ↵kylongmu
CDC驱动在win11下无法识别,看了微软的描述修改子类后正常 (#6783) 这是微软关于此问题的链接: https://learn.microsoft.com/zh-cn/windows-hardware/drivers/usbcon/usb-driver-installation-based-on-compatible-ids#usbsersys-installation Windows 10 及更高版本 从 Windows 10 开始,Usbser.inf 已添加到 %Systemroot%\INF 目录,该目录加载 Usbser.sys 作为设备堆栈中功能设备对象 (FDO) 。 如果设备属于通信和 CDC 控制设备类, Usbser.sys 加载。 无需编写自己的 INF 来引用驱动程序。 驱动程序是基于与包含在 Windows 中的其他 USB 设备类驱动程序相似的兼容 ID 匹配来加载的。 USB\Class_02 USB\Class_02&SubClass_02 如果要自动 加载Usbser.sys, 在设备描述符中将类代码设置为 02,将子类代码 设置为 02。 有关详细信息,请参阅 USB 通信设备类。 使用此方法时,无需为设备分发 INF 文件,因为系统使用的是 Usbser.inf。 如果设备指定类代码 02,但子类代码值不是 02,则 Usbser.sys不会自动加载 。 即插即用管理器尝试查找驱动程序。 如果找不到合适的驱动程序,则设备可能未加载驱动程序。 在这种情况下,你可能需要加载自己的驱动程序或编写引用另一个内置驱动程序的 INF。
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-11-14Modified bsp/stm32/libraries/HAL_Drivers/drv_usbd.cmyshow2258
Modified components/drivers/usb/usbdevice/class/cdc_vcom.c 修复cdc在v1v2的serial框架下接收发送错误的问题.stm32下usbd添加更多的ep_id,以支持复合设备.
2022-09-22[usbhost] List keyboard option. (#6456)Wayne
* [bsp/nuvoton] Support NuMaker-M467HJ BSP and update drivers. * Format files. * [usbhost] List keyboard and update driver. * Enlarge to reasonable thread stack size. * Do indent.. * Keep private. Co-authored-by: Wayne Lin <[email protected]>
2022-07-07[compoenets][driver][usb] fix usbhost hid issues. (#6116)Dengguiling
* [compoenets][driver][usb] fix usbhost hid issues. 1.Set idle function should receive an empty package. 2.Fix uinst_t reference error in hid enable function.
2022-04-28硬件驱动(VCOM):增加获取USB虚拟串口连接状态的接口 ↵BreederBai
(#5881) * 硬件驱动(VCOM):增加获取USB虚拟串口连接状态的接口
2022-04-20[USB] fix stall bug on control transfersblta
2022-04-20uniform code writing-disable interruptthewon86
2022-04-20[usb audio] fix building error.guozhanxin
2022-01-26fix usbhost issue by #4378guozhanxin
2022-01-26Merge pull request #4378 from LeeChunHei/usbh_constructguo
添加多過一個usb host的可能性
2022-01-09[core] 使用rt_memcpy rt_memset代替memcpy memsetMeco Man
2021-12-30[components][usb] fix compile warning in cdc_vcom.cnongxiaoming