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)
Afficher commentaires plus anciens
MathWorks Support Team
le 31 Déc 2020
Modifié(e) : MathWorks Support Team
le 31 Mar 2024 à 21:11
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
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:
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!