In s32 at linker file used 256 alignment,(GNU compiler/Gcc) below is the liker code.
.swc_present __CUSTOM_END : { . = ALIGN(4); MAGIC_NUMBER_ADR = .; /* magic number -> marks application as valid for bootloader! */ LONG(0xAB9CD116) FILL(0xFFFFFFFF) . = ALIGN(256); } > int_flash
Similar method used in keil.
ER_m_test +0 ALIGN 0x100 PADVALUE 0xFFFFFFFF 0x00014BF0 { }
It is padded FF value the end, still hex file is not exactly matching multiple of 256.
Both S32 .ld liker file and Keil .SCT linker added in zip.
Please let me know what is the S32 equivalent format of " . = ALIGN 256" in keil.
Liker_S32_Keil.zip
Duplicate of community.arm.com/.../186134