You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/12/05 02:38:27 UTC

[GitHub] [incubator-nuttx] nandojve commented on a change in pull request #4939: boards/arm/samv7: Introduce common folder

nandojve commented on a change in pull request #4939:
URL: https://github.com/apache/incubator-nuttx/pull/4939#discussion_r762501993



##########
File path: boards/arm/samv7/common/Kconfig
##########
@@ -0,0 +1,73 @@
+#
+# For a description of the syntax of this configuration file,
+# see the file kconfig-language.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_PROGMEM_MCUBOOT_PARTITION
+	bool
+	default n
+	select MTD
+	select MTD_BYTE_WRITE
+	select MTD_PARTITION
+	select MTD_PROGMEM
+	select MTD_PROGMEM_ERASESTATE
+
+menuconfig SAMV7_FORMAT_MCUBOOT
+	bool "MCUboot-bootable format"
+	default n
+	select ARCH_RAMFUNCS
+	select BOARDCTL_RESET
+	select BOOT_MCUBOOT
+	select SAMV7_PROGMEM
+	select SAMV7_PROGMEM_MCUBOOT_PARTITION
+	select SAMV7_SYSTEMRESET
+	---help---
+		The MCUboot support of loading the firmware images.
+
+if SAMV7_FORMAT_MCUBOOT

Review comment:
       CONFIG_BOARDCTL_BOOT_IMAGE is selected when building the boot-loader and is enough.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org