summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/fileio
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-14 21:50:55 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-14 21:50:55 +0000
commit0e263c91e913f40f63e1c0f64a9f20f93105daf2 (patch)
tree6228ea6c550c50562e9af6577c9db095fe46afed /testsuites/samples/fileio
parent2007-12-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-0e263c91e913f40f63e1c0f64a9f20f93105daf2.tar.bz2
2007-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/init.c, fileio/system.h: Increase stack requested for shell task. Turn on stack checking so the report is interesting.
Diffstat (limited to 'testsuites/samples/fileio')
-rw-r--r--testsuites/samples/fileio/init.c2
-rw-r--r--testsuites/samples/fileio/system.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c
index b33424db20..80b79331e6 100644
--- a/testsuites/samples/fileio/init.c
+++ b/testsuites/samples/fileio/init.c
@@ -104,7 +104,7 @@ void fileio_start_shell(void)
printf(" =========================\n");
printf(" starting shell\n");
printf(" =========================\n");
- shell_init("SHLL",0,100,"/dev/console",
+ shell_init("SHLL",RTEMS_MINIMUM_STACK_SIZE * 4,100,"/dev/console",
B9600 | CS8,
0);
rtems_task_suspend(RTEMS_SELF);
diff --git a/testsuites/samples/fileio/system.h b/testsuites/samples/fileio/system.h
index 46b6497042..0390fabb7d 100644
--- a/testsuites/samples/fileio/system.h
+++ b/testsuites/samples/fileio/system.h
@@ -47,9 +47,10 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_SEMAPHORES 20
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 20
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
+#define STACK_CHECKER_ON
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
+#define CONFIGURE_EXTRA_TASK_STACKS (6 * RTEMS_MINIMUM_STACK_SIZE)
#include <rtems/confdefs.h>