aboutsummaryrefslogtreecommitdiff
path: root/src/host/imxrt-boot-header.x
diff options
context:
space:
mode:
authorSherif A Abdou <sherif_abdou@outlook.com>2025-02-03 10:22:32 -0500
committerIan McIntyre <me@mciantyre.dev>2025-03-21 20:04:24 -0400
commitb319d62052d6b553b135837ff8c35ee0c8d475bf (patch)
tree5f8d7a6ce24bd868d58dd2396caed1f3532c3316 /src/host/imxrt-boot-header.x
parent4ecbed698241e637a13048a199d29c142445c360 (diff)
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.
Diffstat (limited to 'src/host/imxrt-boot-header.x')
-rw-r--r--src/host/imxrt-boot-header.x3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host/imxrt-boot-header.x b/src/host/imxrt-boot-header.x
index 3f33603..165e858 100644
--- a/src/host/imxrt-boot-header.x
+++ b/src/host/imxrt-boot-header.x
@@ -78,4 +78,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.x ---=== */