Fixes to the STM8S RIDE7 project.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2433 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2010-11-27 11:29:25 +00:00
parent aba1a9d6c3
commit f13dabb998
7 changed files with 100 additions and 60 deletions

View File

@ -11,6 +11,6 @@ Dependencies=
Filename=raisonance\raisonance.stp
Dependencies=
[Options]
ActiveProject=cosmic
ActiveProject=raisonance
ActiveConfig=Release
AddSortedElements=0

View File

@ -61,7 +61,7 @@ String.100.2=STM8 Cosmic
String.100.3=ST7 Metrowerks V1.1
String.100.4=Raisonance
String.101.0=STM8 Cosmic
String.102.0=C:\Program Files\COSMIC\CXSTM8_32K
String.102.0=C:\Programmi\COSMIC\CXSTM8_32K
String.103.0=
String.104.0=Hstm8
String.105.0=Lib
@ -144,7 +144,7 @@ String.100.2=STM8 Cosmic
String.100.3=ST7 Metrowerks V1.1
String.100.4=Raisonance
String.101.0=STM8 Cosmic
String.102.0=C:\Program Files\COSMIC\CXSTM8_32K
String.102.0=C:\Programmi\COSMIC\CXSTM8_32K
String.103.0=
String.104.0=Hstm8
String.105.0=Lib

View File

@ -61,7 +61,7 @@ String.100.2=STM8 Cosmic
String.100.3=ST7 Metrowerks V1.1
String.100.4=Raisonance
String.101.0=Raisonance
String.102.0=C:\Program Files\Raisonance\Ride
String.102.0=C:\Programmi\Raisonance\Ride
String.103.0=bin
String.104.0=INC\ST7;INC
String.105.0=LIB\ST7
@ -130,7 +130,7 @@ String.100.2=STM8 Cosmic
String.100.3=ST7 Metrowerks V1.1
String.100.4=Raisonance
String.101.0=Raisonance
String.102.0=C:\Program Files\Raisonance\Ride
String.102.0=C:\Programmi\Raisonance\Ride
String.103.0=bin
String.104.0=INC\ST7;INC
String.105.0=LIB\ST7

View File

@ -1,8 +1,9 @@
<ApplicationBuild Header="ch" Extern=".\ch.rapp" Path=".\ch.rapp" OutputFile="..\STM8S-STM8S208-RC/bin\ch.aof" sate="98" AsyncBuild="" >
<Group Header="kernel" Marker="-1" OutputFile="" sate="0" AsyncBuild="" >
<ApplicationBuild Header="ch" Extern=".\ch.rapp" Path=".\ch.rapp" OutputFile="..\STM8S-STM8S208-RC/bin\ch.aof" sate="2" AsyncBuild="" >
<Group Header="kernel" Marker="-1" OutputFile="" sate="96" AsyncBuild="" >
<NodeC Path="..\..\os\kernel\src\chcond.c" Header="chcond.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\chcond.obj" sate="0" AsyncBuild="" />
<NodeC Path="..\..\os\kernel\src\chdebug.c" Header="chdebug.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\chdebug.obj" sate="0" AsyncBuild="" />
<NodeC Path="..\..\os\kernel\src\chdynamic.c" Header="chdynamic.c" Marker="-1" AsyncBuild="" OutputFile="..\STM8S-STM8S208-RC/bin\chdynamic.obj" sate="0" />
<NodeC Path="..\..\os\kernel\src\chevents.c" Header="chevents.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\chevents.obj" sate="0" AsyncBuild="" />
<NodeC Path="..\..\os\kernel\src\chheap.c" Header="chheap.c" Marker="0" OutputFile="..\STM8S-STM8S208-RC/bin\chheap.obj" sate="0" AsyncBuild="" >
<Options>
@ -82,10 +83,12 @@
<NodeC Path="..\..\os\hal\src\pwm.c" Header="pwm.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\pwm.obj" sate="0" AsyncBuild="" />
<NodeC Path="..\..\os\hal\src\serial.c" Header="serial.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\serial.obj" sate="0" AsyncBuild="" />
<NodeC Path="..\..\os\hal\src\spi.c" Header="spi.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\spi.obj" sate="0" AsyncBuild="" />
<NodeC Path="..\..\os\hal\platforms\STM8S\hal_lld.c" Header="hal_lld.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\hal_lld.obj" sate="0" AsyncBuild="" />
<NodeC Path="..\..\os\hal\platforms\STM8S\serial_lld.c" Header="serial_lld.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\serial_lld.obj" sate="0" AsyncBuild="" />
<NodeC Path="..\..\os\hal\platforms\STM8S\pal_lld.c" Header="pal_lld.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\pal_lld.obj" sate="0" AsyncBuild="" />
<Group Header="stm8s" Marker="-1" AsyncBuild="" OutputFile="" sate="0" >
<NodeC Path="..\..\os\hal\platforms\STM8S\hal_lld.c" Header="hal_lld.c" Marker="-1" AsyncBuild="" OutputFile="..\STM8S-STM8S208-RC/bin\hal_lld.obj" sate="0" />
<NodeC Path="..\..\os\hal\platforms\STM8S\pal_lld.c" Header="pal_lld.c" Marker="-1" AsyncBuild="" OutputFile="..\STM8S-STM8S208-RC/bin\pal_lld.obj" sate="0" />
<NodeC Path="..\..\os\hal\platforms\STM8S\serial_lld.c" Header="serial_lld.c" Marker="-1" AsyncBuild="" OutputFile="..\STM8S-STM8S208-RC/bin\serial_lld.obj" sate="0" />
<NodeC Path="..\..\os\hal\platforms\STM8S\spi_lld.c" Header="spi_lld.c" Marker="-1" AsyncBuild="" OutputFile="..\STM8S-STM8S208-RC/bin\spi_lld.obj" sate="0" />
</Group>
</Group>
<Group Header="board" Marker="-1" OutputFile="" sate="0" AsyncBuild="" >

View File

@ -1,4 +1,4 @@
<Project Header="Project 'ch'" Path=".\ch.rprj" Project="Yes" OutputFile="" sate="96" ActiveApp="ch" AsyncBuild="" >
<ApplicationBuild Header="ch" Extern=".\ch.rapp" Path=".\ch.rapp" OutputFile="..\STM8S-STM8S208-RC/bin\ch.aof" sate="98" AsyncBuild="" />
<ApplicationBuild Header="ch" Extern=".\ch.rapp" Path=".\ch.rapp" OutputFile="..\STM8S-STM8S208-RC/bin\ch.aof" sate="2" AsyncBuild="" />
</Project>

View File

@ -29,9 +29,9 @@
* HAL general settings.
*/
#define STM8S_NO_CLOCK_INIT FALSE
#define STM8S_HSI_ENABLED FALSE
#define STM8S_HSI_ENABLED TRUE
#define STM8S_LSI_ENABLED TRUE
#define STM8S_HSE_ENABLED TRUE
#define STM8S_HSE_ENABLED FALSE
#define STM8S_SYSCLK_SOURCE CLK_SYSSEL_HSI
#define STM8S_HSI_DIVIDER CLK_HSI_DIV1
#define STM8S_CPU_DIVIDER CLK_CPU_DIV1
@ -40,9 +40,9 @@
/*
* SERIAL driver system settings.
*/
#define USE_STM8S_UART1 TRUE
#define USE_STM8S_UART2 FALSE
#define USE_STM8S_UART3 FALSE
#define STM8S_SERIAL_USE_UART1 TRUE
#define STM8S_SERIAL_USE_UART2 FALSE
#define STM8S_SERIAL_USE_UART3 FALSE
/*
* SPI driver system settings.

View File

@ -6,9 +6,9 @@ Compiler: Raisonance RKit-STM8_2.30.10.0175
*** ChibiOS/RT test suite
***
*** Kernel: 2.1.0unstable
*** Kernel: 2.1.4unstable
*** Architecture: STM8
*** Platform: STM8x
*** Platform: STM8S
*** Test Board: Raisonance REva V3 + STM8S208RB
----------------------------------------------------------------------------
@ -33,9 +33,39 @@ Compiler: Raisonance RKit-STM8_2.30.10.0175
--- Test Case 2.3 (Semaphores, atomic signal-wait)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.4 (Binary Semaphores, functionality)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.1 (Mutexes, priority enqueuing test)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.2 (Mutexes, priority inheritance, simple case)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.3 (Mutexes, priority inheritance, complex case)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.4 (Mutexes, priority return)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.5 (Mutexes, status)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.6 (CondVar, signal test)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.7 (CondVar, broadcast test)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.8 (CondVar, boost test)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 4.1 (Messages, loop)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 5.1 (Mailboxes, queuing and timeouts)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 6.1 (Events, registration and dispatch)
--- Result: SUCCESS
----------------------------------------------------------------------------
@ -67,57 +97,64 @@ Compiler: Raisonance RKit-STM8_2.30.10.0175
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.1 (Benchmark, messages #1)
--- Score : 32031 msgs/S, 64062 ctxswc/S
--- Score : 31278 msgs/S, 62556 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.2 (Benchmark, messages #2)
--- Score : 24553 msgs/S, 49106 ctxswc/S
--- Score : 23785 msgs/S, 47570 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.3 (Benchmark, messages #3)
--- Score : 24553 msgs/S, 49106 ctxswc/S
--- Score : 23785 msgs/S, 47570 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.4 (Benchmark, context switch)
--- Score : 110712 ctxswc/S
--- Score : 107368 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.5 (Benchmark, threads, full cycle)
--- Score : 18102 threads/S
--- Score : 17603 threads/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.6 (Benchmark, threads, create only)
--- Score : 28091 threads/S
--- Score : 27510 threads/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.7 (Benchmark, mass reschedule, 5 threads)
--- Score : 7067 reschedules/S, 42402 ctxswc/S
--- Score : 6268 reschedules/S, 37608 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.8 (Benchmark, round robin context switching)
--- Score : 54880 ctxswc/S
--- Score : 53236 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.9 (Benchmark, I/O Queues throughput)
--- Score : 63540 bytes/S
--- Score : 53004 bytes/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.10 (Benchmark, virtual timers set/reset)
--- Score : 57788 timers/S
--- Score : 57830 timers/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.11 (Benchmark, semaphores wait/signal)
--- Score : 216720 wait+signal/S
--- Score : 125116 wait+signal/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.12 (Benchmark, RAM footprint)
--- System: 208 bytes
--- Thread: 29 bytes
--- Test Case 11.12 (Benchmark, mutexes lock/unlock)
--- Score : 123188 lock+unlock/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.13 (Benchmark, RAM footprint)
--- System: 214 bytes
--- Thread: 32 bytes
--- Timer : 10 bytes
--- Semaph: 5 bytes
--- EventS: 2 bytes
--- EventL: 5 bytes
--- Mutex : 8 bytes
--- CondV.: 4 bytes
--- Queue : 15 bytes
--- MailB.: 18 bytes
--- Result: SUCCESS
----------------------------------------------------------------------------