Currently using STM32F051, this has 32K of Flash space. When I want to add a Word value in the program, it is placed in the position of 0x7FFC of FLASH, which is the position of the last side of FLASH.
But when I use the following instructions
Int const IAP_End_Address __attribute__((at(0x08007FFC)))) = 0x01234567;
But the following ERROR appears
Warning: L6969W: Changing AT Section .ARM.__AT_0x08007800 type from RW to RO in ER_IROM1. Error: L6406E: No space in execution regions with .ANY selector matching __dczerorl2.o(.text). Error: L6407E: Sections of aggregate size 0x58 bytes could not fit into .ANY selector(s).
Can be used when I put it on 0x08007FA4, Why is my value not in the last position of FLASH?
http://www.keil.com/forum/64274/