[fpc-pascal] Variable alignment in arm-embedded

Tomas Hajny XHajT03 at hajny.biz
Wed Jun 13 09:29:14 CEST 2012


On Wed, June 13, 2012 07:37, alrieckert wrote:
> alrieckert wrote
>>
>> Please just make sure about your starting address for the flash. I'm
>> using
>> the STM32F103CBT6 and the start address is 0x08000000 and not 0x0800000
>>
> I've just verified it. The starting address for the flash should be
> 0x08000000. The reason for mine being 0x08003000 is that I'm making use of
> a
> USB DFU bootloader to load my program onto the device.
>
> Would be nice if we could specify the flash start offset at compile (link)
> time and not to hard code this into the compiler?

Sorry for a possibly stupid question, but is this offset (conceptionally)
comparable to the -WB option used for some other targets? If so, it might
make sense to extend it also for your case...

Tomas





More information about the fpc-pascal mailing list