Function alignment with 4bytes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Function alignment with 4bytes

298 Views
shivakrishna
Contributor I

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

0 Kudos
Reply
1 Reply

281 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Please contact IAR support, they should be the best contact point helping you with this topic:

https://www.iar.com/knowledge/support/request-technical-support/

 

0 Kudos
Reply