From 511b5627044825ec9a74b8e232fb67ee1aef5259 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 25 Jul 2011 22:21:38 +0000 Subject: [PATCH] Add memory usage monitor to USB storage example git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3817 42af7a65-404d-4744-a932-0658087f49c3 --- configs/stm3210e-eval/nsh2/defconfig | 3 +++ configs/stm3210e-eval/usbstorage/defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/stm3210e-eval/nsh2/defconfig b/configs/stm3210e-eval/nsh2/defconfig index 7d0ae8eb3ec..0a6bc8ab332 100644 --- a/configs/stm3210e-eval/nsh2/defconfig +++ b/configs/stm3210e-eval/nsh2/defconfig @@ -1102,6 +1102,8 @@ CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT=n # CONFIG_EXAMPLES_USBSTRG_DEVMINOR3 and CONFIG_EXAMPLES_USBSTRG_DEVPATH3 # Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBSTRG_NLUNS # is 3. No defaults. +# CONFIG_EXAMPLES_USBSTRG_DEBUGMM +# Enables some debug tests to check for memory usage and memory leaks. # # If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then # the example code will also manage the USB trace output. The amount of trace output @@ -1122,6 +1124,7 @@ CONFIG_EXAMPLES_USBSTRG_BUILTIN=y CONFIG_EXAMPLES_USBSTRG_NLUNS=1 CONFIG_EXAMPLES_USBSTRG_DEVMINOR1=0 CONFIG_EXAMPLES_USBSTRG_DEVPATH1="/dev/mmcsd0" +CONFIG_EXAMPLES_USBSTRG_DEBUGMM=n CONFIG_EXAMPLES_USBSTRG_TRACEINIT=n CONFIG_EXAMPLES_USBSTRG_TRACECLASS=n CONFIG_EXAMPLES_USBSTRG_TRACETRANSFERS=n diff --git a/configs/stm3210e-eval/usbstorage/defconfig b/configs/stm3210e-eval/usbstorage/defconfig index a560b9a7b80..da24167c74b 100755 --- a/configs/stm3210e-eval/usbstorage/defconfig +++ b/configs/stm3210e-eval/usbstorage/defconfig @@ -858,6 +858,8 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n # CONFIG_EXAMPLES_USBSTRG_DEVMINOR3 and CONFIG_EXAMPLES_USBSTRG_DEVPATH3 # Similar parameters that would have to be provided if CONFIG_EXAMPLES_USBSTRG_NLUNS # is 3. No defaults. +# CONFIG_EXAMPLES_USBSTRG_DEBUGMM +# Enables some debug tests to check for memory usage and memory leaks. # # If CONFIG_USBDEV_TRACE is enabled (or CONFIG_DEBUG and CONFIG_DEBUG_USB), then # the example code will also manage the USB trace output. The amount of trace output @@ -878,6 +880,7 @@ CONFIG_EXAMPLES_USBSTRG_BUILTIN=n CONFIG_EXAMPLES_USBSTRG_NLUNS=1 CONFIG_EXAMPLES_USBSTRG_DEVMINOR1=0 CONFIG_EXAMPLES_USBSTRG_DEVPATH1="/dev/mmcsd0" +CONFIG_EXAMPLES_USBSTRG_DEBUGMM=n CONFIG_EXAMPLES_USBSTRG_TRACEINIT=n CONFIG_EXAMPLES_USBSTRG_TRACECLASS=n CONFIG_EXAMPLES_USBSTRG_TRACETRANSFERS=n