*
* \section Sec_Description Project Description:
*
- * Dual LUN Mass Storage demonstration application. This gives a simple
- * reference application for implementing a multiple LUN USB Mass Storage
- * device using the basic USB UFI drivers in all modern OSes (i.e. no
- * special drivers required).
+ * Mass Storage device demonstration application. This gives a simple
+ * reference application for implementing a USB Mass Storage device using
+ * the basic USB UFI drivers in all modern OSes (i.e. no special drivers
+ * required).
*
* On start-up the system will automatically enumerate and function as an
- * external mass storage device with two LUNs (separate disks) which may
- * be formatted and used in the same manner as commercial USB Mass Storage
- * devices.
+ * external mass storage device which may be formatted and used in the same
+ * manner as commercial USB Mass Storage devices.
*
- * You will need to format the mass storage drives upon first run of this
+ * You will need to format the mass storage drive upon first run of this
* demonstration - as the device acts only as a data block transport between
* the host and the storage media, it does not matter what file system is used,
* as the data interpretation is performed by the host and not the USB device.
*
- * This demo is not restricted to only two LUNs; by changing the TOTAL_LUNS
- * value in MassStorageDualLUN.h, any number of LUNs can be used (from 1 to
- * 255), with each LUN being allocated an equal portion of the available
+ * This demo is not restricted to only a single LUN (logical disk); by changing
+ * the TOTAL_LUNS value in DataflashManager.h, any number of LUNs can be used
+ * (from 1 to 255), with each LUN being allocated an equal portion of the available
* Dataflash memory.
*
* The USB control endpoint is managed entirely by the library using endpoint
*
* \section Sec_Description Project Description:
*
- * Dual LUN Mass Storage demonstration application. This gives a simple
- * reference application for implementing a multiple LUN USB Mass Storage
- * device using the basic USB UFI drivers in all modern OSes (i.e. no
- * special drivers required).
+ * Mass Storage device demonstration application. This gives a simple
+ * reference application for implementing a USB Mass Storage device using
+ * the basic USB UFI drivers in all modern OSes (i.e. no special drivers
+ * required).
*
* On start-up the system will automatically enumerate and function as an
- * external mass storage device with two LUNs (separate disks) which may
- * be formatted and used in the same manner as commercial USB Mass Storage
- * devices.
+ * external mass storage device which may be formatted and used in the same
+ * manner as commercial USB Mass Storage devices.
*
- * You will need to format the mass storage drives upon first run of this
+ * You will need to format the mass storage drive upon first run of this
* demonstration - as the device acts only as a data block transport between
* the host and the storage media, it does not matter what file system is used,
* as the data interpretation is performed by the host and not the USB device.
*
- * This demo is not restricted to only two LUNs; by changing the TOTAL_LUNS
- * value in MassStorageDualLUN.h, any number of LUNs can be used (from 1 to
- * 255), with each LUN being allocated an equal portion of the available
+ * This demo is not restricted to only a single LUN (logical disk); by changing
+ * the TOTAL_LUNS value in DataflashManager.h, any number of LUNs can be used
+ * (from 1 to 255), with each LUN being allocated an equal portion of the available
* Dataflash memory.
*
* The USB control endpoint is managed entirely by the library using endpoint
/* Includes: */
#if (BOARD == BOARD_NONE)
- #error The Board Buttons driver cannot be used if the makefile BOARD option is not set.
+ #error The Board Dataflash driver cannot be used if the makefile BOARD option is not set.
#elif (BOARD == BOARD_USBKEY)
#include "USBKEY/Dataflash.h"
#elif (BOARD == BOARD_STK525)
char LineBuffer[100];
uint16_t BytesWritten;
- BytesWritten = sprintf(LineBuffer, "%02d/%02d/20%04d, %02d:%02d:%02d, %d Degrees\r\n",
+ BytesWritten = sprintf(LineBuffer, "%02d/%02d/20%02d, %02d:%02d:%02d, %d Degrees\r\n",
Day, Month, Year, Hour, Minute, Second, Temperature_GetTemperature());
f_write(&TempLogFile, LineBuffer, BytesWritten, &BytesWritten);
# List C source files here. (C dependencies are automatically generated.)
SRC = $(TARGET).c \
Descriptors.c \
- Descriptors.c \
Lib/DataflashManager.c \
Lib/SCSI.c \
Lib/DS1307.c \