9 years, 3 months ago.

Exporting project to Keil uVision- Not enough space on device...

I have an LPC11u24 board and my project is working nicely on MBed's online compiler. The build info tells me that the flash is 79% full and the RAM is 37% full. However when I export the project to Keil uVision the build fails and I get the error: "...Error: L6406E: No space in execution regions with .ANY selector matching..." And: "...Error: L6407E: Sections of aggregate size 0x33c bytes could not fit into .ANY selector(s)." Why does Keil think there is not enough space for the program on the device, when there clearly is because it runs when compiled with Mbed? Is there any way to fix this? Thanks in advance...

1 Answer

9 years, 3 months ago.

What is the optimization settings? mbed online IDE using O3, so set the same in the offline build. Does it fit?

Accepted Answer

Brilliant! Thanks for your help- it compiled with no errors! For anyone else wondering where the optimization settings are:

Project > Options for Target > C/C++ >Optimization

posted by A B 27 Jan 2015