28

帖子

0

TA的资源

一粒金砂(中级)

41
 
好东西  顶一顶
此帖出自stm32/stm8论坛
 

回复

11

帖子

0

TA的资源

一粒金砂(中级)

42
 
写的还行。
此帖出自stm32/stm8论坛
 
 

回复

182

帖子

0

TA的资源

一粒金砂(高级)

43
 
很适合初学者~
此帖出自stm32/stm8论坛
 
 

回复

182

帖子

0

TA的资源

一粒金砂(高级)

44
 
不错,顶一下~
此帖出自stm32/stm8论坛
 
 
 

回复

22

帖子

0

TA的资源

一粒金砂(初级)

45
 
这个不错,收藏!
此帖出自stm32/stm8论坛
 
 
 

回复

8

帖子

0

TA的资源

一粒金砂(中级)

46
 

我根据说明完成,怎么编译后出现很多错误啊,麻烦指导,谢谢

Build target 'MyFirstJob'
compiling stm32f10x_flash.c...
library\src\stm32f10x_flash.c(17): error:  #5: cannot open source input file "stm32f10x_flash.h": No such file or directory
compiling stm32f10x_gpio.c...
library\src\stm32f10x_gpio.c(17): error:  #5: cannot open source input file "stm32f10x_gpio.h": No such file or directory
compiling stm32f10x_lib.c...
library\src\stm32f10x_lib.c(19): error:  #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
compiling stm32f10x_rcc.c...
library\src\stm32f10x_rcc.c(17): error:  #5: cannot open source input file "stm32f10x_rcc.h": No such file or directory
compiling main.c...
src\main.c(5): warning:  #1-D: last line of file ends without a newline
compiling stm32f10x_it.c...
interrupt\stm32f10x_it.h(21): error:  #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
Target not created
此帖出自stm32/stm8论坛
 
 
 

回复

8

帖子

0

TA的资源

一粒金砂(中级)

47
 

增加define:STM32F10X_HD,USE_STDPERIPH_DRIVER 和conf.h文件后出现下面的提示

Build target 'MyFirstJob'
compiling stm32f10x_flash.c...
.\library\inc\stm32f10x_gpio.h(64): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(217): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(219): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(221): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(223): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(226): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(226): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(227): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(227): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(228): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(228): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(229): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(229): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(230): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(230): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(231): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(232): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_gpio.h(232): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(233): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(233): error:  #20: identifier "u8" is undefined
compiling stm32f10x_gpio.c...
.\library\inc\stm32f10x_rcc.h(27): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(28): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(29): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(30): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(31): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(254): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(255): error:  #20: identifier "ErrorStatus" is undefined
.\library\inc\stm32f10x_rcc.h(256): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_rcc.h(257): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(258): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(258): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(259): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(260): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(261): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_rcc.h(262): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(263): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(264): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(265): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_rcc.h(265): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(266): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(267): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(268): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_rcc.h(269): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(270): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(271): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(273): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(273): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(274): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_rcc.h(274): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_rcc.h(275): error:  #20: identifier "u32" is undefined
compiling stm32f10x_lib.c...
.\library\inc\stm32f10x_gpio.h(64): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(217): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(219): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(221): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(223): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(226): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(226): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(227): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(227): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(228): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(228): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(229): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(229): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(230): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(230): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(231): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(232): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_gpio.h(232): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(233): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(233): error:  #20: identifier "u8" is undefined
compiling stm32f10x_rcc.c...
.\library\inc\stm32f10x_gpio.h(64): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(217): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(219): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(221): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(223): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(226): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(226): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(227): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(227): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(228): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(228): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(229): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(229): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(230): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(230): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(231): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(232): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_gpio.h(232): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(233): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(233): error:  #20: identifier "u8" is undefined
compiling main.c...
src\main.c(5): warning:  #1-D: last line of file ends without a newline
compiling stm32f10x_it.c...
.\library\inc\stm32f10x_gpio.h(64): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(217): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(219): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(221): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(221): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(222): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(223): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(223): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(224): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(225): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(226): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(226): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(227): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(227): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(228): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(228): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(229): error:  #20: identifier "GPIO_TypeDef" is undefined
.\library\inc\stm32f10x_gpio.h(229): error:  #20: identifier "u16" is undefined
.\library\inc\stm32f10x_gpio.h(230): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(230): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(231): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(232): error:  #20: identifier "u32" is undefined
.\library\inc\stm32f10x_gpio.h(232): error:  #20: identifier "FunctionalState" is undefined
.\library\inc\stm32f10x_gpio.h(233): error:  #20: identifier "u8" is undefined
.\library\inc\stm32f10x_gpio.h(233): error:  #20: identifier "u8" is undefined
Target not created
此帖出自stm32/stm8论坛
 
 
 

回复

12

帖子

0

TA的资源

一粒金砂(初级)

48
 
interrupt\stm32f10x_it.h(21): error:  #5: cannot open source input file "stm32f10x_lib.h": No such file or directory我的出现了这种错误,是什么原因/
此帖出自stm32/stm8论坛
 
 
 

回复

27

帖子

1

TA的资源

一粒金砂(初级)

49
 
对菜鸟来说很好的帖子
此帖出自stm32/stm8论坛
 
 
 

回复

18

帖子

0

TA的资源

一粒金砂(初级)

50
 
谢谢楼主
此帖出自stm32/stm8论坛
 
 
 

回复

9

帖子

2

TA的资源

一粒金砂(中级)

51
 
有没有软件下载啊
此帖出自stm32/stm8论坛
 
 
 

回复

9

帖子

7

TA的资源

一粒金砂(初级)

52
 
在很高興!可以看到這麼好的知識!
此帖出自stm32/stm8论坛
 
 
 

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

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/10 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表