[rtems commit] spintrcritical08: Increase clock tick interval

Sebastian Huber sebh at rtems.org
Thu Sep 10 12:42:11 UTC 2020


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep 10 14:39:08 2020 +0200

spintrcritical08: Increase clock tick interval

On some simulators, a clock tick interval of 1ms seems to be too short.
For example, the test failed on sparc/erc32 using the SIS.

---

 testsuites/sptests/spintrcritical08/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuites/sptests/spintrcritical08/init.c b/testsuites/sptests/spintrcritical08/init.c
index 60ba585..7b55a2e 100644
--- a/testsuites/sptests/spintrcritical08/init.c
+++ b/testsuites/sptests/spintrcritical08/init.c
@@ -185,7 +185,7 @@ static rtems_task Init( rtems_task_argument argument )
 #define CONFIGURE_MAXIMUM_TASKS       1
 #define CONFIGURE_MAXIMUM_PERIODS     1
 
-#define CONFIGURE_MICROSECONDS_PER_TICK  1000
+#define CONFIGURE_MICROSECONDS_PER_TICK  10000
 #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
 
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE



More information about the vc mailing list