[fpc-pascal] Synaser on ARM

Nataraj S Narayan natarajsn at gmail.com
Tue Feb 15 10:25:25 CET 2011


Markus

Are you using Angstrom  tool chain on Gumstix Overo? Is it uclibc based?

I do have my share of woes on Codesourcery TC for fpc.
regards

Nataraj

On Mon, Feb 14, 2011 at 4:28 PM, greim <greim at schleibinger.com> wrote:
> Hi a short howto for all trying to use the serial port on ARM Linux
>
> After fighting several hours i was able to cross-compile for ARM (OMAP 3
> Gumstix Overo)
> Most helpful (but not totally right for the OMAP i think) was:
> http://www.eilers.net/index.php?option=com_content&view=article&id=78&Itemid=55
> but some hints why and not only how would be fantastic
>
> I was trying to compile a program for the serial port using the fantastic
> synaser.pas
> from Lukas Gebauer
> http://www.ararat.cz/synapse/doku.php/download
>
> unfortunately the linker always reported an error.
>
> After several hours more i found a hint at
>
> http://www.turbocontrol.com/simpleserial.htm
> from Paul Brenemann
>
> removing the
> USE synafpc.pas
> from synaser.pas (is not used at all in the Linux version)
>
> In termios.inc Baud symbols over 460800 are not defined for
> target cpuarm
> ,
> so this must also adopted in the synaser.pas.
>
> Now it is linking and running, great!
>
> Regards
>
> Markus Greim
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>



More information about the fpc-pascal mailing list