[fpc-devel] thumb2 code generation
David Welch
dwelch at dwelch.com
Sat Aug 20 05:00:05 CEST 2011
Someone pointed me at this page:
http://wiki.freepascal.org/TARGET_Embedded
And I started adding a device (and perhaps more after that), starting
with a cortex-m3 though which is thumb/thumb2 only.
Following the instructions on the page work fine:
fpc -Parm -Tembedded -Wplpc2124 tled1.pp
Added my device as well as tried the two other cortex-m3 devices and
fpc -Parm -Tembedded -Wpdevice test.pp
I tried -Parm, -Pthumb, thumb2, cortex-m3 but it just keeps generating
arm instructions. I can certainly target an arm processor first but
would rather try a thumb/thumb2 first.
Thanks,
David
More information about the fpc-devel
mailing list