Skip to content

Commit 3d8bb0f

Browse files
authored
Merge pull request #11 from dherrada/master
Fixed OSError from #9 using @maholli's code
2 parents d5fbba8 + e0edef0 commit 3d8bb0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_miniesptool.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class miniesptool: # pylint: disable=invalid-name
101101
boards, so you can burn ESP firmware direct from the CPy disk drive. Handy
102102
when you have an ESP module wired to a board and need to upload new AT
103103
firmware. Its slow! Expect a few minutes when programming 1 MB flash."""
104-
FLASH_WRITE_SIZE = 0x400
104+
FLASH_WRITE_SIZE = 0x200
105105
FLASH_SECTOR_SIZE = 0x1000 # Flash sector size, minimum unit of erase.
106106
ESP_ROM_BAUD = 115200
107107

0 commit comments

Comments
 (0)