Re: [fpc-devel] Re: arm embedded (Jeppe Johansen)

2010-04-25 Thread Jeppe Johansen
What kind of hardware are you going to test it on? Geoffrey Barton skrev: Thanks, I would never have guessed the CROSSOPT in quotes. I can now see thumb2 code in the object file. Next step try it with hardware :-) Geoffrey On 21 Apr 2010, at 10:18, Jeppe Johansen wrote: Yes, change Makefile

Re: [fpc-devel] Re: arm embedded (Jeppe Johansen)

2010-04-25 Thread Geoffrey Barton
Thanks, I would never have guessed the CROSSOPT in quotes. I can now see thumb2 code in the object file. Next step try it with hardware :-) Geoffrey On 21 Apr 2010, at 10:18, Jeppe Johansen wrote: Yes, change Makefile.fpc so instead of: "ifeq ($(ARCH),arm) CPU_UNITS=lpc21x4 at91sam7x256 endi

Re: [fpc-devel] Re: arm embedded (Jeppe Johansen)

2010-04-21 Thread Jeppe Johansen
Yes, change Makefile.fpc so instead of: "ifeq ($(ARCH),arm) CPU_UNITS=lpc21x4 at91sam7x256 endif" it says: "ifeq ($(ARCH),arm) CPU_UNITS=stm32f103 endif" Then run fpcmake -Tall in the rtl/embedded dir Then you can build the compiler and rtl again using "make buildbase CPU_TARGET=arm OS_TARGET=

[fpc-devel] Re: arm embedded (Jeppe Johansen)

2010-04-20 Thread Geoffrey Barton
Date: Mon, 19 Apr 2010 15:06:23 +0200 From: Jeppe Johansen Subject: Re: [fpc-devel] arm embedded To: FPC developers' list Message-ID: <4bcc554f.9070...@kom.aau.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 1) stm32f103 is a thumb2 only device, and you cannot generate a rtl fo

[fpc-devel] Re: arm embedded (Jonas Maebe)

2010-04-20 Thread Geoffrey Barton
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 bef

[fpc-devel] Re: arm embedded

2010-04-07 Thread Geoffrey Barton
On 3 Apr 2010, at 11:00, fpc-devel-requ...@lists.freepascal.org wrote: Message: 1 Date: Fri, 02 Apr 2010 12:42:37 +0200 From: Jeppe Johansen Subject: Re: [fpc-devel] arm embedded To: FPC developers' list Message-ID: <4bb5ca1d.80...@kom.aau.dk> Content-Type: text/plain; charset=ISO-8859-1; fo