We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f2fc7d3 + 4e6c2b6 commit 898b11cCopy full SHA for 898b11c
cortex-m-rt/link.x.in
@@ -261,6 +261,12 @@ Possible solutions, from most likely to less likely:
261
may be enabling it)
262
- Supply the interrupt handlers yourself. Check the documentation for details.");
263
264
+ASSERT(ADDR(.vector_table) % MAX(128, 1 << LOG2CEIL(SIZEOF(.vector_table))) == 0, "
265
+ERROR(cortex-m-rt): Interrupt vector table misalignment detected. The vector table must
266
+be aligned to the larger of:
267
+- 128 bytes
268
+- The next power of two greater than or equal to its size");
269
+
270
/* ## .text */
271
ASSERT(ADDR(.vector_table) + SIZEOF(.vector_table) <= _stext, "
272
ERROR(cortex-m-rt): The .text section can't be placed inside the .vector_table section
0 commit comments