[rtems commit] sptests/sp52: Reduce clock tick interval

Sebastian Huber sebh at rtems.org
Fri Apr 17 08:47:47 UTC 2015


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Apr 17 10:46:02 2015 +0200

sptests/sp52: Reduce clock tick interval

This helps on slow simulators.

---

 testsuites/sptests/sp52/init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testsuites/sptests/sp52/init.c b/testsuites/sptests/sp52/init.c
index d675e4f..f7629a5 100644
--- a/testsuites/sptests/sp52/init.c
+++ b/testsuites/sptests/sp52/init.c
@@ -123,6 +123,8 @@ static rtems_task Init(
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
 #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
 
+#define CONFIGURE_MICROSECONDS_PER_TICK 50000
+
 #define CONFIGURE_MAXIMUM_TASKS              2
 #define CONFIGURE_MAXIMUM_TIMERS             1
 




More information about the vc mailing list