Lincoln60: Add GPIO definitions for the microSD slot
This commit is contained in:
parent
b26dbe3ec6
commit
1c6c76033a
|
@ -41,6 +41,13 @@ Lincoln 60 board
|
|||
P3[26] 26 LED2
|
||||
P2[10] 53 BTN1
|
||||
|
||||
microSD PIN SIGNAL NAME
|
||||
-------------------------------- ----- --------------
|
||||
P0[15] J12 3 SPI SCK
|
||||
P0[17] J12 4 SPI MISO
|
||||
P0[18] J12 5 SPI MOSI
|
||||
P0[16] J18 5 SPI slave select
|
||||
|
||||
Console
|
||||
-------
|
||||
|
||||
|
|
|
@ -69,12 +69,25 @@
|
|||
* P2[10] 53 BTN1
|
||||
****************************************************************************/
|
||||
|
||||
#define LINCOLN60_BUT1 (GPIO_INTBOTH | GPIO_FLOAT | GPIO_PORT2 | GPIO_PIN10)
|
||||
#define LINCOLN60_BUT1 (GPIO_INTBOTH | GPIO_FLOAT | GPIO_PORT2 | \
|
||||
GPIO_PIN10)
|
||||
|
||||
/* Button IRQ numbers */
|
||||
|
||||
#define LINCOLN60_BUT1_IRQ LPC17_IRQ_P0p23
|
||||
|
||||
/****************************************************************************
|
||||
* microSD PIN SIGNAL NAME
|
||||
* -------------------------------- ----- --------------
|
||||
* P0[15] J12 3 SPI SCK
|
||||
* P0[17] J12 4 SPI MISO
|
||||
* P0[18] J12 5 SPI MOSI
|
||||
* P0[16] J18 5 SPI slave select
|
||||
****************************************************************************/
|
||||
|
||||
#define LINCOLN60_CS (GPIO_OUTPUT | GPIO_VALUE_ONE | \
|
||||
GPIO_PORT0 | GPIO_PIN16)
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
****************************************************************************/
|
||||
|
|
|
@ -253,7 +253,8 @@ FAR DIR *opendir(FAR const char *path)
|
|||
|
||||
/* Find the node matching the path. */
|
||||
|
||||
inode = inode_search(&path, (FAR struct inode**)NULL, (FAR struct inode**)NULL, &relpath);
|
||||
inode = inode_search(&path, (FAR struct inode**)NULL,
|
||||
(FAR struct inode**)NULL, &relpath);
|
||||
}
|
||||
|
||||
/* Did we get an inode? */
|
||||
|
|
Loading…
Reference in New Issue