USBD_Initialize() & USBD_Connect()

Dear All

I use keil µVision V5.10.0.2 and try the blinkey examples of mdk5-getting-started.pdf manual with success on my own HW, but in the USB HID Device example nothing works.

I trace so many point of my HW and SW, and at the last, finding that USBD_Initialize(0) & USBD_Connect(0) functions not working.

Searching for definitions of both to debug, find that they defined as extern in rl_usb.h but there is functions in nowhere (there is other functions which also defined like 2 above as extern with no true functions).

did anyone knows where is the true definition of such functions ? or which header files contain the exact functions to including ?

With Best Regards
Khodadad Namiri

Parents
  • Implementations of functions shouldn't be in header files (unless in some situations inlined functions).

    Implementations are expected to be in *.c files.

    And a project need not contain the source code for the functions, in case the project instead links with already compiled object files or libraries containing one or more object files.

Reply
  • Implementations of functions shouldn't be in header files (unless in some situations inlined functions).

    Implementations are expected to be in *.c files.

    And a project need not contain the source code for the functions, in case the project instead links with already compiled object files or libraries containing one or more object files.

Children
More questions in this forum