The PROJECT by importing the .xml file into s32ds PA cannot be compiled, there is no C/C++ bulid.

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

The PROJECT by importing the .xml file into s32ds PA cannot be compiled, there is no C/C++ bulid.

1,755 次查看
gaoyuelei
Contributor I

dear 

   I am using MBD toolkit, using mpc5748g MCU to do a simple routine of Io. After automatically generating engineering code and. XML file based on Simulink model, after importing. XML file into s32ds PA, the interface is as follows, build is not available, and there is no C / C + + build tab in configuration.Can you help me find the reasion?

question.png

0 项奖励
回复
5 回复数

1,732 次查看
mariuslucianand
NXP Employee
NXP Employee

Hello @gaoyuelei ,

For some reason, the S32DS for PA doesn't seem to like the .S file extensions for S files. So, please change the extension from the .S to .s file.

mariuslucianand_0-1619424856111.png

Also, make sure you make the same changes inside the ProjectInfo.xml as well.

mariuslucianand_1-1619424929038.png

 

After that, please import the project in the S32DS for PA and you should be able to build.

Regards,

Marius

 

0 项奖励
回复

1,721 次查看
gaoyuelei
Contributor I

Hello, @mariuslucianand 

It has been modified according to your suggestion, but it still can't be compiled, as shown in the following screenshot:

What changes are needed later,THANKS.

1111.JPG

0 项奖励
回复

1,719 次查看
mariuslucianand
NXP Employee
NXP Employee

Hello @gaoyuelei ,

These should be the only changes to do. At least it works on my side.

mariuslucianand_0-1619439525246.png

How do you import the project?

I've tried File -> Import -> S32DS and select ProjectInfo.xml Importer and select that XML file.

mariuslucianand_1-1619439668437.png

Also, make sure to have no spaces in the path of our toolbox location.

Hope this helps,

Marius

 

 

0 项奖励
回复

1,716 次查看
gaoyuelei
Contributor I

Hello,  @mariuslucianand 

The import method is as follows, but I found that the path folder where MBD toolbox is installed contains spaces. Does this affect?

113.JPG

112.JPG

0 项奖励
回复

1,685 次查看
mariuslucianand
NXP Employee
NXP Employee

Hello @gaoyuelei ,

I think the spaces affect the importer. Please install our toolbox in a path with no spaces, this should solve many issues as well.

Hope this helps,

Marius