build model for stm32f4 discovery get error

1 回表示 (過去 30 日間)
chau vo luu huong
chau vo luu huong 2015 年 12 月 12 日
編集済み: chau vo luu huong 2015 年 12 月 12 日
hi ! thank for hearing to me
this is my issue , i am try to use stm32f4 discovery package to generate and build code ... i started from tourial of matlab here <http://www.mathworks.com/help/supportpkg/stmicroelectronicsstm32f4discovery/examples/getting-started-with-embedded-coder-support-package-for-stmicroelectronics-stm32f4-discovery-board.html my tutortial> , after install this package with successfuly , i open led model example and setup step by step like following guide .... and the erro occur when i buld code ..
here is my diagnostic viewer
### Generating code into build folder: D:\myworkspace\matlab\stm32f4discovery_gettingstarted_ert_rtw
### Invoking Target Language Compiler on stm32f4discovery_gettingstarted.rtw
### Using System Target File: E:\Program Files\MATLAB\MATLAB Production Server\R2015a\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_gettingstarted.h
### Writing header file stm32f4discovery_gettingstarted_types.h
### Writing header file rtwtypes.h
### Writing source file stm32f4discovery_gettingstarted.c
.
### Writing header file stm32f4discovery_gettingstarted_private.h
### Writing source file stm32f4discovery_gettingstarted_data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete.
### Evaluating PostCodeGenCommand specified in the model
### Writing source file arm_cortex_m_multitasking.c
### Using toolchain: GNU Tools for ARM Embedded Processors v4.8 | gmake (64-bit Windows)
### Creating 'D:\myworkspace\matlab\stm32f4discovery_gettingstarted_ert_rtw\stm32f4discovery_gettingstarted.mk' ...
### Using toolchain: GNU Tools for ARM Embedded Processors v4.8 | gmake (64-bit Windows)
### Creating 'D:\myworkspace\matlab\stm32f4discovery_gettingstarted_ert_rtw\stm32f4discovery_gettingstarted.mk' ...
### Building 'stm32f4discovery_gettingstarted': E:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\gmake -f stm32f4discovery_gettingstarted.mk all
D:\myworkspace\matlab\stm32f4discovery_gettingstarted_ert_rtw>cd .
D:\myworkspace\matlab\stm32f4discovery_gettingstarted_ert_rtw>if "" == "" (E:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\gmake -f stm32f4discovery_gettingstarted.mk all ) else (E:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\gmake -f stm32f4discovery_gettingstarted.mk ) 'E:\Program' is not recognized as an internal or external command, operable program or batch file.
D:\myworkspace\matlab\stm32f4discovery_gettingstarted_ert_rtw>echo The make command returned an error of 9009 The make command returned an error of 9009
D:\myworkspace\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.
very thank for help !!!!!

回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by