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). |
---|
|
drivers/FlashIAP.cpp |
---|
features/storage/nvstore/source/nvstore.cpp |
---|