-
- rtems_shell_init("SHLL", RTEMS_MINIMUM_STACK_SIZE+0x1000,
- SHELL_TASK_PRIORITY, "/dev/console", 1, 0, NULL);
-
- rtems_shell_add_cmd("startGW", "app",
- "initialize can driver and startGW",
- start_can);
-
- rtems_shell_add_cmd("stopGW", "app",
- "stops GW",
- end_can);
-
- rtems_shell_add_cmd("printvar", "app",
- "prints info from vars",
- print_regs);\r
- \r
- rtems_shell_add_cmd("printcan", "app",\r
- "prints error rate from CANs",\r
- print_can_totals);
- \r
- rtems_shell_add_cmd("startNET", "app",\r
- "tries to start network adapter",\r
- start_net);\r
- \r
- rtems_shell_add_cmd("showNET", "app",\r
- "prints some diagnostic info from network adapter/driver",\r
- show_net);\r
- \r
- rtems_shell_add_cmd("start_load", "app",\r
- "starts loading threads",\r
- start_load);\r
- \r
- rtems_shell_add_cmd("stop_load", "app",\r
- "stops loading threads",\r
- stop_load);\r
-