Closed
Description
In link.x.in
there is an ASSERT to prevent _stext
being outside of flash. This prevents e.g. running the code from RAM after loading .text
into RAM inside a pre_init
with .text
configured like
.text :
{
...
} > RAM AT > FLASH
cortex-m/cortex-m-rt/link.x.in
Line 269 in b02ec57
Activity
adamgreig commentedon Jan 21, 2025
To configure such a
.text
, wouldn't you need a custom linker script anyway, at which point you can just not include that assert?adamgreig commentedon Apr 15, 2025
Closing this for now as there's not been any activity in a while, but please comment if this is still causing problems.