From 1046c6bc457d8ae77b22adfef9e3b4f0b4c2a869 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 23 Jun 2010 22:00:29 +0000 Subject: Add SPI-based MMC/SD support git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2761 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/nucleus2g/src/nucleus2g_internal.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nuttx/configs/nucleus2g/src/nucleus2g_internal.h') 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 -- cgit v1.2.3