欢迎使用CSDN-markdown编辑器

来源:互联网 发布:电视如何看网络直播 编辑:程序博客网 时间:2024/05/17 21:40

基于野火STM32指南者开发板平台ucosIII的系统移植问题汇总

  • 1-编译时出现部分库文件丢失或编译器无法打开的情况及解决方案
..\..\User\BSP\bsp.h(74): ***error:  #5: cannot open source input file "stm32f10x_lib.h": No such file or directory***  #include  <stm32f10x_lib.h>..\..\User\APP\app.c: 0 warnings, 1 errorcompiling os_app_hooks.c...compiling bsp.c.....\..\User\BSP\bsp.h(74): **error:  #5: cannot open source input file "stm32f10x_lib.h": No such file or directory**  #include  <stm32f10x_lib.h>..\..\User\BSP\bsp.c: 0 warnings, 1 error"..\..\Output\流水灯.axf" - 2 Error(s), 0 Warning(s).

编译工程时出现如上错误,这是由于工程没有使用uC/OS-III源码中的STM32的“stm32f103_lib.h”总头文件,应给工程添加对应的库文件即可解决。

原创粉丝点击