diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S index 9bfd2aeac6..53c5960045 100644 --- a/core/cortex-m/ec.lds.S +++ b/core/cortex-m/ec.lds.S @@ -26,7 +26,11 @@ SECTIONS . = ALIGN(4); __version_struct_offset = .; *(.rodata.ver) +#ifdef SHIFT_CODE_FOR_TEST + . = ALIGN(256); +#else . = ALIGN(4); +#endif OUTDIR/core/CORE/init.o (.text) *(.text*) #ifdef COMPILE_FOR_RAM