Question
_stext not defined
Posted on April 06, 2017 at 16:20
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: 1The 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
