This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Creating UART layered device
- From: Nicolas FLAVEN <stage at osean dot fr>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 28 Jun 2010 16:21:17 +0200
- Subject: [ECOS] Creating UART layered device
Hello,
I want to write a driver for the EXAR XR16M698 8 channel UART, which is based on the 16C550 registers.
And then use it for multi-targets.
What is the best way to perform this ?
I have found the generic 16x5x driver in packages/devs/serial/generic.
Should I create a layered device on top of 16x5x package for the exar component and then create an inline for my targets ?
How could I write layered device, I haven't found any example.
Regards,
Nicolas FLAVEN
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss