2020-11-05 08:41 PM
Hello
I want to rewrite code into STM8S103F2P6.
But I can't build it.
STVD outputted following error massage.
Compiling stm8_interrupt_vector.c...
cxstm8 +mods0 +debug -pxp -no -pp -l -istm8s_stdperiph_driver\inc -i"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Hstm8" -clDebug\ -coDebug\ stm8_interrupt_vector.c
stm8_interrupt_vector.c:
Running Linker
clnk -l"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Lib" -o Debug\test.sm8 -mDebug\test.map Debug\test.lkf
#error clnk Debug\test.lkf:1 no default placement for segment .Signature
The command: "clnk -l"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Lib" -o Debug\test.sm8 -mDebug\test.map Debug\test.lkf " has failed, the returned value is: 1
exit code=1.
test.elf - 3 error(s), 0 warning(s)
How do I solve this error?
Please let me know if you have any missing information.
Solved! Go to Solution.
2020-11-06 12:32 AM
Self Solve Thanx
I use Universal Motor demo Board.
IDE are STVD+COSMIC.
Project->Setting->Linker
I add a section as following in Code,Constance.
.const
.text
.Signature
That made program built.
2020-11-06 12:32 AM
Self Solve Thanx
I use Universal Motor demo Board.
IDE are STVD+COSMIC.
Project->Setting->Linker
I add a section as following in Code,Constance.
.const
.text
.Signature
That made program built.