This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM scatter file symbols not defined?

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??

Parents
  • 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.

Reply
  • 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.

Children
No data