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

27 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 31 Mar 2024 à 0:00
Modifié(e) : MathWorks Support Team le 31 Mar 2024 à 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:

Plus de réponses (0)

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by