[fpc-devel] Arm Thumb2 - Stellaris status
Marco van de Voort
marcov at stack.nl
Sun Aug 21 16:55:25 CEST 2011
In our previous episode, John Clymer said:
> As part of my table-ization of cpuinfo.pas, I am including a generic part
> for each (no code published for this yet.) The caveat to this is that
> FLASH size and SRAM sizes are just set to extremely large (1 MB each for
> now). Which means if the code size exceeds the space of the device - the
> compiler/linker will not catch the overflow of the available resource.
> (Running objsize on the ELF file will display the sizes - so I just run
> that after every successful compile.)
I don't use embedded arm, but on other microcontrollers, bootloaders are
often also at the end of the flash. The main reason for this is to avoid
having to modify the linker file for normal programs (to switch between
bootloadable and not). For that, you need to have the exact amount of flash
in your CPU profile.
More information about the fpc-devel
mailing list