commit | d0af8d80dec1783a2b296833b8934eaa33aca3eb | [log] [tgz] |
---|---|---|
author | Francois Ramu <francois.ramu@st.com> | Tue Mar 19 15:42:43 2024 +0100 |
committer | Maureen Helm <maureen.helm@analog.com> | Fri Apr 12 07:49:25 2024 -0500 |
tree | cae69c71f915147623cc72e802fd44f12715d51e | |
parent | 6d9dee38f4a6477504d94384a5a4cc4584512408 [diff] |
samples: drivers: spi flash testcase check the erased data After erasing the sector, compare dat read with expected 0xFF pattern to decide if erasing is successful instead of relying on the returned code of the flash_erase function Signed-off-by: Francois Ramu <francois.ramu@st.com> (cherry picked from commit 325ae4d32a85947c5ee6cef570e8df8c2fa313b0)