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

Linking errors

Hi,

I'm getting linking errors while building the application that I couldn't figure out the cause.

I created a function x(&y, &z); which all the code in it is commented.

from my main(), whenever I call this function I get this message:

linking...
.
.
.
.\Output\Release\AD-app.axf: Error: L6406E: No space in execution regions with .ANY selector matching lwip.o(i.__ARM_common_call_via_r1).
.\Output\Release\AD-app.axf: Error: L6406E: No space in execution regions with .ANY selector matching tmwdlist.o(i.__ARM_common_call_via_r4).
.\Output\Release\AD-app.axf: Error: L6406E: No space in execution regions with .ANY selector matching tmwlink.o(i.__ARM_common_call_via_r6).
.\Output\Release\AD-app.axf: Error: L6406E: No space in execution regions with .ANY selector matching iusefp.o(.text).
.\Output\Release\AD-app.axf: Error: L6407E: Sections of aggregate size 0x974 bytes could not fit into .ANY selector(s).
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 0 warning and 78 error messages.

I read about increasing IRAM but it didn't solve the problem.
Any idea on the reason(s) why I'm getting linking errors & how to fix it?

I'm working on STR712FR2 and IRAM1 is 0xB000.

Regards,
BaDeR