[core] Update ltchiptool to v4.0.0
This commit is contained in:
@@ -101,7 +101,7 @@
|
|||||||
},
|
},
|
||||||
"tool-ltchiptool": {
|
"tool-ltchiptool": {
|
||||||
"type": "uploader",
|
"type": "uploader",
|
||||||
"version": "https://github.com/libretiny-eu/ltchiptool#v4.0.0a4",
|
"version": "https://github.com/libretiny-eu/ltchiptool#v4.0.0",
|
||||||
"version_prefix": true,
|
"version_prefix": true,
|
||||||
"note": "This is used only for C/C++ code from ltchiptool."
|
"note": "This is used only for C/C++ code from ltchiptool."
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ def check_ltchiptool(install: bool):
|
|||||||
print("Installing/updating ltchiptool")
|
print("Installing/updating ltchiptool")
|
||||||
system(
|
system(
|
||||||
f'"{sys.executable}" -m pip install -U --force-reinstall '
|
f'"{sys.executable}" -m pip install -U --force-reinstall '
|
||||||
f'"ltchiptool >= {LTCHIPTOOL_VERSION[1:]}a0, < 5.0"'
|
f'"ltchiptool >= {LTCHIPTOOL_VERSION[1:]}, < 5.0"'
|
||||||
)
|
)
|
||||||
|
|
||||||
# unload all modules from the old version
|
# unload all modules from the old version
|
||||||
|
|||||||
Reference in New Issue
Block a user