AnsweredAssumed Answered

_stext not defined

Question asked by karazor.irfan on Apr 6, 2017
Latest reply on Apr 11, 2017 by luca

Hi.

 

I change memory model and libraries for code larger than 64K.
The error receive after linking:
#error clnk Debug\canli.lkf:1 symbol __stext not defined (Debug\stm8l_stl_startup.o )
The command: "clnk -l"C:\Program Files (x86)\COSMIC\FSE_Compilers\CXSTM8\Lib" -o Debug\canli.sm8 -mDebug\canli.map Debug\canli.lkf " has failed, the returned value is: 1

 

The code is #define GotoCompilerStartUp() _asm("xdef __stext\n jp __stext\n"); /* _stext() */

 

When i change memory model and libraries for code larger than 64K,  Should i update assambly code in different way?

 

Best regards.
irfan

Outcomes