Skip to content

Commit

Permalink
flash/stldr: increate sector erase timeout
Browse files Browse the repository at this point in the history
Change-Id: I393b4f3e755718abe75b853d67e3129a0a646e8c
Signed-off-by: Laurent LEMELE <[email protected]>
  • Loading branch information
FBOSTM authored and tarek-bochkati committed Mar 19, 2024
1 parent df4ec61 commit 0764a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flash/nor/stldr_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

/* stldr functions timeouts in milliseconds */
#define STLDR_INIT_TIMEOUT 100000
#define STLDR_SECTOR_ERASE_TIMEOUT 10000
#define STLDR_SECTOR_ERASE_TIMEOUT 1000000
#define STLDR_MASS_ERASE_INT_TIMEOUT 10000 /* for MCU internal flash */
#define STLDR_MASS_ERASE_EXT_TIMEOUT 600000 /* for other (external) flash types */
#define STLDR_READ_TIMEOUT 1000
Expand Down

0 comments on commit 0764a6b

Please sign in to comment.