summaryrefslogtreecommitdiff
path: root/tools/iar.py
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2022-12-19 01:12:08 -0500
committerGitHub <[email protected]>2022-12-19 01:12:08 -0500
commit8c7e0b71ce02462e265c75ab705e59787c0b9046 (patch)
tree91389d0d0a13bed89435c4e9ebe642e848eda141 /tools/iar.py
parent0df51b8aa96ebac46684f58f199e3bc8c88d751e (diff)
[tool] 增加scons --dist --project-path=xxxx命令 (#6713)
* [tools] 所有dist都打zip包 * 完善scons --dist/dist-ide --project-name --project-path命令
Diffstat (limited to 'tools/iar.py')
-rw-r--r--tools/iar.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/iar.py b/tools/iar.py
index 1b38b1e21e..fc2bc44f91 100644
--- a/tools/iar.py
+++ b/tools/iar.py
@@ -195,8 +195,7 @@ def IARVersion():
if os.path.exists(path):
cmd = os.path.join(path, 'iccarm.exe')
else:
- print('Error: get IAR version failed. Please update the IAR installation path in rtconfig.py!')
- exit(-1)
+ return "0.0"
child = subprocess.Popen([cmd, '--version'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
stdout, stderr = child.communicate()