aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-11-04 18:27:59 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-11-04 18:27:59 +0000
commitec1b4e72512e7e958a4168444a56182736218bff (patch)
tree4a9feb2b5dab46c90f4606147968d38757922652 /test
parentaedb9a1175ec2c6f50b3d16265afb7dcebdf906e (diff)
downloadChibiOS-ec1b4e72512e7e958a4168444a56182736218bff.tar.gz
ChibiOS-ec1b4e72512e7e958a4168444a56182736218bff.tar.bz2
ChibiOS-ec1b4e72512e7e958a4168444a56182736218bff.zip
Fixes related to 8/16 bits architectures, arithmetic overflow.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10945 35acf78f-673a-0410-8e92-d51de3d6d3f4
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 c25e56405..3aca04d0a 100644
--- a/test/rt/configuration.xml
+++ b/test/rt/configuration.xml
@@ -3264,7 +3264,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 * 1024),
+ THD_WORKING_AREA_SIZE(THREADS_STACK_SIZE * 32),
"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 f4a88d7b7..57351507d 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 * 1024),
+ THD_WORKING_AREA_SIZE(THREADS_STACK_SIZE * 32),
"dyn3",
prio-3, dyn_thread1, "C");
test_assert(threads[2] == NULL, "thread creation not failed");