该选择哪个USB library(急急如律令)

[复制链接]
4004|10
 楼主| yifanfeng 发表于 2012-2-28 11:26 | 显示全部楼层 |阅读模式
本人打算用STM320F107VC 开发USB HID设备,该使用哪款usb library?
目前手头有STM32_F105-07_F2xx_USB-Host-Device_Lib_V2.0.0 和STM32_USB-FS-Device_Lib_V3.3.0, 这两个库有何不同? 稳定性如何?
香水城 发表于 2012-2-28 12:06 | 显示全部楼层
哦,这个问题可以看看库自带的手册。
 楼主| yifanfeng 发表于 2012-2-28 13:26 | 显示全部楼层
Actually, these two libraries  both can be downloaded at ST320F107VC's "Design support" which is located at  http://www.st.com/internet/mcu/product/221020.jsp and both support OTG device, the otg files can be found in both library. So I am a little bit lost, which I should choose?
香水城 发表于 2012-2-28 13:36 | 显示全部楼层
My understanding is that both fit your request. The different is that the first library supports both device and host but the second library supports device only. Since you are asking for USB device, you may take either one.
 楼主| yifanfeng 发表于 2012-2-28 14:00 | 显示全部楼层
Got it and thanks a lot.
 楼主| yifanfeng 发表于 2012-2-28 14:48 | 显示全部楼层
Another question about the USB libary: I downloaded the STM32_USB-FS-Device_Lib_V3.3.0 and open the project STM32_USB-FS-Device_Lib_V3.3.0\Project\Custom_HID\EWARM\Custom_HID using IAR6.30, then build it without any modification, but tons of compiling error occured as showed in the picture attached. Please help me to figure this out. Thanks a lot.
untitled.JPG
香水城 发表于 2012-2-28 15:02 | 显示全部楼层
Sorry that I have no clue cause I never do it.
wangc111 发表于 2012-2-28 15:53 | 显示全部楼层
grissiom 发表于 2012-2-28 18:05 | 显示全部楼层
IAR 6.20 is incompatible with CMSIS. Ref:

http://supp.iar.com/Support/?note=75890
zjlahtc 发表于 2012-12-7 14:07 | 显示全部楼层
yifanfeng 发表于 2012-2-28 14:48:24 |只看该作者 |返回版面
Another question about the USB libary: I downloaded the STM32_USB-FS-Device_Lib_V3.3.0 and open the project STM32_USB-FS-Device_Lib_V3.3.0\Project\Custom_HID\EWARM\Custom_HID using IAR6.30, then build it without any modification, but tons of compiling error occured as showed in the picture attached. Please help me to figure this out. Thanks a lot.


冲突了把  core_cm3.h 下的冲突声明 全部屏蔽就好了。
1427634123 发表于 2015-10-14 16:45 | 显示全部楼层
请问能给我发一份STM32F10X USB 2.0.0固件库吗,万分感谢。我的邮箱:1427634123@qq.com
您需要登录后才可以回帖 登录 | 注册

本版积分规则

4

主题

16

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部