Skip to content

Commit

Permalink
v0.4.2
Browse files Browse the repository at this point in the history
- Increase flashing speed (issue #24) thanks to @okastl 馃帀
  • Loading branch information
xyzroe committed Dec 19, 2023
1 parent 2b67c2c commit f42020a
Show file tree
Hide file tree
Showing 5 changed files with 9,153 additions and 9,150 deletions.
3 changes: 3 additions & 0 deletions cc2538_bsl.py
Expand Up @@ -48,6 +48,7 @@
import struct
import binascii
import traceback
import socket

try:
import magic
Expand Down Expand Up @@ -216,6 +217,8 @@ def open(self, aport=None, abaudrate=500000):
self.sp.timeout=0.5 # set the timeout value

self.sp.open()
if hasattr(self.sp, '_socket'):
self.sp._socket.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)

def invoke_bootloader(self, dtr_active_high=False, inverted=False, sonoff_usb=False):
# Use the DTR and RTS lines to control bootloader and the !RESET pin.
Expand Down
2 changes: 1 addition & 1 deletion osx.spec
Expand Up @@ -44,7 +44,7 @@ app = BUNDLE(exe,
icon='ui/images/zigstar_tr_gl.icns',
bundle_identifier=None,
info_plist={
'CFBundleShortVersionString': '0.4.0',
'CFBundleShortVersionString': '0.4.2',
'CFBundleName': 'ZigStar GW Multi tool',
'NSHumanReadableCopyright': '漏 2021, xyzroe, GNU GPL 3.0'
})

0 comments on commit f42020a

Please sign in to comment.