OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 27897|回复: 38

MDK由以前的MDK4.72A升级到MDK5.0原有的程序出现23个错误,麻烦大家帮我看看

[复制链接]

14

主题

164

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1861
金钱
1861
注册时间
2012-5-19
在线时间
286 小时
发表于 2013-11-2 10:53:51 | 显示全部楼层 |阅读模式
由于MDK4.72A没有STM32F030,所以升级到了MDK5.0
我的程序在MDK4.72A下编译正常没有任何错误,升级软件后程序都出现了同样的问题,请大家帮我看看,这个是什么原因。
Build target '103RE_安卓_Print1'
compiling main.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\main.c: 1 warning, 1 error
compiling Init.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\Init.c: 1 warning, 1 error
compiling Delays.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\Delays.c: 1 warning, 1 error
compiling TIM_x.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\TIM_x.c: 1 warning, 1 error
compiling AD_x.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\AD_x.c: 1 warning, 1 error
compiling PrintProcessings.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\PrintProcessings.c: 1 warning, 1 error
compiling HZlib.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\HZlib.c: 1 warning, 1 error
compiling Usart1.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\Usart1.c: 1 warning, 1 error
compiling Usart2.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\Usart2.c: 1 warning, 1 error
compiling Usart3.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\Usart3.c: 1 warning, 1 error
compiling RefreshPrint.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\RefreshPrint.c: 1 warning, 1 error
compiling PrintEndProcess.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\PrintEndProcess.c: 1 warning, 1 error
compiling AlarmProcess.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\AlarmProcess.c: 1 warning, 1 error
compiling SpecialSymbol.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\User\SpecialSymbol.c: 1 warning, 1 error
compiling misc.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c: 1 warning, 1 error
compiling stm32f10x_rcc.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c: 1 warning, 1 error
compiling stm32f10x_gpio.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c: 1 warning, 1 error
compiling stm32f10x_tim.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c: 1 warning, 1 error
compiling stm32f10x_flash.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c: 1 warning, 1 error
compiling stm32f10x_i2c.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.c: 1 warning, 1 error
compiling stm32f10x_usart.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c: 1 warning, 1 error
compiling stm32f10x_adc.c...
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
.\Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c: 1 warning, 1 error
compiling system_stm32f10x.c...
Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(298): error:  #67: expected a "}"
    ADC1_2_IRQn                 = 18,     /*!< ADC1 and ADC2 global Interrupt                       */
Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning:  #12-D: parsing restarts here after previous syntax error
  } IRQn_Type;
Source\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\system_stm32f10x.c: 1 warning, 1 error
".\Obj\103RE_安卓_Print1.axf" - 23 Error(s), 23 Warning(s).
Target not created
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165540
金钱
165540
注册时间
2010-12-1
在线时间
2117 小时
发表于 2013-11-2 11:13:33 | 显示全部楼层
估计是库头文件变了,找原来的头文件过来吧。
我是开源电子网www.openedv.com站长,有关站务问题请与我联系。
正点原子STM32开发板购买店铺http://openedv.taobao.com
正点原子官方微信公众平台,点击这里关注“正点原子”
回复 支持 反对

使用道具 举报

0

主题

3

帖子

0

精华

新手上路

积分
27
金钱
27
注册时间
2013-11-8
在线时间
1 小时
发表于 2013-11-8 18:12:19 | 显示全部楼层
我碰到相同的问题,解决方法如下:打开C:\Keil\UV4\PackInstaller.exe,然后在Packs选项中找到Keil::STM32F1xx_DFP单击前面的+号展开,选中1.0.2点击后面的卸载按钮,卸载后编译就正常。
具体什么原因不知.
回复 支持 反对

使用道具 举报

0

主题

3

帖子

0

精华

新手上路

积分
27
金钱
27
注册时间
2013-11-8
在线时间
1 小时
发表于 2013-11-9 12:43:26 | 显示全部楼层

终于知道原因了,原先的Keil::STM32F1xx_DFP安装包是你直接从uVision4升级到uVision5后保留的,使用PackInstaller将原先的包1.0.2 Remove + Delete Pack,然后重新下载安装Keil::STM32F1xx_DFP,版本应该是1.0.0,问题解决,库不兼容

回复 支持 反对

使用道具 举报

14

主题

164

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1861
金钱
1861
注册时间
2012-5-19
在线时间
286 小时
 楼主| 发表于 2013-11-14 09:19:04 | 显示全部楼层
回复【4楼】soliang:
---------------------------------
现在用原子哥的办法装2个 一个4.72a一个5.0.等有时间在看看你的方法在我这里的应用
回复 支持 反对

使用道具 举报

17

主题

80

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
446
金钱
446
注册时间
2012-9-15
在线时间
33 小时
发表于 2013-12-9 10:25:48 | 显示全部楼层
原来如此
回复 支持 反对

使用道具 举报

0

主题

2

帖子

0

精华

新手入门

积分
22
金钱
22
注册时间
2013-12-16
在线时间
0 小时
发表于 2013-12-16 21:59:34 | 显示全部楼层
回复【4楼】soliang:
---------------------------------
您有这个吗?“Keil::STM32F1xx_DFP,版本应该是1.0.0”  怎么下不到啊?  求帮助啊 ! 有的话发我一份  邮箱:619150252@qq.com  谢谢了!
回复 支持 反对

使用道具 举报

0

主题

1

帖子

0

精华

新手上路

积分
22
金钱
22
注册时间
2013-1-13
在线时间
0 小时
发表于 2013-12-26 10:33:52 | 显示全部楼层
我也遇到这个问题了,你们都解决了吗?
回复 支持 反对

使用道具 举报

6

主题

41

帖子

0

精华

初级会员

Rank: 2

积分
134
金钱
134
注册时间
2013-8-4
在线时间
13 小时
发表于 2014-1-20 16:34:27 | 显示全部楼层
回复【8楼】舟阳:
---------------------------------
error:  #67: expected a "}"这个错误
C/C++选项卡里的define有问题
回复 支持 反对

使用道具 举报

6

主题

41

帖子

0

精华

初级会员

Rank: 2

积分
134
金钱
134
注册时间
2013-8-4
在线时间
13 小时
发表于 2014-1-20 16:34:40 | 显示全部楼层
回复【2楼】正点原子:
---------------------------------
error:  #67: expected a "}"这个错误
C/C++选项卡里的define有问题
回复 支持 反对

使用道具 举报

6

主题

41

帖子

0

精华

初级会员

Rank: 2

积分
134
金钱
134
注册时间
2013-8-4
在线时间
13 小时
发表于 2014-1-20 16:34:52 | 显示全部楼层
回复【7楼】大明:
---------------------------------
error:  #67: expected a "}"这个错误
C/C++选项卡里的define有问题
回复 支持 反对

使用道具 举报

3

主题

16

帖子

0

精华

初级会员

Rank: 2

积分
68
金钱
68
注册时间
2012-12-31
在线时间
4 小时
发表于 2014-1-22 20:55:58 | 显示全部楼层
以前Md的芯片能用Hd的定义,现在用了就报错的
回复 支持 反对

使用道具 举报

3

主题

16

帖子

0

精华

初级会员

Rank: 2

积分
68
金钱
68
注册时间
2012-12-31
在线时间
4 小时
发表于 2014-1-22 20:56:59 | 显示全部楼层
回复【11楼】张静茹:
---------------------------------
以前Md的芯片能用Hd的定义,现在用了就报错的
回复 支持 反对

使用道具 举报

6

主题

41

帖子

0

精华

初级会员

Rank: 2

积分
134
金钱
134
注册时间
2013-8-4
在线时间
13 小时
发表于 2014-1-22 21:32:44 | 显示全部楼层
回复【13楼】hoverxx:
---------------------------------
cpu型号  下载选的哪个内存大小的那个文件,还有这个md  hd 这三个要对应
回复 支持 反对

使用道具 举报

0

主题

2

帖子

0

精华

新手入门

积分
27
金钱
27
注册时间
2013-10-7
在线时间
2 小时
发表于 2014-3-23 10:41:01 | 显示全部楼层
回复【4楼】soliang:

终于知道原因了,原先的Keil::STM32F1xx_DFP安装包是你直接从uVision4升级到uVision5后保留的,使用PackInstaller将原先的包1.0.2 Remove + Delete ack,然后重新下载安装Keil::STM32F1xx_DFP,版本应该是1.0.0,问题解决,库不兼容

---------------------------------太好了,一下解决
回复 支持 反对

使用道具 举报

0

主题

3

帖子

0

精华

新手上路

积分
27
金钱
27
注册时间
2013-11-8
在线时间
1 小时
发表于 2014-6-6 11:48:15 | 显示全部楼层
回复【10楼】张静茹:
---------------------------------
在C/C++选项卡里的define中去掉STM32F10X_MD也编译OK,但不知道有没有什么隐患?
回复 支持 反对

使用道具 举报

1

主题

19

帖子

0

精华

新手上路

积分
43
金钱
43
注册时间
2014-8-17
在线时间
0 小时
发表于 2014-8-17 14:01:56 | 显示全部楼层
回复【3楼】soliang:
---------------------------------
感谢该楼层的回答!这个方法的确是很有用,但是我还是不知道为什么?还有就是,在我的电脑上,用正点原子的例程在不卸载的情况下可以完美编译,但是按照相同的流程自己创建的工程却是出现大量的此类错误。希望有知道的给我们解释下
回复 支持 反对

使用道具 举报

1

主题

19

帖子

0

精华

新手上路

积分
43
金钱
43
注册时间
2014-8-17
在线时间
0 小时
发表于 2014-8-17 14:06:44 | 显示全部楼层
回复【14楼】张静茹:
---------------------------------
感谢你,让我解决了这个问题,并且明白了为什么!
回复 支持 反对

使用道具 举报

0

主题

4

帖子

0

精华

新手入门

积分
24
金钱
24
注册时间
2014-8-17
在线时间
0 小时
发表于 2014-8-18 16:33:50 | 显示全部楼层
正确的解决方法:
在C/C++选项卡里,把STM3210X_HD从prepocessor symbol define 里面删掉`(*∩_∩*)′

这么做的原因:在老版本的官方STM32F10X.H文件里,这句话不是这么写的,若没记错的话,是
...&&!defined(STM32F10X_HD) && ...
原来是有括号的,不做标识符来处理,而新版的,如图,直接说明了出来,那就没有必要,可以根据C/C++知识自己去推断;

具体可以看搜“[STM32系列贴-初级]之STM32F10X工程建立详细过程及问题解决”,去看
回复 支持 反对

使用道具 举报

3

主题

41

帖子

1

精华

中级会员

Rank: 3Rank: 3

积分
224
金钱
224
注册时间
2014-9-2
在线时间
0 小时
发表于 2014-9-3 20:20:29 | 显示全部楼层
回复【16楼】soliang:
---------------------------------
太机智了
趁着年轻,追逐自己所爱的----单片机&&足球!
回复 支持 反对

使用道具 举报

27

主题

81

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
300
金钱
300
注册时间
2012-9-11
在线时间
31 小时
发表于 2014-9-18 21:20:17 | 显示全部楼层
18楼简单明了,正解
回复 支持 反对

使用道具 举报

0

主题

1

帖子

0

精华

新手上路

积分
22
金钱
22
注册时间
2014-10-8
在线时间
0 小时
发表于 2014-10-8 15:23:41 | 显示全部楼层
回复【19楼】lifeng202:
---------------------------------
给18楼赞一个。。。
回复 支持 反对

使用道具 举报

0

主题

20

帖子

0

精华

新手上路

积分
40
金钱
40
注册时间
2014-7-22
在线时间
0 小时
发表于 2015-1-24 21:49:48 | 显示全部楼层
回复【2楼】正点原子:
---------------------------------
  只要把  c/c++那个栏目中的  define的 芯片密度类型改了即可。
回复 支持 反对

使用道具 举报

0

主题

2

帖子

0

精华

新手上路

积分
24
金钱
24
注册时间
2015-3-9
在线时间
1 小时
发表于 2015-3-9 13:32:19 | 显示全部楼层
遇到同样的问题 楼上正解,我这里是 STM32F10X_XL 改为  STM32F10X_HD  后编译正常
回复 支持 反对

使用道具 举报

2

主题

8

帖子

0

精华

初级会员

Rank: 2

积分
53
金钱
53
注册时间
2015-7-10
在线时间
9 小时
发表于 2015-7-14 19:11:48 | 显示全部楼层
18楼正解,根据芯片型号改写STM32F10X_HD这个也可以
三人行必有我师,不能太弱
回复 支持 反对

使用道具 举报

8

主题

45

帖子

0

精华

高级会员

Rank: 4

积分
838
金钱
838
注册时间
2015-10-23
在线时间
163 小时
发表于 2015-10-26 10:41:19 | 显示全部楼层
在MDK5中要注意:C/C++选项中的Defina  STM32F10X_HD/MD/LD 一定要和目标芯片FLASH的情况严格对应,否则会出现上述报错.
回复 支持 反对

使用道具 举报

10

主题

81

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1502
金钱
1502
注册时间
2013-8-28
在线时间
28 小时
发表于 2015-12-7 10:36:46 | 显示全部楼层
mark  mark mark
STM32软硬件相关项目外包开发 QQ:83029775
回复 支持 反对

使用道具 举报

4

主题

36

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
289
金钱
289
注册时间
2015-10-7
在线时间
32 小时
发表于 2016-1-31 23:17:23 | 显示全部楼层
大明 发表于 2013-12-16 21:59
回复【4楼】soliang:
---------------------------------
您有这个吗?“Keil::STM32F1xx_DFP,版本应该是1 ...

您好,我也遇到上述问题,但是现在下载不了版本为1.0.0的   不知道你下载到了吗?
回复 支持 反对

使用道具 举报

0

主题

1

帖子

0

精华

新手入门

积分
10
金钱
10
注册时间
2016-4-18
在线时间
0 小时
发表于 2016-4-18 11:13:12 | 显示全部楼层
正点原子 发表于 2013-11-2 11:13
估计是库头文件变了,找原来的头文件过来吧。

原子哥咨询个问题,如果是因为从5.05的keil升级到5.18的版本之后。报内存不够的那个错误。。。有木有解决办法。、、没升级之前都ok的
.\out\P92_firmware.axf: Error: L6406E: No space in execution regions with .ANY selector matching smart.o(.data).
.\out\P92_firmware.axf: Error: L6407E: Sections of aggregate size 0x11d64 bytes could not fit into .ANY selector(s).
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 0 warning and 90 error messages.
回复 支持 反对

使用道具 举报

10

主题

92

帖子

0

精华

高级会员

Rank: 4

积分
837
金钱
837
注册时间
2016-5-13
在线时间
182 小时
发表于 2016-6-12 15:13:14 | 显示全部楼层
下不到Keil::STM32F1xx_DFP.1.0.0.pack,删掉STM32F10X_HD也没用。。。更换类型还是不行,神啊,救救我吧
相信自己,每一步都是在进步
回复 支持 反对

使用道具 举报

1

主题

6

帖子

0

精华

新手上路

积分
43
金钱
43
注册时间
2014-12-31
在线时间
6 小时
发表于 2016-7-16 16:10:59 | 显示全部楼层
也遇到同样问题
回复 支持 反对

使用道具 举报

14

主题

164

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1861
金钱
1861
注册时间
2012-5-19
在线时间
286 小时
 楼主| 发表于 2016-7-18 08:51:21 | 显示全部楼层

我先在装2个软件,老的程序用4.xx;新的程序开发用新的5.xx。
2个不同版本软件可以安装在同一台电脑上
回复 支持 反对

使用道具 举报

3

主题

25

帖子

0

精华

初级会员

Rank: 2

积分
84
金钱
84
注册时间
2016-7-12
在线时间
6 小时
发表于 2016-7-18 08:57:06 | 显示全部楼层
程序应该没问题,碰到类似的问题,包括其他软件升级我都是彻底删除后全新安装,一切OK
回复 支持 反对

使用道具 举报

0

主题

9

帖子

0

精华

新手上路

积分
39
金钱
39
注册时间
2016-9-17
在线时间
5 小时
发表于 2016-9-18 00:02:08 | 显示全部楼层
我把c/c++l里的define   :     USE_STDPERIPH_DRIVER,STM32F10X_HD    改成     USE_STDPERIPH_DRIVER,STM32F10X_MD  就好了,其实就是  L M H  这三种芯片容量和你定义的要对应
回复 支持 反对

使用道具 举报

28

主题

218

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
498
金钱
498
注册时间
2013-11-19
在线时间
92 小时
发表于 2016-12-25 21:55:20 | 显示全部楼层
cpu型号  下载选的那个内存大小的算法文件,还有这个md  hd ld这三个要对应,c/c++l里的define也要写对USE_STDPERIPH_DRIVER,STM32F10X_HD或 STM32F10X_MD或STM32F10X_LD
回复 支持 反对

使用道具 举报

kiwil 该用户已被删除
发表于 2017-3-3 16:49:32 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

14

主题

164

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1861
金钱
1861
注册时间
2012-5-19
在线时间
286 小时
 楼主| 发表于 2017-3-4 08:12:44 | 显示全部楼层
kiwil 发表于 2017-3-3 16:49
哈哈,文档在哪下的,我也想装2个

链接:http://pan.baidu.com/s/1boBeKMV 密码:pbly
里面是我平时下载的
回复 支持 反对

使用道具 举报

5

主题

47

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
227
金钱
227
注册时间
2016-7-14
在线时间
30 小时
发表于 2017-3-15 11:22:18 | 显示全部楼层
19楼正解,赞一个。
回复 支持 反对

使用道具 举报

0

主题

11

帖子

0

精华

初级会员

Rank: 2

积分
79
金钱
79
注册时间
2016-7-19
在线时间
11 小时
发表于 2018-4-11 12:00:51 | 显示全部楼层
soliang 发表于 2014-6-6 11:48
回复【10楼】张静茹:
---------------------------------
在C/C++选项卡里的define中去掉STM32F10X_MD也编 ...

不知道哇,,我看容量大了就HD,容量小了就MD
回复 支持 反对

使用道具 举报

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

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-7-19 05:08

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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