Hi All,
I am doing an implementation on TI LaunchPad: MSP-EXP430F5529LP, with CCS v10 and TI compiler.
At the last link step, it reports that
undefined first referenced
symbol in file
--------- ----------------
__main_thread_stack_base__ <whole-program>
__main_thread_stack_end__ <whole-program>
Where should I define these two symbols? Thanks a lot.
Link error, undefined symbol __main_thread_stack_base__ and __main_thread_stack_end__
Moderators: RoccoMarco, lbednarz, tfAteba
-
swimmingdog
- Posts: 1
- Joined: Mon Jul 27, 2020 12:06 am
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Link error, undefined symbol __main_thread_stack_base__ and __main_thread_stack_end__
Hi,
Those needs to be exported by linker scripts, see "rules.ld" in the ARMCMx port.
Giovanni
Those needs to be exported by linker scripts, see "rules.ld" in the ARMCMx port.
Giovanni