summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/fileio/init.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2009-04-28 05:04:11 +0000
committerChris Johns <chrisj@rtems.org>2009-04-28 05:04:11 +0000
commitc0ec0d82d3c7206d3d2cda7cf93514f22f8ac504 (patch)
treee714862f2531e56ff216c285df9131731b39cc0c /testsuites/samples/fileio/init.c
parent2009-04-28 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-c0ec0d82d3c7206d3d2cda7cf93514f22f8ac504.tar.bz2
2009-04-28 Chris Johns <chrisj@rtems.org>
* fileio/init.c, fileio/system.h, iostream/init.cc, loopback/init.c, pppd/init.c, pppd/pppdapp.c: Do not build if BSP_SMALL_MEMORY is defined. Remove this code once a better way is supported by the build system.
Diffstat (limited to 'testsuites/samples/fileio/init.c')
-rw-r--r--testsuites/samples/fileio/init.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c
index b49334d6bf..5af153a07e 100644
--- a/testsuites/samples/fileio/init.c
+++ b/testsuites/samples/fileio/init.c
@@ -36,6 +36,7 @@
#include <rtems/libcsupport.h>
#include <rtems/fsmount.h>
+#if FILEIO_BUILD
/*
* Table of FAT file systems that will be mounted
* with the "fsmount" function.
@@ -725,3 +726,14 @@ rtems_shell_alias_t Shell_USERECHO_Alias = {
#include <rtems/shellconfig.h>
#endif
+#else
+/*
+ * RTEMS Startup Task
+ */
+rtems_task
+Init (rtems_task_argument ignored)
+{
+ puts( "\n\n*** FILE I/O SAMPLE AND TEST ***" );
+ puts( "\n\n*** NOT ENOUGH MEMORY TO BUILD AND RUN ***" );
+}
+#endif