Skip to content
Commit b15bec5a authored by Simon Glass's avatar Simon Glass Committed by Anas Nashif
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 740b99c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment