summaryrefslogtreecommitdiff
path: root/nuttx/configs/nucleus2g/src/nucleus2g_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-06-23 22:00:29 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-06-23 22:00:29 +0000
commit1046c6bc457d8ae77b22adfef9e3b4f0b4c2a869 (patch)
tree18ab83ea532c1fb19f5f511e082919a71e2dda26 /nuttx/configs/nucleus2g/src/nucleus2g_internal.h
parent56b5a053b7b0dabcb48601c37962f1886287dbe2 (diff)
downloadpx4-nuttx-1046c6bc457d8ae77b22adfef9e3b4f0b4c2a869.tar.gz
px4-nuttx-1046c6bc457d8ae77b22adfef9e3b4f0b4c2a869.tar.bz2
px4-nuttx-1046c6bc457d8ae77b22adfef9e3b4f0b4c2a869.zip
Add SPI-based MMC/SD support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2761 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/nucleus2g/src/nucleus2g_internal.h')
-rwxr-xr-xnuttx/configs/nucleus2g/src/nucleus2g_internal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/configs/nucleus2g/src/nucleus2g_internal.h b/nuttx/configs/nucleus2g/src/nucleus2g_internal.h
index b03a6c770..775596e3e 100755
--- a/nuttx/configs/nucleus2g/src/nucleus2g_internal.h
+++ b/nuttx/configs/nucleus2g/src/nucleus2g_internal.h
@@ -118,6 +118,8 @@
#define NUCLEUS2G_5V_ENABLE (GPIO_OUTPUT | GPIO_VALUE_ONE | GPIO_PORT2 | GPIO_PIN13)
#define NUCLEUS2G_5V_DISABLE (GPIO_OUTPUT | GPIO_VALUE_ZERO | GPIO_PORT2 | GPIO_PIN13)
+#define NUCLEUS2G_MMCSD_CS (GPIO_OUTPUT | GPIO_VALUE_ONE | GPIO_PORT0 | GPIO_PIN16)
+
/************************************************************************************
* Public Types
************************************************************************************/
@@ -133,14 +135,14 @@
************************************************************************************/
/************************************************************************************
- * Name: lpc17_spiinitialize
+ * Name: lpc17_sspinitialize
*
* Description:
* Called to configure SPI chip select GPIO pins for the NUCLEUS-2G board.
*
************************************************************************************/
-extern void weak_function lpc17_spiinitialize(void);
+extern void weak_function lpc17_sspinitialize(void);
/************************************************************************************
* Name: lpc17_usbinitialize