野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 20067|回复: 2

我花了n长的时间学这个流水灯 就是自己改了下端口 和芯片, 自己照着野火的书写,...

[复制链接]
发表于 2013-7-10 17:19:47 | 显示全部楼层 |阅读模式
compiling stm32f10x_gpio.c...
..\FWlib\src\stm32f10x_gpio.c(559): error:  #136: struct "<unnamed>" has no field "MAPR2"
..\FWlib\src\stm32f10x_gpio.c(593): error:  #136: struct "<unnamed>" has no field "MAPR2"
compiling stm32f10x_rcc.c...
..\FWlib\src\stm32f10x_rcc.c(315): error:  #20: identifier "HSE_STARTUP_TIMEOUT" is undefined
..\FWlib\src\stm32f10x_rcc.c(926): error:  #20: identifier "HSI_VALUE" is undefined
..\FWlib\src\stm32f10x_rcc.c(929): error:  #20: identifier "HSE_VALUE" is undefined
Target not created
回复

使用道具 举报

 楼主| 发表于 2013-7-10 17:20:14 | 显示全部楼层
求大神帮忙
回复 支持 反对

使用道具 举报

发表于 2013-7-10 19:41:31 | 显示全部楼层
应该是没有在stm32f10x_config.h文件中把相应头文件包含进来。
回复 支持 反对

使用道具 举报

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

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-5-12 08:50 , Processed in 0.030346 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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