git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11133 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
Giovanni Di Sirio 2017-12-07 13:03:38 +00:00
parent 5e7988200e
commit f3ac9042e1
6 changed files with 531 additions and 121 deletions

View File

@ -89,7 +89,7 @@ DEPDIR := ./.dep-ht
# Licensing files.
include $(CHIBIOS)/os/license/license.mk
# Startup files.
include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc56ecxx.mk
include $(CHIBIOS)/os/common/startup/e200/compilers/GCC/mk/startup_spc560dxx.mk
# HAL-OSAL files (optional).
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS)/os/hal/boards/ST_EVB_SPC560D/board.mk

View File

@ -28,7 +28,7 @@ MEMORY
}
__irq_stack_size__ = 0;
__process_stack_size__ = 0x0800;
__process_stack_size__ = 0x0400;
__ram_size__ = SIZEOF(ram);
__ram_start__ = ADDR(ram);

View File

@ -1,25 +1,31 @@
*** ChibiOS/RT Test Suite
***
*** Compiled: Sep 20 2017 - 15:28:01
*** Compiled: Dec 7 2017 - 11:53:10
*** Platform: SPC560Dxx Car Body and Convenience
*** Test Board: EVB with SPC560Dxx Mini Module
*** Compiler: CW
*** Architecture: Power Architecture
*** Core Variant: e200z0
*** Port Info: VLE mode
============================================================================
=== Test Sequence 1 (Information)
----------------------------------------------------------------------------
--- Test Case 1.1 (Kernel Info)
--- Product: ChibiOS/RT
--- Stable Flag: 1
--- Version String: 4.0.1
--- Major Number: 4
--- Minor Number: 0
--- Patch Number: 1
--- Test Case 1.1 (Port Info)
--- Architecture: Power Architecture e200
--- Compiler: CW
--- Natural alignment: 4
--- Stack alignment: 8
--- Working area alignment: 8
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.2 (Kernel Settings)
--- Test Case 1.2 (Kernel Info)
--- Product: ChibiOS/RT
--- Stable Flag: 0
--- Version String: 5.0.0
--- Major Number: 5
--- Minor Number: 0
--- Patch Number: 0
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.3 (Kernel Settings)
--- CH_CFG_ST_RESOLUTION: 32
--- CH_CFG_ST_FREQUENCY: 1000
--- CH_CFG_ST_TIMEDELTA: 0
@ -55,6 +61,8 @@
--- CH_DBG_FILL_THREADS: 0
--- CH_DBG_THREADS_PROFILING: 1
--- Result: SUCCESS
============================================================================
=== Test Sequence 2 (System layer and port interface)
----------------------------------------------------------------------------
--- Test Case 2.1 (System integrity functionality)
--- Result: SUCCESS
@ -67,6 +75,8 @@
----------------------------------------------------------------------------
--- Test Case 2.4 (System Tick Counter functionality)
--- Result: SUCCESS
============================================================================
=== Test Sequence 3 (Threads Functionality)
----------------------------------------------------------------------------
--- Test Case 3.1 (Thread Sleep functionality)
--- Result: SUCCESS
@ -79,9 +89,13 @@
----------------------------------------------------------------------------
--- Test Case 3.4 (Priority change test with Priority Inheritance)
--- Result: SUCCESS
============================================================================
=== Test Sequence 4 (Suspend/Resume)
----------------------------------------------------------------------------
--- Test Case 4.1 (Suspend and Resume functionality)
--- Result: SUCCESS
============================================================================
=== Test Sequence 5 (Counter Semaphores)
----------------------------------------------------------------------------
--- Test Case 5.1 (Semaphore primitives, no state change)
--- Result: SUCCESS
@ -100,6 +114,8 @@
----------------------------------------------------------------------------
--- Test Case 5.6 (Testing Binary Semaphores special case)
--- Result: SUCCESS
============================================================================
=== Test Sequence 6 (Mutexes, Condition Variables and Priority Inheritance)
----------------------------------------------------------------------------
--- Test Case 6.1 (Priority enqueuing test)
--- Result: SUCCESS
@ -124,9 +140,13 @@
----------------------------------------------------------------------------
--- Test Case 6.8 (Condition Variable priority boost test)
--- Result: SUCCESS
============================================================================
=== Test Sequence 7 (Synchronous Messages)
----------------------------------------------------------------------------
--- Test Case 7.1 (Messages Server loop)
--- Result: SUCCESS
============================================================================
=== Test Sequence 8 (Event Sources and Event Flags)
----------------------------------------------------------------------------
--- Test Case 8.1 (Events registration)
--- Result: SUCCESS
@ -148,82 +168,62 @@
----------------------------------------------------------------------------
--- Test Case 8.7 (Broadcasting using chEvtBroadcast())
--- Result: SUCCESS
============================================================================
=== Test Sequence 9 (Dynamic threads)
----------------------------------------------------------------------------
--- Test Case 9.1 (Mailbox normal API, non-blocking tests)
--- Test Case 9.1 (Threads creation from Memory Heap)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 9.2 (Mailbox I-Class API, non-blocking tests)
--- Test Case 9.2 (Threads creation from Memory Pool)
--- Result: SUCCESS
============================================================================
=== Test Sequence 10 (Benchmarks)
----------------------------------------------------------------------------
--- Test Case 10.1 (Messages performance #1)
--- Score : 133569 msgs/S, 267138 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 9.3 (Mailbox timeouts)
--- Test Case 10.2 (Messages performance #2)
--- Score : 119863 msgs/S, 239726 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.1 (Loading and emptying a memory pool)
--- Test Case 10.3 (Messages performance #3)
--- Score : 119861 msgs/S, 239722 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.2 (Loading and emptying a guarded memory pool without waiting)
--- Test Case 10.4 (Context Switch performance)
--- Score : 426992 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.3 (Guarded Memory Pools timeout)
--- Test Case 10.5 (Threads performance, full cycle)
--- Score : 96603 threads/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.1 (Allocation and fragmentation)
--- Test Case 10.6 (Threads performance, create/exit only)
--- Score : 119864 threads/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.2 (Default Heap)
--- Test Case 10.7 (Mass reschedule performance)
--- Score : 38663 reschedules/S, 231978 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 12.1 (Threads creation from Memory Heap)
--- Test Case 10.8 (Round-Robin voluntary reschedule)
--- Score : 262740 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 12.2 (Threads creation from Memory Pool)
--- Test Case 10.9 (Virtual Timers set/reset performance)
--- Score : 559300 timers/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.1 (Messages performance #1)
--- Score : 135063 msgs/S, 270126 ctxswc/S
--- Test Case 10.10 (Semaphores wait/signal performance)
--- Score : 521272 wait+signal/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.2 (Messages performance #2)
--- Score : 120449 msgs/S, 240898 ctxswc/S
--- Test Case 10.11 (Mutexes lock/unlock performance)
--- Score : 444904 lock+unlock/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.3 (Messages performance #3)
--- Score : 120454 msgs/S, 240908 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.4 (Context Switch performance)
--- Score : 414944 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.5 (Threads performance, full cycle)
--- Score : 94116 threads/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.6 (Threads performance, create/exit only)
--- Score : 116353 threads/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.7 (Mass reschedule performance)
--- Score : 38568 reschedules/S, 231408 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.8 (Round-Robin voluntary reschedule)
--- Score : 266000 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.9 (Virtual Timers set/reset performance)
--- Score : 569228 timers/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.10 (Semaphores wait/signal performance)
--- Score : 564284 wait+signal/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.11 (Mutexes lock/unlock performance)
--- Score : 460940 lock+unlock/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.12 (RAM Footprint)
--- Test Case 10.12 (RAM Footprint)
--- System: 120 bytes
--- Thread: 72 bytes
--- Timer : 20 bytes
@ -237,3 +237,60 @@
----------------------------------------------------------------------------
Final result: SUCCESS
*** ChibiOS OS Library Test Suite
***
*** Compiled: Dec 7 2017 - 11:53:10
*** Platform: SPC560Dxx Car Body and Convenience
*** Test Board: EVB with SPC560Dxx Mini Module
============================================================================
=== Test Sequence 1 (Mailboxes)
----------------------------------------------------------------------------
--- Test Case 1.1 (Mailbox normal API, non-blocking tests)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.2 (Mailbox I-Class API, non-blocking tests)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.3 (Mailbox timeouts)
--- Result: SUCCESS
============================================================================
=== Test Sequence 2 (Memory Pools)
----------------------------------------------------------------------------
--- Test Case 2.1 (Loading and emptying a memory pool)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.2 (Loading and emptying a guarded memory pool without waiting)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.3 (Guarded Memory Pools timeout)
--- Result: SUCCESS
============================================================================
=== Test Sequence 3 (Memory Heaps)
----------------------------------------------------------------------------
--- Test Case 3.1 (Allocation and fragmentation)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.2 (Default Heap)
--- Result: SUCCESS
============================================================================
=== Test Sequence 4 (Objects Factory)
----------------------------------------------------------------------------
--- Test Case 4.1 (Objects Registry)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 4.2 (Dynamic Buffers Factory)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 4.3 (Dynamic Semaphores Factory)
--- Result: FAILURE (#2 [] "cannot create")
----------------------------------------------------------------------------
--- Test Case 4.4 (Dynamic Mailboxes Factory)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 4.5 (Dynamic Objects FIFOs Factory)
--- Result: FAILURE (#2 [] "cannot create")
----------------------------------------------------------------------------
Final result: FAILURE

View File

@ -1,25 +1,31 @@
*** ChibiOS/RT Test Suite
***
*** Compiled: Sep 20 2017 - 15:23:50
*** Compiled: Dec 7 2017 - 11:29:07
*** Platform: SPC560Dxx Car Body and Convenience
*** Test Board: EVB with SPC560Dxx Mini Module
*** Compiler: GCC 4.6.3 build on 2013-01-07
*** Architecture: Power Architecture
*** Core Variant: e200z0
*** Port Info: VLE mode
============================================================================
=== Test Sequence 1 (Information)
----------------------------------------------------------------------------
--- Test Case 1.1 (Kernel Info)
--- Product: ChibiOS/RT
--- Stable Flag: 1
--- Version String: 4.0.1
--- Major Number: 4
--- Minor Number: 0
--- Patch Number: 1
--- Test Case 1.1 (Port Info)
--- Architecture: Power Architecture e200
--- Compiler: GCC 4.6.3 build on 2013-01-07
--- Natural alignment: 4
--- Stack alignment: 8
--- Working area alignment: 8
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.2 (Kernel Settings)
--- Test Case 1.2 (Kernel Info)
--- Product: ChibiOS/RT
--- Stable Flag: 0
--- Version String: 5.0.0
--- Major Number: 5
--- Minor Number: 0
--- Patch Number: 0
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.3 (Kernel Settings)
--- CH_CFG_ST_RESOLUTION: 32
--- CH_CFG_ST_FREQUENCY: 1000
--- CH_CFG_ST_TIMEDELTA: 0
@ -55,6 +61,8 @@
--- CH_DBG_FILL_THREADS: 0
--- CH_DBG_THREADS_PROFILING: 1
--- Result: SUCCESS
============================================================================
=== Test Sequence 2 (System layer and port interface)
----------------------------------------------------------------------------
--- Test Case 2.1 (System integrity functionality)
--- Result: SUCCESS
@ -67,6 +75,8 @@
----------------------------------------------------------------------------
--- Test Case 2.4 (System Tick Counter functionality)
--- Result: SUCCESS
============================================================================
=== Test Sequence 3 (Threads Functionality)
----------------------------------------------------------------------------
--- Test Case 3.1 (Thread Sleep functionality)
--- Result: SUCCESS
@ -79,9 +89,13 @@
----------------------------------------------------------------------------
--- Test Case 3.4 (Priority change test with Priority Inheritance)
--- Result: SUCCESS
============================================================================
=== Test Sequence 4 (Suspend/Resume)
----------------------------------------------------------------------------
--- Test Case 4.1 (Suspend and Resume functionality)
--- Result: SUCCESS
============================================================================
=== Test Sequence 5 (Counter Semaphores)
----------------------------------------------------------------------------
--- Test Case 5.1 (Semaphore primitives, no state change)
--- Result: SUCCESS
@ -100,6 +114,8 @@
----------------------------------------------------------------------------
--- Test Case 5.6 (Testing Binary Semaphores special case)
--- Result: SUCCESS
============================================================================
=== Test Sequence 6 (Mutexes, Condition Variables and Priority Inheritance)
----------------------------------------------------------------------------
--- Test Case 6.1 (Priority enqueuing test)
--- Result: SUCCESS
@ -124,9 +140,13 @@
----------------------------------------------------------------------------
--- Test Case 6.8 (Condition Variable priority boost test)
--- Result: SUCCESS
============================================================================
=== Test Sequence 7 (Synchronous Messages)
----------------------------------------------------------------------------
--- Test Case 7.1 (Messages Server loop)
--- Result: SUCCESS
============================================================================
=== Test Sequence 8 (Event Sources and Event Flags)
----------------------------------------------------------------------------
--- Test Case 8.1 (Events registration)
--- Result: SUCCESS
@ -148,82 +168,62 @@
----------------------------------------------------------------------------
--- Test Case 8.7 (Broadcasting using chEvtBroadcast())
--- Result: SUCCESS
============================================================================
=== Test Sequence 9 (Dynamic threads)
----------------------------------------------------------------------------
--- Test Case 9.1 (Mailbox normal API, non-blocking tests)
--- Test Case 9.1 (Threads creation from Memory Heap)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 9.2 (Mailbox I-Class API, non-blocking tests)
--- Test Case 9.2 (Threads creation from Memory Pool)
--- Result: SUCCESS
============================================================================
=== Test Sequence 10 (Benchmarks)
----------------------------------------------------------------------------
--- Test Case 9.3 (Mailbox timeouts)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.1 (Loading and emptying a memory pool)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.2 (Loading and emptying a guarded memory pool without waiting)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.3 (Guarded Memory Pools timeout)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.1 (Allocation and fragmentation)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 11.2 (Default Heap)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 12.1 (Threads creation from Memory Heap)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 12.2 (Threads creation from Memory Pool)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.1 (Messages performance #1)
--- Test Case 10.1 (Messages performance #1)
--- Score : 152297 msgs/S, 304594 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.2 (Messages performance #2)
--- Test Case 10.2 (Messages performance #2)
--- Score : 128219 msgs/S, 256438 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.3 (Messages performance #3)
--- Score : 128222 msgs/S, 256444 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.3 (Messages performance #3)
--- Score : 128222 msgs/S, 256444 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.4 (Context Switch performance)
--- Test Case 10.4 (Context Switch performance)
--- Score : 453872 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.5 (Threads performance, full cycle)
--- Test Case 10.5 (Threads performance, full cycle)
--- Score : 100676 threads/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.6 (Threads performance, create/exit only)
--- Score : 126856 threads/S
--- Test Case 10.6 (Threads performance, create/exit only)
--- Score : 126860 threads/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.7 (Mass reschedule performance)
--- Test Case 10.7 (Mass reschedule performance)
--- Score : 40189 reschedules/S, 241134 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.8 (Round-Robin voluntary reschedule)
--- Test Case 10.8 (Round-Robin voluntary reschedule)
--- Score : 315140 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.9 (Virtual Timers set/reset performance)
--- Test Case 10.9 (Virtual Timers set/reset performance)
--- Score : 683098 timers/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.10 (Semaphores wait/signal performance)
--- Test Case 10.10 (Semaphores wait/signal performance)
--- Score : 629284 wait+signal/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.11 (Mutexes lock/unlock performance)
--- Test Case 10.11 (Mutexes lock/unlock performance)
--- Score : 488000 lock+unlock/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 13.12 (RAM Footprint)
--- Test Case 10.12 (RAM Footprint)
--- System: 120 bytes
--- Thread: 72 bytes
--- Timer : 20 bytes
@ -237,3 +237,60 @@
----------------------------------------------------------------------------
Final result: SUCCESS
*** ChibiOS OS Library Test Suite
***
*** Compiled: Dec 7 2017 - 11:29:07
*** Platform: SPC560Dxx Car Body and Convenience
*** Test Board: EVB with SPC560Dxx Mini Module
============================================================================
=== Test Sequence 1 (Mailboxes)
----------------------------------------------------------------------------
--- Test Case 1.1 (Mailbox normal API, non-blocking tests)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.2 (Mailbox I-Class API, non-blocking tests)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.3 (Mailbox timeouts)
--- Result: SUCCESS
============================================================================
=== Test Sequence 2 (Memory Pools)
----------------------------------------------------------------------------
--- Test Case 2.1 (Loading and emptying a memory pool)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.2 (Loading and emptying a guarded memory pool without waiting)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.3 (Guarded Memory Pools timeout)
--- Result: SUCCESS
============================================================================
=== Test Sequence 3 (Memory Heaps)
----------------------------------------------------------------------------
--- Test Case 3.1 (Allocation and fragmentation)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.2 (Default Heap)
--- Result: SUCCESS
============================================================================
=== Test Sequence 4 (Objects Factory)
----------------------------------------------------------------------------
--- Test Case 4.1 (Objects Registry)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 4.2 (Dynamic Buffers Factory)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 4.3 (Dynamic Semaphores Factory)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 4.4 (Dynamic Mailboxes Factory)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 4.5 (Dynamic Objects FIFOs Factory)
--- Result: SUCCESS
----------------------------------------------------------------------------
Final result: SUCCESS

View File

@ -0,0 +1,296 @@
*** ChibiOS/RT Test Suite
***
*** Compiled: Dec 7 2017 - 11:24:43
*** Platform: SPC560Dxx Car Body and Convenience
*** Test Board: EVB with SPC560Dxx Mini Module
============================================================================
=== Test Sequence 1 (Information)
----------------------------------------------------------------------------
--- Test Case 1.1 (Port Info)
--- Architecture: Power Architecture e200
--- Compiler: GHS
--- Natural alignment: 4
--- Stack alignment: 8
--- Working area alignment: 8
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.2 (Kernel Info)
--- Product: ChibiOS/RT
--- Stable Flag: 0
--- Version String: 5.0.0
--- Major Number: 5
--- Minor Number: 0
--- Patch Number: 0
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.3 (Kernel Settings)
--- CH_CFG_ST_RESOLUTION: 32
--- CH_CFG_ST_FREQUENCY: 1000
--- CH_CFG_ST_TIMEDELTA: 0
--- CH_CFG_TIME_QUANTUM: 0
--- CH_CFG_MEMCORE_SIZE: 0
--- CH_CFG_NO_IDLE_THREAD: 0
--- CH_CFG_OPTIMIZE_SPEED: 1
--- CH_CFG_USE_TM: 0
--- CH_CFG_USE_REGISTRY: 1
--- CH_CFG_USE_WAITEXIT: 1
--- CH_CFG_USE_SEMAPHORES: 1
--- CH_CFG_USE_SEMAPHORES_PRI: 0
--- CH_CFG_USE_MUTEXES: 1
--- CH_CFG_USE_MUTEXES_RECURS: 0
--- CH_CFG_USE_CONDVARS: 1
--- CH_CFG_USE_CONDVARS_TIMEO: 1
--- CH_CFG_USE_EVENTS: 1
--- CH_CFG_USE_EVENTS_TIMEOUT: 1
--- CH_CFG_USE_MESSAGES: 1
--- CH_CFG_USE_MESSAGES_PRI: 0
--- CH_CFG_USE_MAILBOXES: 1
--- CH_CFG_USE_MEMCORE: 1
--- CH_CFG_USE_HEAP: 1
--- CH_CFG_USE_MEMPOOLS: 1
--- CH_CFG_USE_DYNAMIC: 1
--- CH_DBG_STATISTICS: 0
--- CH_DBG_SYSTEM_STATE_CHECK: 0
--- CH_DBG_ENABLE_CHECKS: 0
--- CH_DBG_ENABLE_ASSERTS: 0
--- CH_DBG_TRACE_MASK: 255
--- CH_DBG_TRACE_BUFFER_SIZE: 128
--- CH_DBG_ENABLE_STACK_CHECK: 0
--- CH_DBG_FILL_THREADS: 0
--- CH_DBG_THREADS_PROFILING: 1
--- Result: SUCCESS
============================================================================
=== Test Sequence 2 (System layer and port interface)
----------------------------------------------------------------------------
--- Test Case 2.1 (System integrity functionality)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.2 (Critical zones functionality)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.3 (Interrupts handling functionality)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.4 (System Tick Counter functionality)
--- Result: SUCCESS
============================================================================
=== Test Sequence 3 (Threads Functionality)
----------------------------------------------------------------------------
--- Test Case 3.1 (Thread Sleep functionality)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.2 (Ready List functionality, threads priority order)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.3 (Priority change test)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.4 (Priority change test with Priority Inheritance)
--- Result: SUCCESS
============================================================================
=== Test Sequence 4 (Suspend/Resume)
----------------------------------------------------------------------------
--- Test Case 4.1 (Suspend and Resume functionality)
--- Result: SUCCESS
============================================================================
=== Test Sequence 5 (Counter Semaphores)
----------------------------------------------------------------------------
--- Test Case 5.1 (Semaphore primitives, no state change)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 5.2 (Semaphore enqueuing test)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 5.3 (Semaphore timeout test)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 5.4 (Testing chSemAddCounterI() functionality)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 5.5 (Testing chSemWaitSignal() functionality)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 5.6 (Testing Binary Semaphores special case)
--- Result: SUCCESS
============================================================================
=== Test Sequence 6 (Mutexes, Condition Variables and Priority Inheritance)
----------------------------------------------------------------------------
--- Test Case 6.1 (Priority enqueuing test)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 6.2 (Priority inheritance, simple case)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 6.3 (Priority inheritance, complex case)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 6.4 (Priority return verification)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 6.5 (Repeated locks, non recursive scenario)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 6.6 (Condition Variable signal test)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 6.7 (Condition Variable broadcast test)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 6.8 (Condition Variable priority boost test)
--- Result: SUCCESS
============================================================================
=== Test Sequence 7 (Synchronous Messages)
----------------------------------------------------------------------------
--- Test Case 7.1 (Messages Server loop)
--- Result: SUCCESS
============================================================================
=== Test Sequence 8 (Event Sources and Event Flags)
----------------------------------------------------------------------------
--- Test Case 8.1 (Events registration)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 8.2 (Event Flags dispatching)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 8.3 (Events Flags wait using chEvtWaitOne())
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 8.4 (Events Flags wait using chEvtWaitAny())
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 8.5 (Events Flags wait using chEvtWaitAll())
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 8.6 (Events Flags wait timeouts)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 8.7 (Broadcasting using chEvtBroadcast())
--- Result: SUCCESS
============================================================================
=== Test Sequence 9 (Dynamic threads)
----------------------------------------------------------------------------
--- Test Case 9.1 (Threads creation from Memory Heap)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 9.2 (Threads creation from Memory Pool)
--- Result: SUCCESS
============================================================================
=== Test Sequence 10 (Benchmarks)
----------------------------------------------------------------------------
--- Test Case 10.1 (Messages performance #1)
--- Score : 132825 msgs/S, 265650 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.2 (Messages performance #2)
--- Score : 118666 msgs/S, 237332 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.3 (Messages performance #3)
--- Score : 118666 msgs/S, 237332 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.4 (Context Switch performance)
--- Score : 411776 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.5 (Threads performance, full cycle)
--- Score : 92130 threads/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.6 (Threads performance, create/exit only)
--- Score : 114402 threads/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.7 (Mass reschedule performance)
--- Score : 37359 reschedules/S, 224154 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.8 (Round-Robin voluntary reschedule)
--- Score : 252320 ctxswc/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.9 (Virtual Timers set/reset performance)
--- Score : 552160 timers/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.10 (Semaphores wait/signal performance)
--- Score : 480592 wait+signal/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.11 (Mutexes lock/unlock performance)
--- Score : 432748 lock+unlock/S
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 10.12 (RAM Footprint)
--- System: 120 bytes
--- Thread: 72 bytes
--- Timer : 20 bytes
--- Semaph: 12 bytes
--- Mutex : 16 bytes
--- CondV.: 8 bytes
--- EventS: 4 bytes
--- EventL: 20 bytes
--- MailB.: 40 bytes
--- Result: SUCCESS
----------------------------------------------------------------------------
Final result: SUCCESS
*** ChibiOS OS Library Test Suite
***
*** Compiled: Dec 7 2017 - 11:24:43
*** Platform: SPC560Dxx Car Body and Convenience
*** Test Board: EVB with SPC560Dxx Mini Module
============================================================================
=== Test Sequence 1 (Mailboxes)
----------------------------------------------------------------------------
--- Test Case 1.1 (Mailbox normal API, non-blocking tests)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.2 (Mailbox I-Class API, non-blocking tests)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.3 (Mailbox timeouts)
--- Result: SUCCESS
============================================================================
=== Test Sequence 2 (Memory Pools)
----------------------------------------------------------------------------
--- Test Case 2.1 (Loading and emptying a memory pool)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.2 (Loading and emptying a guarded memory pool without waiting)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.3 (Guarded Memory Pools timeout)
--- Result: SUCCESS
============================================================================
=== Test Sequence 3 (Memory Heaps)
----------------------------------------------------------------------------
--- Test Case 3.1 (Allocation and fragmentation)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.2 (Default Heap)
--- Result: SUCCESS
============================================================================
=== Test Sequence 4 (Objects Factory)
----------------------------------------------------------------------------
--- Test Case 4.1 (Objects Registry)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 4.2 (Dynamic Buffers Factory)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 4.3 (Dynamic Semaphores Factory)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 4.4 (Dynamic Mailboxes Factory)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 4.5 (Dynamic Objects FIFOs Factory)
--- Result: SUCCESS
----------------------------------------------------------------------------
Final result: SUCCESS