Compiler issue

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

Compiler issue

2,954 次查看
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,929 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

can you please share flags passed to compiler? 

 

Jiri 

0 项奖励
回复

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