This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RL-USB for LPC1788- HOST driver 1 problem

Hello,

I am developing an application using keil's RL-USB library to turn the microcontroller into a USB host controller.

I use the keil's sample:
E:\Keilv5\ARM\Boards\Embedded Artists\LPC1788-32 Developers Kit\RL\USB\Host\MSD_File

I have used USB2 as the host.
I change the HOST controller in USB_Config.c to USB HOST 1.
but i recive this error:
.\Obj\MSD_File.axf: Error: L6218E: Undefined symbol usbh1_hcd_ohci (referred from usb_config.o).

Parents
  • Kiel version is 5.16

    .
    . .
    #if (USBH1_ENABLE)
    #if (USBH1_HC_IF == 1)
    extern USBH_HCD usbh1_hcd_ohci;
    extern USBH1_HWD_OHCI usbh1_hwd_ohci; <<----Error in this line (usb_lib.c line 61)
    #define USBH1_HCD &usbh1_hcd_ohci
    #define USBH1_HWD_OHCI &usbh1_hwd_ohci
    #elif (USBH1_HC_IF == 2)
    . .
    .

Reply
  • Kiel version is 5.16

    .
    . .
    #if (USBH1_ENABLE)
    #if (USBH1_HC_IF == 1)
    extern USBH_HCD usbh1_hcd_ohci;
    extern USBH1_HWD_OHCI usbh1_hwd_ohci; <<----Error in this line (usb_lib.c line 61)
    #define USBH1_HCD &usbh1_hcd_ohci
    #define USBH1_HWD_OHCI &usbh1_hwd_ohci
    #elif (USBH1_HC_IF == 2)
    . .
    .

Children