aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/rt/configuration.xml2
-rw-r--r--test/rt/source/test/rt_test_sequence_009.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/rt/configuration.xml b/test/rt/configuration.xml
index 274d85811..703cefc5a 100644
--- a/test/rt/configuration.xml
+++ b/test/rt/configuration.xml
@@ -3340,7 +3340,7 @@ test_assert(threads[1] != NULL, "thread creation failed");]]></value>
</tags>
<code>
<value><![CDATA[threads[2] = chThdCreateFromHeap(&heap1,
- THD_WORKING_AREA_SIZE(THREADS_STACK_SIZE * 32),
+ (((size_t)-1) >> 1U) + 1U,
"dyn3",
prio-3, dyn_thread1, "C");
test_assert(threads[2] == NULL, "thread creation not failed");]]></value>
diff --git a/test/rt/source/test/rt_test_sequence_009.c b/test/rt/source/test/rt_test_sequence_009.c
index a01837efe..5abc45081 100644
--- a/test/rt/source/test/rt_test_sequence_009.c
+++ b/test/rt/source/test/rt_test_sequence_009.c
@@ -137,7 +137,7 @@ static void rt_test_009_001_execute(void) {
test_set_step(5);
{
threads[2] = chThdCreateFromHeap(&heap1,
- THD_WORKING_AREA_SIZE(THREADS_STACK_SIZE * 32),
+ (((size_t)-1) >> 1U) + 1U,
"dyn3",
prio-3, dyn_thread1, "C");
test_assert(threads[2] == NULL, "thread creation not failed");