Application ofsset causes a error for loading into flash
Hello all,
i am trying to make an offset for my application to have a start of flash for bootloader. So i set up an offset in linker file, so instead of 0x08000000 to 0x0804B000 and vector table offset during startup. But the problem is that i am unable to load the application into flash (as you can see in picture). When i add post build command i can see an interresting error (second picture) showing that there is an empty loadable segment in address that is nowhere mentioned in my code. This address is always the one, which was used previously and i cannot get over it. I have tried to clean project and remove whole "Debug" folder but the same error again. Also i have marked option "Discard unused sections" in build settings.
Is it an another bug in overbugged SW?
Error from loading:

Information about empty loadable segment:

Linker file definitions:

