[scons] 使用target=mdk5 和 iar时,打印IDE版本号 (#6315)

* [scons] 使用target=mdk5 和 iar时,打印IDE版本号

* 移除对keil iar生成功能的检查
1.这些工程是否可以生成是BSP可选项,不是每个BSP都支持
2.CI环境中并没有安转IAR和Keil环境,导致直接获取IDE版本失败

* MDKProject函数重命名为MDK2Project
This commit is contained in:
Man, Jianting (Meco)
2022-08-24 22:39:21 -04:00
committed by GitHub
parent 43ede1859a
commit 5f474ed26c
4 changed files with 17 additions and 35 deletions
-2
View File
@@ -204,6 +204,4 @@ def IARVersion():
stdout = str(stdout, 'utf8') # Patch for Python 3
# example stdout: IAR ANSI C/C++ Compiler V8.20.1.14183/W32 for ARM
iar_version = re.search('[\d\.]+', stdout).group(0)
if GetOption('verbose'):
print("IAR version: %s" % iar_version)
return iar_version