summaryrefslogtreecommitdiff
path: root/nuttx/configs/fire-stm32v2
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-06-12 17:32:00 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-06-12 17:32:00 -0600
commit3980a00ab75c580d1f4246a9be226631832c9e6e (patch)
tree1d8e177d23a39c0fe30e44cc1843cb3f4d737021 /nuttx/configs/fire-stm32v2
parent5633c904e72b25119bbd9056bc0951ef9f6ad88e (diff)
downloadpx4-nuttx-3980a00ab75c580d1f4246a9be226631832c9e6e.tar.gz
px4-nuttx-3980a00ab75c580d1f4246a9be226631832c9e6e.tar.bz2
px4-nuttx-3980a00ab75c580d1f4246a9be226631832c9e6e.zip
Remove CONFIG_XYZ_BUILTIN configurations, replace with the single CONFIG_NSH_BUILTIN_APPS. Add SAM3/4 sam_periphclks.h which is just a header file that includes the right header file. Misc SAM3U-EK cleanup
Diffstat (limited to 'nuttx/configs/fire-stm32v2')
-rw-r--r--nuttx/configs/fire-stm32v2/nsh/defconfig2
-rw-r--r--nuttx/configs/fire-stm32v2/src/up_usbmsc.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/nuttx/configs/fire-stm32v2/nsh/defconfig b/nuttx/configs/fire-stm32v2/nsh/defconfig
index e9df03b99..f1a89316b 100644
--- a/nuttx/configs/fire-stm32v2/nsh/defconfig
+++ b/nuttx/configs/fire-stm32v2/nsh/defconfig
@@ -773,7 +773,6 @@ CONFIG_EXAMPLES_NSH=y
# USB Mass Storage Class Example
#
CONFIG_EXAMPLES_USBMSC=y
-CONFIG_EXAMPLES_USBMSC_BUILTIN=y
CONFIG_EXAMPLES_USBMSC_NLUNS=1
CONFIG_EXAMPLES_USBMSC_DEVMINOR1=0
CONFIG_EXAMPLES_USBMSC_DEVPATH1="/dev/mmcsd0"
@@ -996,7 +995,6 @@ CONFIG_NSH_NOMAC=y
# I2C tool
#
CONFIG_SYSTEM_I2CTOOL=y
-CONFIG_I2CTOOL_BUILTIN=y
CONFIG_I2CTOOL_MINBUS=1
CONFIG_I2CTOOL_MAXBUS=2
CONFIG_I2CTOOL_MINADDR=0x03
diff --git a/nuttx/configs/fire-stm32v2/src/up_usbmsc.c b/nuttx/configs/fire-stm32v2/src/up_usbmsc.c
index 98c06336f..3a1ebe0e0 100644
--- a/nuttx/configs/fire-stm32v2/src/up_usbmsc.c
+++ b/nuttx/configs/fire-stm32v2/src/up_usbmsc.c
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/fire-stm32v2/src/up_usbmsc.c
*
- * Copyright (C) 2012 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2012, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Configure and register the STM32 SPI-based MMC/SD block driver.
@@ -95,7 +95,7 @@ int usbmsc_archinitialize(void)
* this case, there is nothing further to be done here.
*/
-#ifndef CONFIG_EXAMPLES_USBMSC_BUILTIN
+#ifndef CONFIG_NSH_BUILTIN_APPS
return stm32_sdinitialize(CONFIG_EXAMPLES_USBMSC_DEVMINOR1);
#else
return OK;