Warning: "Unknown compiler GNUC"

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

Warning: "Unknown compiler GNUC"

跳至解决方案
832 次查看
mickkelo
Contributor II

Hi. Yesterday all worked properly, but today when I build my project I'm getting:

 

DescriptionResourcePathLocationType
Generator: Warning: "Unknown compiler GNUC"usbserialLEDBProcessor Expert Problem
Generator: Warning: "Unknown compiler GNUC"usbserialLEDGProcessor Expert Problem
Generator: Warning: "Unknown compiler GNUC"usbserialLEDRProcessor Expert Problem

 

I haven't changed any configuration parameter or file in this project.

How can I solve that warnings?

 

Thanks.

 

 

标签 (1)
1 解答
698 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

just a wild guess based on the error message: have you imported other Processor Expert components? From the message, it appears it does not know the GNU C compiler (which obviously you are using)?

If this is the case:

- open C:\ProgramData\Processor Expert\CWMCU_PE5_00\Drivers\sw\CommonSupport.prg

- add a line

%elif %Compiler = "GNUC"

to the other compiler checks (above the warning).


I hope this helps.

在原帖中查看解决方案

4 回复数
698 次查看
Monica
Senior Contributor III

Mickkelo, let us know if it worked out! :smileywink:

Regards

0 项奖励
回复
698 次查看
mickkelo
Contributor II

Monica, everything works correctly despite off the message.

698 次查看
BlackNight
NXP Employee
NXP Employee

Hi Mickkelo,

just in case: the latest components are on GitHub. Instructions how to import or clone the repository can be found in this wicki:
Wiki · GitHub


699 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

just a wild guess based on the error message: have you imported other Processor Expert components? From the message, it appears it does not know the GNU C compiler (which obviously you are using)?

If this is the case:

- open C:\ProgramData\Processor Expert\CWMCU_PE5_00\Drivers\sw\CommonSupport.prg

- add a line

%elif %Compiler = "GNUC"

to the other compiler checks (above the warning).


I hope this helps.