Skip to content

Commit 66df94b

Browse files
butokkartben
authored andcommitted
boards: mimxrt1180: fix MCUBoot build
- Fixes building of MCUBoot for mimxrt1180-evk. - Disables RT Boot header for MCUBoot applications. Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
1 parent e1f5783 commit 66df94b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

boards/nxp/mimxrt1180_evk/mimxrt1180_evk_mimxrt1189_cm33.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919
zephyr,itcm = &itcm;
2020
zephyr,flash-controller = &w25q128jw;
2121
zephyr,flash = &w25q128jw;
22+
zephyr,code-partition = &slot0_partition;
2223
zephyr,console = &lpuart1;
2324
zephyr,shell-uart = &lpuart1;
25+
zephyr,uart-mcumgr = &lpuart1;
2426
zephyr,canbus = &flexcan3;
2527
};
2628

soc/nxp/imxrt/imxrt118x/Kconfig.defconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ if SECOND_CORE_MCUX
3030

3131
# RT Boot header is only needed on primary core
3232
config NXP_IMXRT_BOOT_HEADER
33-
depends on !CPU_CORTEX_M7
33+
default y
34+
depends on !(CPU_CORTEX_M7 || BOOTLOADER_MCUBOOT)
3435

3536
endif # SECOND_CORE_MCUX
3637

0 commit comments

Comments
 (0)