db4febc584
Adds a bootloader configuration interface which allows for a bootloader (e.g. MCUboot) to set configuration in a shared data area which is then read by the application. Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
11 lines
304 B
CMake
11 lines
304 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
zephyr_library_sources(retention.c)
|
|
zephyr_library_sources_ifdef(CONFIG_RETENTION_BOOT_MODE bootmode.c)
|
|
|
|
if(CONFIG_RETENTION_BOOTLOADER_INFO_TYPE_MCUBOOT)
|
|
zephyr_library_sources(blinfo_mcuboot.c)
|
|
zephyr_link_libraries(MCUBOOT_BOOTUTIL)
|
|
endif()
|