MIMXRT1170 EVK Building using Matlab/Simulink

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

MIMXRT1170 EVK Building using Matlab/Simulink

Jump to solution
689 Views
esantana
Contributor III

Hello,

I'm trying to compile and build an example model for the MIMXRT1170-EVK. The code is generated succesfully but the building fails. The model I'm using is LWIP ECHO example included in the Model-Based Design Toolbox. 

I'm using matlab R2022b and NXP Model-Based Design Toolbox 1.3 version.

The following text is the error message:

gmake: *** [evkmimxrt1170_tcp_echo.o] Error 1 C:\Users\eleder.santana\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_IMXRT1xxx\evkmimxrt1170_tcp_echo_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 C:\Users\eleder.santana\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_IMXRT1xxx\evkmimxrt1170_tcp_echo_ert_rtw>exit /B 1 ### Build procedure for evkmimxrt1170_tcp_echo aborted due to an error.

I attached the error file.

Thank you in advance.

0 Kudos
1 Solution
651 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Thank you for your patience. I was able to reproduce this issue with the same MATLAB version and build successfully.
Checking your error file I saw the issue in "arm-none-eabi-gcc" so this suggests that there could be left some packages for this. I suggest you refer to this guide and check that all required software is installed in MATLAB: Model Based Design Toolbox - Quick Start Guide (nxp.com)

If you have more questions do not hesitate to ask me.
Best regards,
Omar

View solution in original post

0 Kudos
2 Replies
652 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Thank you for your patience. I was able to reproduce this issue with the same MATLAB version and build successfully.
Checking your error file I saw the issue in "arm-none-eabi-gcc" so this suggests that there could be left some packages for this. I suggest you refer to this guide and check that all required software is installed in MATLAB: Model Based Design Toolbox - Quick Start Guide (nxp.com)

If you have more questions do not hesitate to ask me.
Best regards,
Omar

0 Kudos
666 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
Hope you are well.

I will try to reproduce this issue to check if there is something wrong with the example.
For further MBDT issues I suggest you post your questions in this community so it can be handled faster: Model-Based Design Toolbox (MBDT) - NXP Community

If you have more questions do not hesitate to ask me.
Best regards,
Omar

0 Kudos