tests: drivers: flash running on disco stm32 board with qspi

Restore the testcase to run on the qspi nor-flash controller
of the disco_l475_iot1 board
of the disco stm32f746 board

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2022-02-02 16:08:20 +01:00 committed by Anas Nashif
commit 2b8df6b160
3 changed files with 3 additions and 69 deletions

View file

@ -312,7 +312,7 @@ static int flash_stm32_qspi_read(const struct device *dev, off_t addr,
}
/* read non-zero size */
if (!size) {
if (size == 0) {
return 0;
}
@ -365,7 +365,7 @@ static int flash_stm32_qspi_write(const struct device *dev, off_t addr,
}
/* write non-zero size */
if (!size) {
if (size == 0) {
return 0;
}
@ -440,7 +440,7 @@ static int flash_stm32_qspi_erase(const struct device *dev, off_t addr,
}
/* erase non-zero size */
if (!size) {
if (size == 0) {
return 0;
}