无法打开源文件“rte_components.h”通常是因为文件路径未正确配置或文件缺失。当你在使用Keil、STM32CubeMX或其他开发环境进行STM32或GD32等微控制器的开发时,遇到“cannot open source input file 'rte_components.h'”的错误,通常是因为以下几个原因: 文件路径未正确配置: 确保你的
查看代码就可以发现“RTE_Components.h“这个文件是在"gd32f10x_libopt.h"这个文件中包含的。如果这个文件不包含“RTE_Components.h“ 就不会报错。"gd32f10x_libopt.h"有两种来源,一种是keil MDK安装目录下提供,默认是这种方式。另一种是自己在工程目录下提示这个文件, 而这个文件中不要包含这个“RTE_Compone...
在RTE_device.h文件中,配置串口一的硬件管脚如下: 使用如下(main.c): 1. #include <string.h> 2. #include "RTE_Components.h" 3. #include CMSIS_device_header 4. #include "cmsis_os2.h" 5. #include "stm32f10x.h" 6. 7. #include "Board_LED.h" 8. #include "Driver_USART.h" 9. 10...
well, I followed your recommendation andadded an empty RTE_Components.h file.What happened next is that it fails when compiling the main_s.c . Error: ../CMSIS/Target/main_s.c:29:10: error: #include expects "FILENAME" or Reason, the #include CMSIS_device_header is defined in RTE_Comp...
I have update my mdk compiler to V5.30, an err "RTE_Components.h not found" print out when compile SDK 2.7.0 version with MIMXRT1064
就是这个坏了RTE_COMPONENTS_H 只看楼主 收藏 回复baici2050 默默无闻 1 库也是下载的怎么解决登录百度帐号 扫二维码下载贴吧客户端 下载贴吧APP看高清直播、视频! 贴吧页面意见反馈 违规贴吧举报反馈通道 贴吧违规信息处理公示0回复贴,共1页 <<返回stm32吧 分享到: ©2022 Baidu贴吧协议|隐私政策|吧主制度...