dfu: include MCUboot's bootutil_public.h
This header provides original BOOT_MAX_ALIGN definition. This definition is used directly on indirectly by the code this patch modifies. Let's use it instead of copy from mcuboot.h Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This commit is contained in:
parent
997bebf9d1
commit
1e7b120606
6 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
zephyr_sources_ifdef(CONFIG_MCUBOOT_IMG_MANAGER flash_img.c)
|
||||
|
||||
zephyr_library_link_libraries(MCUBOOT_BOOTUTIL)
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include <zephyr/storage/stream_flash.h>
|
||||
|
||||
#ifdef CONFIG_IMG_ERASE_PROGRESSIVELY
|
||||
#include <bootutil/bootutil_public.h>
|
||||
#include <zephyr/dfu/mcuboot.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue