收藏官网首页
查看: 3496|回复: 0

[讨论] 按四路继电器GOKIT一路操作出现编译错误

2

主题

5

帖子

238

积分

中级会员

Rank: 3Rank: 3

积分
238
跳转到指定楼层
楼主
 楼主| 发表于 2022-1-28 12:21:06 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
免费使用STM32、APP自动代码生成工具
按四路继电器gokit一路操作出现编译错误compiling STM32f1xx_hal_gpio_ex.c...
C:\Users\Administrator\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h(8347): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
    #include "stm32f10x_conf.h"
../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c: 0 warnings, 1 error
compiling stm32f1xx_hal_tim.c...
C:\Users\Administrator\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h(8347): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
    #include "stm32f10x_conf.h"
../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c: 0 warnings, 1 error
compiling stm32f1xx_hal_cortex.c...
C:\Users\Administrator\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h(8347): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
    #include "stm32f10x_conf.h"
../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c: 0 warnings, 1 error
compiling stm32f1xx_hal_pwr.c...
C:\Users\Administrator\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h(8347): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
    #include "stm32f10x_conf.h"
../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c: 0 warnings, 1 error
compiling stm32f1xx_hal_uart.c...
C:\Users\Administrator\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h(8347): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
    #include "stm32f10x_conf.h"
../Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c: 0 warnings, 1 error
compiling system_stm32f1xx.c...
C:\Users\Administrator\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h(8347): error:  #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
    #include "stm32f10x_conf.h"
../Src/system_stm32f1xx.c: 0 warnings, 1 error
".\STM32F103C8x\STM32F103C8x.axf" - 27 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:24

出现最多错误的是Iinclude "include.h"
其次就是当前这个错误
感觉keill5的驱动用在线下载也容易报错,下载的驱动好像文件名称不对,所以一头雾水!
希望遇到同样问题的大神共同探讨
期间找了度娘有无数解决办法,大部分都是这个问题解决同时又出现了好多由于更改而出现附带问题,

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

版权与免责声明 © 2006-2024 Gizwits IoT Technology Co., Ltd. ( 粤ICP备11090211号 )

快速回复 返回顶部 返回列表