提交 d1c66d0e 编写于 作者: mysterywolf's avatar mysterywolf 提交者: mysterywolf

[tools][iar] 将IARPath作为独立函数

上级 dc6b9fde
......@@ -169,11 +169,7 @@ def IARProject(target, script):
IARWorkspace(target)
def IARVersion():
import subprocess
import re
def IARPath():
def IARPath():
import rtconfig
# backup environ
......@@ -190,6 +186,10 @@ def IARVersion():
return path
def IARVersion():
import subprocess
import re
path = IARPath()
if os.path.exists(path):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册