[fpc-pascal] Synaser on ARM
greim
greim at schleibinger.com
Mon Feb 14 17:28:14 CET 2011
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
More information about the fpc-pascal
mailing list