flash/nor/nrf5: set correct timeout for nvmc operations 22/4822/2
authorJānis Skujenieks <janis.skujenieks@gmail.com>
Wed, 26 Dec 2018 13:09:10 +0000 (15:09 +0200)
committerTomas Vanek <vanekt@fbl.cz>
Wed, 2 Jan 2019 21:52:58 +0000 (21:52 +0000)
commit08e64a828c10d5583162aa59266eef9507520401
tree60ac6a1ac0eb5379ab217a61b9525aa9de65dd59
parentdb070eb85debf90f8088532a221cd6a384c42c5b
flash/nor/nrf5: set correct timeout for nvmc operations

Longest erase all FLASH for nRF5 series is 295.3 ms for nRF52832.
Timeout period now is set to 340 ms (295.3 + 15%)

Change-Id: Iae00ed7b634f111b9798db11e35e4e066d4aaa95
Signed-off-by: Jānis Skujenieks <janis.skujenieks@gmail.com>
Reviewed-on: http://openocd.zylin.com/4822
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/flash/nor/nrf5.c