|
|
@@ -31,7 +31,7 @@
|
|
|
|
|
|
static const uint32_t DEFAULT_TIMEOUT = 1000;
|
|
|
static const uint32_t DEFAULT_FLASH_TIMEOUT = 3000; // timeout for most flash operations
|
|
|
-static const uint32_t ERASE_REGION_TIMEOUT_PER_MB = 3000; // timeout (per megabyte) for erasing a region
|
|
|
+static const uint32_t ERASE_REGION_TIMEOUT_PER_MB = 10000; // timeout (per megabyte) for erasing a region
|
|
|
static const uint8_t PADDING_PATTERN = 0xFF;
|
|
|
|
|
|
#define MEGABYTE 1024 * 1024
|