Compiler issue

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

Compiler issue

1,868 Views
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 Kudos
Reply
2 Replies

1,843 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

can you please share flags passed to compiler? 

 

Jiri 

0 Kudos
Reply

1,784 Views
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,

Tags (1)
0 Kudos
Reply