summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-05 14:46:04 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-05 14:46:04 +0000
commit2f6ff23170be952702278336d624b1cb88651e84 (patch)
tree732e98804a6178d18323c3e102f241d27845ba9f /nuttx/arch/arm/src/lpc17xx/Kconfig
parent8519cad9b7e4d81618d367bea59fb82ded5a07dc (diff)
downloadpx4-nuttx-2f6ff23170be952702278336d624b1cb88651e84.tar.gz
px4-nuttx-2f6ff23170be952702278336d624b1cb88651e84.tar.bz2
px4-nuttx-2f6ff23170be952702278336d624b1cb88651e84.zip
Open1788 uses SDIO-based SD card (not SPI); clone STM32 SDIO interface to LPC17xx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5708 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/Kconfig')
-rw-r--r--nuttx/arch/arm/src/lpc17xx/Kconfig49
1 files changed, 49 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/Kconfig b/nuttx/arch/arm/src/lpc17xx/Kconfig
index 3d4c8b4e5..81ca87f04 100644
--- a/nuttx/arch/arm/src/lpc17xx/Kconfig
+++ b/nuttx/arch/arm/src/lpc17xx/Kconfig
@@ -61,6 +61,7 @@ config ARCH_CHIP_LPC1769
config ARCH_CHIP_LPC1773
bool "LPC1773"
select ARCH_FAMILY_LPC177X
+ select ARCH_HAVE_SPIFI
config ARCH_CHIP_LPC1774
bool "LPC1774"
@@ -108,6 +109,7 @@ config ARCH_FAMILY_LPC177X
select ARCH_HAVE_EXTSRAM0
select ARCH_HAVE_EXTDRAM
select ARCH_HAVE_EXTNOR
+ select ARCH_HAVE_SDIO
config ARCH_FAMILY_LPC178X
bool
@@ -115,6 +117,13 @@ config ARCH_FAMILY_LPC178X
select ARCH_HAVE_EXTSRAM0
select ARCH_HAVE_EXTDRAM
select ARCH_HAVE_EXTNOR
+ select ARCH_HAVE_SDIO
+
+config ARCH_HAVE_SPIFI
+ bool
+
+config ARCH_HAVE_SDIO
+ bool
menu "LPC17xx Peripheral Support"
@@ -156,6 +165,11 @@ config LPC17_USBOTG
default n
depends on LPC17_USBHOST && LPC17_USBDEV
+config LPC17_SDCARD
+ bool "SD Card Interface"
+ depends on ARCH_HAVE_SDIO
+ default n
+
config LPC17_UART0
bool "UART0"
select ARCH_HAVE_UART0
@@ -197,6 +211,11 @@ config LPC17_SSP1
bool "SSP1"
default n
+config LPC17_SPIFI
+ bool "SPIFI Interface"
+ depends on ARCH_HAVE_SPIFI
+ default n
+
config LPC17_I2C0
bool "I2C0"
default n
@@ -437,6 +456,36 @@ config I2C2_FREQ
endmenu
+menu "SDIO Configuration"
+ depends on LPC17_SDCARD
+
+config SDIO_DMA
+ bool "Support DMA data transfers"
+ default y if LPC17_GPDMA
+ depends on LPC17_GPDMA
+ ---help---
+ Support DMA data transfers.
+ Enable SD card DMA data transfers. This is a marginally optional.
+ For most usages, SD accesses will cause data overruns if used without
+ DMA. Requires LPC17_SDCARD and config LPC17_GPDMA.
+
+config SDIO_DMAPRIO
+ hex "SDIO DMA priority"
+ default 0x0
+ depends on LPC17_GPDMA
+ ---help---
+ Select SDIO DMA prority.
+
+config SDIO_WIDTH_D1_ONLY
+ bool "Use D1 only"
+ default n
+ ---help---
+ Select 1-bit transfer mode. This may be selected to force the driver
+ operate with only a single data line (the default is to use all
+ 4 SD data lines).Default: 4-bit transfer mode.
+
+endmenu
+
menu "Ethernet driver options"
config PHY_AUTONEG