[core] Update ltchiptool to fix realtek-ambz OTA issue
This commit is contained in:
@@ -127,7 +127,7 @@
|
|||||||
},
|
},
|
||||||
"tool-ltchiptool": {
|
"tool-ltchiptool": {
|
||||||
"type": "uploader",
|
"type": "uploader",
|
||||||
"version": "https://github.com/libretuya/ltchiptool#v1.5.4",
|
"version": "https://github.com/libretuya/ltchiptool#v1.6.0",
|
||||||
"note": "This is used only for C/C++ code from ltchiptool."
|
"note": "This is used only for C/C++ code from ltchiptool."
|
||||||
},
|
},
|
||||||
"tool-openocd": {
|
"tool-openocd": {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ def check_ltchiptool():
|
|||||||
import ltchiptool
|
import ltchiptool
|
||||||
|
|
||||||
importlib.reload(ltchiptool)
|
importlib.reload(ltchiptool)
|
||||||
if Version(ltchiptool.get_version()) < Version("1.5.4"):
|
if Version(ltchiptool.get_version()) < Version("1.6.0"):
|
||||||
raise ImportError("Version too old")
|
raise ImportError("Version too old")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user