cancel
Showing results for 
Search instead for 
Did you mean: 

M24LR discovery Linker error

roddyrpg
Associate
Posted on March 11, 2014 at 18:09

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: 1

exit 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-m24lr
1 REPLY 1
pat2
Associate
Posted on June 06, 2014 at 20:49

Roddy, I am currently experiencing the same issue. Did you happen to figure out your error?