config
This command display information about the RTEMS Configuration.
This command always succeeds and returns 0.
At this time, it does not report every configuration parameter. This is an area in which user submissions or sponsorship of a developer would be appreciated.
The following is an example of how to use config
:
INITIAL (startup) Configuration Info ------------------------------------------------------------------------------ WORKSPACE start: 0x23d22e0; size: 0x2dd20 TIME usec/tick: 10000; tick/timeslice: 50; tick/sec: 100 MAXIMUMS tasks: 20; timers: 0; sems: 50; que's: 20; ext's: 1 partitions: 0; regions: 0; ports: 0; periods: 0
This command is included in the default shell command set.
When building a custom command set, define
CONFIGURE_SHELL_COMMAND_CONFIG
to have this
command included.
This command can be excluded from the shell command set by
defining CONFIGURE_SHELL_NO_COMMAND_CONFIG
when all
shell commands have been configured.
The config
is implemented by a C language function
which has the following prototype:
int rtems_shell_rtems_main_config( int argc, char **argv );
The configuration structure for the config
has the
following prototype:
extern rtems_shell_cmd_t rtems_shell_CONFIG_Command;
Copyright © 1988-2008 OAR Corporation