zephyr/tests/drivers/flash_simulator
Simon Glass b15bec5a2a drivers: flash: flash_simulator: Erase flash first
With native_posix, a flash.bin file is created when running the tests.
If the tests are re-run, they fail since the flash is no-longer erased.

Before running the tests, erase the flash so that the 'read' test can
work regardless of the previous state.

Fixes: 25171
Signed-off-by: Simon Glass <sjg@chromium.org>
2020-07-07 17:19:26 -04:00
..
boards tests/drivers/flash_simulator: Add tests for non-0xff erase 2020-07-02 08:24:19 -04:00
src drivers: flash: flash_simulator: Erase flash first 2020-07-07 17:19:26 -04:00
CMakeLists.txt tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
prj.conf drivers/flash/flash_simulator: Allow unaligned read 2019-05-28 11:24:48 +02:00
testcase.yaml tests/drivers/flash_simulator: Add tests for non-0xff erase 2020-07-02 08:24:19 -04:00