Re: Disabling debug info through serial port

From: Rob (Rob_at_discussions.microsoft.com)
Date: 12/29/04


Date: Tue, 28 Dec 2004 23:55:02 -0800

Hi Remco,
Thanks for your reply.

What you describe is exactly the intention of the change described in the
article.
When the line ucComport=0 is added to the file debug.c, the basenumber stays
0.
All other serial functions check if it is, if so they return immediately.

I made the change, the file compiles during build.
But I see no effect of it.
What am I doing wrong ?

Greetings,
Rob.

"Remco" wrote:

> Hey Rob
>
> I did something similar a while ago on an SH4 platform -- There are
> several OEMDebugXX (OEMInitDebugSerial, OEMWriteDebugString, etc)
> functions that I made check for a switch positon. If the switch is set,
> it just returns from these routines else it does what normally would
> have done.
>
> Regards,
> Remco
>
>