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
  • Ok, so you're repeating the same set of facts.

    Let me REPEAT, "extern" means it's NOT IN THIS SOURCE FILE, ie external to it. The linker is complaining that the code/structure is NOT IN THE PROJECT.

    You need to find where the code/structure should be created. If you have an example that was working, look at which files provided them.

Reply
  • Ok, so you're repeating the same set of facts.

    Let me REPEAT, "extern" means it's NOT IN THIS SOURCE FILE, ie external to it. The linker is complaining that the code/structure is NOT IN THE PROJECT.

    You need to find where the code/structure should be created. If you have an example that was working, look at which files provided them.

Children