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

No space for execution regions - free version of keil

Hi,

When I am building my application I get the following error:

Error: L6406E: No space in execution regions with .ANY selector matching ke_task.obj(.text).

but many times for different objects. I am using the limited (free) version of Keil for Arm cortex devices (I am using a Dialog chip with Arm Cortex M0)

I am not sure if I have simple just gone over the 32kB limit for the free version of Keil, or I have genuinly gone over my memory limit.

Can anyone help with this? If I go over the free 32kB limit, should it explicitly tell me? Or is this the error I will get

Parents
  • Hi,

    Thanks for your reply.

    The chip I use does not have any FLASH, so the code + data is loaded into RAM from an external memory or via the SWD - so in total I have around 50KB

    Also, I use a scatter file which I believe overrides what is in the target option anyway.

    So the map doesn't really tell me anything useful, but the build output I see now tells me:
    Error: L6407E: Sections of aggregate size 0xf6c bytes could not fit into .ANY selector(s).
    For some reason I didn't see this line before

    So I guess there is my answer, I need to free up somehow around 4kB! T

Reply
  • Hi,

    Thanks for your reply.

    The chip I use does not have any FLASH, so the code + data is loaded into RAM from an external memory or via the SWD - so in total I have around 50KB

    Also, I use a scatter file which I believe overrides what is in the target option anyway.

    So the map doesn't really tell me anything useful, but the build output I see now tells me:
    Error: L6407E: Sections of aggregate size 0xf6c bytes could not fit into .ANY selector(s).
    For some reason I didn't see this line before

    So I guess there is my answer, I need to free up somehow around 4kB! T

Children
No data