L6220E error

When I try to compile my program for the platform Nucleo L073RZ with the online IDE, I get this error:

Error: Load region LR_IROM1 size (69108 bytes) exceeds limit (65536 bytes). Region contains 105 bytes of padding and 0 bytes of veneers (total 105 bytes of linker generated content).

However, when I export to the gcc toolchain everything goes fine.

Nucleo L053R8 has a 64KB Flash, whilst Nucleo L073RZ has a 192KB Flash.

May it be an error defining the flash size in the linker file used by the online compiler?

10 Oct 2016

Hi,

I have raised the issue here: https://github.com/ARMmbed/mbed-os/issues/2971

16 Oct 2016

Hi,

I use the same board, and I have the same problem. I tried to import mbed-os library (which seems to have corrected the bug) and remove mbed library in my project. However, I still have the same error.

How can I use mbed-os in my project ? Will this memory error be corrected soon on the mbed (default) platform ?

Thanks for your help, Thibaud