diff options
Diffstat (limited to 'src/host/imxrt-boot-header.x')
| -rw-r--r-- | src/host/imxrt-boot-header.x | 3 |
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 ---=== */ |
