[rtems commit] cdtest: Increase stack size

Sebastian Huber sebh at rtems.org
Mon Jan 22 14:24:41 UTC 2018


Module:    rtems
Branch:    master
Commit:    0349a2b54432fc14e798a0dd10e34848e38dc6a0
Changeset: http://git.rtems.org/rtems/commit/?id=0349a2b54432fc14e798a0dd10e34848e38dc6a0

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jan 22 15:23:26 2018 +0100

cdtest: Increase stack size

---

 testsuites/samples/cdtest/system.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/testsuites/samples/cdtest/system.h b/testsuites/samples/cdtest/system.h
index 5354a4c..6530682 100644
--- a/testsuites/samples/cdtest/system.h
+++ b/testsuites/samples/cdtest/system.h
@@ -35,6 +35,9 @@ rtems_task main_task(
 #define CONFIGURE_INIT_TASK_NAME          rtems_build_name( 'C', 'T', 'O', 'R' )
 #define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
 
+/* On some platforms _Unwind_RaiseException() needs a lot of stack space */
+#define CONFIGURE_INIT_TASK_STACK_SIZE (4 * RTEMS_MINIMUM_STACK_SIZE)
+
 #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
 
 #include <rtems/confdefs.h>



More information about the vc mailing list