Skip to main content
Visitor II
August 6, 2009
Question

error on touch key example application

  • August 6, 2009
  • 2 replies
  • 1062 views
Posted on August 06, 2009 at 16:36

error on touch key example application

    This topic has been closed for replies.

    2 replies

    vaibhav2Author
    Visitor II
    May 17, 2011
    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

    Visitor II
    May 17, 2011
    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