2015-11-18 20:54:57 +01: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_SAME70_XPLAINED
|
|
|
|
|
2017-07-04 22:31:26 +02:00
|
|
|
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
|
2017-11-01 21:15:21 +01:00
|
|
|
prompt "mikroBUS1 Click"
|
|
|
|
depends on SAME70XPLAINED_CLICKSHIELD
|
|
|
|
default SAME70XPLAINED_MB1_NONE
|
|
|
|
|
|
|
|
config SAME70XPLAINED_MB1_NONE
|
|
|
|
bool "None"
|
2017-07-04 22:31:26 +02:00
|
|
|
|
|
|
|
config SAME70XPLAINED_MB1_BEE
|
|
|
|
bool "MRF24J40 Bee in mikroBUS1"
|
2017-11-01 21:15:21 +01:00
|
|
|
depends on IEEE802154_MRF24J40
|
|
|
|
select SAME70XPLAINED_MB1_SPI
|
|
|
|
|
|
|
|
config SAME70XPLAINED_MB1_XBEE
|
|
|
|
bool "XBee in mikroBUS1"
|
|
|
|
depends on IEEE802154_XBEE
|
2017-07-04 22:31:26 +02:00
|
|
|
select SAME70XPLAINED_MB1_SPI
|
|
|
|
|
2017-11-01 21:15:21 +01:00
|
|
|
endchoice # mikroBUS1 Click
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "mikroBUS2 Click"
|
|
|
|
depends on SAME70XPLAINED_CLICKSHIELD
|
|
|
|
default SAME70XPLAINED_MB2_NONE
|
|
|
|
|
|
|
|
config SAME70XPLAINED_MB2_NONE
|
|
|
|
bool "None"
|
|
|
|
|
2017-07-04 22:31:26 +02:00
|
|
|
config SAME70XPLAINED_MB2_BEE
|
|
|
|
bool "MRF24J40 Bee in mikroBUS2"
|
2017-11-01 21:15:21 +01:00
|
|
|
depends on IEEE802154_MRF24J40
|
|
|
|
select SAME70XPLAINED_MB2_SPI
|
|
|
|
|
|
|
|
config SAME70XPLAINED_MB2_XBEE
|
|
|
|
bool "XBee in mikroBUS2"
|
|
|
|
depends on IEEE802154_XBEE
|
2017-07-04 22:31:26 +02:00
|
|
|
select SAME70XPLAINED_MB2_SPI
|
|
|
|
|
2017-11-01 21:15:21 +01:00
|
|
|
endchoice # mikroBUS2 Click
|
2017-07-04 22:31:26 +02:00
|
|
|
|
2015-11-18 20:54:57 +01:00
|
|
|
config SAME70XPLAINED_HSMCI0_AUTOMOUNT
|
|
|
|
bool "HSMCI0 automounter"
|
|
|
|
default n
|
2020-02-18 14:51:04 +01:00
|
|
|
depends on FS_AUTOMOUNTER && SAMV7_HSMCI0
|
2015-11-18 20:54:57 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2021-11-24 13:46:24 +01:00
|
|
|
config SAME70XPLAINED_PROGMEM_OTA_PARTITION
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select MTD
|
|
|
|
select MTD_BYTE_WRITE
|
|
|
|
select MTD_PARTITION
|
|
|
|
select MTD_PROGMEM
|
|
|
|
select MTD_PROGMEM_ERASESTATE
|
|
|
|
|
|
|
|
menuconfig SAME70XPLAINED_APP_FORMAT_MCUBOOT
|
|
|
|
bool "MCUboot-bootable format"
|
|
|
|
default n
|
|
|
|
select SAME70XPLAINED_PROGMEM_OTA_PARTITION
|
|
|
|
---help---
|
|
|
|
The MCUboot support of loading the firmware images.
|
|
|
|
|
|
|
|
if SAME70XPLAINED_APP_FORMAT_MCUBOOT
|
|
|
|
|
|
|
|
config SAME70XPLAINED_MCUBOOT_BOOTLOADER
|
|
|
|
bool "MCUboot bootloader application"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This switch between linker scripts to allow an application be
|
|
|
|
built to another entry point address.
|
|
|
|
|
|
|
|
comment "MCUboot Application Image OTA Update support"
|
|
|
|
|
|
|
|
config SAME70XPLAINED_OTA_PRIMARY_SLOT_OFFSET
|
|
|
|
hex "MCUboot application image primary slot offset"
|
|
|
|
default "0x20000"
|
|
|
|
|
|
|
|
config SAME70XPLAINED_OTA_PRIMARY_SLOT_DEVPATH
|
|
|
|
string "Application image primary slot device path"
|
|
|
|
default "/dev/ota0"
|
|
|
|
|
|
|
|
config SAME70XPLAINED_OTA_SECONDARY_SLOT_OFFSET
|
|
|
|
hex "MCUboot application image secondary slot offset"
|
|
|
|
default "0x100000"
|
|
|
|
|
|
|
|
config SAME70XPLAINED_OTA_SECONDARY_SLOT_DEVPATH
|
|
|
|
string "Application image secondary slot device path"
|
|
|
|
default "/dev/ota1"
|
|
|
|
|
|
|
|
config SAME70XPLAINED_OTA_SLOT_SIZE
|
|
|
|
hex "MCUboot application image slot size (in bytes)"
|
|
|
|
default "0xe0000"
|
|
|
|
|
|
|
|
config SAME70XPLAINED_OTA_SCRATCH_OFFSET
|
|
|
|
hex "MCUboot scratch partition offset"
|
|
|
|
default "0x1e0000"
|
|
|
|
|
|
|
|
config SAME70XPLAINED_OTA_SCRATCH_DEVPATH
|
|
|
|
string "Scratch partition device path"
|
|
|
|
default "/dev/otascratch"
|
|
|
|
|
|
|
|
config SAME70XPLAINED_OTA_SCRATCH_SIZE
|
|
|
|
hex "MCUboot scratch partition size (in bytes)"
|
|
|
|
default "0x20000"
|
|
|
|
|
|
|
|
endif # SAME70XPLAINED_APP_FORMAT_MCUBOOT
|
|
|
|
|
2015-11-18 20:54:57 +01:00
|
|
|
endif # ARCH_BOARD_SAME70_XPLAINED
|