在线时间0 小时
UID1581172
ST金币0
蝴蝶豆0
注册时间2009-2-28
新手上路
- 最后登录
- 1970-1-1
|
a0a.1 0b0c
本人初学者,STM8,调用TIM定时器,出现编译错误码
库文件STM8S_StdPeriph_Driver2.10版本
调用库文件
/* MAIN.C file
*
* Copyright (c) 2002-2005 STMicroelectronics
*/
#include "stm8s.h"
#include "stm8s_gpio.h"
单体compilc成功后,后build后出现以后错误:
#error clnk Debug\t3.lkf:1 symbol _TIM1_GetCapture1 not defined (Debug\main.o )
#error clnk Debug\t3.lkf:1 symbol _TIM1_GetCapture2 not defined (Debug\main.o )
#error clnk Debug\t3.lkf:1 symbol _CLK_SYSCLKConfig not defined (Debug\main.o )
#error clnk Debug\t3.lkf:1 symbol _TIM1_DeInit not defined (Debug\main.o )
#error clnk Debug\t3.lkf:1 symbol _GPIO_Init not defined (Debug\main.o )
#error clnk Debug\t3.lkf:1 symbol _TIM1_ClearITPendingBit not defined (Debug\main.o )
#error clnk Debug\t3.lkf:1 symbol _TIM1_Cmd not defined (Debug\main.o )
#error clnk Debug\t3.lkf:1 symbol _TIM1_GetITStatus not defined (Debug\main.o )
The command: "clnk -m Debug\t3.map -l"C:\Program Files\COSMIC\CXSTM8\Lib" -o Debug\t3.sm8 Debug\t3.lkf " has failed, the returned value is: 1
|
|