This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How to inactivate debug/console port?
On Wed, May 11, 2005 at 12:51:49PM +0200, Yegor Yefremov wrote:
> Hi all,
>
> I'd like to inactivate debug/console port. I use ARM7 board with RAM
> start up. I have read ecos reference manual and found only the way to
> redirect the output between debug and console port via
> CYGDBG_HAL_DIAG_TO_DEBUG_CHAN. How do I completely deactivate
> console/debug port so that I don't see any output?
I think diag_printf is a weak symbol. So just provide your own which
redirects everything to the bit bucket.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss