Skip to content
Commit 325ae4d3 authored by Francois Ramu's avatar Francois Ramu Committed by Anas Nashif
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>
parent 01684df0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment