From e0edef0e4c31b8488a2ced18d54bdb90b42b018a Mon Sep 17 00:00:00 2001 From: dherrada Date: Wed, 15 May 2019 23:20:47 -0400 Subject: [PATCH] Fixed OSERROR from #9 using @maholli's code --- adafruit_miniesptool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_miniesptool.py b/adafruit_miniesptool.py index 46040f4..ed9f625 100644 --- a/adafruit_miniesptool.py +++ b/adafruit_miniesptool.py @@ -101,7 +101,7 @@ class miniesptool: # pylint: disable=invalid-name boards, so you can burn ESP firmware direct from the CPy disk drive. Handy when you have an ESP module wired to a board and need to upload new AT firmware. Its slow! Expect a few minutes when programming 1 MB flash.""" - FLASH_WRITE_SIZE = 0x400 + FLASH_WRITE_SIZE = 0x200 FLASH_SECTOR_SIZE = 0x1000 # Flash sector size, minimum unit of erase. ESP_ROM_BAUD = 115200