diff --git a/platform.json b/platform.json index 4254672..46cd823 100644 --- a/platform.json +++ b/platform.json @@ -101,7 +101,7 @@ }, "tool-ltchiptool": { "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, "note": "This is used only for C/C++ code from ltchiptool." }, diff --git a/platform.py b/platform.py index 458d89e..82ac785 100644 --- a/platform.py +++ b/platform.py @@ -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[1:]}a0, < 5.0"' + f'"ltchiptool >= {LTCHIPTOOL_VERSION[1:]}, < 5.0"' ) # unload all modules from the old version