This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How to enable serial interrupt of 16550
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "Aniket S Joshi" <aniketsj at myw dot ltindia dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: 16 Jul 2004 11:27:23 +0100
- Subject: Re: [ECOS] How to enable serial interrupt of 16550
- References: <s0f7f52c.022@EMAIL>
"Aniket S Joshi" <aniketsj@myw.ltindia.com> writes:
> I am using the same Serial driver written in ECOS for 16c550 serial
> controller. & Able to Communicate (transmit & Receive ) data on
> serial port but not able to Enable the interrupt for that same
> port. I want to implement serial communication on interrupt. Do i
> need ti change any ecos settings to enable that perticuler serial
> interrupt. I tried to use function cyg_interrupt_create (....) &
> cyg_interrupt_attach(..) with given ISR function but it is not
> working
>
>
> Pls guide me to solve this problem
You need to enable the serial driver in the configuration by enabling
CYGPKG_IO_SERIAL, this will automatically include the serial
drivers. You don't need to write any code to do this.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss