Why is "stm32f4xx.h" missing when I try to build my model for the STM32F4 Discovery Board?
33 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2020-12-31
编辑: MathWorks Support Team
2024-3-31,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.
采纳的回答
MathWorks Support Team
2024-3-31,0:00
编辑:MathWorks Support Team
2024-3-31,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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!