# # For a description of the syntax of this configuration file, # see the file kconfiglanguage.txt in the NuttX tools repository. # config BOARD_SAMV7_COMMON bool "Board common logic" default y ---help--- Board common logic located in each board/common folder. if BOARD_SAMV7_COMMON 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 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 MTD_PROGMEM_ERASESTATE select SAMV7_PROGMEM select SAMV7_PROGMEM_ERASESTATE 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 endif # BOARD_SAMV7_COMMON