This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to enable serial interrupt of 16550


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]