Matlab Embedded Coder Build Error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-12-26 1:30 PM
Posted on December 26, 2015 at 22:30
While trying to build a simple LED simulink model using embedded coder I get the following error in last few lines of diagnosis report:
''C:/MATLAB/SupportPackages/R2015a/armcortexm/toolbox/target/supportpackages/arm_cortex_m/cmsis_rtos_rtx/src/cmsis_rtos_init.c''In file included from C:/MATLAB/SupportPackages/R2015a/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include/stm32f4xx.h:245:0, from :0: C:/MATLAB/CMSIS-SP-00300-r4p5-00rel0/CMSIS/Include/core_cm4.h:151:0: warning: ''__FPU_USED'' redefined [enabled by default] #define __FPU_USED 1U ^ :0:0: note: this is the location of the previous definitionIn file included from C:/MATLAB/SupportPackages/R2015a/armcortexm/toolbox/target/supportpackages/arm_cortex_m/cmsis_rtos_rtx/src/cmsis_rtos_init.c:8:0: C:/MATLAB/SupportPackages/R2015a/armcortexm/toolbox/target/supportpackages/arm_cortex_m/cmsis_rtos_rtx/include/mw_cmsis_rtos.h:6:22: fatal error: cmsis_os.h: No such file or directory #include ''cmsis_os.h'' ^ compilation terminated. gmake: *** [cmsis_rtos_init.o] Error 1C:\Users\Shail\Documents\MATLAB\stm32f4discovery_gettingstarted_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 C:\Users\Shail\Documents\MATLAB\stm32f4discovery_gettingstarted_ert_rtw>An_error_occurred_during_the_call_to_make 'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command, operable program or batch file.Please help me with this
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-12-27 9:27 AM
Posted on December 27, 2015 at 18:27
Solved it. Had installed the latest version of CMSIS instead of CMSIS 4.2 which is recommended.
