mirror of https://github.com/ARMmbed/mbed-os.git
Set IAR version as 8.32 in tools
parent
f4e0031802
commit
f33fc3ae7b
|
@ -74,7 +74,7 @@ def test_arm_version_check(_run_cmd):
|
||||||
def test_iar_version_check(_run_cmd):
|
def test_iar_version_check(_run_cmd):
|
||||||
set_targets_json_location()
|
set_targets_json_location()
|
||||||
_run_cmd.return_value = ("""
|
_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)
|
""", "", 0)
|
||||||
notifier = MockNotifier()
|
notifier = MockNotifier()
|
||||||
toolchain = TOOLCHAIN_CLASSES["IAR"](TARGET_MAP["K64F"], notify=notifier)
|
toolchain = TOOLCHAIN_CLASSES["IAR"](TARGET_MAP["K64F"], notify=notifier)
|
||||||
|
|
|
@ -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>.+)')
|
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*)\^')
|
INDEX_PATTERN = re.compile('(?P<col>\s*)\^')
|
||||||
IAR_VERSION_RE = re.compile(b"IAR ANSI C/C\+\+ Compiler V(\d+\.\d+)")
|
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
|
@staticmethod
|
||||||
def check_executable():
|
def check_executable():
|
||||||
|
|
Loading…
Reference in New Issue