Skip to content

Commit 37013fb

Browse files
committed
Use Component section for ARM compiler version
1 parent cfe0789 commit 37013fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/arm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class ARM(mbedToolchain):
4141
SUPPORTED_CORES = ["Cortex-M0", "Cortex-M0+", "Cortex-M3", "Cortex-M4",
4242
"Cortex-M4F", "Cortex-M7", "Cortex-M7F", "Cortex-M7FD", "Cortex-A9"]
4343
ARMCC_RANGE = (LooseVersion("5.06"), LooseVersion("5.07"))
44-
ARMCC_VERSION_RE = re.compile("Product: ARM Compiler (\d+\.\d+)")
44+
ARMCC_VERSION_RE = re.compile("Component: ARM Compiler (\d+\.\d+)")
4545

4646
@staticmethod
4747
def check_executable():

0 commit comments

Comments
 (0)