diff options
| author | wdfk-prog <[email protected]> | 2022-11-04 15:34:17 +0800 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2022-11-04 09:35:17 -0400 |
| commit | 93bdf5ca0875237b18108429f59e92cb460a8b50 (patch) | |
| tree | fb40549ee05463bf49c79ba9d97b80c9384ffe94 /tools | |
| parent | 20207fbcd4dc2fe5515b4f33e3a3820f5828c50f (diff) | |
[Tools] add armclangMDK) get version support
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/keil.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/keil.py b/tools/keil.py index 35543136bb..0405eb0b1b 100644 --- a/tools/keil.py +++ b/tools/keil.py @@ -425,7 +425,10 @@ def ARMCC_Version(): import re path = rtconfig.EXEC_PATH - path = os.path.join(path, 'armcc.exe') + if(rtconfig.PLATFORM == 'armcc'): + path = os.path.join(path, 'armcc.exe') + elif(rtconfig.PLATFORM == 'armclang'): + path = os.path.join(path, 'armlink.exe') if os.path.exists(path): cmd = path |
