Fixes to the STM8S RIDE7 project.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2433 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
aba1a9d6c3
commit
f13dabb998
|
@ -11,6 +11,6 @@ Dependencies=
|
|||
Filename=raisonance\raisonance.stp
|
||||
Dependencies=
|
||||
[Options]
|
||||
ActiveProject=cosmic
|
||||
ActiveProject=raisonance
|
||||
ActiveConfig=Release
|
||||
AddSortedElements=0
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
@ -10,15 +11,15 @@
|
|||
<Set Header="RCST7" >
|
||||
<Section Header="Model" >
|
||||
<Property Header="GlobalMemory" Value="" Removable="1" />
|
||||
|
||||
|
||||
</Section>
|
||||
|
||||
|
||||
</Set>
|
||||
|
||||
|
||||
</Config>
|
||||
|
||||
|
||||
</Options>
|
||||
|
||||
|
||||
</NodeC>
|
||||
<NodeC Path="..\..\os\kernel\src\chlists.c" Header="chlists.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\chlists.obj" sate="0" AsyncBuild="" />
|
||||
<NodeC Path="..\..\os\kernel\src\chmboxes.c" Header="chmboxes.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\chmboxes.obj" sate="0" AsyncBuild="" />
|
||||
|
@ -30,7 +31,7 @@
|
|||
<NodeC Path="..\..\os\kernel\src\chregistry.c" Header="chregistry.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\chregistry.obj" sate="0" AsyncBuild="" />
|
||||
<NodeC Path="..\..\os\kernel\src\chschd.c" Header="chschd.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\chschd.obj" sate="0" AsyncBuild="" >
|
||||
<Options/>
|
||||
|
||||
|
||||
</NodeC>
|
||||
<NodeC Path="..\..\os\kernel\src\chsem.c" Header="chsem.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\chsem.obj" sate="0" AsyncBuild="" />
|
||||
<NodeC Path="..\..\os\kernel\src\chsys.c" Header="chsys.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\chsys.obj" sate="0" AsyncBuild="" />
|
||||
|
@ -41,17 +42,17 @@
|
|||
<Set Header="RCST7" >
|
||||
<Section Header="Model" >
|
||||
<Property Header="GlobalMemory" Value="" Removable="1" />
|
||||
|
||||
|
||||
</Section>
|
||||
|
||||
|
||||
</Set>
|
||||
|
||||
|
||||
</Config>
|
||||
|
||||
|
||||
</Options>
|
||||
|
||||
|
||||
</NodeC>
|
||||
|
||||
|
||||
</Group>
|
||||
<Group Header="test" Marker="-1" OutputFile="" sate="0" AsyncBuild="" >
|
||||
<NodeC Path="..\..\test\test.c" Header="test.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\test.obj" sate="0" AsyncBuild="" />
|
||||
|
@ -66,11 +67,11 @@
|
|||
<NodeC Path="..\..\test\testqueues.c" Header="testqueues.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\testqueues.obj" sate="0" AsyncBuild="" />
|
||||
<NodeC Path="..\..\test\testsem.c" Header="testsem.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\testsem.obj" sate="0" AsyncBuild="" />
|
||||
<NodeC Path="..\..\test\testthd.c" Header="testthd.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\testthd.obj" sate="0" AsyncBuild="" />
|
||||
|
||||
|
||||
</Group>
|
||||
<Group Header="port" Marker="-1" OutputFile="" sate="0" AsyncBuild="" >
|
||||
<NodeC Path="..\..\os\ports\RC\STM8\chcore.c" Header="chcore.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\chcore.obj" sate="0" AsyncBuild="" />
|
||||
|
||||
|
||||
</Group>
|
||||
<Group Header="hal" Marker="-1" OutputFile="" sate="0" AsyncBuild="" >
|
||||
<NodeC Path="..\..\os\hal\src\adc.c" Header="adc.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\adc.obj" sate="0" AsyncBuild="" />
|
||||
|
@ -82,15 +83,17 @@
|
|||
<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="" />
|
||||
<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 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="" >
|
||||
<NodeC Path="..\..\boards\RAISONANCE_REVA_STM8S\board.c" Header="board.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\board.obj" sate="0" AsyncBuild="" />
|
||||
|
||||
|
||||
</Group>
|
||||
<NodeC Path=".\main.c" Header="main.c" Marker="-1" OutputFile="..\STM8S-STM8S208-RC/bin\main.obj" sate="0" AsyncBuild="" />
|
||||
<Options>
|
||||
|
@ -98,21 +101,21 @@
|
|||
<Set Header="ApplicationBuild" >
|
||||
<Section Header="General" >
|
||||
<Property Header="TargetFamily" Value="ST7" />
|
||||
|
||||
|
||||
</Section>
|
||||
<Section Header="Directories" >
|
||||
<Property Header="IncDir" Value="$(RkitInc);$(RkitInc)\ST7;..\..\os\kernel\include;..\..\os\ports\RC\STM8;..\..\os\hal\include;..\..\os\hal\platforms\STM8S;..\..\boards\RAISONANCE_REVA_STM8S;..\..\test" Removable="1" />
|
||||
<Property Header="OutDir" Value="$(ApplicationDir)/bin" Removable="1" />
|
||||
<Property Header="ListDir" Value="$(ApplicationDir)/lst" Removable="1" />
|
||||
<Property Header="LinkerOutputDir" Value="Output Directory" Removable="1" />
|
||||
|
||||
|
||||
</Section>
|
||||
|
||||
|
||||
</Set>
|
||||
<Set Header="Target" >
|
||||
<Section Header="ProcessorST7" >
|
||||
<Property Header="Processor" Value="STM8S208MB" Removable="1" />
|
||||
|
||||
|
||||
</Section>
|
||||
<Section Header="ToolSetST7" >
|
||||
<Property Header="BuildToolSetST7" Value="ST7\RaisonanceTools.config" Removable="1" />
|
||||
|
@ -123,33 +126,33 @@
|
|||
<Section Header="DebugST7" >
|
||||
<Property Header="Startup" Value="1" Removable="1" />
|
||||
<Property Header="DebugTool_STM8" Value="RLINK_STM8" Removable="1" />
|
||||
|
||||
|
||||
</Section>
|
||||
|
||||
</Set>
|
||||
<Set Header="RCST7" >
|
||||
<Section Header="CodeGen" >
|
||||
<Property Header="ENUMTYPE" Value="ET(CHAR)" Removable="1" />
|
||||
|
||||
|
||||
</Section>
|
||||
<Section Header="Model" >
|
||||
<Property Header="GlobalMemory" Value="DGC(DATA)" Removable="1" />
|
||||
<Property Header="ModelP" Value="STM8(SMALL)" Removable="1" />
|
||||
|
||||
|
||||
</Section>
|
||||
<Section Header="OPTIM" >
|
||||
<Property Header="OTLEVEL" Value="3" Removable="1" />
|
||||
<Property Header="SPEEDSIZE" Value="SPEED" Removable="1" />
|
||||
|
||||
|
||||
</Section>
|
||||
|
||||
|
||||
</Set>
|
||||
<Set Header="MAST7" >
|
||||
<Section Header="Set" >
|
||||
<Property Header="Defines" Value="STM8S208RB" Removable="1" />
|
||||
|
||||
|
||||
</Section>
|
||||
|
||||
|
||||
</Set>
|
||||
</Config>
|
||||
</Options>
|
||||
|
|
|
@ -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>
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue