Comtrol eCos User Manual
Page 754

Running a Synthetic Target Application
-nw
,
--no-windows
The I/O auxiliary can either provide a graphical user interface, or it can run in a text-only mode. The default is
to provide the graphical interface, but this can be disabled with
-nw
. Emulation of some devices, for example
buttons connected to digital inputs, requires the graphical interface.
-w
,
--windows
The
-w
causes the I/O auxiliary to provide a graphical user interface. This is the default.
-v
,
--version
The
-v
option can be used to determine the version of the I/O auxiliary being used and where it has been
installed. Both the auxiliary and the eCos application will exit immediately.
-h
,
--help
-h
causes the I/O auxiliary to list all accepted command-line arguments. This happens after all devices have
been initialized, since the host-side support for some of the devices may extend the list of recognised options.
After this both the auxiliary and the eCos application will exit immediately. This option implies
-nw
.
-k
,
--keep-going
If an error occurs in the I/O auxiliary while reading in any of the configuration files or initializing devices, by
default both the auxiliary and the eCos application will exit. The
-k
option can be used to make the auxiliary
continue in spite of errors, although obviously it may not be fully functional.
-nr
,
--no-rc
Normally the auxiliary processes two
during startup:
initrc.tcl
and
mainrc.tcl
.
This can be suppressed using the
-nr
option.
-x
,
--exit
When providing a graphical user interface the I/O auxiliary will normally continue running even after the
eCos application has exited. This allows the user to take actions such as saving the current contents of the
main text window. If run with
-x
then the auxiliary will exit as soon the application exits.
-nx
,
--no-exit
When the graphical user interface is disabled with
-nw
the I/O auxiliary will normally exit immediately when
the eCos application exits. Without the graphical frontend there is usually no way for the user to interact
directly with the auxiliary, so there is no point in continuing to run once the eCos application will no longer
request any I/O operations. Specifying the
-nx
option causes the auxiliary to continue running even after the
application has exited.
-V
,
--verbose
This option causes the I/O auxiliary to output some additional information, especially during initialization.
-l
<
file
>
,
--logfile
<
file
>
Much of the output of the eCos application and the I/O auxiliary is simple text, for example resulting from
eCos
printf
or
diag_printf
calls. When running in graphical mode this output goes to a central text
window, and can be saved to a file or edited via menus. The
-l
can be used to automatically generate an
additional logfile containing all the text. If graphical mode is disabled then by default all the text just goes to
650