关于用官方库建立工程的问题

2019-07-19 20:49发布

#error clnk Debugi2c.lkf:1 symbol _assert_failed not defined (Debugstm8s_i2c.o Debugstm8s_adc2.o Debugstm8s_awu.o Debugstm8s_beep.o Debugstm8s_clk.o Debugstm8s_exti.o Debugstm8s_flash.o Debugstm8s_gpio.o Debugstm8s_itc.o Debugstm8s_iwdg.o Debugstm8s_rst.o Debugstm8s_spi.o Debugstm8s_tim1.o Debugstm8s_tim2.o Debugstm8s_tim3.o Debugstm8s_tim4.o Debugstm8s_uart1.o Debugstm8s_uart3.o Debugstm8s_wwdg.o )
The command: "clnk -l"C:Program Files (x86)COSMICCXSTM8Lib"  -o Debugi2c.sm8 -mDebugi2c.map Debugi2c.lkf " has failed, the returned value is: 1
exit code=1.
assert_failed 是在stm8s_conf.h 里面的,用的芯片是stm8s207rb。

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。