使用 Keil STM32 构建时未定义符号 SystemInit(从 startup_stm32f2xx.o 引用) [英] Undefined symbol SystemInit(referred from startup_stm32f2xx.o) while building using Keil STM32

查看:23
本文介绍了使用 Keil STM32 构建时未定义符号 SystemInit(从 startup_stm32f2xx.o 引用)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 STM32F207VC 控制器.并且我正在使用 uvision4 IDE,当我尝试编译一个简单的代码时,我收到错误 tst1.axf: Error: L6218E: Undefined symbol SystemInit(从 startup_stm32f2xx.o 引用)..我已将 stm32f2x 文件放置到我的项目目录中.

I am using STM32F207VC controller. and I am using uvision4 IDE, When I try to compile a simple code, I get the error tst1.axf: Error: L6218E: Undefined symbol SystemInit (referred from startup_stm32f2xx.o). . I have place stm32f2x file to my project directory.

但还是同样的问题.

请帮忙解决这个问题.

谢谢

推荐答案

"Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\system_stm32f10x.c"需要添加它,因为 SystemInit() 在其中定义.

"Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\system_stm32f10x.c" is needed it be added, as SystemInit() is defined within it.

这篇关于使用 Keil STM32 构建时未定义符号 SystemInit(从 startup_stm32f2xx.o 引用)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆