Set IAR version as 8.32 in tools

pull/9863/head
deepikabhavnani 2019-02-21 22:22:38 -06:00 committed by Martin Kojtal
parent f4e0031802
commit f33fc3ae7b
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ def test_arm_version_check(_run_cmd):
def test_iar_version_check(_run_cmd):
set_targets_json_location()
_run_cmd.return_value = ("""
IAR ANSI C/C++ Compiler V7.80.1.28/LNX for ARM
IAR ANSI C/C++ Compiler V8.32.1/LNX for ARM
""", "", 0)
notifier = MockNotifier()
toolchain = TOOLCHAIN_CLASSES["IAR"](TARGET_MAP["K64F"], notify=notifier)

View File

@ -33,7 +33,7 @@ class IAR(mbedToolchain):
DIAGNOSTIC_PATTERN = re.compile('"(?P<file>[^"]+)",(?P<line>[\d]+)\s+(?P<severity>Warning|Error|Fatal error)(?P<message>.+)')
INDEX_PATTERN = re.compile('(?P<col>\s*)\^')
IAR_VERSION_RE = re.compile(b"IAR ANSI C/C\+\+ Compiler V(\d+\.\d+)")
IAR_VERSION = LooseVersion("7.80")
IAR_VERSION = LooseVersion("8.32")
@staticmethod
def check_executable():