[fpc-devel] lpc21x4.pp (Arm7 board)
Nataraj S Narayan
natarajsn at gmail.com
Wed Mar 11 11:19:42 CET 2009
Thanks for the info. Regarding binutils, can I use arm-none-eabi-*
from codesourcery to compile on Linux / FreeBSD? I don't get to use a
Windows machine. My fpc svn is on a Linux machine.
On Wed, Mar 11, 2009 at 3:31 PM, Florian Klaempfl
<florian at freepascal.org> wrote:
> Nataraj S Narayan schrieb:
>> There is file lpc21x4.pp under /rtl/embedded/arm. Does this mean
>> that i can compile fpc for the Philips LPC boards?
> Yes, I did so already.
>>I got an LPC 2378
>> stk board with me. Perhaps I may need to modify the lpc21x4.pp to
>> suit my board.
>> Can anybody help me with getting started the compilation process?
> Get binutils for you OS, e.g.
> for windows, put them into the path.
> build cross fpc with e.g.
> make clean buildbase installbase CROSSINSTALL=1 OS_TARGET=embedded
> Compile programs with e.g.
> fpc -Parm -Tembedded -Wplpc2124 test.pp
> translate them into a format understandable by the programming software
> arm-embedded-objcopy -O ihex test.elf test.hex
> fpc-devel maillist - fpc-devel at lists.freepascal.org
More information about the fpc-devel