[fpc-devel] Stellaris Update

Florian Klämpfl florian at freepascal.org
Tue Aug 16 10:35:03 CEST 2011

Am 16.08.2011 05:39, schrieb John Clymer:
> So, after some work, I have a compiler working for the LM3S8962 board (a
> successful Blinking LED :-)  )
> However, as I was going through some of the various datasheets, I see
> that all the Stellaris controllers have similar memory maps.  That is:
> A) Each type of device has a specific spot in the memory map to sit at.
> B) If a device has less or no device of a given type, that memory map is
> "Reserved"
> C) The SRAM and FLASH memories always start at the same address

So why would the directives be needed?

> As such, I'm leaning towards:
> {$FLASH_START xxxxx}
> {$FLASH_SIZE xxxxx }
> {$SRAM_START xxxxx }
> {$SRAM_SIZE xxxxx }
> By doing this, only 1 config will work for all stellaris parts (as was
> originally laid out in the cpuinfo file.)

What config? Memory layout in the compiler? Even without the directives
mentioned above, mulitple stellaris controllers can share the same
memory layout config in t_embedded?

More information about the fpc-devel mailing list