[ECOS] redirecting diag_printf - output

Robert Brusa bob.brusa@gmail.com
Tue Sep 9 16:22:00 GMT 2008


On Tue, 09 Sep 2008 15:48:48 +0200, Andrew Lunn <andrew@lunn.ch> wrote:

> On Tue, Sep 09, 2008 at 03:30:44PM +0200, Robert Brusa wrote:
>> Hi
>> I am "booting" a AT91SAM7X-based board. Previously, with the eval-board,
>> diag_printf went to the debug serial interface. The new board does not
>> use this interface, instead I would like to assign UART1 to diag_printf.
>> I digged into the documentation, but could find now solution to my
>> problem. Thanks for an advice.
>
> Take a look at CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL. You probably
> need to set the value to 1.
>
>      Andrew

Yes, that did it! Thank you and nice evening.
        Robert

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list