From b319d62052d6b553b135837ff8c35ee0c8d475bf Mon Sep 17 00:00:00 2001 From: Sherif A Abdou Date: Mon, 3 Feb 2025 10:22:32 -0500 Subject: Added in_flash RuntimeBuilder constructor Applications linked through this builder can be placed in a flash reservation. You'll need some other software to launch these programs, since they lack the boot header required by the NXP boot ROM. --- src/host/imxrt-boot-header-1180.x | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/host/imxrt-boot-header-1180.x') diff --git a/src/host/imxrt-boot-header-1180.x b/src/host/imxrt-boot-header-1180.x index 101725a..cf93e7c 100644 --- a/src/host/imxrt-boot-header-1180.x +++ b/src/host/imxrt-boot-header-1180.x @@ -101,4 +101,7 @@ SECTIONS } > FLASH } +ASSERT((__dcd_end - __dcd_start) % 4 == 0, " +ERROR(imxrt-rt): .dcd (Device Configuration Data) size must be a multiple of 4 bytes."); + /* ===--- End imxrt-boot-header-1180.x ---=== */ -- cgit v1.2.3