]> rtime.felk.cvut.cz Git - rtems-devel.git/blobdiff - rtems-omk-template/appfoo/init.c
OMK template example applications print APP_VER_ID instead of common SW_VER_ID.
[rtems-devel.git] / rtems-omk-template / appfoo / init.c
index f7037f247850b13e01b8b1377e4df7ddbbb6a077..0f5452cdc5651928fb3974b0cc03a095323e64b9 100644 (file)
 #include <rtems/monitor.h>
 #include <rtems/shell.h>
 
+#define CONFIGURE_SHELL_COMMANDS_INIT
+#define CONFIGURE_SHELL_COMMANDS_ALL
+#define CONFIGURE_SHELL_MOUNT_MSDOS
+
+#include <rtems/shellconfig.h>
+
 #define BUILD_VERSION_STRING(major,minor,patch) \
         __XSTRING(major) "." __XSTRING(minor) "." __XSTRING(patch)
 
@@ -74,8 +80,8 @@ rtems_task Init(
   
   rtems_monitor_init(RTEMS_MONITOR_SUSPEND|RTEMS_MONITOR_GLOBAL);
   /*rtems_capture_cli_init (0);*/
-  
-  printf( "Starting application " SW_VER_ID " v "
+
+  printf( "Starting application " APP_VER_ID " v "
           BUILD_VERSION_STRING(SW_VER_MAJOR,SW_VER_MINOR,SW_VER_PATCH)
          "\n" );