diff --git a/memory.x b/memory.x index a132517..d87640a 100644 --- a/memory.x +++ b/memory.x @@ -37,10 +37,7 @@ SECTIONS { __eitcm = .; } > ITCM AT>FLASH __siitcm = LOADADDR(.itcm); - -/* This may be the only insert location that doesn't affect those __[es]... - * that are (unfortunately) placed outside their sections */ -} INSERT BEFORE .uninit; +} INSERT AFTER .uninit; ASSERT(__sitcm % 8 == 0 && __eitcm % 8 == 0, " BUG(cortex-m-rt): .itcm is not 8-byte aligned");