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

uvision: error L6047U too restrictive

I can get rid of this error if I decrease my heap size by 1 in the assembly startup file. The linker then reports:
Program Size: Code=2928 RO-data=96 RW-data=12 ZI-data=13356

But during a debug session uVision reports:
*** Restricted Version with 16384 Byte Code Size Limit
*** Currently used: 3036 Bytes (18%)

My concern is the linker is adding up the total program size including ZI-data which too restrictive. Is there an eval version of the linker or linker option that just looks at Code size? I bought this eval kit because I believed I could actually get 16K Code size (not total program size).

Parents
  • Stop your whining Erik:) I purchased the hardware with the understanding that the software tools were restricitive but not so restrictive. How much did you pay?

    Basically I can work around the linker restrictions using a smaller heap and smaller problem sizes. Thank goodness whatever gets past the linker, the debugger will debug all the way up to the full 16K *Code* size limitation.

Reply
  • Stop your whining Erik:) I purchased the hardware with the understanding that the software tools were restricitive but not so restrictive. How much did you pay?

    Basically I can work around the linker restrictions using a smaller heap and smaller problem sizes. Thank goodness whatever gets past the linker, the debugger will debug all the way up to the full 16K *Code* size limitation.

Children