AnsweredAssumed Answered

stm8 cosmic problem on stvd

Question asked by torabi.navid on Jun 14, 2016
Latest reply on Mar 18, 2018 by li.jason.003
Hi friends
I'm new with stm8 microcontrollers, i have download st peripheral library and stm8 cosmic free compiler. after building project i see this errors:
----------------


----------- Project 5 - STM8 Cosmic - Configuration Release -------------
Removing intermediate files ... Done!


----------- Project 5 - STM8 Cosmic - Configuration Release -------------


Compiling main.c...
cxstm8 +mods0 -pp -dSTM8S105 -i..\4 -iinc -iD:\COSMIC\FSE_Compilers\CXSTM8\Hstm8  -clRelease\ -coRelease\ main.c
main.c:


Compiling src\stm8s_gpio.c...
cxstm8 +mods0 -pp -dSTM8S105 -i..\4 -iinc -iD:\COSMIC\FSE_Compilers\CXSTM8\Hstm8  -clRelease\ -coRelease\ src\stm8s_gpio.c
src\stm8s_gpio.c:


Compiling stm8_interrupt_vector.c...
cxstm8 +mods0 -pp -dSTM8S105 -i..\4 -iinc -iD:\COSMIC\FSE_Compilers\CXSTM8\Hstm8  -clRelease\ -coRelease\ stm8_interrupt_vector.c
stm8_interrupt_vector.c:


Running Linker
clnk -lD:\COSMIC\FSE_Compilers\CXSTM8\Lib  -o Release\5.sm8 -mRelease\5.map Release\5.lkf 
#error clnk Release\5.lkf:1 symbol _assert_failed not defined (Release\stm8s_gpio.o )
 The command: "clnk -lD:\COSMIC\FSE_Compilers\CXSTM8\Lib  -o Release\5.sm8 -mRelease\5.map Release\5.lkf " has failed, the returned value is: 1
exit code=1.


5.elf - 3 error(s), 0 warning(s)
----------------------

Outcomes