STM8S使用库函数问题
用STM8S105S4开发板,工具是STVD
clnk -l"E:\Program Files\COSMIC\CXSTM8_32K\Lib" -o Debug\test.sm8 -mDebug\test.map Debug\test.lkf
#error clnk Debug\test.lkf:1 prefixed symbol f_NonHandledInterrupt in conflict (Debug\stm8_interrupt_vector.o Debug\stm8s_it.o)
The command: "clnk -l"E:\Program Files\COSMIC\CXSTM8_32K\Lib" -o Debug\test.sm8 -mDebug\test.map Debug\test.lkf " has failed, the returned value is: 1
exit code=1.
主函数是:
#include "stm8s.h"
#include"system.h"
main()
{
while (1);
}
[解决办法]
stm8_interrupt_vector.c里面的代码 有问题吧