Skip to content

Commit

Permalink
added flash_size parameter, minor version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jziolkowski committed Apr 3, 2020
1 parent 53f3ded commit 98a6a0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

setup(
name='tasmotizer',
version="1.1",
version="1.1a",
url='https://github.com/tasmota/tasmotizer',
py_modules=['tasmotizer', 'gui', 'tasmotizer-esptool', 'banner'],
license='GPLv3',
Expand Down
4 changes: 2 additions & 2 deletions tasmotizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def execute(self):
esptool.sw.setContinueFlag(True)
command_base = ["--chip", "esp8266", "--port", self.port, "--baud", "115200"]
command_backup = ["read_flash", "0x00000", "0x100000", "backup_{}.bin".format(datetime.now().strftime("%Y%m%d_%H%M%S"))]
command_write = ["write_flash", "--flash_mode", "dout", "0x00000", self.bin_file]
command_write = ["write_flash", "--flash_size", "1MB", "--flash_mode", "dout", "0x00000", self.bin_file]

if self.erase:
command_write.append("--erase-all")
Expand Down Expand Up @@ -441,7 +441,7 @@ def __init__(self):
self.nrRelease = QNetworkRequest(QUrl("http://thehackbox.org/tasmota/release/release.php"))
self.nrDevelopment = QNetworkRequest(QUrl("http://thehackbox.org/tasmota/development.php"))

self.setWindowTitle("Tasmotizer 1.1")
self.setWindowTitle("Tasmotizer 1.1a")
self.setMinimumWidth(480)

self.mode = 0 # BIN file
Expand Down

0 comments on commit 98a6a0c

Please # to comment.