Function alignment with 4bytes

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Function alignment with 4bytes

379 次查看
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 项奖励
回复
1 回复

362 次查看
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 项奖励
回复