This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Merging Starterware examples usb_host_msc and hs_mmcsd

Greetings:

I am using StarterWare on a Beaglebone Black.  I have successfully built and tried both usb_host_msc and hs_mmcsd sample projects separately.  I would like to build the functionality of BOTH projects into my project.  Specifically, I'd like to be able to read, write, & copy files between a thumb drive and the micro SD card. 

Has anyone done this?  What are the pit falls I need to watch for?  Any advice would be great.

Respectfully,

David

  • Hi,
    If you see in: \third_party\fatfs\port in your project,
    This is the code that you need "merge".
    Texas Instruments created the same functions (copy, remove, create) to access sd card or usb because the driver is different, so you need merge de function to use for sd card and usb at same time.

    Note: You need to add the two in the makefile to compile.