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

2019-07-21 06:02发布

在移植U盘实验时,老是出现这种问题,哪位大神帮忙看下啊,附件有工程文件


linking...
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_Host (referred from usbh_usr.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_Core (referred from usbh_usr.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USH_User_App (referred from usbh_usr.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_BSP_ConfigVBUS (referred from usbh_core.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_BSP_EnableInterrupt (referred from usbh_core.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_BSP_Init (referred from usbh_core.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_BSP_mDelay (referred from usbh_core.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_HC_Init (referred from usbh_hcs.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_HC_Halt (referred from usbh_msc_core.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_CoreInit (referred from usb_hcd.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_CoreInitHost (referred from usb_hcd.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_DisableGlobalInt (referred from usb_hcd.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_EnableGlobalInt (referred from usb_hcd.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_HC_StartXfer (referred from usb_hcd.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_ResetPort (referred from usb_hcd.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_SelectCore (referred from usb_hcd.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_SetCurrentMode (referred from usb_hcd.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_HC_DoPing (referred from usb_hcd_int.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_InitFSLSPClkSel (referred from usb_hcd_int.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_IsHostMode (referred from usb_hcd_int.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_ReadCoreItr (referred from usb_hcd_int.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_ReadHostAllChannels_intr (referred from usb_hcd_int.o).
..OBJUSB_TEST.axf: Error: L6218E: Undefined symbol USB_OTG_ReadPacket (referred from usb_hcd_int.o).
..OBJUSB_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.
"..OBJUSB_TEST.axf" - 24 Error(s), 0 Warning(s).
Target not created.

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。