Skip to content

hal-qspi_test: remove STM workaround #7580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,5 @@

#include "../../MX25R6435F_config.h"

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

#endif // MBED_QSPI_FLASH_CONFIG_H
5 changes: 0 additions & 5 deletions TESTS/mbed_hal/qspi/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,6 @@ static void _qspi_write_read_test(Qspi &qspi, qspi_bus_width_t write_inst_width,

timer.stop();
write_time = timer.read_us();
#ifdef STM_WRITE_4IO_BUG_WORKAROUND
if (write_cmd == QSPI_CMD_WRITE_4IO) {
wait_us(2000);
}
#endif
}

if (read_frequency != QSPI_NONE) {
Expand Down