2019-04-22 16:31:02 +02:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
2019-06-13 17:04:33 +02:00
|
|
|
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.
|
|
|
|
|
2019-09-17 13:41:10 +02:00
|
|
|
config SPRESENSE_EXTENSION
|
|
|
|
bool "Extension board"
|
|
|
|
default n
|
|
|
|
select CXD56_CUSTOM_PINCONFIG
|
|
|
|
---help---
|
|
|
|
Indicates to the configuration that an SPresense extension board is
|
|
|
|
present. If there is no extension board attached, the SPresense
|
|
|
|
may run in a low-power mode by default (as determined by the
|
|
|
|
CONFIG_CXD56_CUSTOM_PINCONFIG option). If an extension board is
|
|
|
|
present, then the SPresense will need to run at a higher power mode,
|
|
|
|
selected by this option.
|
|
|
|
|
2019-10-24 16:26:02 +02:00
|
|
|
if SPRESENSE_EXTENSION
|
2019-06-12 15:23:39 +02:00
|
|
|
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
|
2019-10-24 16:26:02 +02:00
|
|
|
endif # SPRESENSE_EXTENSION
|
2019-06-12 15:23:39 +02:00
|
|
|
|
2019-07-03 14:24:13 +02:00
|
|
|
if LCD
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "LCD SPI connection"
|
|
|
|
default LCD_ON_EXTENSION_BOARD
|
|
|
|
|
|
|
|
config LCD_ON_EXTENSION_BOARD
|
|
|
|
bool "Extension board: SPI4"
|
|
|
|
select CXD56_SPI4
|
2020-01-08 11:51:11 +01:00
|
|
|
select CXD56_DMAC_SPI4_TX
|
|
|
|
select CXD56_DMAC_SPI4_RX
|
2019-07-03 14:24:13 +02:00
|
|
|
---help---
|
|
|
|
Display connected to extension board.
|
|
|
|
|
|
|
|
config LCD_ON_MAIN_BOARD
|
|
|
|
bool "Main board: SPI5"
|
|
|
|
select CXD56_SPI5
|
2020-01-08 11:51:11 +01:00
|
|
|
select CXD56_DMAC_SPI5_TX
|
|
|
|
select CXD56_DMAC_SPI5_RX
|
2019-07-03 14:24:13 +02:00
|
|
|
---help---
|
|
|
|
Display connected to main board.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
endif
|
2019-10-23 16:43:45 +02:00
|
|
|
config CXD56_IMAGEPROC
|
|
|
|
bool "Spresense Image Processor"
|
|
|
|
default n
|
|
|
|
select CXD56_GE2D
|
|
|
|
---help---
|
|
|
|
Enable support for accelerated format convertor, rotation and so on.
|
|
|
|
using the CXD5602 image processing accelerator.
|
|
|
|
|
2019-10-21 16:14:33 +02:00
|
|
|
comment "LTE Options"
|
|
|
|
|
|
|
|
menuconfig CXD56_LTE
|
|
|
|
bool "LTE"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if CXD56_LTE
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "LTE SPI selection"
|
|
|
|
default CXD56_LTE_SPI4
|
|
|
|
|
|
|
|
config CXD56_LTE_SPI4
|
|
|
|
bool "Use SPI4"
|
|
|
|
select CXD56_SPI4
|
|
|
|
|
|
|
|
config CXD56_LTE_SPI5
|
|
|
|
bool "Use SPI5"
|
|
|
|
select CXD56_SPI5
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
if CXD56_LTE_SPI4
|
|
|
|
|
|
|
|
config CXD56_LTE_SPI4_DMAC
|
|
|
|
bool "Use DMAC for SPI4"
|
|
|
|
default y
|
|
|
|
select CXD56_DMAC_SPI4_TX
|
|
|
|
select CXD56_DMAC_SPI4_RX
|
|
|
|
|
|
|
|
endif # CXD56_LTE_SPI4
|
|
|
|
|
|
|
|
if CXD56_LTE_SPI5
|
|
|
|
|
|
|
|
config CXD56_LTE_SPI5_DMAC
|
|
|
|
bool "Use DMAC for SPI5"
|
|
|
|
default y
|
|
|
|
select CXD56_DMAC_SPI5_TX
|
|
|
|
select CXD56_DMAC_SPI5_RX
|
|
|
|
|
|
|
|
endif # CXD56_LTE_SPI4
|
|
|
|
|
|
|
|
endif # CXD56_LTE
|
|
|
|
|
2019-04-22 16:31:02 +02:00
|
|
|
endif
|