Skip to content
Commit e31b8c8e authored by Dominik Ermel's avatar Dominik Ermel Committed by Henrik Brix Andersen
Browse files

samples/fs/littlefs: Use flash_area_flatten to wipe storage



The commit replaces flash_area_erase with flash_area_flatten,
as it allows to emulate erase and scramble data stored
on devices that do not require explicit erase before write
or do not provide erase callback.

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent c7037532
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment