Some parts of subsys/dfu/boot code are re-implementations of what is implemented in the MCUBoot repository. Mcuboot's repository already provide implementation of function required for application for interact with the MCUboot. This patch introduces new MCUBOOT_BOOTUTIL module which covers common code which is used in the bootloader and the chainnloaded application. dfu/boot: use MCUBoot's source code Module was reworked so it start using MCUBoot's bootutil_public API instead of copied code. Reworked boot_is_img_confirmed() used MCUBoot's API for determine image_ok flag. mcuboot_shell switchd to use MCUboot's boot_read_swap_state_by_id() This is MCUBoot function, use it for avoid linking conflict. test/subsys/mcuboot: fix `test_write_confirm` dfu/boot library was reworked so it uses MCUboot's bootutil_public library whenever it can. The library required that image was marked as copy-done before it can be pending. This patch adds such mark which fixes the test. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
# Copyright (c) 2019 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
comment "Optional modules. Make sure they're installed, via the project manifest."
|
|
|
|
source "modules/Kconfig.altera"
|
|
source "modules/Kconfig.atmel"
|
|
source "modules/Kconfig.canopennode"
|
|
source "modules/Kconfig.civetweb"
|
|
source "modules/Kconfig.cmsis"
|
|
source "modules/Kconfig.cypress"
|
|
source "modules/Kconfig.eos_s3"
|
|
source "modules/Kconfig.imx"
|
|
source "modules/Kconfig.infineon"
|
|
source "modules/Kconfig.libmetal"
|
|
source "modules/Kconfig.loramac-node"
|
|
source "modules/Kconfig.mbedtls"
|
|
source "modules/Kconfig.mcux"
|
|
source "modules/Kconfig.microchip"
|
|
source "modules/Kconfig.nordic"
|
|
source "modules/Kconfig.nuvoton"
|
|
source "modules/Kconfig.open-amp"
|
|
source "modules/Kconfig.silabs"
|
|
source "modules/Kconfig.simplelink"
|
|
source "modules/Kconfig.sof"
|
|
source "modules/Kconfig.st"
|
|
source "modules/Kconfig.stm32"
|
|
source "modules/Kconfig.syst"
|
|
source "modules/Kconfig.tfm"
|
|
source "modules/Kconfig.tinycbor"
|
|
source "modules/Kconfig.tinycrypt"
|
|
source "modules/Kconfig.vega"
|
|
source "modules/Kconfig.xtensa"
|
|
source "modules/Kconfig.mcuboot_bootutil"
|