Targetside configuration options, Command line arguments, Hooks – Comtrol eCos User Manual

Page 766: Additional tcl procedures

Advertising
background image

The Console Device

Any number of additional filters can be created with a filter option, for example:

synth_device console {

...

filter trace {^TRACE:.*} -foreground HotPink1 -hide 1

...

}

The first argument gives the new filter a name which will be used in the

filters dialog

. Filter names should be

unique. The second argument is a Tcl regular expression. The console support will match each line of eCos output
against this regular expression, and if a match is found then the filter will be used for this line of text. The above
example matches any line of output that begins with

TRACE:

, which corresponds to the eCos infrastructure’s tracing

facilities. The remaining options control the desired appearance for matched text. If some eCos output matches the
regular expressions for several different filters then only the first match will be used.

Target-side Configuration Options

There are no target-side configuration options related to the console device.

Command Line Arguments

The console device does not use any command-line arguments.

Hooks

The console device does not provide any hooks.

Additional Tcl Procedures

The console device does not provide any additional Tcl procedures that can be used by other scripts.

662

Advertising