OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [synth/] [arch/] [current/] [host/] [default.tdf] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
# Default synthetic target hardware definition file. This file gets
2
# installed alongside ecosynth.tcl and other support files in the
3
# directory $(libexecdir)/ecos/hal_synth_arch_.
4
#
5
# The synthetic target support will look for the target definition
6
# file in various places: first the current directory, then
7
# ~/.ecos/synth, finally the install location as above. It assumes the
8
# file is called "default.tdf", unless this is overwritten on the
9
# command line using the -t or --target option. Typically users will
10
# make a copy of the default target definition in an appropriate
11
# location and then modify this copy as required.
12
#
13
# This file only contains support for those devices supported by the
14
# core package: the console, ... Additional devices such as the
15
# ethernet support which live in separate eCos packages may have their
16
# own example fragments which can be inserted in the user's own target
17
# definition file, directly or via e.g. a Tcl "source" command.
18
#
19
# This file is executed in a Tcl interpreter with an additional
20
# command "synth_device", so Tcl syntax applies and the full
21
# functionality provided by Tcl interpreters is available if desired.
22
 
23
# ----------------------------------------------------------------------------
24
# The console device. This serves as the destination for low-level
25
# eCos text output, for example from the diag_printf() function,
26
# and is intended primarily for diagnostics and debugging.
27
#
28
# The appearance of normal console output can be controlled by
29
# the "appearance" option. This takes the standard arguments for
30
# text filters, for example -foreground and -background.
31
#
32
# It is also possible to install new filters for specific types
33
# of output, for example eCos tracing output. Each such filter
34
# is defined by a name, a regular expression, and details of
35
# the desired appearance. Every line of console output generated
36
# by eCos is matched against the various regular expressions,
37
# and the first match found controls the appearance of the
38
# output.
39
 
40
synth_device console {
41
    # appearance -foreground white -background black
42
    filter trace {^TRACE:.*} -foreground HotPink1 -hide 1
43
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.