STM32F722/23/32/33/30 HAL EFL driver
Posted: Sat Dec 18, 2021 3:08 am
I tested it with the MFS test suite. See the attached patch. Based off of latest from stable_20.3.x
*** ChibiOS/HAL MFS Test Suite
***
*** Compiled: Dec 17 2021 - 19:56:25
*** Platform: STM32F722 Very High Performance with DSP and FPU
*** Test Board: STMicroelectronics STM32 Nucleo144-F722ZE
***
*** Text size: 24468 bytes
*** RO data size: 4828 bytes
*** Data size: 0 bytes
*** BSS size: 9928 bytes
============================================================================
=== Test Sequence 1 (Functional tests)
----------------------------------------------------------------------------
--- Test Case 1.1 (Testing mfsStart() behavior)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.2 (Checking for non existing record)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.3 (Creating, updating and erasing a record)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.4 (Erasing the whole storage and re-initialization)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.5 (Testing storage size limit)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.6 (Testing garbage collection by writing)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.7 (Testing garbage collection by erasing)
--- Result: SUCCESS
============================================================================
=== Test Sequence 2 (Transaction Mode tests)
----------------------------------------------------------------------------
--- Test Case 2.1 (Committing a transaction)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.2 (Rolling back a transaction)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.3 (Transaction triggering an early garbage collect)
--- Result: SUCCESS
============================================================================
=== Test Sequence 3 (API Invalid Cases tests)
----------------------------------------------------------------------------
--- Test Case 3.1 (Initialization error from APIs)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.2 (Erasing non existing record)
--- Result: SUCCESS
----------------------------------------------------------------------------
Final result: SUCCESS