In my scatter file, I have a memory region named TCM_COPY,
In my C file, i am trying to extern the region_name like,
extern unsigned int Image$$TCM_COPY$$Base.
But when I compile that C file, the ARM compiler generates an error;
L6218E: Undefined symbol Image$$TCM_COPY$$Base.
I am wonder why I can't import that region symbol from my scatter file??
HI liqiyang1908,
I have moved this to our 'Software Tools' community in order to try and find a resolution to your question.
Thanks
Ryan
Hello, sorry I just saw this message. Do you still have a problem? The error is a linker error... I wonder if you are compiling without -c (compile only). If you do not have this option, then the linker will automatically be invoked (without additional options, such as specifying the scatter file), hence this symbol will not be defined.