2021-12-12 00:51:31 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfiglanguage.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2022-08-12 12:43:01 +02:00
|
|
|
config SAMV7_GPIO_ENC
|
|
|
|
bool "GPIO driver based encoder"
|
|
|
|
default n
|
|
|
|
depends on SENSORS_QENCODER
|
|
|
|
---help---
|
|
|
|
This options allows the usage of an encoder based on a GPIO driver.
|
|
|
|
The encoder is initialized by sam_gpio_enc_init() function call
|
|
|
|
from board specific bringup code.
|
|
|
|
|
2021-12-31 01:39:28 +01:00
|
|
|
config SAMV7_HSMCI0_AUTOMOUNT
|
|
|
|
bool "HSMCI0 automounter"
|
|
|
|
default n
|
|
|
|
depends on FS_AUTOMOUNTER && SAMV7_HSMCI0
|
|
|
|
|
|
|
|
if SAMV7_HSMCI0_AUTOMOUNT
|
|
|
|
|
|
|
|
config SAMV7_HSMCI0_AUTOMOUNT_FSTYPE
|
|
|
|
string "HSMCI0 file system type"
|
|
|
|
default "vfat"
|
|
|
|
|
|
|
|
config SAMV7_HSMCI0_AUTOMOUNT_BLKDEV
|
|
|
|
string "HSMCI0 block device"
|
|
|
|
default "/dev/mmcsd0"
|
|
|
|
|
|
|
|
config SAMV7_HSMCI0_AUTOMOUNT_MOUNTPOINT
|
|
|
|
string "HSMCI0 mount point"
|
|
|
|
default "/mnt/sdcard0"
|
|
|
|
|
|
|
|
config SAMV7_HSMCI0_AUTOMOUNT_DDELAY
|
|
|
|
int "HSMCI0 debounce delay (milliseconds)"
|
|
|
|
default 1000
|
|
|
|
|
|
|
|
config SAMV7_HSMCI0_AUTOMOUNT_UDELAY
|
|
|
|
int "HSMCI0 unmount retry delay (milliseconds)"
|
|
|
|
default 2000
|
|
|
|
|
|
|
|
endif # SAMV7_HSMCI0_AUTOMOUNT
|
|
|
|
|
2022-01-23 23:07:28 +01:00
|
|
|
config SAMV7_HSMCI0_MOUNT
|
|
|
|
bool "HSMCI0 boot mount"
|
|
|
|
default n
|
|
|
|
depends on !DISABLE_MOUNTPOINT && SAMV7_HSMCI0 && !SAMV7_HSMCI0_AUTOMOUNT
|
|
|
|
|
|
|
|
if SAMV7_HSMCI0_MOUNT
|
|
|
|
|
|
|
|
config SAMV7_HSMCI0_MOUNT_FSTYPE
|
|
|
|
string "HSMCI0 file system type"
|
|
|
|
default "vfat"
|
|
|
|
|
|
|
|
config SAMV7_HSMCI0_MOUNT_BLKDEV
|
|
|
|
string "HSMCI0 block device"
|
|
|
|
default "/dev/mmcsd0"
|
|
|
|
|
|
|
|
config SAMV7_HSMCI0_MOUNT_MOUNTPOINT
|
|
|
|
string "HSMCI0 mount point"
|
|
|
|
default "/bin"
|
|
|
|
|
|
|
|
endif # SAMV7_HSMCI0_MOUNT
|
|
|
|
|
2021-12-12 00:51:31 +01:00
|
|
|
config SAMV7_PROGMEM_OTA_PARTITION
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select ARCH_RAMFUNCS
|
|
|
|
select BCH
|
|
|
|
select MTD
|
|
|
|
select MTD_BYTE_WRITE
|
|
|
|
select MTD_PARTITION
|
|
|
|
select MTD_PROGMEM
|
|
|
|
select SAMV7_PROGMEM
|
|
|
|
|
|
|
|
config SAMV7_MCUBOOT_HEADER_SIZE
|
|
|
|
hex
|
|
|
|
default 0x200
|
|
|
|
depends on SAMV7_FORMAT_MCUBOOT
|
|
|
|
|
|
|
|
menuconfig SAMV7_FORMAT_MCUBOOT
|
|
|
|
bool "MCUboot bootable format"
|
|
|
|
default n
|
|
|
|
select SAMV7_PROGMEM_OTA_PARTITION
|
|
|
|
---help---
|
|
|
|
The MCUboot support of loading the firmware images.
|
|
|
|
|
|
|
|
if SAMV7_FORMAT_MCUBOOT
|
|
|
|
|
|
|
|
comment "MCUboot Application Image OTA Update support"
|
|
|
|
|
|
|
|
config SAMV7_OTA_PRIMARY_SLOT_OFFSET
|
|
|
|
hex "MCUboot application image primary slot offset"
|
|
|
|
default 0x20000
|
|
|
|
|
|
|
|
config SAMV7_OTA_PRIMARY_SLOT_DEVPATH
|
|
|
|
string "Application image primary slot device path"
|
|
|
|
default "/dev/ota0"
|
|
|
|
|
|
|
|
config SAMV7_OTA_SECONDARY_SLOT_OFFSET
|
|
|
|
hex "MCUboot application image secondary slot offset"
|
|
|
|
default 0x48000 if SAMV7_MEM_FLASH_512
|
|
|
|
default 0x80000 if SAMV7_MEM_FLASH_1024
|
|
|
|
default 0x100000 if SAMV7_MEM_FLASH_2048
|
|
|
|
|
|
|
|
config SAMV7_OTA_SECONDARY_SLOT_DEVPATH
|
|
|
|
string "Application image secondary slot device path"
|
|
|
|
default "/dev/ota1"
|
|
|
|
|
|
|
|
config SAMV7_OTA_SLOT_SIZE
|
|
|
|
hex "MCUboot application image slot size (in bytes)"
|
|
|
|
default 0x28000 if SAMV7_MEM_FLASH_512
|
|
|
|
default 0x60000 if SAMV7_MEM_FLASH_1024
|
|
|
|
default 0xe0000 if SAMV7_MEM_FLASH_2048
|
|
|
|
|
|
|
|
config SAMV7_OTA_SCRATCH_OFFSET
|
|
|
|
hex "MCUboot scratch partition offset"
|
|
|
|
default 0x70000 if SAMV7_MEM_FLASH_512
|
|
|
|
default 0xe0000 if SAMV7_MEM_FLASH_1024
|
|
|
|
default 0x1e0000 if SAMV7_MEM_FLASH_2048
|
|
|
|
|
|
|
|
config SAMV7_OTA_SCRATCH_DEVPATH
|
|
|
|
string "Scratch partition device path"
|
|
|
|
default "/dev/otascratch"
|
|
|
|
|
|
|
|
config SAMV7_OTA_SCRATCH_SIZE
|
|
|
|
hex "MCUboot scratch partition size (in bytes)"
|
|
|
|
default 0x10000 if SAMV7_MEM_FLASH_512
|
|
|
|
default 0x20000
|
|
|
|
|
|
|
|
endif # SAMV7_FORMAT_MCUBOOT
|