This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Linker Error L6406E and L6406E

Hi,

I recently made some changes to the code and noticed the following errors for the first time. Error: L6406E: No space in execution regions with .ANY selector matching main.o(.data). Error: L6407E: Sections of aggregate size 0x20 bytes could not fit into .ANY selector(s).

My understanding is that this is due to a small size of IRAM1 as described in the target options. I tried that and increased the size of IRAM1. The code compiles but when programmed onto an nRF51422 chip, the device doesn't turn on.

Can someone please tell me how to solve this problem?

I am currently using softdevice s310v1.0.0 and a 16kB RAM variant of the nRF51422. Program Size: Code=32064 RO-data=980 RW-data=492 ZI-data=6700

Related