summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/loopback/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/samples/loopback/init.c')
-rw-r--r--testsuites/samples/loopback/init.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuites/samples/loopback/init.c b/testsuites/samples/loopback/init.c
index 764e246ee0..174a763c3c 100644
--- a/testsuites/samples/loopback/init.c
+++ b/testsuites/samples/loopback/init.c
@@ -29,6 +29,8 @@ rtems_task Init(rtems_task_argument argument);
#include <rtems/confdefs.h>
+#if !BSP_SMALL_MEMORY
+
#include <rtems/rtems_bsdnet.h>
#include <rtems/error.h>
#include <stdio.h>
@@ -273,3 +275,14 @@ Init (rtems_task_argument ignored)
puts( "*** END OF LOOPBACK TEST ***" );
exit( 0 );
}
+#else
+#include <stdio.h>
+/*
+ * RTEMS Startup Task
+ */
+rtems_task
+Init (rtems_task_argument ignored)
+{
+ printf("NO NETWORKING. MEMORY TOO SMALL");
+}
+#endif