Re: [fpc-devel] arm embedded

2010-04-19 Thread Jeppe Johansen
1) stm32f103 is a thumb2 only device, and you cannot generate a rtl for both <=armv5 and thumb2. You need to modify the makefile to generate either a thumb2 rtl or a arm rtl. You can do that by removing the arm core units from CPU_UNITS and overriding the FPC_OPT to include -Cpcortexm3 2) You

Re: [fpc-devel] arm embedded

2010-04-19 Thread Jonas Maebe
On 19 Apr 2010, at 13:29, Geoffrey Barton wrote: 1 In the rtl/embedded/arm directory are three target processor files. The one for stm32f103 does not get compiled into the units/ arm-embedded/rtl directory. I added it to the CPU_UNITS line in the makefile.fpc in the embedded directory befor

[fpc-devel] arm embedded

2010-04-19 Thread Geoffrey Barton
Two related questions (FPC 2.5.1):- 1 In the rtl/embedded/arm directory are three target processor files. The one for stm32f103 does not get compiled into the units/arm- embedded/rtl directory. I added it to the CPU_UNITS line in the makefile.fpc in the embedded directory before building ppc