We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b3a5b7 + 22ba919 commit f47ec95Copy full SHA for f47ec95
cortex-m-rt/link.x.in
@@ -257,9 +257,9 @@ ASSERT(ADDR(.vector_table) + SIZEOF(.vector_table) <= _stext, "
257
ERROR(cortex-m-rt): The .text section can't be placed inside the .vector_table section
258
Set _stext to an address greater than the end of .vector_table (See output of `nm`)");
259
260
-ASSERT(_stext + SIZEOF(.text) < ORIGIN(FLASH) + LENGTH(FLASH), "
+ASSERT(_stext > ORIGIN(FLASH) && _stext < ORIGIN(FLASH) + LENGTH(FLASH), "
261
ERROR(cortex-m-rt): The .text section must be placed inside the FLASH memory.
262
-Set _stext to an address smaller than 'ORIGIN(FLASH) + LENGTH(FLASH)'");
+Set _stext to an address within the FLASH region.");
263
264
/* # Other checks */
265
ASSERT(SIZEOF(.got) == 0, "
0 commit comments