Why is "stm32f4xx.h" missing when I try to build my model for the STM32F4 Discovery Board?

33 visualizaciones (últimos 30 días)
Why is "stm32f4xx.h" missing when I try to build my model for the STM32F4 Discovery Board?
Here is the associated message from the diagnostic viewer.
In file included from <command-line>:0:0: C:/ProgramData/MATLAB/SupportPackages/R2019a/toolbox/target/supportpackages/stm32f4discovery/include/stm32f4discovery_wrapper.h:18:10:
fatal error: stm32f4xx.h: No such file or directory #include "stm32f4xx.h" ^~~~~~~~~~~~~ compilation terminated.
This message causes the build process to terminate with the following error:
Error(s) encountered while building "DiagLedLogic_mil": ### Failed to generate all binary outputs.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 31 de Mzo. de 2024 a las 0:00
Editada: MathWorks Support Team el 31 de Mzo. de 2024 a las 21:11
This issue could be resolved by installing the STM32F4DISCOVERY Board firmware package following the steps in the "Hardware Setup" pane of the "Embedded Coder Support Package for STMicroelectronics Discovery Boards".
You can open the "Hardware Setup" dialog using the steps found here:
For more information, please visit the following MATLAB Documentation page describing setup and configuration for this support package:

Más respuestas (0)

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by