diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-08-29 13:17:40 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-08-29 13:17:40 -0500 |
commit | 61d2a1f2e8ddb992f98e80cd503879226730eeec (patch) | |
tree | 1c3c0eed1272a3a0e875e77db3148b2593ed93b2 /hello/hello_world_c | |
parent | User friendly error message if the rtems_waf module is not included. (diff) | |
download | rtems-examples-61d2a1f2e8ddb992f98e80cd503879226730eeec.tar.bz2 |
Miscellaneous clean up and warning removal
Diffstat (limited to 'hello/hello_world_c')
-rw-r--r-- | hello/hello_world_c/test.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/hello/hello_world_c/test.c b/hello/hello_world_c/test.c index 67ca6b1..04a55fe 100644 --- a/hello/hello_world_c/test.c +++ b/hello/hello_world_c/test.c @@ -1,8 +1,8 @@ /* - * Simple test program -- simplified version of sample test hello. + * Classic API Hello World */ -#include <bsp.h> +#include <rtems.h> #include <stdlib.h> #include <stdio.h> @@ -18,9 +18,12 @@ rtems_task Init( /* configuration information */ +#include <bsp.h> + /* NOTICE: the clock driver is explicitly disabled */ #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER +#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_MAXIMUM_TASKS 1 |