This is the mail archive of the ecos-discuss@sourceware.org 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 disable diag_printf output on serial port


[Oops, here's the comment that was supposed to go with that patch]

With CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN/CYGIMP_KERNEL_INTERRUPTS_CHAIN
enabled you should be able to attach both channels to the same
interrupt.

One problem with the generic 16x5x driver is that it masks/unmask the
interrupt in the controller which isn't great if your UART is on a
chained interrupt. I've attached a patch that changes the driver to
enable/disable the interrupt source in the UART instead.

Regards,
Daniel


-- 
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]