AnsweredAssumed Answered

sTM32F4+MATLAB

Question asked by Toan92.Lee on Apr 5, 2015
Latest reply on Nov 17, 2015 by smrtkai
hi guy, I have a problem : I use matlab 2013b to generate code. but I have an error:
 >> 
### Starting build procedure for model: stm32f4discovery_led4
### Generating code into build folder: C:\Users\LEVANTOAN\Documents\MATLAB\MATLAB\stm32f4discovery_led4_ert_rtw
### Invoking Target Language Compiler on stm32f4discovery_led4.rtw
### Using System Target File: C:\Program Files\MATLAB\R2013b\rtw\c\ert\ert.tlc
### Loading TLC function libraries
.....
### Initial pass through model to cache user defined code
.
### Caching model source code
...................
### Writing header file stm32f4discovery_led4.h
.
### Writing header file stm32f4discovery_led4_types.h
### Writing header file rtwtypes.h
.
### Writing source file stm32f4discovery_led4.c
### Writing header file stm32f4discovery_led4_private.h
.
### Writing source file stm32f4discovery_led4_data.c
### Writing source file ert_main.c
.
### TLC code generation complete.
### Creating project marker file: rtw_proj.tmw
### Evaluating PostCodeGenCommand specified in the model
### Using toolchain: GNU Tools for ARM Embedded Processors v4.7 | gmake (32-bit Windows)
### Creating 'C:\Users\LEVANTOAN\Documents\MATLAB\MATLAB\stm32f4discovery_led4_ert_rtw\stm32f4discovery_led4.mk' ...
### Building 'stm32f4discovery_led4': C:\PROGRA~1\MATLAB\R2013b\bin\win32\gmake -f stm32f4discovery_led4.mk all
 
C:\Users\LEVANTOAN\Documents\MATLAB\MATLAB\stm32f4discovery_led4_ert_rtw>cd .  
 
C:\Users\LEVANTOAN\Documents\MATLAB\MATLAB\stm32f4discovery_led4_ert_rtw>if "" == "" (C:\PROGRA~1\MATLAB\R2013b\bin\win32\gmake -f stm32f4discovery_led4.mk all )  else (C:\PROGRA~1\MATLAB\R2013b\bin\win32\gmake -f stm32f4discovery_led4.mk  )  
arm-none-eabi-gcc -MD -std=c99 -ffunction-sections -fdata-sections -Wall -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -include stm32f4xx.h -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1 -DHSE_VALUE=8000000 -DNULL=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB/stm32f4discovery_led4_ert_rtw -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/stm32f4discoveryexamples -IC:/PROGRA~1/MATLAB/R2013b/extern/include -IC:/PROGRA~1/MATLAB/R2013b/simulink/include -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/serial -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples/SysTick -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/inc -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/include -o "stm32f4discovery_led4.o" "stm32f4discovery_led4.c" 
arm-none-eabi-gcc -MD -std=c99 -ffunction-sections -fdata-sections -Wall -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -include stm32f4xx.h -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1 -DHSE_VALUE=8000000 -DNULL=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB/stm32f4discovery_led4_ert_rtw -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/stm32f4discoveryexamples -IC:/PROGRA~1/MATLAB/R2013b/extern/include -IC:/PROGRA~1/MATLAB/R2013b/simulink/include -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/serial -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples/SysTick -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/inc -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/include -o "stm32f4discovery_led4_data.o" "stm32f4discovery_led4_data.c" 
arm-none-eabi-gcc -MD -std=c99 -ffunction-sections -fdata-sections -Wall -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -include stm32f4xx.h -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1 -DHSE_VALUE=8000000 -DNULL=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB/stm32f4discovery_led4_ert_rtw -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/stm32f4discoveryexamples -IC:/PROGRA~1/MATLAB/R2013b/extern/include -IC:/PROGRA~1/MATLAB/R2013b/simulink/include -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/serial -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples/SysTick -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/inc -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/include -o "startup_stm32f4xx.o" "startup_stm32f4xx.c" 
arm-none-eabi-gcc -MD -std=c99 -ffunction-sections -fdata-sections -Wall -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -include stm32f4xx.h -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1 -DHSE_VALUE=8000000 -DNULL=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB/stm32f4discovery_led4_ert_rtw -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/stm32f4discoveryexamples -IC:/PROGRA~1/MATLAB/R2013b/extern/include -IC:/PROGRA~1/MATLAB/R2013b/simulink/include -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/serial -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples/SysTick -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/inc -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/include -o "syscalls_stm32f4xx.o" "syscalls_stm32f4xx.c" 
arm-none-eabi-gcc -MD -std=c99 -ffunction-sections -fdata-sections -Wall -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -include stm32f4xx.h -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1 -DHSE_VALUE=8000000 -DNULL=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB/stm32f4discovery_led4_ert_rtw -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/stm32f4discoveryexamples -IC:/PROGRA~1/MATLAB/R2013b/extern/include -IC:/PROGRA~1/MATLAB/R2013b/simulink/include -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/serial -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples/SysTick -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/inc -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/include -o "system_stm32f4xx.o" "system_stm32f4xx.c" 
arm-none-eabi-gcc -MD -std=c99 -ffunction-sections -fdata-sections -Wall -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -include stm32f4xx.h -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1 -DHSE_VALUE=8000000 -DNULL=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB/stm32f4discovery_led4_ert_rtw -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/stm32f4discoveryexamples -IC:/PROGRA~1/MATLAB/R2013b/extern/include -IC:/PROGRA~1/MATLAB/R2013b/simulink/include -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/serial -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples/SysTick -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/inc -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/include -o "stm32f4xx_gpio.o" "stm32f4xx_gpio.c" 
arm-none-eabi-gcc -MD -std=c99 -ffunction-sections -fdata-sections -Wall -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -include stm32f4xx.h -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1 -DHSE_VALUE=8000000 -DNULL=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB/stm32f4discovery_led4_ert_rtw -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/stm32f4discoveryexamples -IC:/PROGRA~1/MATLAB/R2013b/extern/include -IC:/PROGRA~1/MATLAB/R2013b/simulink/include -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/serial -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples/SysTick -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/inc -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/include -o "stm32f4xx_rcc.o" "stm32f4xx_rcc.c" 
arm-none-eabi-gcc -MD -std=c99 -ffunction-sections -fdata-sections -Wall -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -include stm32f4xx.h -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1 -DHSE_VALUE=8000000 -DNULL=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB/stm32f4discovery_led4_ert_rtw -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/stm32f4discoveryexamples -IC:/PROGRA~1/MATLAB/R2013b/extern/include -IC:/PROGRA~1/MATLAB/R2013b/simulink/include -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/serial -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples/SysTick -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/inc -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/include -o "stm32f4xx_gpio_wrapper.o" "stm32f4xx_gpio_wrapper.c" 
arm-none-eabi-gcc -MD -std=c99 -ffunction-sections -fdata-sections -Wall -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -include stm32f4xx.h -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1 -DHSE_VALUE=8000000 -DNULL=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DRT -DSTACK_SIZE=64 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DTID01EQ=0 -DMODEL=stm32f4discovery_led4 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB/stm32f4discovery_led4_ert_rtw -IC:/Users/LEVANTOAN/Documents/MATLAB/MATLAB -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/stm32f4discoveryexamples -IC:/PROGRA~1/MATLAB/R2013b/extern/include -IC:/PROGRA~1/MATLAB/R2013b/simulink/include -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2013b/rtw/c/src/ext_mode/serial -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Project/Peripheral_Examples/SysTick -IC:/MATLAB/SupportPackages/R2013b/STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/inc -IC:/MATLAB/SupportPackages/R2013b/stm32f4discovery/include -o "SysTickScheduler.o" "SysTickScheduler.c" 
gmake: *** No rule to make target `C:/Keil/ARM/CMSIS/Lib/GCC/libarm_cortexM4lf_math.a', needed by `../stm32f4discovery_led4.elf'.  Stop. 
 
C:\Users\LEVANTOAN\Documents\MATLAB\MATLAB\stm32f4discovery_led4_ert_rtw>echo The make command returned an error of 2  
The make command returned an error of 2 
 
C:\Users\LEVANTOAN\Documents\MATLAB\MATLAB\stm32f4discovery_led4_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. 
### Build procedure for model: 'stm32f4discovery_led4' aborted due to an error.


please, help me fix this error!
thank you verry much!

Outcomes