FlashIAP driver: Add retries to erase and program operations.
Few boards may fail the write actions due to HW limitations (like critical
drivers that disable flash operations). Just retry a few times until success.
In addition, remove the redundant retries in NVStore (not needed now).
ls
1 parent a4ed473 commit 48a3ae9636b7028c2cb6508e86fe6e1cfeec72ed
@David Saada David Saada authored on 30 Jan 2019
Showing 2 changed files
View
drivers/FlashIAP.cpp
View
features/storage/nvstore/source/nvstore.cpp