I have a Nordic micro-controller nRF51 with 128kb of flash memory, I compiled with Keil, I generated a a program with:
Program Size: Code=23856 RO-data=632 RW-data=308 ZI-data=7612
This is compiling successfully with nRF51 256kb flash flag. but when I compile with 128kb flag I got error:
Error: L6406E: No space in execution regions with .ANY selector matching libshutdown.o(.ARM.Collect$$libshutdown$$00000000). why I get this error with program size 23856 and flash memory of 128kb