Compiler issue

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

Compiler issue

2,980件の閲覧回数
BobYan
Contributor II

Hello everyone, i meet a issue when i compile my S32K116 source code.

When i set compile structure by SCons + arm-none-eabi-gcc, there have compiler error of "Error: selected processor does not support ARM mode `cpsid i'". How does this happen and how to fix this issue? The issue i shown in below picture.

BobYan_0-1632810399903.png

 

0 件の賞賛
返信
2 返答(返信)

2,955件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

can you please share flags passed to compiler? 

 

Jiri 

0 件の賞賛
返信

2,896件の閲覧回数
BobYan
Contributor II

Hi Jiri ,

 

I have solved this problem, It is because that the format of the assmber is not the same for GHS and arm-none-eabi.

BobYan_0-1635321141819.png

 

Thanks a lot.

BR,

タグ(1)
0 件の賞賛
返信