mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 12:08:36 +08:00
Move apps/examples/usbmsc to apps/system/usbmsc
This commit is contained in:
parent
eee01427e2
commit
0b450bc202
209 changed files with 691 additions and 678 deletions
|
@ -5629,4 +5629,5 @@
|
|||
and STM32 Kconfigs into the common network driver Kconfig (2013-9-25).
|
||||
* arch/arm/src/sam_emac.c: EMAC driver is basically functional. More
|
||||
testing is needed (as always) (2013-9-25).
|
||||
|
||||
* configs: Changes to many defconfig files resulting from moving
|
||||
apps/examples/usbmsc to apps/system/usbmsc (2013-9-25).
|
||||
|
|
|
@ -265,6 +265,7 @@
|
|||
| `- system/
|
||||
| |- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/apps/system/i2c/README.txt"><b><i>i2c/README.txt</i></b></a>
|
||||
| |- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/apps/system/install/README.txt">install/README.txt</a>
|
||||
| |- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/apps/system/usbmsc/README.txt">usbmsc/README.txt</a>
|
||||
| `- <a href="http://sourceforge.net/p/nuttx/git/ci/master/tree/apps/system/zmodem/README.txt">zmodem/README.txt</a>
|
||||
`- NxWidgets
|
||||
|- Doxygen
|
||||
|
|
|
@ -191,7 +191,7 @@ Notes about Header Files
|
|||
header file then you should also define CONFIG_ARCH_MATH_H=y in your
|
||||
NuttX Configuration file. If CONFIG_ARCH_MATH_H is selected, then the
|
||||
top-level Makefile will copy the stub math.h header file from
|
||||
include/nuttx/matn.h to include/math.h where it will become the system
|
||||
include/nuttx/math.h to include/math.h where it will become the system
|
||||
math.h header file. The stub math.h header file does nothing other
|
||||
than to include that archicture-specific math.h header file as the
|
||||
system math.h header file.
|
||||
|
@ -1200,6 +1200,8 @@ apps
|
|||
| | `- README.txt
|
||||
| |- install
|
||||
| | `- README.txt
|
||||
| |- usbmsc
|
||||
| | `- README.txt
|
||||
| `- zmodem
|
||||
| `- README.txt
|
||||
`- README.txt
|
||||
|
|
|
@ -398,16 +398,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -530,7 +530,7 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -521,7 +521,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -556,7 +556,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_DISCOVER is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
# CONFIG_EXAMPLES_WLAN is not set
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
****************************************************************************/
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_USBMSC_DEVMINOR1
|
||||
# define CONFIG_EXAMPLES_USBMSC_DEVMINOR1 0
|
||||
#ifndef CONFIG_SYSTEM_USBMSC_DEVMINOR1
|
||||
# define CONFIG_SYSTEM_USBMSC_DEVMINOR1 0
|
||||
#endif
|
||||
|
||||
/* Debug ********************************************************************/
|
||||
|
@ -91,13 +91,13 @@
|
|||
|
||||
int usbmsc_archinitialize(void)
|
||||
{
|
||||
/* If examples/usbmsc is built as an NSH command, then SD slot should
|
||||
/* If system/usbmsc is built as an NSH command, then SD slot should
|
||||
* already have been initized in nsh_archinitialize() (see up_nsh.c). In
|
||||
* this case, there is nothing further to be done here.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_NSH_BUILTIN_APPS
|
||||
return stm32_sdinitialize(CONFIG_EXAMPLES_USBMSC_DEVMINOR1);
|
||||
return stm32_sdinitialize(CONFIG_SYSTEM_USBMSC_DEVMINOR1);
|
||||
#else
|
||||
return OK;
|
||||
#endif
|
||||
|
|
|
@ -648,6 +648,6 @@ Where <subdir> is one of the following:
|
|||
|
||||
usbmsc:
|
||||
This configuration directory exercises the USB mass storage
|
||||
class driver at examples/usbmsc. See examples/README.txt for
|
||||
class driver at system/usbmsc. See examples/README.txt for
|
||||
more information.
|
||||
|
||||
|
|
|
@ -57,15 +57,15 @@
|
|||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_USBMSC_DEVMINOR1
|
||||
# define CONFIG_EXAMPLES_USBMSC_DEVMINOR1 0
|
||||
#ifndef CONFIG_SYSTEM_USBMSC_DEVMINOR1
|
||||
# define CONFIG_SYSTEM_USBMSC_DEVMINOR1 0
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_USBMSC_DEVPATH1
|
||||
# define CONFIG_EXAMPLES_USBMSC_DEVPATH1 "/dev/ram"
|
||||
#ifndef CONFIG_SYSTEM_USBMSC_DEVPATH1
|
||||
# define CONFIG_SYSTEM_USBMSC_DEVPATH1 "/dev/ram"
|
||||
#endif
|
||||
|
||||
static const char g_source[] = CONFIG_EXAMPLES_USBMSC_DEVPATH1;
|
||||
static const char g_source[] = CONFIG_SYSTEM_USBMSC_DEVPATH1;
|
||||
static struct fat_format_s g_fmt = FAT_FORMAT_INITIALIZER;
|
||||
|
||||
#define USBMSC_NSECTORS 64
|
||||
|
@ -99,7 +99,7 @@ int usbmsc_archinitialize(void)
|
|||
|
||||
/* Register a RAMDISK device to manage this RAM image */
|
||||
|
||||
ret = ramdisk_register(CONFIG_EXAMPLES_USBMSC_DEVMINOR1,
|
||||
ret = ramdisk_register(CONFIG_SYSTEM_USBMSC_DEVMINOR1,
|
||||
pbuffer,
|
||||
USBMSC_NSECTORS,
|
||||
USBMSC_SECTORSIZE,
|
||||
|
|
|
@ -35,5 +35,5 @@
|
|||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
CONFIGURED_APPS += examples/usbmsc
|
||||
CONFIGURED_APPS += system/usbmsc
|
||||
|
||||
|
|
|
@ -397,16 +397,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/ram0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/ram0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -396,16 +396,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/ram0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/ram0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -57,15 +57,15 @@
|
|||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_USBMSC_DEVMINOR1
|
||||
# define CONFIG_EXAMPLES_USBMSC_DEVMINOR1 0
|
||||
#ifndef CONFIG_SYSTEM_USBMSC_DEVMINOR1
|
||||
# define CONFIG_SYSTEM_USBMSC_DEVMINOR1 0
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_USBMSC_DEVPATH1
|
||||
# define CONFIG_EXAMPLES_USBMSC_DEVPATH1 "/dev/ram"
|
||||
#ifndef CONFIG_SYSTEM_USBMSC_DEVPATH1
|
||||
# define CONFIG_SYSTEM_USBMSC_DEVPATH1 "/dev/ram"
|
||||
#endif
|
||||
|
||||
static const char g_source[] = CONFIG_EXAMPLES_USBMSC_DEVPATH1;
|
||||
static const char g_source[] = CONFIG_SYSTEM_USBMSC_DEVPATH1;
|
||||
static struct fat_format_s g_fmt = FAT_FORMAT_INITIALIZER;
|
||||
|
||||
#define USBMSC_NSECTORS 64
|
||||
|
@ -99,7 +99,7 @@ int usbmsc_archinitialize(void)
|
|||
|
||||
/* Register a RAMDISK device to manage this RAM image */
|
||||
|
||||
ret = ramdisk_register(CONFIG_EXAMPLES_USBMSC_DEVMINOR1,
|
||||
ret = ramdisk_register(CONFIG_SYSTEM_USBMSC_DEVMINOR1,
|
||||
pbuffer,
|
||||
USBMSC_NSECTORS,
|
||||
USBMSC_SECTORSIZE,
|
||||
|
|
|
@ -515,7 +515,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_DISCOVER is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
# CONFIG_EXAMPLES_WGET is not set
|
||||
|
|
|
@ -450,7 +450,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -388,7 +388,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
# CONFIG_EXAMPLES_WLAN is not set
|
||||
|
|
|
@ -396,7 +396,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
# CONFIG_EXAMPLES_WLAN is not set
|
||||
|
|
|
@ -772,20 +772,20 @@ CONFIG_EXAMPLES_NSH=y
|
|||
#
|
||||
# USB Mass Storage Class Example
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC=y
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR2=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH2="/dev/mmcsd1"
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR3=2
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH3="/dev/mmcsd2"
|
||||
# CONFIG_EXAMPLES_USBMSC_DEBUGMM is not set
|
||||
# CONFIG_EXAMPLES_USBMSC_TRACEINIT is not set
|
||||
# CONFIG_EXAMPLES_USBMSC_TRACECLASS is not set
|
||||
# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS is not set
|
||||
# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER is not set
|
||||
# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS is not set
|
||||
CONFIG_SYSTEM_USBMSC=y
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR2=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH2="/dev/mmcsd1"
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR3=2
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH3="/dev/mmcsd2"
|
||||
# CONFIG_SYSTEM_USBMSC_DEBUGMM is not set
|
||||
# CONFIG_SYSTEM_USBMSC_TRACEINIT is not set
|
||||
# CONFIG_SYSTEM_USBMSC_TRACECLASS is not set
|
||||
# CONFIG_SYSTEM_USBMSC_TRACETRANSFERS is not set
|
||||
# CONFIG_SYSTEM_USBMSC_TRACECONTROLLER is not set
|
||||
# CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS is not set
|
||||
|
||||
#
|
||||
# USB Serial Terminal Example
|
||||
|
|
|
@ -52,8 +52,8 @@
|
|||
****************************************************************************/
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_USBMSC_DEVMINOR1
|
||||
# define CONFIG_EXAMPLES_USBMSC_DEVMINOR1 0
|
||||
#ifndef CONFIG_SYSTEM_USBMSC_DEVMINOR1
|
||||
# define CONFIG_SYSTEM_USBMSC_DEVMINOR1 0
|
||||
#endif
|
||||
|
||||
/* Debug ********************************************************************/
|
||||
|
@ -90,13 +90,13 @@
|
|||
|
||||
int usbmsc_archinitialize(void)
|
||||
{
|
||||
/* If examples/usbmsc is built as an NSH command, then SD slot should
|
||||
/* If system/usbmsc is built as an NSH command, then SD slot should
|
||||
* already have been initized in nsh_archinitialize() (see up_nsh.c). In
|
||||
* this case, there is nothing further to be done here.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_NSH_BUILTIN_APPS
|
||||
return stm32_sdinitialize(CONFIG_EXAMPLES_USBMSC_DEVMINOR1);
|
||||
return stm32_sdinitialize(CONFIG_SYSTEM_USBMSC_DEVMINOR1);
|
||||
#else
|
||||
return OK;
|
||||
#endif
|
||||
|
|
|
@ -487,7 +487,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -470,7 +470,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=1
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -610,7 +610,7 @@ Where <subdir> is one of the following:
|
|||
----------- ----------------------- --------------------------------
|
||||
Built-in None apps/examples/nx
|
||||
Apps apps/examples/nxhello
|
||||
apps/examples/usbmsc (4)
|
||||
apps/system/usbmsc (4)
|
||||
apps/examples/buttons
|
||||
apps/examples/nximage
|
||||
=========== ======================= ================================
|
||||
|
|
|
@ -543,7 +543,7 @@ CONFIG_EXAMPLES_BUTTONS_NAME7="Button 7"
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -553,7 +553,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -723,20 +723,20 @@ CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0"
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
CONFIG_EXAMPLES_USBMSC=y
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR2=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH2="/dev/mmcsd1"
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR3=2
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH3="/dev/mmcsd2"
|
||||
# CONFIG_EXAMPLES_USBMSC_DEBUGMM is not set
|
||||
# CONFIG_EXAMPLES_USBMSC_TRACEINIT is not set
|
||||
# CONFIG_EXAMPLES_USBMSC_TRACECLASS is not set
|
||||
# CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS is not set
|
||||
# CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER is not set
|
||||
# CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS is not set
|
||||
CONFIG_SYSTEM_USBMSC=y
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR2=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH2="/dev/mmcsd1"
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR3=2
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH3="/dev/mmcsd2"
|
||||
# CONFIG_SYSTEM_USBMSC_DEBUGMM is not set
|
||||
# CONFIG_SYSTEM_USBMSC_TRACEINIT is not set
|
||||
# CONFIG_SYSTEM_USBMSC_TRACECLASS is not set
|
||||
# CONFIG_SYSTEM_USBMSC_TRACETRANSFERS is not set
|
||||
# CONFIG_SYSTEM_USBMSC_TRACECONTROLLER is not set
|
||||
# CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -537,7 +537,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -60,8 +60,8 @@
|
|||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_USBMSC_DEVMINOR1
|
||||
# define CONFIG_EXAMPLES_USBMSC_DEVMINOR1 0
|
||||
#ifndef CONFIG_SYSTEM_USBMSC_DEVMINOR1
|
||||
# define CONFIG_SYSTEM_USBMSC_DEVMINOR1 0
|
||||
#endif
|
||||
|
||||
/* SLOT number(s) could depend on the board configuration */
|
||||
|
@ -109,7 +109,7 @@
|
|||
|
||||
int usbmsc_archinitialize(void)
|
||||
{
|
||||
/* If examples/usbmsc is built as an NSH command, then SD slot should
|
||||
/* If system/usbmsc is built as an NSH command, then SD slot should
|
||||
* already have been initialized in nsh_archinitialize() (see up_nsh.c). In
|
||||
* this case, there is nothing further to be done here.
|
||||
*/
|
||||
|
@ -136,9 +136,9 @@ int usbmsc_archinitialize(void)
|
|||
|
||||
message("usbmsc_archinitialize: "
|
||||
"Bind SDIO to the MMC/SD driver, minor=%d\n",
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1);
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1);
|
||||
|
||||
ret = mmcsd_slotinitialize(CONFIG_EXAMPLES_USBMSC_DEVMINOR1, sdio);
|
||||
ret = mmcsd_slotinitialize(CONFIG_SYSTEM_USBMSC_DEVMINOR1, sdio);
|
||||
if (ret != OK)
|
||||
{
|
||||
message("usbmsc_archinitialize: "
|
||||
|
|
|
@ -35,5 +35,5 @@
|
|||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
CONFIGURED_APPS += examples/usbmsc
|
||||
CONFIGURED_APPS += system/usbmsc
|
||||
|
||||
|
|
|
@ -462,17 +462,17 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_DEBUGMM=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_DEBUGMM=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/watchdog
|
||||
|
|
|
@ -586,7 +586,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -484,7 +484,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -56,8 +56,8 @@
|
|||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_USBMSC_DEVMINOR1
|
||||
# define CONFIG_EXAMPLES_USBMSC_DEVMINOR1 0
|
||||
#ifndef CONFIG_SYSTEM_USBMSC_DEVMINOR1
|
||||
# define CONFIG_SYSTEM_USBMSC_DEVMINOR1 0
|
||||
#endif
|
||||
|
||||
/* SLOT number(s) could depend on the board configuration */
|
||||
|
@ -105,7 +105,7 @@
|
|||
|
||||
int usbmsc_archinitialize(void)
|
||||
{
|
||||
/* If examples/usbmsc is built as an NSH command, then SD slot should
|
||||
/* If system/usbmsc is built as an NSH command, then SD slot should
|
||||
* already have been initized in nsh_archinitialize() (see up_nsh.c). In
|
||||
* this case, there is nothing further to be done here.
|
||||
*/
|
||||
|
|
|
@ -465,16 +465,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -490,7 +490,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_DISCOVER is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
# CONFIG_EXAMPLES_WGET is not set
|
||||
|
|
|
@ -490,7 +490,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_DISCOVER is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
# CONFIG_EXAMPLES_WGET is not set
|
||||
|
|
|
@ -508,7 +508,7 @@ CONFIG_EXAMPLES_NX_EXTERNINIT=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -433,7 +433,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -537,7 +537,7 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512
|
|||
# CONFIG_EXAMPLES_DISCOVER is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
CONFIG_EXAMPLES_TCPECHO=y
|
||||
CONFIG_EXAMPLES_TCPECHO_PORT=80
|
||||
|
|
|
@ -456,7 +456,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -453,7 +453,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -802,7 +802,7 @@ Where <subdir> is one of the following:
|
|||
|
||||
usbmsc:
|
||||
This configuration directory exercises the USB mass storage
|
||||
class driver at apps/examples/usbmsc. See apps/examples/README.txt
|
||||
class driver at apps/system/usbmsc. See apps/examples/README.txt
|
||||
for more information.
|
||||
|
||||
NOTE: At present, the value for the SD SPI frequency is too
|
||||
|
|
|
@ -463,16 +463,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -473,16 +473,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -506,16 +506,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/nx
|
||||
|
|
|
@ -451,16 +451,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -54,8 +54,8 @@
|
|||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_USBMSC_DEVMINOR1
|
||||
# define CONFIG_EXAMPLES_USBMSC_DEVMINOR1 0
|
||||
#ifndef CONFIG_SYSTEM_USBMSC_DEVMINOR1
|
||||
# define CONFIG_SYSTEM_USBMSC_DEVMINOR1 0
|
||||
#endif
|
||||
|
||||
/* PORT and SLOT number probably depend on the board configuration */
|
||||
|
@ -129,7 +129,7 @@ int usbmsc_archinitialize(void)
|
|||
message("usbmsc_archinitialize: Binding SPI port %d to MMC/SD slot %d\n",
|
||||
LPC17XX_MMCSDSPIPORTNO, LPC17XX_MMCSDSLOTNO);
|
||||
|
||||
ret = mmcsd_spislotinitialize(CONFIG_EXAMPLES_USBMSC_DEVMINOR1, LPC17XX_MMCSDSLOTNO, spi);
|
||||
ret = mmcsd_spislotinitialize(CONFIG_SYSTEM_USBMSC_DEVMINOR1, LPC17XX_MMCSDSLOTNO, spi);
|
||||
if (ret < 0)
|
||||
{
|
||||
message("usbmsc_archinitialize: Failed to bind SPI port %d to MMC/SD slot %d: %d\n",
|
||||
|
|
|
@ -490,16 +490,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -35,5 +35,5 @@
|
|||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
CONFIGURED_APPS += examples/usbmsc
|
||||
CONFIGURED_APPS += system/usbmsc
|
||||
|
||||
|
|
|
@ -447,16 +447,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -626,7 +626,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -647,7 +647,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -392,7 +392,7 @@ usbmsc:
|
|||
-------
|
||||
|
||||
This configuration directory exercises the USB mass storage
|
||||
class driver at examples/usbmsc. See examples/README.txt for
|
||||
class driver at system/usbmsc. See examples/README.txt for
|
||||
more information.
|
||||
|
||||
Default toolchain: Buildroot
|
||||
|
|
|
@ -383,16 +383,16 @@ CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_ONLYBIG=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=y
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=y
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=y
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=y
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=y
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=y
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/composite
|
||||
|
|
|
@ -446,7 +446,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
# CONFIG_EXAMPLES_WLAN is not set
|
||||
|
|
|
@ -54,8 +54,8 @@
|
|||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_USBMSC_DEVMINOR1
|
||||
# define CONFIG_EXAMPLES_USBMSC_DEVMINOR1 0
|
||||
#ifndef CONFIG_SYSTEM_USBMSC_DEVMINOR1
|
||||
# define CONFIG_SYSTEM_USBMSC_DEVMINOR1 0
|
||||
#endif
|
||||
|
||||
/* PORT and SLOT number probably depend on the board configuration */
|
||||
|
@ -129,7 +129,7 @@ int usbmsc_archinitialize(void)
|
|||
message("usbmsc_archinitialize: Binding SPI port %d to MMC/SD slot %d\n",
|
||||
LPC214X_MMCSDSPIPORTNO, LPC214X_MMCSDSLOTNO);
|
||||
|
||||
ret = mmcsd_spislotinitialize(CONFIG_EXAMPLES_USBMSC_DEVMINOR1, LPC214X_MMCSDSLOTNO, spi);
|
||||
ret = mmcsd_spislotinitialize(CONFIG_SYSTEM_USBMSC_DEVMINOR1, LPC214X_MMCSDSLOTNO, spi);
|
||||
if (ret < 0)
|
||||
{
|
||||
message("usbmsc_archinitialize: Failed to bind SPI port %d to MMC/SD slot %d: %d\n",
|
||||
|
|
|
@ -35,5 +35,5 @@
|
|||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
CONFIGURED_APPS += examples/usbmsc
|
||||
CONFIGURED_APPS += system/usbmsc
|
||||
|
||||
|
|
|
@ -340,16 +340,16 @@ CONFIG_EXAMPLES_USBSERIAL_ONLYSMALL=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_ONLYBIG=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=y
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=y
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=y
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=y
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=y
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=y
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -393,16 +393,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -793,7 +793,7 @@ CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0"
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -693,7 +693,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -620,7 +620,7 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -618,7 +618,7 @@ CONFIG_EXAMPLES_NX_BPP=16
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -620,7 +620,7 @@ CONFIG_EXAMPLES_NXLINES_BPP=16
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -630,7 +630,7 @@ CONFIG_EXAMPLES_NXTEXT_DEFAULT_FONT=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -668,7 +668,7 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -473,16 +473,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -516,16 +516,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -449,16 +449,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -545,6 +545,6 @@ Where <subdir> is one of the following:
|
|||
|
||||
usbmsc:
|
||||
This configuration directory exercises the USB mass storage
|
||||
class driver at examples/usbmsc. See examples/README.txt for
|
||||
class driver at system/usbmsc. See examples/README.txt for
|
||||
more information.
|
||||
|
||||
|
|
|
@ -54,8 +54,8 @@
|
|||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_USBMSC_DEVMINOR1
|
||||
# define CONFIG_EXAMPLES_USBMSC_DEVMINOR1 0
|
||||
#ifndef CONFIG_SYSTEM_USBMSC_DEVMINOR1
|
||||
# define CONFIG_SYSTEM_USBMSC_DEVMINOR1 0
|
||||
#endif
|
||||
|
||||
/* PORT and SLOT number probably depend on the board configuration */
|
||||
|
@ -129,7 +129,7 @@ int usbmsc_archinitialize(void)
|
|||
message("usbmsc_archinitialize: Binding SPI port %d to MMC/SD slot %d\n",
|
||||
LPC17XX_MMCSDSPIPORTNO, LPC17XX_MMCSDSLOTNO);
|
||||
|
||||
ret = mmcsd_spislotinitialize(CONFIG_EXAMPLES_USBMSC_DEVMINOR1, LPC17XX_MMCSDSLOTNO, spi);
|
||||
ret = mmcsd_spislotinitialize(CONFIG_SYSTEM_USBMSC_DEVMINOR1, LPC17XX_MMCSDSLOTNO, spi);
|
||||
if (ret < 0)
|
||||
{
|
||||
message("usbmsc_archinitialize: Failed to bind SPI port %d to MMC/SD slot %d: %d\n",
|
||||
|
|
|
@ -35,5 +35,5 @@
|
|||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
CONFIGURED_APPS += examples/usbmsc
|
||||
CONFIGURED_APPS += system/usbmsc
|
||||
|
||||
|
|
|
@ -440,16 +440,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -527,7 +527,7 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
CONFIG_EXAMPLES_USBSERIAL=y
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -479,7 +479,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -489,7 +489,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=1
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -1058,7 +1058,7 @@ Where <subdir> is one of the following:
|
|||
|
||||
usbmsc:
|
||||
This configuration directory exercises the USB mass storage
|
||||
class driver at apps/examples/usbmsc. See apps/examples/README.txt
|
||||
class driver at apps/system/usbmsc. See apps/examples/README.txt
|
||||
for more information.
|
||||
|
||||
zmodem:
|
||||
|
|
|
@ -569,7 +569,7 @@ CONFIG_EXAMPLES_HIDKBD_ENCODED=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -547,7 +547,7 @@ CONFIG_EXAMPLES_NETTEST_CLIENTIP=0x0a000001
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
# CONFIG_EXAMPLES_WGET is not set
|
||||
|
|
|
@ -585,7 +585,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_DISCOVER is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -537,16 +537,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/nx
|
||||
|
|
|
@ -465,16 +465,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -57,8 +57,8 @@
|
|||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_EXAMPLES_USBMSC_DEVMINOR1
|
||||
# define CONFIG_EXAMPLES_USBMSC_DEVMINOR1 0
|
||||
#ifndef CONFIG_SYSTEM_USBMSC_DEVMINOR1
|
||||
# define CONFIG_SYSTEM_USBMSC_DEVMINOR1 0
|
||||
#endif
|
||||
|
||||
/* PORT and SLOT number probably depend on the board configuration */
|
||||
|
@ -136,7 +136,7 @@ int usbmsc_archinitialize(void)
|
|||
message("usbmsc_archinitialize: Binding SPI port %d to MMC/SD slot %d\n",
|
||||
LPC17XX_MMCSDSPIPORTNO, LPC17XX_MMCSDSLOTNO);
|
||||
|
||||
ret = mmcsd_spislotinitialize(CONFIG_EXAMPLES_USBMSC_DEVMINOR1, LPC17XX_MMCSDSLOTNO, spi);
|
||||
ret = mmcsd_spislotinitialize(CONFIG_SYSTEM_USBMSC_DEVMINOR1, LPC17XX_MMCSDSLOTNO, spi);
|
||||
if (ret < 0)
|
||||
{
|
||||
message("usbmsc_archinitialize: Failed to bind SPI port %d to MMC/SD slot %d: %d\n",
|
||||
|
|
|
@ -35,5 +35,5 @@
|
|||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
CONFIGURED_APPS += examples/usbmsc
|
||||
CONFIGURED_APPS += system/usbmsc
|
||||
|
||||
|
|
|
@ -467,16 +467,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
|
|
|
@ -526,7 +526,7 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
CONFIG_EXAMPLES_USBSERIAL=y
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -600,7 +600,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_DISCOVER is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -695,7 +695,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_DISCOVER is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
# CONFIG_EXAMPLES_XMLRPC is not set
|
||||
|
|
|
@ -566,7 +566,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -521,7 +521,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -623,7 +623,7 @@ CONFIG_EXAMPLES_NXLINES_BPP=32
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -490,7 +490,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -425,7 +425,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
# CONFIG_EXAMPLES_WLAN is not set
|
||||
|
|
|
@ -566,7 +566,7 @@ CONFIG_EXAMPLES_NSH=y
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -561,7 +561,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=10
|
|||
# CONFIG_EXAMPLES_UDP is not set
|
||||
# CONFIG_EXAMPLES_UIP is not set
|
||||
# CONFIG_EXAMPLES_USBSERIAL is not set
|
||||
# CONFIG_EXAMPLES_USBMSC is not set
|
||||
# CONFIG_SYSTEM_USBMSC is not set
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
|
|
|
@ -1095,7 +1095,7 @@ Where <subdir> is one of the following:
|
|||
|
||||
CONFIG_CDCACM=y : Enable the CDCACM device
|
||||
|
||||
examples/usbmsc - There are some hooks in the appconfig file
|
||||
system/usbmsc - There are some hooks in the appconfig file
|
||||
to enable the USB mass storage device. However, this device cannot
|
||||
work until support for the SD card is also incorporated.
|
||||
|
||||
|
@ -1203,15 +1203,15 @@ Where <subdir> is one of the following:
|
|||
|
||||
d) Use a RAM disk (instead of an SD card) as the USB MSC logical unit:
|
||||
|
||||
-CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
+CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/ram0"
|
||||
-CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
+CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/ram0"
|
||||
|
||||
2. Changes to apps/.config.
|
||||
|
||||
a) Enable building of the examples/usbmsc:
|
||||
a) Enable building of the system/usbmsc:
|
||||
|
||||
-# CONFIGURED_APPS += examples/usbmsc
|
||||
+ CONFIGURED_APPS += examples/usbmsc
|
||||
-# CONFIGURED_APPS += system/usbmsc
|
||||
+ CONFIGURED_APPS += system/usbmsc
|
||||
|
||||
3. When NSH first comes up, you must manually create the RAM disk
|
||||
before exporting it:
|
||||
|
|
|
@ -55,8 +55,8 @@ ifeq ($(CONFIG_PIC32MX_USBDEV),y)
|
|||
# USB Mass Storage Class device configurations
|
||||
|
||||
ifeq ($(CONFIG_USBMSC),y)
|
||||
# Uncomment to enable the examples/usbmsc built-in
|
||||
# CONFIGURED_APPS += examples/usbmsc
|
||||
# Uncomment to enable the system/usbmsc built-in
|
||||
# CONFIGURED_APPS += system/usbmsc
|
||||
endif
|
||||
|
||||
# USB CDC/ACM serial device configurations
|
||||
|
|
|
@ -626,16 +626,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbterm
|
||||
|
|
|
@ -55,8 +55,8 @@ ifeq ($(CONFIG_PIC32MX_USBDEV),y)
|
|||
# USB Mass Storage Class device configurations
|
||||
|
||||
ifeq ($(CONFIG_USBMSC),y)
|
||||
# Uncomment to enable the examples/usbmsc built-in
|
||||
# CONFIGURED_APPS += examples/usbmsc
|
||||
# Uncomment to enable the system/usbmsc built-in
|
||||
# CONFIGURED_APPS += system/usbmsc
|
||||
endif
|
||||
|
||||
# USB CDC/ACM serial device configurations
|
||||
|
|
|
@ -625,16 +625,16 @@ CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
|||
CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbmsc
|
||||
# Settings for system/usbmsc
|
||||
#
|
||||
CONFIG_EXAMPLES_USBMSC_NLUNS=1
|
||||
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
|
||||
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINIT=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECLASS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_EXAMPLES_USBMSC_TRACEINTERRUPTS=n
|
||||
CONFIG_SYSTEM_USBMSC_NLUNS=1
|
||||
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
|
||||
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/mmcsd0"
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINIT=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECLASS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACETRANSFERS=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACECONTROLLER=n
|
||||
CONFIG_SYSTEM_USBMSC_TRACEINTERRUPTS=n
|
||||
|
||||
#
|
||||
# Settings for examples/usbterm
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue