[fpc-pascal] Variable alignment in arm-embedded
anton at riecktron.co.za
Wed Jun 13 12:55:06 CEST 2012
Tomas Hajny-2 wrote
> 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...
Not a stupid question at all. To be totally honest, I have no idea what the
-WB parameter does. I tried to play around with it, but it tells me illegal
Basically what needs to happen, is al link time, the link script needs to
take the flash start address as a variable from somewhere. So this is an
example of the current link.res that is generated by the compiler. The
origin and lengths are hardcoded.
and all that needs to happen is you need to be able to set the
with either a parameter or as compiler directives.
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Variable-alignment-in-arm-embedded-tp5709962p5710045.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal