summaryrefslogtreecommitdiffstats
path: root/testsuites/samples
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-01 20:14:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-01 20:14:35 +0000
commit5fe6b21a1184df5f65cd2be491fd1763e67fb456 (patch)
tree659e821d19f6f7083a3a0e3e215edd67fb74b785 /testsuites/samples
parent328aa64cc053210310c6f4f58eb7fc1a2fab24da (diff)
downloadrtems-5fe6b21a1184df5f65cd2be491fd1763e67fb456.tar.bz2
Increased stack space of a task.
Diffstat (limited to 'testsuites/samples')
-rw-r--r--testsuites/samples/ticker/init.c6
-rw-r--r--testsuites/samples/ticker/system.h2
2 files changed, 5 insertions, 3 deletions
diff --git a/testsuites/samples/ticker/init.c b/testsuites/samples/ticker/init.c
index 47e086ff66..62a468fb99 100644
--- a/testsuites/samples/ticker/init.c
+++ b/testsuites/samples/ticker/init.c
@@ -41,15 +41,15 @@ rtems_task Init(
Task_name[ 3 ] = rtems_build_name( 'T', 'A', '3', ' ' );
status = rtems_task_create(
- Task_name[ 1 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
+ Task_name[ 1 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 1 ]
);
status = rtems_task_create(
- Task_name[ 2 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
+ Task_name[ 2 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 2 ]
);
status = rtems_task_create(
- Task_name[ 3 ], 1, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES,
+ Task_name[ 3 ], 1, RTEMS_MINIMUM_STACK_SIZE * 2, RTEMS_DEFAULT_MODES,
RTEMS_DEFAULT_ATTRIBUTES, &Task_id[ 3 ]
);
diff --git a/testsuites/samples/ticker/system.h b/testsuites/samples/ticker/system.h
index 99943044c1..d8b163f7bc 100644
--- a/testsuites/samples/ticker/system.h
+++ b/testsuites/samples/ticker/system.h
@@ -35,6 +35,8 @@ rtems_task Test_task(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE)
+
#include <confdefs.h>
/* global variables */