STM32L476-80-GCC.txt 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. *** ChibiOS/RT Test Suite
  2. ***
  3. *** Compiled: Feb 11 2018 - 14:32:57
  4. *** Platform: STM32L4xx Ultra Low Power
  5. *** Test Board: STMicroelectronics STM32L476-Discovery
  6. ============================================================================
  7. === Test Sequence 1 (Information)
  8. ----------------------------------------------------------------------------
  9. --- Test Case 1.1 (Port Info)
  10. --- Architecture: ARMv7E-M
  11. --- Core Variant: Cortex-M4
  12. --- Compiler: GCC 7.2.1 20170904 (release) [ARM/embedded-7-branch revision 255204]
  13. --- Port Info: Advanced kernel mode
  14. --- Natural alignment: 4
  15. --- Stack alignment: 8
  16. --- Working area alignment: 8
  17. --- Result: SUCCESS
  18. ----------------------------------------------------------------------------
  19. --- Test Case 1.2 (Kernel Info)
  20. --- Product: ChibiOS/RT
  21. --- Stable Flag: 0
  22. --- Version String: 5.0.0
  23. --- Major Number: 5
  24. --- Minor Number: 0
  25. --- Patch Number: 0
  26. --- Result: SUCCESS
  27. ----------------------------------------------------------------------------
  28. --- Test Case 1.3 (Kernel Settings)
  29. --- CH_CFG_ST_RESOLUTION: 32
  30. --- CH_CFG_ST_FREQUENCY: 10000
  31. --- CH_CFG_INTERVALS_SIZE: 32
  32. --- CH_CFG_TIME_TYPES_SIZE: 32
  33. --- CH_CFG_ST_TIMEDELTA: 2
  34. --- CH_CFG_TIME_QUANTUM: 0
  35. --- CH_CFG_MEMCORE_SIZE: 0
  36. --- CH_CFG_NO_IDLE_THREAD: 0
  37. --- CH_CFG_OPTIMIZE_SPEED: 1
  38. --- CH_CFG_USE_TM: 1
  39. --- CH_CFG_USE_REGISTRY: 1
  40. --- CH_CFG_USE_WAITEXIT: 1
  41. --- CH_CFG_USE_SEMAPHORES: 1
  42. --- CH_CFG_USE_SEMAPHORES_PRI: 0
  43. --- CH_CFG_USE_MUTEXES: 1
  44. --- CH_CFG_USE_MUTEXES_RECURS: 0
  45. --- CH_CFG_USE_CONDVARS: 1
  46. --- CH_CFG_USE_CONDVARS_TIMEO: 1
  47. --- CH_CFG_USE_EVENTS: 1
  48. --- CH_CFG_USE_EVENTS_TIMEOUT: 1
  49. --- CH_CFG_USE_MESSAGES: 1
  50. --- CH_CFG_USE_MESSAGES_PRI: 0
  51. --- CH_CFG_USE_MAILBOXES: 1
  52. --- CH_CFG_USE_MEMCORE: 1
  53. --- CH_CFG_USE_HEAP: 1
  54. --- CH_CFG_USE_MEMPOOLS: 1
  55. --- CH_CFG_USE_OBJ_FIFOS: 1
  56. --- CH_CFG_USE_DYNAMIC: 1
  57. --- CH_CFG_USE_FACTORY: 1
  58. --- CH_CFG_FACTORY_MAX_NAMES_LENGTH: 8
  59. --- CH_CFG_FACTORY_OBJECTS_REGISTRY: 1
  60. --- CH_CFG_FACTORY_GENERIC_BUFFERS: 1
  61. --- CH_CFG_FACTORY_SEMAPHORES: 1
  62. --- CH_CFG_FACTORY_MAILBOXES: 1
  63. --- CH_CFG_FACTORY_OBJ_FIFOS: 1
  64. --- CH_DBG_STATISTICS: 0
  65. --- CH_DBG_SYSTEM_STATE_CHECK: 0
  66. --- CH_DBG_ENABLE_CHECKS: 0
  67. --- CH_DBG_ENABLE_ASSERTS: 0
  68. --- CH_DBG_TRACE_MASK: 255
  69. --- CH_DBG_TRACE_BUFFER_SIZE: 128
  70. --- CH_DBG_ENABLE_STACK_CHECK: 0
  71. --- CH_DBG_FILL_THREADS: 0
  72. --- CH_DBG_THREADS_PROFILING: 0
  73. --- Result: SUCCESS
  74. ============================================================================
  75. === Test Sequence 2 (System layer and port interface)
  76. ----------------------------------------------------------------------------
  77. --- Test Case 2.1 (System integrity functionality)
  78. --- Result: SUCCESS
  79. ----------------------------------------------------------------------------
  80. --- Test Case 2.2 (Critical zones functionality)
  81. --- Result: SUCCESS
  82. ----------------------------------------------------------------------------
  83. --- Test Case 2.3 (Interrupts handling functionality)
  84. --- Result: SUCCESS
  85. ----------------------------------------------------------------------------
  86. --- Test Case 2.4 (System Tick Counter functionality)
  87. --- Result: SUCCESS
  88. ============================================================================
  89. === Test Sequence 3 (Threads Functionality)
  90. ----------------------------------------------------------------------------
  91. --- Test Case 3.1 (Thread Sleep functionality)
  92. --- Result: SUCCESS
  93. ----------------------------------------------------------------------------
  94. --- Test Case 3.2 (Ready List functionality, threads priority order)
  95. --- Result: SUCCESS
  96. ----------------------------------------------------------------------------
  97. --- Test Case 3.3 (Priority change test)
  98. --- Result: SUCCESS
  99. ----------------------------------------------------------------------------
  100. --- Test Case 3.4 (Priority change test with Priority Inheritance)
  101. --- Result: SUCCESS
  102. ============================================================================
  103. === Test Sequence 4 (Suspend/Resume)
  104. ----------------------------------------------------------------------------
  105. --- Test Case 4.1 (Suspend and Resume functionality)
  106. --- Result: SUCCESS
  107. ============================================================================
  108. === Test Sequence 5 (Counter Semaphores)
  109. ----------------------------------------------------------------------------
  110. --- Test Case 5.1 (Semaphore primitives, no state change)
  111. --- Result: SUCCESS
  112. ----------------------------------------------------------------------------
  113. --- Test Case 5.2 (Semaphore enqueuing test)
  114. --- Result: SUCCESS
  115. ----------------------------------------------------------------------------
  116. --- Test Case 5.3 (Semaphore timeout test)
  117. --- Result: SUCCESS
  118. ----------------------------------------------------------------------------
  119. --- Test Case 5.4 (Testing chSemAddCounterI() functionality)
  120. --- Result: SUCCESS
  121. ----------------------------------------------------------------------------
  122. --- Test Case 5.5 (Testing chSemWaitSignal() functionality)
  123. --- Result: SUCCESS
  124. ----------------------------------------------------------------------------
  125. --- Test Case 5.6 (Testing Binary Semaphores special case)
  126. --- Result: SUCCESS
  127. ============================================================================
  128. === Test Sequence 6 (Mutexes, Condition Variables and Priority Inheritance)
  129. ----------------------------------------------------------------------------
  130. --- Test Case 6.1 (Priority enqueuing test)
  131. --- Result: SUCCESS
  132. ----------------------------------------------------------------------------
  133. --- Test Case 6.2 (Priority return verification)
  134. --- Result: SUCCESS
  135. ----------------------------------------------------------------------------
  136. --- Test Case 6.3 (Repeated locks, non recursive scenario)
  137. --- Result: SUCCESS
  138. ----------------------------------------------------------------------------
  139. --- Test Case 6.4 (Condition Variable signal test)
  140. --- Result: SUCCESS
  141. ----------------------------------------------------------------------------
  142. --- Test Case 6.5 (Condition Variable broadcast test)
  143. --- Result: SUCCESS
  144. ----------------------------------------------------------------------------
  145. --- Test Case 6.6 (Condition Variable priority boost test)
  146. --- Result: SUCCESS
  147. ============================================================================
  148. === Test Sequence 7 (Synchronous Messages)
  149. ----------------------------------------------------------------------------
  150. --- Test Case 7.1 (Messages Server loop)
  151. --- Result: SUCCESS
  152. ============================================================================
  153. === Test Sequence 8 (Event Sources and Event Flags)
  154. ----------------------------------------------------------------------------
  155. --- Test Case 8.1 (Events registration)
  156. --- Result: SUCCESS
  157. ----------------------------------------------------------------------------
  158. --- Test Case 8.2 (Event Flags dispatching)
  159. --- Result: SUCCESS
  160. ----------------------------------------------------------------------------
  161. --- Test Case 8.3 (Events Flags wait using chEvtWaitOne())
  162. --- Result: SUCCESS
  163. ----------------------------------------------------------------------------
  164. --- Test Case 8.4 (Events Flags wait using chEvtWaitAny())
  165. --- Result: SUCCESS
  166. ----------------------------------------------------------------------------
  167. --- Test Case 8.5 (Events Flags wait using chEvtWaitAll())
  168. --- Result: SUCCESS
  169. ----------------------------------------------------------------------------
  170. --- Test Case 8.6 (Events Flags wait timeouts)
  171. --- Result: SUCCESS
  172. ----------------------------------------------------------------------------
  173. --- Test Case 8.7 (Broadcasting using chEvtBroadcast())
  174. --- Result: SUCCESS
  175. ============================================================================
  176. === Test Sequence 9 (Dynamic threads)
  177. ----------------------------------------------------------------------------
  178. --- Test Case 9.1 (Threads creation from Memory Heap)
  179. --- Result: SUCCESS
  180. ----------------------------------------------------------------------------
  181. --- Test Case 9.2 (Threads creation from Memory Pool)
  182. --- Result: SUCCESS
  183. ============================================================================
  184. === Test Sequence 10 (Benchmarks)
  185. ----------------------------------------------------------------------------
  186. --- Test Case 10.1 (Messages performance #1)
  187. --- Score : 388325 msgs/S, 776650 ctxswc/S
  188. --- Result: SUCCESS
  189. ----------------------------------------------------------------------------
  190. --- Test Case 10.2 (Messages performance #2)
  191. --- Score : 312482 msgs/S, 624964 ctxswc/S
  192. --- Result: SUCCESS
  193. ----------------------------------------------------------------------------
  194. --- Test Case 10.3 (Messages performance #3)
  195. --- Score : 312482 msgs/S, 624964 ctxswc/S
  196. --- Result: SUCCESS
  197. ----------------------------------------------------------------------------
  198. --- Test Case 10.4 (Context Switch performance)
  199. --- Score : 1218992 ctxswc/S
  200. --- Result: SUCCESS
  201. ----------------------------------------------------------------------------
  202. --- Test Case 10.5 (Threads performance, full cycle)
  203. --- Score : 227903 threads/S
  204. --- Result: SUCCESS
  205. ----------------------------------------------------------------------------
  206. --- Test Case 10.6 (Threads performance, create/exit only)
  207. --- Score : 295184 threads/S
  208. --- Result: SUCCESS
  209. ----------------------------------------------------------------------------
  210. --- Test Case 10.7 (Mass reschedule performance)
  211. --- Score : 99378 reschedules/S, 596268 ctxswc/S
  212. --- Result: SUCCESS
  213. ----------------------------------------------------------------------------
  214. --- Test Case 10.8 (Round-Robin voluntary reschedule)
  215. --- Score : 751120 ctxswc/S
  216. --- Result: SUCCESS
  217. ----------------------------------------------------------------------------
  218. --- Test Case 10.9 (Virtual Timers set/reset performance)
  219. --- Score : 772522 timers/S
  220. --- Result: SUCCESS
  221. ----------------------------------------------------------------------------
  222. --- Test Case 10.10 (Semaphores wait/signal performance)
  223. --- Score : 1893476 wait+signal/S
  224. --- Result: SUCCESS
  225. ----------------------------------------------------------------------------
  226. --- Test Case 10.11 (Mutexes lock/unlock performance)
  227. --- Score : 938412 lock+unlock/S
  228. --- Result: SUCCESS
  229. ----------------------------------------------------------------------------
  230. --- Test Case 10.12 (RAM Footprint)
  231. --- System: 120 bytes
  232. --- Thread: 68 bytes
  233. --- Timer : 20 bytes
  234. --- Semaph: 12 bytes
  235. --- Mutex : 16 bytes
  236. --- CondV.: 8 bytes
  237. --- EventS: 4 bytes
  238. --- EventL: 20 bytes
  239. --- MailB.: 40 bytes
  240. --- Result: SUCCESS
  241. ----------------------------------------------------------------------------
  242. Final result: SUCCESS
  243. *** ChibiOS OS Library Test Suite
  244. ***
  245. *** Compiled: Feb 11 2018 - 14:32:57
  246. *** Platform: STM32L4xx Ultra Low Power
  247. *** Test Board: STMicroelectronics STM32L476-Discovery
  248. ============================================================================
  249. === Test Sequence 1 (Mailboxes)
  250. ----------------------------------------------------------------------------
  251. --- Test Case 1.1 (Mailbox normal API, non-blocking tests)
  252. --- Result: SUCCESS
  253. ----------------------------------------------------------------------------
  254. --- Test Case 1.2 (Mailbox I-Class API, non-blocking tests)
  255. --- Result: SUCCESS
  256. ----------------------------------------------------------------------------
  257. --- Test Case 1.3 (Mailbox timeouts)
  258. --- Result: SUCCESS
  259. ============================================================================
  260. === Test Sequence 2 (Memory Pools)
  261. ----------------------------------------------------------------------------
  262. --- Test Case 2.1 (Loading and emptying a memory pool)
  263. --- Result: SUCCESS
  264. ----------------------------------------------------------------------------
  265. --- Test Case 2.2 (Loading and emptying a guarded memory pool without waiting)
  266. --- Result: SUCCESS
  267. ----------------------------------------------------------------------------
  268. --- Test Case 2.3 (Guarded Memory Pools timeout)
  269. --- Result: SUCCESS
  270. ============================================================================
  271. === Test Sequence 3 (Memory Heaps)
  272. ----------------------------------------------------------------------------
  273. --- Test Case 3.1 (Allocation and fragmentation)
  274. --- Result: SUCCESS
  275. ----------------------------------------------------------------------------
  276. --- Test Case 3.2 (Default Heap)
  277. --- Result: SUCCESS
  278. ============================================================================
  279. === Test Sequence 4 (Objects Factory)
  280. ----------------------------------------------------------------------------
  281. --- Test Case 4.1 (Objects Registry)
  282. --- Result: SUCCESS
  283. ----------------------------------------------------------------------------
  284. --- Test Case 4.2 (Dynamic Buffers Factory)
  285. --- Result: SUCCESS
  286. ----------------------------------------------------------------------------
  287. --- Test Case 4.3 (Dynamic Semaphores Factory)
  288. --- Result: SUCCESS
  289. ----------------------------------------------------------------------------
  290. --- Test Case 4.4 (Dynamic Mailboxes Factory)
  291. --- Result: SUCCESS
  292. ----------------------------------------------------------------------------
  293. --- Test Case 4.5 (Dynamic Objects FIFOs Factory)
  294. --- Result: SUCCESS
  295. ----------------------------------------------------------------------------
  296. Final result: SUCCESS