From e24fd9790687a383912a934135e545b605fa4adc Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 1 Sep 2013 11:52:21 -0600 Subject: Misc USB device changes reated to SAMA5, trace support, and USB monitoring --- nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h') diff --git a/nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h b/nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h index dd77e0f66..dbbba55fd 100644 --- a/nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h +++ b/nuttx/configs/sama5d3x-ek/src/sama5d3x-ek.h @@ -59,6 +59,7 @@ #define HAVE_AT25_MTD 1 #define HAVE_USBHOST 1 #define HAVE_USBDEV 1 +#define HAVE_USBMONITOR 1 /* HSMCI */ /* Can't support MMC/SD if the card interface(s) are not enable */ @@ -143,6 +144,13 @@ # undef HAVE_USBHOST #endif +/* Check if we should enable the USB monitor before starting NSH */ + +#if !defined(HAVE_USBDEV) || !defined(CONFIG_USBDEV_TRACE) || \ + !defined(CONFIG_SYSTEM_USBMONITOR) +# undef HAVE_USBMONITOR +#endif + /* LEDs *****************************************************************************/ /* There are two LEDs on the SAMA5D3 series-CM board that can be controlled * by software. A blue LED is controlled via PIO pins. A red LED normally -- cgit v1.2.3