Skip to content

Commit 0a3f5a0

Browse files
hal-qspi_test: remove STM workaround
after feature-qspi branch rebase, everything works fine and workaround is not needed anymore
1 parent 0715a46 commit 0a3f5a0

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

TESTS/mbed_hal/qspi/flash_configs/STM/DISCO_L475VG_IOT01A/flash_config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,5 @@
1818

1919
#include "../../MX25R6435F_config.h"
2020

21-
// TODO: remove when fixed
22-
// when perform 4IO write, when memory indicates write finish (changing WIP bit in status register)
23-
// but actually write is still in progress and we have to wait a bit more before reading
24-
#define STM_WRITE_4IO_BUG_WORKAROUND
2521

2622
#endif // MBED_QSPI_FLASH_CONFIG_H

TESTS/mbed_hal/qspi/main.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,6 @@ static void _qspi_write_read_test(Qspi &qspi, qspi_bus_width_t write_inst_width,
142142

143143
timer.stop();
144144
write_time = timer.read_us();
145-
#ifdef STM_WRITE_4IO_BUG_WORKAROUND
146-
if (write_cmd == QSPI_CMD_WRITE_4IO) {
147-
wait_us(2000);
148-
}
149-
#endif
150145
}
151146

152147
if (read_frequency != QSPI_NONE) {

0 commit comments

Comments
 (0)