Add MTD interface; add M25P64/128 driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2157 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
98ec3ad84b
commit
b848b0e86b
@ -72,11 +72,11 @@
|
|||||||
|
|
||||||
/* MMC/SD SPI1 chip select: PC.12 */
|
/* MMC/SD SPI1 chip select: PC.12 */
|
||||||
|
|
||||||
#define GPIO_MMCSD_CS (GPIO_OUTPUT|GPIO_CNF_OUTPP|GPIO_MODE_50MHz|GPIO_OUTPUT_CLEAR|GPIO_PORTC|GPIO_PIN12)
|
#define GPIO_MMCSD_CS (GPIO_OUTPUT|GPIO_CNF_OUTPP|GPIO_MODE_50MHz|GPIO_OUTPUT_SET|GPIO_PORTC|GPIO_PIN12)
|
||||||
|
|
||||||
/* SPI FLASH chip select: PA.4 */
|
/* SPI FLASH chip select: PA.4 */
|
||||||
|
|
||||||
#define GPIO_FLASH_CS (GPIO_OUTPUT|GPIO_CNF_OUTPP|GPIO_MODE_50MHz|GPIO_OUTPUT_CLEAR|GPIO_PORTA|GPIO_PIN4)
|
#define GPIO_FLASH_CS (GPIO_OUTPUT|GPIO_CNF_OUTPP|GPIO_MODE_50MHz|GPIO_OUTPUT_SET|GPIO_PORTA|GPIO_PIN4)
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
|
Loading…
Reference in New Issue
Block a user