diff options
author | Chris Johns <chrisj@rtems.org> | 2009-05-18 23:50:10 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-05-18 23:50:10 +0000 |
commit | 9c22907122581564091d16c325afb6efbb871ca0 (patch) | |
tree | 9f7ad12fa87e6abd1eeb04b1e29625f8fdd2fb3c /testsuites/libtests/monitor02 | |
parent | 2009-05-19 Chris Johns <chrisj@rtems.org> (diff) | |
download | rtems-9c22907122581564091d16c325afb6efbb871ca0.tar.bz2 |
2009-05-19 Chris Johns <chrisj@rtems.org>
* cpuuse/tswitch.c: Lower sample count for small memory targets.
* cpuuse/system.h: Smaller stack size for small memory targets.
* monitor02/init.c: Cannot run on small memory targets.
Diffstat (limited to 'testsuites/libtests/monitor02')
-rw-r--r-- | testsuites/libtests/monitor02/init.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuites/libtests/monitor02/init.c b/testsuites/libtests/monitor02/init.c index 025f8b6686..510840f414 100644 --- a/testsuites/libtests/monitor02/init.c +++ b/testsuites/libtests/monitor02/init.c @@ -14,6 +14,7 @@ */ #define CONFIGURE_INIT +#include "bsp.h" #include "system.h" #include <rtems/shell.h> @@ -29,6 +30,7 @@ rtems_task Init( rtems_task_argument argument ) { +#if !BSP_SMALL_MEMORY uint32_t index; rtems_status_code status; int i; @@ -45,7 +47,9 @@ rtems_task Init( rtems_shell_main_monitor(argc, argv); } } - puts( "\n*** END OF MONITOR02 ***\n"); +#else + puts( "TARGET MEMORY TOO SMALL TO RUN\n\n"); +#endif rtems_test_exit(0); } |