This program is an example of of using the MSCUSBHost code with a raw build of ELM Chan Fat Fs. This was done to add both Long File Name Support along with proper time/date stamps (assuming you have a battery hooked up to keep time). This code exposes the Chan API (see main.cpp) and is NOT a c++ class: http://elm-chan.org/fsw/ff/00index_e.html The diskio.c file has the mapping needed to link the filesystem to the MSC stuff

Dependencies:   mbed

USBHostLite/usbhost_inc.h

Committer:
emh203
Date:
2011-01-23
Revision:
0:2dbbafe1b1fb

File content as of revision 0:2dbbafe1b1fb:

/*
**************************************************************************************************************
*                                                 NXP USB Host Stack
*
*                                     (c) Copyright 2008, NXP SemiConductors
*                                     (c) Copyright 2008, OnChip  Technologies LLC
*                                                 All Rights Reserved
*
*                                                  www.nxp.com
*                                               www.onchiptech.com
*
* File           : usbhost_inc.h
* Programmer(s)  : Ravikanth.P
* Version        :
*
**************************************************************************************************************
*/

#ifndef  USBHOST_INC_H
#define  USBHOST_INC_H

/*
**************************************************************************************************************
*                                       INCLUDE HEADER FILES
**************************************************************************************************************
*/

#include  "usbhost_cpu.h"
#include  "usbhost_err.h"
#include  "usbhost_lpc17xx.h"
#include  "usbhost_ms.h"
#include  "mbed.h"


#ifdef TARGET_LPC2368
#error "There is no USB host on the LPC2368!"
#endif

#endif