aboutsummaryrefslogtreecommitdiff
path: root/src/host/imxrt-boot-header-1180.x
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/imxrt-boot-header-1180.x')
-rw-r--r--src/host/imxrt-boot-header-1180.x3
1 files changed, 3 insertions, 0 deletions
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 ---=== */