2015-03-06 15:56:44 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2015-03-06 15:56:44 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
if ARCH_BOARD_SAMV71_XULT
|
2015-03-13 16:27:16 +01:00
|
|
|
|
2015-03-30 23:31:53 +02:00
|
|
|
config SAMV71XULT_MXTXPLND
|
|
|
|
bool "MaXTouch Xplained connected"
|
|
|
|
default n
|
|
|
|
|
2017-07-02 19:04:57 +02:00
|
|
|
config SAMV71XULT_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 SAMV71XULT_MB1_SPI
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMV71XULT_MB2_SPI
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Bee mikroBUS"
|
|
|
|
depends on SAMV71XULT_CLICKSHIELD && IEEE802154_MRF24J40
|
|
|
|
default SAMV71XULT_MB1_BEE
|
|
|
|
|
|
|
|
config SAMV71XULT_MB1_BEE
|
|
|
|
bool "MRF24J40 Bee in mikroBUS1"
|
|
|
|
select SAMV71XULT_MB1_SPI
|
|
|
|
|
|
|
|
config SAMV71XULT_MB2_BEE
|
|
|
|
bool "MRF24J40 Bee in mikroBUS2"
|
|
|
|
select SAMV71XULT_MB2_SPI
|
|
|
|
|
|
|
|
endchoice # Bee mikroBUS
|
|
|
|
|
2015-03-30 23:31:53 +02:00
|
|
|
if SAMV71XULT_MXTXPLND
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "MaXTouch Xplained connection"
|
|
|
|
default SAMV71XULT_MXTXPLND_EXT1
|
|
|
|
|
|
|
|
config SAMV71XULT_MXTXPLND_EXT1
|
2015-03-31 17:01:38 +02:00
|
|
|
bool "Connected on EXT1 (2x10 pin)"
|
2015-04-03 18:28:32 +02:00
|
|
|
depends on EXPERIMENTAL
|
2015-03-30 23:31:53 +02:00
|
|
|
|
|
|
|
config SAMV71XULT_MXTXPLND_EXT2
|
2015-03-31 17:01:38 +02:00
|
|
|
bool "Connected on EXT2 (2x10 pin)"
|
2015-04-03 18:28:32 +02:00
|
|
|
depends on EXPERIMENTAL
|
2015-03-31 17:01:38 +02:00
|
|
|
|
|
|
|
config SAMV71XULT_MXTXPLND_LCD
|
|
|
|
bool "Connected on LCD (50-pin)"
|
2015-03-30 23:31:53 +02:00
|
|
|
|
|
|
|
endchoice # MaXTouch Xplained connection
|
|
|
|
|
|
|
|
if INPUT_MXT
|
|
|
|
|
2015-05-13 01:46:59 +02:00
|
|
|
config SAMV71XULT_MXT_SWAPXY
|
2015-05-13 02:57:30 +02:00
|
|
|
bool "Swap X/Y coordinates"
|
2015-05-13 01:46:59 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If you are working in a landscape orientation, it should be
|
|
|
|
necessary to swap X/Y coordinates. But you will probably want
|
|
|
|
to do this in any portrait orientation.
|
|
|
|
|
2015-03-30 23:31:53 +02:00
|
|
|
config SAMV71XULT_MXT_I2CFREQUENCY
|
|
|
|
int "maXTouch I2C frequency"
|
|
|
|
default 400000
|
|
|
|
|
|
|
|
config SAMV71XULT_MXT_DEVMINOR
|
|
|
|
int "/dev/input minor number"
|
|
|
|
default 0
|
|
|
|
|
|
|
|
endif # INPUT_MXT
|
2015-04-03 18:28:32 +02:00
|
|
|
|
|
|
|
if LCD
|
|
|
|
|
|
|
|
config SAMV71XULT_LCD_BGCOLOR
|
|
|
|
hex "Initial background color"
|
|
|
|
default 0x00
|
|
|
|
|
|
|
|
endif # LCD
|
|
|
|
|
2015-03-30 23:31:53 +02:00
|
|
|
endif # SAMV71XULT_MXTXPLND
|
|
|
|
|
|
|
|
config SAMV71XULT_HSMCI0_AUTOMOUNT
|
2015-03-13 16:27:16 +01:00
|
|
|
bool "HSMCI0 automounter"
|
|
|
|
default n
|
2020-02-18 14:51:04 +01:00
|
|
|
depends on FS_AUTOMOUNTER && SAMV7_HSMCI0
|
2015-03-13 16:27:16 +01:00
|
|
|
|
2015-03-30 23:31:53 +02:00
|
|
|
if SAMV71XULT_HSMCI0_AUTOMOUNT
|
2015-03-13 16:27:16 +01:00
|
|
|
|
2015-03-30 23:31:53 +02:00
|
|
|
config SAMV71XULT_HSMCI0_AUTOMOUNT_FSTYPE
|
2015-03-13 16:27:16 +01:00
|
|
|
string "HSMCI0 file system type"
|
|
|
|
default "vfat"
|
|
|
|
|
2015-03-30 23:31:53 +02:00
|
|
|
config SAMV71XULT_HSMCI0_AUTOMOUNT_BLKDEV
|
2015-03-13 16:27:16 +01:00
|
|
|
string "HSMCI0 block device"
|
|
|
|
default "/dev/mmcsd0"
|
|
|
|
|
2015-03-30 23:31:53 +02:00
|
|
|
config SAMV71XULT_HSMCI0_AUTOMOUNT_MOUNTPOINT
|
2015-03-13 16:27:16 +01:00
|
|
|
string "HSMCI0 mount point"
|
|
|
|
default "/mnt/sdcard0"
|
|
|
|
|
2015-03-30 23:31:53 +02:00
|
|
|
config SAMV71XULT_HSMCI0_AUTOMOUNT_DDELAY
|
2015-03-13 16:27:16 +01:00
|
|
|
int "HSMCI0 debounce delay (milliseconds)"
|
|
|
|
default 1000
|
|
|
|
|
2015-03-30 23:31:53 +02:00
|
|
|
config SAMV71XULT_HSMCI0_AUTOMOUNT_UDELAY
|
2015-03-13 16:27:16 +01:00
|
|
|
int "HSMCI0 unmount retry delay (milliseconds)"
|
|
|
|
default 2000
|
|
|
|
|
2015-03-30 23:31:53 +02:00
|
|
|
endif # SAMV71XULT_HSMCI0_AUTOMOUNT
|
2015-03-13 16:27:16 +01:00
|
|
|
|
2015-04-01 20:13:51 +02:00
|
|
|
if AUDIO_WM8904
|
|
|
|
|
|
|
|
config SAMV71XULT_WM8904_I2CFREQUENCY
|
|
|
|
int "WM8904 I2C Frequency"
|
|
|
|
default 400000
|
|
|
|
range 1 400000
|
|
|
|
---help---
|
|
|
|
This option selects the I2C frequency to use when communicating with
|
|
|
|
the WM8904 device. The default, 400KHz, is the maximum supported by
|
|
|
|
the WM8904. If you have problems communicating with the WM8904,
|
|
|
|
then you might want to try lowering this rate.
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "WM8904 MCLK source"
|
|
|
|
default SAMV71XULT_WM8904_SRCMAIN
|
|
|
|
|
|
|
|
config SAMV71XULT_WM8904_SRCMAIN
|
|
|
|
bool "Main Clock (12MHz)"
|
|
|
|
|
|
|
|
config SAMV71XULT_WM8904_SRCSCK
|
|
|
|
bool "Slow XTAL (32.768KHz)"
|
|
|
|
select SAMV71XULT_SLOWCLOCK
|
|
|
|
|
|
|
|
endchoice # WM8904 MCLK source
|
|
|
|
endif # AUDIO_WM8904
|
|
|
|
|
2015-03-06 15:56:44 +01:00
|
|
|
endif # ARCH_BOARD_SAMV71_XULT
|