cancel
Showing results for 
Search instead for 
Did you mean: 

error on touch key example application

vaibhav2
Associate II
Posted on August 06, 2009 at 16:36

error on touch key example application

2 REPLIES 2
vaibhav2
Associate II
Posted on May 17, 2011 at 15:04

I download the touch key control for stm8 but i got following error while compiling example.stw

I used cosmic toolchain.

I am using license for stm8_16k is this error due to that?

#error clnk Debug\example.lkf:1 no default placement for segment .TSL_IO_ALCODE

The command: ''clnk -l''C:\Program Files\COSMIC\CXSTM8_16K\Lib'' -o Debug\example.sm8 -mDebug\example.map -sa Debug\example.lkf '' has failed, the returned value is: 1

exit code=1.

Please guide me! :o

Vaibhav

mozra27
Associate II
Posted on May 17, 2011 at 15:04

Hi Vaibhav,

This is a linker issue, that the pragmma section .TSL_IO_ALCODE is declared in the code but not defined in the linker.

Can you please give me the link to download this project?

Regards

mozra