MATLAB Answers

0

stm32f4xx.h missing

Asked by Anand Raj on 25 Apr 2016
Latest activity Answered by Anders Sollander on 26 Jan 2017
cc1.exe: fatal error: stm32f4xx.h: No such file or directory 
compilation terminated. 
gmake: *** [mSDFT.o] Error 1 
C:\Users\Anandaraj\Documents\MATLAB\mSDFT_ert_rtw>echo The make command returned an error of 2  
The make command returned an error of 2 
C:\Users\Anandaraj\Documents\MATLAB\mSDFT_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.
### Creating HTML report file mSDFT_codegen_rpt.html
### Build procedure for model: 'mSDFT' aborted due to an error.
Error(s) encountered while building "mSDFT":
### Failed to generate all binary outputs.
i have installed the necessary hardware packages. yet i have this problem. i am trying to do PIL for stm32f discovery subsystem

  0 Comments

Log in to comment.

Tags

Products

No products are associated with this question.

1 Answer

Answer by Anders Sollander on 26 Jan 2017

After you've installed the support package, you will have to do a setup. Go to the support package entry in the Add-Ons explorer, click manage, and then click the setup link for this package. You'll have to download and extract support files from ST, and tell MATLAB where they're located.

  0 Comments

Log in to comment.


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!