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

error: L6050U: The code size of this image (86760 bytes) exceeds the maximum allowed for this version of the linker.

I have install
Keil MDK Community Version 5.41.0.0
User Based License Keil MDK Community (non-commercial free of charge) valid until May 31 2033 and cached until Mar 16 2026
Compiler Version 5.06 update 6 (build 750)

Rebuild started: Project: proj
*** Warning: The configured compiler version '5.06 update 6 (build 750)' does not support the selected User Based Licensing technology.
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Users\user.name\AppData\Local\Keil_v5\ARM\ARM_Compiler_5.06u6\Bin'
Rebuild target 'proj Configuration'

linking...
proj Configuration\proj Configuration.axf: error: L6050U: The code size of this image (86760 bytes) exceeds the maximum allowed for this version of the linker.
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
"proj Configuration\proj Configuration.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:24

How to resolve this code size limit issue for the linker?

Parents
  • You are using a very old compiler. You should use the supplied Arm Compiler 6 (Arm Compiler for Embedded).

    Using Arm Compiler 5, this uses the default evaluation license, which has a code size limitation of 32KB.

    If you wish to continue to use Arm Compiler 5, you require an MDK Professional Edition license, which can support such legacy tools.

Reply
  • You are using a very old compiler. You should use the supplied Arm Compiler 6 (Arm Compiler for Embedded).

    Using Arm Compiler 5, this uses the default evaluation license, which has a code size limitation of 32KB.

    If you wish to continue to use Arm Compiler 5, you require an MDK Professional Edition license, which can support such legacy tools.

Children
No data