summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam3u-ek/src
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-02-07 15:27:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-02-07 15:27:28 +0000
commit4c244d824045e3fb137b56b89f4b7bde1293ed91 (patch)
tree05ac28ebe828bcb4ca86b342e4e6618be600ec95 /nuttx/configs/sam3u-ek/src
parentc9f28b71e3828cf6005a3055610b94ee9d32dc86 (diff)
downloadpx4-nuttx-4c244d824045e3fb137b56b89f4b7bde1293ed91.tar.gz
px4-nuttx-4c244d824045e3fb137b56b89f4b7bde1293ed91.tar.bz2
px4-nuttx-4c244d824045e3fb137b56b89f4b7bde1293ed91.zip
Move chip select GPIO to board-specific
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2535 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/sam3u-ek/src')
-rwxr-xr-xnuttx/configs/sam3u-ek/src/sam3uek_internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/configs/sam3u-ek/src/sam3uek_internal.h b/nuttx/configs/sam3u-ek/src/sam3uek_internal.h
index 0e816204b..21f57adfb 100755
--- a/nuttx/configs/sam3u-ek/src/sam3uek_internal.h
+++ b/nuttx/configs/sam3u-ek/src/sam3uek_internal.h
@@ -65,6 +65,11 @@
#define GPIO_BUTTON1 (GPIO_INPUT|GPIO_CFG_PULLUP|GPIO_CFG_DEGLITCH|GPIO_PORT_PIOA|GPIO_PIN18)
#define GPIO_BUTTON2 (GPIO_INPUT|GPIO_CFG_PULLUP|GPIO_CFG_DEGLITCH|GPIO_PORT_PIOA|GPIO_PIN19)
+/* SD Card Detect */
+
+#define GPIO_MCI_CD (GPIO_INPUT|GPIO_CFG_PULLUP|GPIO_PORT_PIOA|GPIO_PIN25)
+
+
#define IRQ_BUTTON1 SAM3U_IRQ_PA18
#define IRQ_BUTTON2 SAM3U_IRQ_PA19