OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 3312|回复: 2

STM32F105 读写U盘实验出现批量未定义问题

[复制链接]

2

主题

41

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
231
金钱
231
注册时间
2017-10-20
在线时间
56 小时
发表于 2017-10-20 17:05:53 | 显示全部楼层 |阅读模式
2金钱
在移植U盘实验时,老是出现这种问题,哪位大神帮忙看下啊,附件有工程文件


linking...
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_Host (referred from usbh_usr.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_Core (referred from usbh_usr.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USH_User_App (referred from usbh_usr.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_BSP_ConfigVBUS (referred from usbh_core.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_BSP_EnableInterrupt (referred from usbh_core.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_BSP_Init (referred from usbh_core.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_BSP_mDelay (referred from usbh_core.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_HC_Init (referred from usbh_hcs.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_HC_Halt (referred from usbh_msc_core.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_CoreInit (referred from usb_hcd.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_CoreInitHost (referred from usb_hcd.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_DisableGlobalInt (referred from usb_hcd.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_EnableGlobalInt (referred from usb_hcd.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_HC_StartXfer (referred from usb_hcd.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_ResetPort (referred from usb_hcd.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_SelectCore (referred from usb_hcd.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_SetCurrentMode (referred from usb_hcd.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_HC_DoPing (referred from usb_hcd_int.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_InitFSLSPClkSel (referred from usb_hcd_int.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_IsHostMode (referred from usb_hcd_int.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_ReadCoreItr (referred from usb_hcd_int.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_ReadHostAllChannels_intr (referred from usb_hcd_int.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_ReadPacket (referred from usb_hcd_int.o).
..\OBJ\USB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_WritePacket (referred from usb_hcd_int.o).
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 24 error messages.
"..\OBJ\USB_TEST.axf" - 24 Error(s), 0 Warning(s).
Target not created.

STM32F105VCT6_USB_TEST.rar

9.35 MB, 下载次数: 417

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

0

主题

3

帖子

0

精华

新手入门

积分
16
金钱
16
注册时间
2018-11-26
在线时间
8 小时
发表于 2018-12-1 12:39:59 | 显示全部楼层
是不是忘记添加路径了
回复

使用道具 举报

8

主题

72

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
292
金钱
292
注册时间
2018-8-14
在线时间
37 小时
发表于 2019-1-11 15:38:53 | 显示全部楼层
好像是main函数没定义那些变量
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-23 01:11

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表