summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/monitor02/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/monitor02/init.c')
-rw-r--r--testsuites/libtests/monitor02/init.c6
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);
}