diff --git a/cortex-m-rt/link.x.in b/cortex-m-rt/link.x.in index 8e287d25..ecd1a991 100644 --- a/cortex-m-rt/link.x.in +++ b/cortex-m-rt/link.x.in @@ -266,7 +266,7 @@ ASSERT(ADDR(.vector_table) + SIZEOF(.vector_table) <= _stext, " ERROR(cortex-m-rt): The .text section can't be placed inside the .vector_table section Set _stext to an address greater than the end of .vector_table (See output of `nm`)"); -ASSERT(_stext > ORIGIN(FLASH) && _stext < ORIGIN(FLASH) + LENGTH(FLASH), " +ASSERT(_stext >= ORIGIN(FLASH) && _stext < ORIGIN(FLASH) + LENGTH(FLASH), " ERROR(cortex-m-rt): The .text section must be placed inside the FLASH memory. Set _stext to an address within the FLASH region.");