[core] Update ltchiptool to v4.0.0

This commit is contained in:
Kuba Szczodrzyński
2023-03-26 17:44:40 +02:00
parent bd75b54dce
commit 2a7f1b52a0
5 changed files with 10 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ from platformio.platform.base import PlatformBase
from platformio.platform.board import PlatformBoardConfig
from semantic_version import SimpleSpec, Version
LTCHIPTOOL_VERSION = "^3.0.0"
LTCHIPTOOL_VERSION = "^4.0.0"
# Install & import tools
@@ -27,7 +27,7 @@ def check_ltchiptool(install: bool):
print("Installing/updating ltchiptool")
system(
f"{sys.executable} -m pip install -U --force-reinstall "
f'"ltchiptool >= {LTCHIPTOOL_VERSION}, < 4.0"'
f'"ltchiptool >= {LTCHIPTOOL_VERSION}, < 5.0"'
)
# unload all modules from the old version