LJYARM 发表于 2011-2-23 21:00:59

请问stm32固件库怎么升级(2.0.3-3.0.0)

我想要具体操作的步骤,官方那个文档看完之后,真的不知道怎么操作???

发表于 2011-2-23 22:13:41

RE:请问stm32固件库怎么升级(2.0.3-3.0.0)

就是把你先前用的那些文件换成新的就可以了。记住头文件和.C文件都要换。

LJYARM 发表于 2011-2-23 22:23:27

RE:请问stm32固件库怎么升级(2.0.3-3.0.0)

将文件夹STM32F10xFWLib替换为STM32F10x_StdPeriph_Lib_V3.0.0\Libraries,
将文件”stm32f10x_conf.h”替换为标准外设库V3.0.0附带的最新版本,在用户把代码从旧的stm32f10x_it.c复制到新的中以后,还需要把stm32f10x_it.h替换为在标准外设库V3.0.0提供的新版本。
做了以上几步,但不行,一大堆警告D:\keil\ARM\Examples\ST\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c(60): warning:#1207-D: attribute "__interrupt__" ignored
D:\keil\ARM\Examples\ST\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c(156): warning:#144-D: a value of type "void *" cannot be used to initialize an entity of type "void (*const)(void)"
D:\keil\ARM\Examples\ST\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c(240): warning:#144-D: a value of type "void *" cannot be used to initialize an entity of type "void (*const)(void)"
D:\keil\ARM\Examples\ST\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c(260): warning:#223-D: function "asm" declared implicitly
D:\keil\ARM\Examples\ST\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c(301): warning:#161-D: unrecognized #pragma
D:\keil\ARM\Examples\ST\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c(302): warning:#161-D: unrecognized #pragma
D:\keil\ARM\Examples\ST\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c(303): warning:#161-D: unrecognized #pragma
D:\keil\ARM\Examples\ST\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c(304): warning:#161-D: unrecognized #pragma
D:\keil\ARM\Examples\ST\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c(305): warning:#161-D: unrecognized #pragma
D:\keil\ARM\Examples\ST\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c(306): warning:#161-D: unrecognized #pragma
D:\keil\ARM\Examples\ST\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c(307): warning:#161-D: unrecognized #pragma
D:\keil\ARM\Examples\ST\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c(308): warning:#161-D: unrecognized #pragma

发表于 2011-2-24 08:37:58

RE:请问stm32固件库怎么升级(2.0.3-3.0.0)

startup_stm32f10x_hd.c
警告肯定有的,需要你把里面部分内容修改一下。这个都好处理,你可以加深理解。

LJYARM 发表于 2011-2-24 12:49:12

RE:请问stm32固件库怎么升级(2.0.3-3.0.0)

非常感谢版主的指点

LJYARM 发表于 2011-2-24 12:49:41

RE:请问stm32固件库怎么升级(2.0.3-3.0.0)

非常感谢版主的指点

wangyin1226 发表于 2011-4-16 11:42:05

RE:请问stm32固件库怎么升级(2.0.3-3.0.0)

一般是更改头文件和一些设置文件

gehaiyangtai 发表于 2013-8-9 11:28:41

RE:请问stm32固件库怎么升级(2.0.3-3.0.0)

我在升级的过程中也遇到问题,编译后提示错误:
..\Output\Template.axf: Error: L6218E: Undefined symbol SysTick_CounterCmd (referred from st_cor_hw_conf.o).
..\Output\Template.axf: Error: L6218E: Undefined symbol SysTick_ITConfig (referred from st_cor_hw_conf.o).
..\Output\Template.axf: Error: L6218E: Undefined symbol SysTick_SetReload (referred from st_cor_hw_conf.o).
..\Output\Template.axf: Not enough information to list image symbols.
..\Output\Template.axf: Finished: 1 information, 0 warning and 3 error messages.
Target not created
求指教!
页: [1]
查看完整版本: 请问stm32固件库怎么升级(2.0.3-3.0.0)