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 | |
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')
-rw-r--r-- | hello/hello_world_c/test.c | 7 | ||||
-rw-r--r-- | hello/wscript | 1 |
2 files changed, 6 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 diff --git a/hello/wscript b/hello/wscript index ca09158..d03283e 100644 --- a/hello/wscript +++ b/hello/wscript @@ -7,6 +7,7 @@ import rtems_waf.rtems as rtems def build(bld): bld.recurse('hello_world_c') + bld.recurse('main') if rtems.check_posix(bld): bld.recurse('posix_hello_world') bld.recurse('both_hello') |