I get a message: Error: L6407E: Sections of aggregate size 0x1a968 bytes could not fit into .ANY selector(s).
My stm32f has 4 selectors of 16 and one 64. Sector 0 is used for an emulated eeprom.
0000 - 4000 emulated eeprom 16k 4000-8000 16k 8000-c000 16k c000-10000 16k 10000 - 20000 64k
I should have 1C000 available. Why does it not fit?
You'd have to review the scatter file (.SCT) to understand the rules being applied. The linker isn't good spanning random stuff, so you might have to direct objects to specific load regions.
Using the boot block for EEPROM emulation sounds like a recipe for fail.