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

Does need USB_CM3.lib need RTX

Hello,
I'm using USB_CM3.lib for the first time, As my boss says this library needs RTX kernel to compile, but it's exactly the opposite the code compile without including the RTX in the project and don't compile when RTX is included.

Can any one tell me please, what I'm messing.

  • Look at the examples it works with our without RTX.

  • It definitely works well.

    Add the following files to your project.

    usb_config.c
    usbh_ochi_lpc17xx.c
    fs_usbh_msc.c
    USB_CM3.lib
    

    Not to forget, that your hardware must have a SSP flash for implementation of filesystem where you will store data.
    For filesystem implementation, add following files to your project.

    FS_SPI_FlashPrg.c
    FS_CM3.lib
    serial_flash_file_system.c
    File_Config.c
    
    SPI_LPC17xx.c
    

    Set proper configurations in the CONFIG.c files. Keil4 has a very good GUI to help you do that.