forked from apache/nuttx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards/same70-qmtech: add support of SAME70 QMTECH board
Signed-off-by: Petro Karashchenko <[email protected]>
- Loading branch information
1 parent
3180972
commit 4b2b7d1
Showing
43 changed files
with
5,958 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
# | ||
# 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_QMTECH | ||
|
||
config SAME70QMTECH_HSMCI0_AUTOMOUNT | ||
bool "HSMCI0 automounter" | ||
default n | ||
depends on FS_AUTOMOUNTER && SAMV7_HSMCI0 | ||
|
||
if SAME70QMTECH_HSMCI0_AUTOMOUNT | ||
|
||
config SAME70QMTECH_HSMCI0_AUTOMOUNT_FSTYPE | ||
string "HSMCI0 file system type" | ||
default "vfat" | ||
|
||
config SAME70QMTECH_HSMCI0_AUTOMOUNT_BLKDEV | ||
string "HSMCI0 block device" | ||
default "/dev/mmcsd0" | ||
|
||
config SAME70QMTECH_HSMCI0_AUTOMOUNT_MOUNTPOINT | ||
string "HSMCI0 mount point" | ||
default "/mnt/sdcard0" | ||
|
||
config SAME70QMTECH_HSMCI0_AUTOMOUNT_DDELAY | ||
int "HSMCI0 debounce delay (milliseconds)" | ||
default 1000 | ||
|
||
config SAME70QMTECH_HSMCI0_AUTOMOUNT_UDELAY | ||
int "HSMCI0 unmount retry delay (milliseconds)" | ||
default 2000 | ||
|
||
endif # SAME70QMTECH_HSMCI0_AUTOMOUNT | ||
|
||
config SAME70QMTECH_PROGMEM_OTA_PARTITION | ||
bool | ||
default n | ||
select MTD | ||
select MTD_BYTE_WRITE | ||
select MTD_PARTITION | ||
select MTD_PROGMEM | ||
select MTD_PROGMEM_ERASESTATE | ||
|
||
menuconfig SAME70QMTECH_FORMAT_MCUBOOT | ||
bool "MCUboot-bootable format" | ||
default n | ||
select SAME70QMTECH_PROGMEM_OTA_PARTITION | ||
---help--- | ||
The MCUboot support of loading the firmware images. | ||
|
||
if SAME70QMTECH_FORMAT_MCUBOOT | ||
|
||
config SAME70QMTECH_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 SAME70QMTECH_OTA_PRIMARY_SLOT_OFFSET | ||
hex "MCUboot application image primary slot offset" | ||
default "0x20000" | ||
|
||
config SAME70QMTECH_OTA_PRIMARY_SLOT_DEVPATH | ||
string "Application image primary slot device path" | ||
default "/dev/ota0" | ||
|
||
config SAME70QMTECH_OTA_SECONDARY_SLOT_OFFSET | ||
hex "MCUboot application image secondary slot offset" | ||
default "0x48000" | ||
|
||
config SAME70QMTECH_OTA_SECONDARY_SLOT_DEVPATH | ||
string "Application image secondary slot device path" | ||
default "/dev/ota1" | ||
|
||
config SAME70QMTECH_OTA_SLOT_SIZE | ||
hex "MCUboot application image slot size (in bytes)" | ||
default "0x28000" | ||
|
||
config SAME70QMTECH_OTA_SCRATCH_OFFSET | ||
hex "MCUboot scratch partition offset" | ||
default "0x70000" | ||
|
||
config SAME70QMTECH_OTA_SCRATCH_DEVPATH | ||
string "Scratch partition device path" | ||
default "/dev/otascratch" | ||
|
||
config SAME70QMTECH_OTA_SCRATCH_SIZE | ||
hex "MCUboot scratch partition size (in bytes)" | ||
default "0x10000" | ||
|
||
endif # SAME70QMTECH_FORMAT_MCUBOOT | ||
|
||
endif # ARCH_BOARD_SAME70_QMTECH |
Oops, something went wrong.