aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-05 19:06:22 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-05 19:06:22 +0000
commita528517b440c7b45ad4da7e7ae8c66247dc7c2f0 (patch)
tree186570c71619e8cf87a1cf0efd4faf909fc8d8e7
parentb69948bc4883423fde36e63e2ef5d2d16f7ec71c (diff)
downloadChibiOS-a528517b440c7b45ad4da7e7ae8c66247dc7c2f0.tar.gz
ChibiOS-a528517b440c7b45ad4da7e7ae8c66247dc7c2f0.tar.bz2
ChibiOS-a528517b440c7b45ad4da7e7ae8c66247dc7c2f0.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1714 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--demos/STM8S-STM8S208-RC/ch.rapp6
-rw-r--r--demos/STM8S-STM8S208-RC/chconf.h8
-rw-r--r--docs/reports/STM8S208-16.txt38
3 files changed, 32 insertions, 20 deletions
diff --git a/demos/STM8S-STM8S208-RC/ch.rapp b/demos/STM8S-STM8S208-RC/ch.rapp
index e2f6cea41..9c2ea401b 100644
--- a/demos/STM8S-STM8S208-RC/ch.rapp
+++ b/demos/STM8S-STM8S208-RC/ch.rapp
@@ -65,9 +65,9 @@
</NodeC>
</Group>
- <Group Header="test" Marker="-1" OutputFile="" sate="96" >
+ <Group Header="test" Marker="-1" OutputFile="" sate="0" >
<NodeC Path="..\..\test\test.c" Header="test.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\test.obj" sate="0" />
- <NodeC Path="..\..\test\testbmk.c" Header="testbmk.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\testbmk.obj" sate="2" />
+ <NodeC Path="..\..\test\testbmk.c" Header="testbmk.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\testbmk.obj" sate="0" />
<NodeC Path="..\..\test\testdyn.c" Header="testdyn.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\testdyn.obj" sate="0" />
<NodeC Path="..\..\test\testevt.c" Header="testevt.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\testevt.obj" sate="0" />
<NodeC Path="..\..\test\testheap.c" Header="testheap.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\testheap.obj" sate="0" />
@@ -104,7 +104,7 @@
<NodeC Path="..\..\boards\RAISONANCE_REVA_STM8S\board.c" Header="board.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\board.obj" sate="0" />
</Group>
- <NodeC Path=".\main.c" Header="main.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\main.obj" sate="0" />
+ <NodeC Path=".\main.c" Header="main.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\main.obj" sate="98" />
<Options>
<Config Header="Standard" >
<Set Header="ApplicationBuild" >
diff --git a/demos/STM8S-STM8S208-RC/chconf.h b/demos/STM8S-STM8S208-RC/chconf.h
index 7f7c10431..76f9b3453 100644
--- a/demos/STM8S-STM8S208-RC/chconf.h
+++ b/demos/STM8S-STM8S208-RC/chconf.h
@@ -293,7 +293,7 @@
* @note The default is @p TRUE.
*/
#if !defined(CH_USE_MEMCORE) || defined(__DOXYGEN__)
-#define CH_USE_MEMCORE FALSE
+#define CH_USE_MEMCORE TRUE
#endif
/**
@@ -307,7 +307,7 @@
* @note Mutexes are recommended.
*/
#if !defined(CH_USE_HEAP) || defined(__DOXYGEN__)
-#define CH_USE_HEAP FALSE
+#define CH_USE_HEAP TRUE
#endif
/**
@@ -332,7 +332,7 @@
* @note The default is @p TRUE.
*/
#if !defined(CH_USE_MEMPOOLS) || defined(__DOXYGEN__)
-#define CH_USE_MEMPOOLS FALSE
+#define CH_USE_MEMPOOLS TRUE
#endif
/**
@@ -345,7 +345,7 @@
* @note Requires @p CH_USE_HEAP and/or @p CH_USE_MEMPOOLS.
*/
#if !defined(CH_USE_DYNAMIC) || defined(__DOXYGEN__)
-#define CH_USE_DYNAMIC FALSE
+#define CH_USE_DYNAMIC TRUE
#endif
/*===========================================================================*/
diff --git a/docs/reports/STM8S208-16.txt b/docs/reports/STM8S208-16.txt
index b1f37b9ae..2046ad681 100644
--- a/docs/reports/STM8S208-16.txt
+++ b/docs/reports/STM8S208-16.txt
@@ -44,6 +44,18 @@ Compiler: Raisonance
--- Test Case 6.3 (Events, timeouts)
--- Result: SUCCESS
----------------------------------------------------------------------------
+--- Test Case 7.1 (Heap, allocation and fragmentation test)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 8.1 (Memory Pools, queue/dequeue)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 9.1 (Dynamic APIs, threads creation from heap)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
+--- Test Case 9.2 (Dynamic APIs, threads creation from memory pool)
+--- Result: SUCCESS
+----------------------------------------------------------------------------
--- Test Case 10.1 (Queues, input queues)
--- Result: SUCCESS
----------------------------------------------------------------------------
@@ -51,52 +63,52 @@ Compiler: Raisonance
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.1 (Benchmark, messages #1)
---- Score : 31903 msgs/S, 63806 ctxswc/S
+--- Score : 31840 msgs/S, 63680 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.2 (Benchmark, messages #2)
---- Score : 24897 msgs/S, 49794 ctxswc/S
+--- Score : 24743 msgs/S, 49486 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.3 (Benchmark, messages #3)
---- Score : 24897 msgs/S, 49794 ctxswc/S
+--- Score : 24743 msgs/S, 49486 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.4 (Benchmark, context switch)
---- Score : 111488 ctxswc/S
+--- Score : 112568 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.5 (Benchmark, threads, full cycle)
---- Score : 19540 threads/S
+--- Score : 18457 threads/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.6 (Benchmark, threads, create only)
---- Score : 28852 threads/S
+--- Score : 28904 threads/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.7 (Benchmark, mass reschedulation, 5 threads)
---- Score : 7322 reschedulations/S, 43932 ctxswc/S
+--- Score : 7336 reschedulations/S, 44016 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.8 (Benchmark, round robin context switching)
---- Score : 72160 reschedulations/S, 72160 ctxswc/S
+--- Score : 71920 reschedulations/S, 71920 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.9 (Benchmark, I/O Queues throughput)
---- Score : 69160 bytes/S
+--- Score : 69028 bytes/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.10 (Benchmark, virtual timers set/reset)
---- Score : 64842 timers/S
+--- Score : 64712 timers/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.11 (Benchmark, semaphores wait/signal)
---- Score : 200420 wait+signal/S
+--- Score : 201052 wait+signal/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.12 (Benchmark, RAM footprint)
---- System: 173 bytes
---- Thread: 26 bytes
+--- System: 179 bytes
+--- Thread: 29 bytes
--- Timer : 10 bytes
--- Semaph: 6 bytes
--- EventS: 2 bytes