diff options
| author | Man, Jianting (Meco) <[email protected]> | 2022-12-19 01:12:08 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-19 01:12:08 -0500 |
| commit | 8c7e0b71ce02462e265c75ab705e59787c0b9046 (patch) | |
| tree | 91389d0d0a13bed89435c4e9ebe642e848eda141 /tools/iar.py | |
| parent | 0df51b8aa96ebac46684f58f199e3bc8c88d751e (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.py | 3 |
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() |
