Skip to content
Commit d0af8d80 authored by Francois Ramu's avatar Francois Ramu Committed by Maureen Helm
Browse files

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: default avatarFrancois Ramu <francois.ramu@st.com>
(cherry picked from commit 325ae4d3)
parent 6d9dee38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment