nuttx/configs/spresense/Kconfig
Alin Jerpelea a5418405d7 Merged in alinjerpelea/nuttx (pull request #897)
configs: spresense: enable SPI Flash

* arch: arm: cxd56xx: organize menu items

    Group all CXD56xx Options in one menu

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arch: arm: cxd56xx: add Storage Options menu

    Add Storage Options menu and Peripheral Support comment

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* arch: arm: cxd56xx: add SPI Flash support

    add SPI Flash support for cxd56xx

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* configs: spresense: enable SPI Flash

    Enable SPI Flash on spresense board

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-13 15:04:33 +00:00

40 lines
836 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
if ARCH_BOARD_SPRESENSE
config CXD56_SPIFLASHSIZE
hex
default 0x400000
depends on CXD56_SFC
---help---
Specify the SPI flash total available size for the application.
This value is generally set half of SPI flash device capacity.
config SDCARD_TXS02612
bool "SD Card TXS02612 port expander with voltage level translation"
default y
---help---
Enable TXS02612 Dual Voltage Level Translator for SD-Card interface.
This device is used in SPD-003C board.
if SDCARD_TXS02612
choice
prompt "TXS02612 port"
default SDCARD_TXS02612_PORT0
config SDCARD_TXS02612_PORT0
bool "Port 0"
config SDCARD_TXS02612_PORT1
bool "Port 1"
endchoice # "TXS02612 port"
endif # SDCARD_TXS02612
endif