Serial port programming mpc860
joel.sherrill at OARcorp.com
Mon Mar 5 17:25:52 UTC 2001
> Kirk Bateman wrote:
> Hi guys,
> Is there any example c code for sending / receiving through serial ports on
> the mpc860 rtems bsps, I just want to check I'm doing something correctly ?
The termios test is an example of termios programming.
> Do I have to use termios for controlling the serial port ?? and is that the
> most RTEMS compliant way of doing it ?
Not only RTEMS but POSIX. :) It makes your code a LOT more portable.
> I don't suffer from insanity, I enjoy every minute of it.
> Kirk Bateman
> Software Engineer - Esgem Limited
> Head Office: 30 Long Street, Wotton-under-Edge, Glos GL12 7BT
> Registered in England at 4, Bramley Close, Kingswood,
> Wotton-under-Edge, Glos GL12 8SF. Reg No. 3372135
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users