Hello,
I tried to build the evkmimxrt1060_sai_loopback example on Simulink with MBDToolbox on a fresh installation. However, I always get the following error:
In file included from C:/Matlab_Addons/Toolboxes/NXP_MBDToolbox_IMXRT1xxx/IMXRT_Examples/imxrt106x/sai/evkmimxrt1060_sai_loopback_ert_rtw/evkmimxrt1060_sai_loopback.h:26, from C:/Matlab_Addons/Toolboxes/NXP_MBDToolbox_IMXRT1xxx/IMXRT_Examples/imxrt106x/sai/evkmimxrt1060_sai_loopback_ert_rtw/ert_main.c:21: C:/MATLAB~1/TOOLBO~1/NXP_MB~1/MBDTBX~1/src/imxrt_sai_w.h:31:14: fatal error: MIMXRT1062_features.h: No such file or directory 31 | #include "MIMXRT1062_features.h"
Does anyone know the problem?
Best regards,
Kay
Hi @KayKochan ,
Please check the SDK document to get start, you need to use the recommended IDE to build it, eg: mcuxpresso, IAR, MDK etc.
For other compliers, it is not supported directly, you need to check the source code and compile it by yourself.
From your output information, you still need to add:MIMXRT1062_features.h, you can find that file in the SDK folder.
Best Regards,
kerry