AnsweredAssumed Answered

How can I use S32 DS to compile the C code generated from Simulink model?

Question asked by Leo Lyu on Dec 17, 2018
Latest reply on Dec 20, 2018 by Leo Lyu

Hello, I bought a Devkit-MPC5744 recently, and downloaded the Model-based Design Toolbox for MPC5744P from the NXP website.

 

And then I open the example model file from the Model-based Design Toolbox. The model is "uart_model_pnt".

 

 After that I configure the parameter and build the model, and then the Simulink generate the C code.

 

After that I created a new project in S32 design studio and replace the source file and header file with the C code generated from Simulink.

But when I import the C code into the S32 Design Studio, and build the project, it always failed.

The building operation always abort ,and a red cross occured.

 my project in S32 ds

 

The everyone process before the building seems OK. But I cannot build the code generated from the simulink.

Could anyone please help me?

Outcomes