Function alignment with 4bytes

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Function alignment with 4bytes

1,023件の閲覧回数
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 返信

1,006件の閲覧回数
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 件の賞賛
返信