Why do I get build errors about missing headers (arm_math.h) when using CMSIS Code Replacement Library for ARM Cortex?
이전 댓글 표시
I am trying to use CMSIS Code Replacement Library (CRL) while targetting ARM Cortex-M with MATLAB/Simulink.
My model contains cosine and sine blocks. After code generation, the Code Replacement Report confirms that crl_table_cmsis.mat library was used:
arm_cos_f32................<Root>/Sin1
arm_sin_f32................<Root>/Sin2
The corresponding implementation header is mw_cmsis.h, which again includes arm_math.h from CMSIS library.
During the build, I see below below error using Visual Studio 2017:
....\<modelname>_ert_rtw\mw_cmsis.h(12): fatal error C1083: Cannot open include file: 'arm_math.h': No such file or directory
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 ARM Cortex-M Processors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!