Arm Mbed OS support forum

Error: L6406E: No space in execution regions with .ANY selector matching

Compiling program for Target DISCO-L053C8 on Mbed Studio V 1.4.1 and mbed-os 5.15.6 with “Bare-metal” profile. It gives error “Error: L6406E: No space in execution regions with .ANY selector matching”. The same program compiles on Mbed OS2 online using Flash 43K / 64K and RAM 4K / 8K.

Is there anything I have to add to the mbed_app.json or any other file?