From a1c219b8fdfa32c7db8c37aad9714f4f42fa6695 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 18 May 2009 23:49:15 +0000 Subject: [PATCH] 2009-05-19 Chris Johns * sp04/tswitch.c: Lower sample count for small memory targets. --- testsuites/sptests/ChangeLog | 4 ++++ testsuites/sptests/sp04/tswitch.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog index b41920353b..34c1942330 100644 --- a/testsuites/sptests/ChangeLog +++ b/testsuites/sptests/ChangeLog @@ -1,3 +1,7 @@ +2009-05-19 Chris Johns + + * sp04/tswitch.c: Lower sample count for small memory targets. + 2009-05-15 Joel Sherrill * spprintk/init.c: printk() now 100% covered. diff --git a/testsuites/sptests/sp04/tswitch.c b/testsuites/sptests/sp04/tswitch.c index bb0cfc7513..9323dda9a9 100644 --- a/testsuites/sptests/sp04/tswitch.c +++ b/testsuites/sptests/sp04/tswitch.c @@ -22,7 +22,11 @@ #include "system.h" +#if BSP_SMALL_MEMORY +struct taskSwitchLog taskSwitchLog[100]; +#else struct taskSwitchLog taskSwitchLog[1000]; +#endif unsigned int taskSwitchLogIndex; volatile int testsFinished;