nuttx/boards/arm/samv7/same70-xplained/Kconfig
Kevin Liu 6c31a72e2b boards/arm/samv7: Add automounter and reset
This commit adds automounter and BOARDCTRL_RESET support for SAMV71 and verified on Atmel SAMV71-XULT.  Also, some fixes of Kconfig and missing uerr/uinfo definition.
2020-02-18 07:51:04 -06:00

94 lines
2.1 KiB
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_SAME70_XPLAINED
config SAME70XPLAINED_CLICKSHIELD
bool "Mikroe Click Shield"
default n
---help---
In the mrf24j40-starhub configuration, a click shield from
MikroElectronika was used along with a Click "Bee" module. The
click shield supports two click shields.
config SAME70XPLAINED_MB1_SPI
bool
default n
config SAME70XPLAINED_MB2_SPI
bool
default n
choice
prompt "mikroBUS1 Click"
depends on SAME70XPLAINED_CLICKSHIELD
default SAME70XPLAINED_MB1_NONE
config SAME70XPLAINED_MB1_NONE
bool "None"
config SAME70XPLAINED_MB1_BEE
bool "MRF24J40 Bee in mikroBUS1"
depends on IEEE802154_MRF24J40
select SAME70XPLAINED_MB1_SPI
config SAME70XPLAINED_MB1_XBEE
bool "XBee in mikroBUS1"
depends on IEEE802154_XBEE
select SAME70XPLAINED_MB1_SPI
endchoice # mikroBUS1 Click
choice
prompt "mikroBUS2 Click"
depends on SAME70XPLAINED_CLICKSHIELD
default SAME70XPLAINED_MB2_NONE
config SAME70XPLAINED_MB2_NONE
bool "None"
config SAME70XPLAINED_MB2_BEE
bool "MRF24J40 Bee in mikroBUS2"
depends on IEEE802154_MRF24J40
select SAME70XPLAINED_MB2_SPI
config SAME70XPLAINED_MB2_XBEE
bool "XBee in mikroBUS2"
depends on IEEE802154_XBEE
select SAME70XPLAINED_MB2_SPI
endchoice # mikroBUS2 Click
config SAME70XPLAINED_HSMCI0_AUTOMOUNT
bool "HSMCI0 automounter"
default n
depends on FS_AUTOMOUNTER && SAMV7_HSMCI0
if SAME70XPLAINED_HSMCI0_AUTOMOUNT
config SAME70XPLAINED_HSMCI0_AUTOMOUNT_FSTYPE
string "HSMCI0 file system type"
default "vfat"
config SAME70XPLAINED_HSMCI0_AUTOMOUNT_BLKDEV
string "HSMCI0 block device"
default "/dev/mmcsd0"
config SAME70XPLAINED_HSMCI0_AUTOMOUNT_MOUNTPOINT
string "HSMCI0 mount point"
default "/mnt/sdcard0"
config SAME70XPLAINED_HSMCI0_AUTOMOUNT_DDELAY
int "HSMCI0 debounce delay (milliseconds)"
default 1000
config SAME70XPLAINED_HSMCI0_AUTOMOUNT_UDELAY
int "HSMCI0 unmount retry delay (milliseconds)"
default 2000
endif # SAME70XPLAINED_HSMCI0_AUTOMOUNT
endif # ARCH_BOARD_SAME70_XPLAINED