[fpc-devel] thumb2 code generation
David Welch
dwelch at dwelch.com
Sat Aug 20 05:39:36 CEST 2011
Sorry, figured it out -Cpcortexm3
On 08/19/2011 11:05 PM, David Welch wrote:
>
> Actually I would prefer thumb first then thumb2 cpuinfo.pas does not
> have an architecture tied to thumb but the cortexm3 and armv7m can be
> easily moved to thumb temporarily or create say a cpu_cortexm3_thumb in
> the tcputype list, etc...
>
> David
>
>
> On 08/19/2011 11:00 PM, David Welch wrote:
>>
>> 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
>>
>> _______________________________________________
>> fpc-devel maillist - fpc-devel at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>> .
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
> .
More information about the fpc-devel
mailing list