Skip to content
Commit f3973dfd authored by Francois Ramu's avatar Francois Ramu Committed by Fabio Baltieri
Browse files

tests: drivers: flash: size to erase equal to size to write



Need to erase as many bytes as the size to write.
The size to erase is expressed aligned on the page size.
(assuming the page_info.size is constant)
In case the page_info.size is lower than the size to write,
the next write operation will fail.

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
parent cffe98d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment