Hello NXP Team,
We are working on S32k312 controller using IAR compiler
Currently we are facing issue to align the function with 4bytes, we tried different approaches by using #pragma as per IAR compiler, but we are not able to acheive the expected behavior
Following are the different steps that we followed to align the function
#pragma alignfunc (4)
or
#pragma align = 4
or
#pragma location = ".text"
#pragma thumb
#pragma align = 4
Request to help us on this to align function with 4 bytes