277 lines
12 KiB
Plaintext
277 lines
12 KiB
Plaintext
|
|
*** ChibiOS/NIL Test Suite
|
|
***
|
|
*** Compiled: Nov 7 2021 - 14:19:16
|
|
*** Platform: STM32F303xC Analog & DSP
|
|
*** Test Board: STMicroelectronics STM32F3-Discovery
|
|
***
|
|
*** Text size: 37080 bytes
|
|
*** RO data size: 7152 bytes
|
|
*** Data size: 128 bytes
|
|
*** BSS size: 3704 bytes
|
|
|
|
============================================================================
|
|
=== Test Sequence 1 (Information)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 1.1 (Port Info)
|
|
--- Architecture: ARMv7E-M
|
|
--- Core Variant: Cortex-M4
|
|
--- Compiler: GCC 10.3.1 20210621 (release)
|
|
--- Port Info: Advanced kernel mode
|
|
--- Natural alignment: 4
|
|
--- Stack alignment: 8
|
|
--- Working area alignment: 8
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 1.2 (Kernel Info)
|
|
--- Product: ChibiOS/NIL
|
|
--- Stable Flag: 0
|
|
--- Version String: 4.1.1
|
|
--- Major Number: 4
|
|
--- Minor Number: 1
|
|
--- Patch Number: 1
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 1.3 (Kernel Settings)
|
|
--- CH_CFG_MAX_THREADS: 8
|
|
--- CH_CFG_AUTOSTART_THREADS: 1
|
|
--- CH_CFG_ST_RESOLUTION: 32
|
|
--- CH_CFG_ST_FREQUENCY: 2000
|
|
--- CH_CFG_ST_TIMEDELTA: 2
|
|
--- CH_CFG_USE_WAITEXIT: 1
|
|
--- CH_CFG_USE_SEMAPHORES: 1
|
|
--- CH_CFG_USE_MUTEXES: 0
|
|
--- CH_CFG_USE_EVENTS: 1
|
|
--- CH_CFG_USE_MESSAGES: 1
|
|
--- CH_DBG_STATISTICS: 0
|
|
--- CH_DBG_SYSTEM_STATE_CHECK: 0
|
|
--- CH_DBG_ENABLE_CHECKS: 0
|
|
--- CH_DBG_ENABLE_ASSERTS: 0
|
|
--- CH_DBG_ENABLE_STACK_CHECK: 0
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 2 (Time and Intervals Functionality)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 2.1 (System Tick Counter functionality)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 2.2 (Time ranges functionality)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 3 (Threads Functionality)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 3.1 (Thread Sleep functionality)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 4 (Semaphores)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 4.1 (Semaphore primitives, no state change)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 4.2 (Semaphore primitives, with state change)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 4.3 (Semaphores timeout)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 5 (Suspend/Resume)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 5.1 (Suspend and Resume functionality)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 6 (Event Sources and Event Flags)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.1 (Events registration)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.2 (Event Flags dispatching)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.3 (Events Flags wait using chEvtWaitOne())
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.4 (Events Flags wait using chEvtWaitAny())
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.5 (Events Flags wait using chEvtWaitAll())
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.6 (Events Flags wait timeouts)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.7 (Broadcasting using chEvtBroadcast())
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 7 (Synchronous Messages)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 7.1 (Messages Server loop)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 8 (Benchmarks)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 8.1 (Messages performance #1)
|
|
--- Score : 262753 msgs/S, 525506 ctxswc/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 8.2 (Messages performance #2)
|
|
--- Score : 180890 msgs/S, 361780 ctxswc/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 8.3 (Context Switch performance)
|
|
--- Score : 1014008 ctxswc/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 8.4 (Threads performance, full cycle)
|
|
--- Score : 179986 threads/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 8.5 (Threads performance, create/exit only)
|
|
--- Score : 223585 threads/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 8.6 (Semaphores wait/signal performance)
|
|
--- Score : 1142764 wait+signal/S
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 8.7 (RAM Footprint)
|
|
--- OS : 232 bytes
|
|
--- Thread: 24 bytes
|
|
--- Semaph: 4 bytes
|
|
--- EventS: 4 bytes
|
|
--- EventL: 20 bytes
|
|
--- MailB.: 32 bytes
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
|
|
Final result: SUCCESS
|
|
|
|
*** ChibiOS OS Library Test Suite
|
|
***
|
|
*** Compiled: Nov 7 2021 - 14:19:16
|
|
*** Platform: STM32F303xC Analog & DSP
|
|
*** Test Board: STMicroelectronics STM32F3-Discovery
|
|
***
|
|
*** Text size: 37080 bytes
|
|
*** RO data size: 7152 bytes
|
|
*** Data size: 128 bytes
|
|
*** BSS size: 3704 bytes
|
|
|
|
============================================================================
|
|
=== Test Sequence 1 (Information)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 1.1 (Port Info)
|
|
--- Architecture: ARMv7E-M
|
|
--- Core Variant: Cortex-M4
|
|
--- Compiler: GCC 10.3.1 20210621 (release)
|
|
--- Port Info: Advanced kernel mode
|
|
--- Natural alignment: 4
|
|
--- Stack alignment: 8
|
|
--- Working area alignment: 8
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 1.2 (OS Library Info)
|
|
--- Product: ChibiOS/LIB
|
|
--- Stable Flag: 0
|
|
--- Version String: 1.3.0
|
|
--- Major Number: 1
|
|
--- Minor Number: 3
|
|
--- Patch Number: 0
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 1.3 (OS Library Settings)
|
|
--- CH_CFG_USE_MAILBOXES: 1
|
|
--- CH_CFG_USE_MEMCORE: 1
|
|
--- CH_CFG_USE_HEAP: 1
|
|
--- CH_CFG_USE_MEMPOOLS: 1
|
|
--- CH_CFG_USE_OBJ_FIFOS: 1
|
|
--- CH_CFG_USE_PIPES: 1
|
|
--- CH_CFG_USE_OBJ_CACHES: 1
|
|
--- CH_CFG_USE_DELEGATES: 1
|
|
--- CH_CFG_USE_FACTORY: 1
|
|
--- CH_CFG_FACTORY_MAX_NAMES_LENGTH: 8
|
|
--- CH_CFG_FACTORY_OBJECTS_REGISTRY: 1
|
|
--- CH_CFG_FACTORY_GENERIC_BUFFERS: 1
|
|
--- CH_CFG_FACTORY_SEMAPHORES: 1
|
|
--- CH_CFG_FACTORY_MAILBOXES: 1
|
|
--- CH_CFG_FACTORY_OBJ_FIFOS: 1
|
|
--- CH_CFG_FACTORY_PIPES: 1
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 2 (Mailboxes)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 2.1 (Mailbox normal API, non-blocking tests)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 2.2 (Mailbox I-Class API, non-blocking tests)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 2.3 (Mailbox timeouts)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 3 (Pipes)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 3.1 (Pipes normal API, non-blocking tests)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 3.2 (Pipe timeouts)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 4 (Jobs Queues)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 4.1 (Dispatcher test)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 5 (Thread Delegates)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 5.1 (Dispatcher test)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 6 (Objects Caches)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 6.1 (Cache initialization)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 7 (Memory Pools)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 7.1 (Loading and emptying a memory pool)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 7.2 (Loading and emptying a guarded memory pool without waiting)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 7.3 (Guarded Memory Pools timeout)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 8 (Memory Heaps)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 8.1 (Allocation and fragmentation)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 8.2 (Default Heap)
|
|
--- Result: SUCCESS
|
|
============================================================================
|
|
=== Test Sequence 9 (Objects Factory)
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 9.1 (Objects Registry)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 9.2 (Dynamic Buffers Factory)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 9.3 (Dynamic Semaphores Factory)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 9.4 (Dynamic Mailboxes Factory)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 9.5 (Dynamic Objects FIFOs Factory)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
--- Test Case 9.6 (Dynamic Pipes Factory)
|
|
--- Result: SUCCESS
|
|
----------------------------------------------------------------------------
|
|
|
|
Final result: SUCCESS
|
|
|
|
|