2014-03-11 10:09 AM
Hello, I am having an error message when I build my codes using the ''release'' mode in order to generate the .s19 file before programming my MCU.
Running Linker
clnk -lC:\Lib -o Release\discover.sm8 Release\discover.lkf
&sharperror clnk Release\discover.lkf:1 no default placement for segment .dataeeprom
&sharperror clnk Release\discover.lkf:1 no default placement for segment .DISPLAY The command: ''clnk -lC:\Lib -o Release\discover.sm8 Release\discover.lkf '' has failed, the returned value is: 1exit code=1.
Before that, I already built successfully my codes with the ''debug'' mode. The only thing I modified in my code for the ''release'' mode was that I uncommented one line which defined my target STM8L device in the stm8l15.h file. (I made this because when it was required when I build from the first time in the ''release'' mode).
I am using Cosmic and the codes are the original firmware that comes with the M24LR discovery kit. The c
odes were downloaded from
http://www.st.com/web/en/catalog/tools/FM116/SC1444/PF253360
http://www.st.com/web/en/catalog/tools/PF258104
.
Thanks in advance.
#discovery-linker-stm8-m24lr2014-06-06 11:49 AM