Commit 84ede589 authored by Carles Cufi's avatar Carles Cufi Committed by David Brown
Browse files

kconfig: Add new MCUboot device settings

Add a new MCUboot device settings option that enables or configures
features that are specific to a particular device.
Additionally enable software vector relay in Cortex-M0 CPUs that do not
have a hardware mechanism to relay or forward interrupts.

Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent 51a09210
Loading
Loading
Loading
Loading
+13
Changes for boot/zephyr/Kconfig: 13 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -11,6 +11,19 @@ config ZEPHYR_BASE

source "$ZEPHYR_BASE/Kconfig.zephyr"

config MCUBOOT_DEVICE_SETTINGS
	# Hidden selector for device-specific settings
	bool
	default y
        # CPU options
	select MCUBOOT_DEVICE_CPU_CORTEX_M0 if CPU_CORTEX_M0

config MCUBOOT_DEVICE_CPU_CORTEX_M0
	# Hidden selector for Cortex-M0 settings
	bool
	default n
	select SW_VECTOR_RELAY if !CPU_CORTEX_M0_HAS_VECTOR_TABLE_REMAP

menuconfig MCUBOOT_SERIAL
	bool
	prompt "MCUBOOT serial recovery"