diff options
| author | hathach <[email protected]> | 2013-11-05 13:02:15 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-11-05 13:02:15 +0700 |
| commit | 83d9ececfb1445c46b0a85da073d10ad932e6d4d (patch) | |
| tree | 7fd02869e69944251cd2be9660864cbed1d6d66a /demos/host/src | |
| parent | d02ef073376d3f57cbaf9e494ffd27ee113f1cf6 (diff) | |
msc add support
- SCSI_CMD_MODE_SELECT_6
- SCSI_CMD_MODE_SENSE_6
- SCSI_CMD_PREVENT_ALLOW_MEDIUM_REMOVAL
fix msc device bug with no data unsupported command
complete msc device demo with ram disk of 8KB
Diffstat (limited to 'demos/host/src')
| -rw-r--r-- | demos/host/src/main.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/demos/host/src/main.c b/demos/host/src/main.c index 5f30ce4e9..17fba7930 100644 --- a/demos/host/src/main.c +++ b/demos/host/src/main.c @@ -56,14 +56,14 @@ #include "cdc_serial_app.h"
#include "rndis_app.h"
-#if defined(__CODE_RED) // TODO to be removed
- #include <cr_section_macros.h>
- #include <NXP/crp.h>
- // Variable to store CRP value in. Will be placed automatically
- // by the linker when "Enable Code Read Protect" selected.
- // See crp.h header for more information
- __CRP const unsigned int CRP_WORD = CRP_NO_CRP ;
-#endif
+//#if defined(__CODE_RED) // TODO to be removed
+// #include <cr_section_macros.h>
+// #include <NXP/crp.h>
+// // Variable to store CRP value in. Will be placed automatically
+// // by the linker when "Enable Code Read Protect" selected.
+// // See crp.h header for more information
+// __CRP const unsigned int CRP_WORD = CRP_NO_CRP ;
+//#endif
#if 0
#include "lwip/opt.h"
@@ -188,7 +188,7 @@ void print_greeting(void) --------------------------------------------------------------------\n\n"
);
- puts("This demo support the following classes");
+ puts("This demo supports the following classes");
if (TUSB_CFG_HOST_HUB ) puts(" - Hub (1 level only)");
if (TUSB_CFG_HOST_HID_MOUSE ) puts(" - HID Mouse");
if (TUSB_CFG_HOST_HID_KEYBOARD ) puts(" - HID Keyboard");
|
