Commit Graph

37 Commits

Author SHA1 Message Date
Zxy 156fda61cf [errno code]fix that use RT_ENOMEM without - 2023-03-23 01:55:21 -04:00
Meco Man 0f461e870c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
Wayne dc9887913b
[usbhost] List keyboard option. (#6456)
* [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 <wclin@nuvoton.com>
2022-09-22 23:23:28 -04:00
guozhanxin 2f6f9da5e3 fix usbhost issue by #4378 2022-01-26 11:39:39 +08:00
guo 55a302cd09
Merge branch 'master' into usbh_construct 2021-09-28 10:36:54 +08:00
Meco Man 3c05a4e719 [compoenets] auto & manual formatted 2021-03-08 18:19:04 +08:00
LeeChunHei 00727d6b6d provide possibility for multi usb host 2021-02-23 17:05:01 +08:00
Bernard Xiong 4426af03f8
Revert "添加imxrt的pulse encoder和usb host驅動" 2021-02-23 09:44:27 +08:00
LeeChunHei b51c6339f0 finish testing 2021-02-13 18:50:58 +08:00
LeeChunHei fa5c8e1502 modifly to use multi usb(not tested) 2021-02-13 18:50:47 +08:00
Bernard Xiong 4b2b9a87c6
Merge pull request #3871 from OpenNuvoton/rtt_usbhost_issue
Fix USB host core bugs.
2020-11-07 14:42:37 +08:00
Wayne Lin f4d86cec7f Fix USB host core issues.
1. Limit >4 USB ports hubs.
2. Double free intf.
3. dname buffer size is too small.
4. Reset child pointer after detaching instance.
2020-09-02 17:49:17 +08:00
David Lin 1703c70fd5
[ drivers/usb]Fixed a bug may cause stackover flow 2020-06-10 12:53:51 +08:00
Wayne Lin f0e4009c30 Fix rt_hw_inputcapture_isr public function name in header file.
Fix miss-break in HWTIMER_CTRL_INFO_GET case.
2020-05-20 16:04:31 +08:00
Wayne Lin 39431f5a70 Rename usbd and usbh source files for IAR building issue. 2020-04-30 15:47:42 +08:00
David Lin 985a70ab15
Update hub.c 2020-03-21 20:56:31 +08:00
liruncong d3764db892 解决以下问题:
1) usb驱动中时间未与RT_TICK_PER_SECOND关联问题,RT_TICK_PER_SECOND变化时,这些时间将发生变化
解决: 增加USB_TIMEOUT_BASIC/USB_TIMEOUT_LONG/USB_DEBOUNCE_TIME
2) 修正rt_usbh_detach_instance函数使用device->cfg_desc前未判断是否有效. 可导致abort
3) rt_usbh_hub_port_change增加device->port初始化,否则struct uhcd_ops相关函数无法直接得到端口号
2018-10-23 20:04:51 +08:00
Bernard Xiong 2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
liruncong 7b788014f7 修正drivers下,armclang编译时的警告或错误 注:vcom_tx_thread_entry下, if(!res & CDC_TX_HAS_DATE)应为bug. 2018-09-10 19:40:08 +08:00
liruncong d3c08afd75 1. 保留目前未用到的rt_usbd_ep_unassign函数,暂时移除static属性,消除警告.
2. 修改一处存在多余括号问题. armclang有警告发出.
2018-09-02 22:39:51 +08:00
liruncong 923d6fe33d 消除usb结构体gcc编译时的相关警告 2018-08-28 03:18:39 +08:00
uestczyh222 9b44af941f [Components][Drivers][USB HOST]Fix core stack and msc driver
可以挂U盘了 欢迎测试鲁棒性已打通F4全系列HOST驱动(OTGFS)
2017-12-14 22:45:12 +08:00
uestczyh222 18d42fe077 [Components][USBHOST]Core OK 2017-12-14 03:14:44 +08:00
uestczyh222 b42fc96408 [host first] 2017-12-13 15:58:11 +08:00
tangyuxin cc54e0a74e [usb]update usb stack 2017-11-11 10:53:08 +08:00
Bernard Xiong 767c16d596 [USBH] fix the spelling wrong 2015-03-19 08:52:28 +00:00
shaolin 0fb9c54efd 1.replace API prefix usb* with usbh* in USB host stack to distinct with USB device stack;
2.adjust some viable and micro name
3.some other small fix
2014-03-04 08:59:53 +08:00
bernard a124e7bd22 add initialization debug code 2013-07-24 07:33:48 +08:00
yiyue.fang 621fbdb90c Embedded GPLv2 license in drivers 2013-06-28 00:36:54 +08:00
Bernard Xiong 98c8a23e94 Add component initialization. 2013-06-23 07:48:42 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
dzzxzz@gmail.com 0e40d55d9f fixed the coding style of RT_DEBUG_LOG
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2500 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-20 07:25:19 +00:00
qiuyiuestc@gmail.com 1b2d954105 fix compile warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2446 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-24 23:24:40 +00:00
qiuyiuestc@gmail.com c752d9b095 submit the first version usb device stack.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2344 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11 17:06:30 +00:00
qiuyiuestc@gmail.com 1016e3ae5b add ADK protocol implement & format code style
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2219 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-16 02:20:20 +00:00
qiuyiuestc@gmail.com 64c485f5fc reconstruct USB host project directory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2206 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-07 08:49:28 +00:00
qiuyiuestc@gmail.com 070e54a17b add usbhost stack
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2154 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-05 00:07:50 +00:00