初级会员

- 积分
- 80
- 金钱
- 80
- 注册时间
- 2015-5-23
- 在线时间
- 0 小时
|
5金钱
Build target 'LED-DEMO'
linking...
STM32-DEMO.axf: Error: L6218E: Undefined symbol SysTick_CLKSourceConfig (referred from delay.o).
STM32-DEMO.axf: Error: L6218E: Undefined symbol NVIC_PriorityGroupConfig (referred from sys.o).
STM32-DEMO.axf: Not enough information to list image symbols.
STM32-DEMO.axf: Not enough information to list the image map.
STM32-DEMO.axf: Finished: 2 information, 0 warning and 2 error messages.
Target not created
一直提示这两个symbol未定义。我在cof.h中已经把所有头文件都包含进来了还是不行
#include "stm32f10x_adc.h"
#include "stm32f10x_bkp.h"
#include "stm32f10x_can.h"
#include "stm32f10x_crc.h"
#include "stm32f10x_dac.h"
#include "stm32f10x_dbgmcu.h"
#include "stm32f10x_dma.h"
#include "stm32f10x_exti.h"
#include "stm32f10x_flash.h"
#include "stm32f10x_fsmc.h"
#include "stm32f10x_gpio.h"
#include "stm32f10x_i2c.h"
#include "stm32f10x_iwdg.h"
#include "stm32f10x_pwr.h"
#include "stm32f10x_rcc.h"
#include "stm32f10x_rtc.h"
#include "stm32f10x_sdio.h"
#include "stm32f10x_spi.h"
#include "stm32f10x_tim.h"
#include "stm32f10x_usart.h"
#include "stm32f10x_wwdg.h"
#include "misc.h"
请问怎么解决呀?
|
最佳答案
查看完整内容[请看2#楼]
就是说SysTick_CLKSourceConfig和NVIC_PriorityGroupConfig 这两个函数没有定义。。。
去找这两个函数在哪个.c文件,看看这个.c加进来了没有。
|