Improve ARM compiler regex

pull/7247/head
Jimmy Brisson 2018-06-25 11:33:44 -05:00
parent a87575fec5
commit 2aea6c39f7
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class ARM(mbedToolchain):
SUPPORTED_CORES = ["Cortex-M0", "Cortex-M0+", "Cortex-M3", "Cortex-M4",
"Cortex-M4F", "Cortex-M7", "Cortex-M7F", "Cortex-M7FD", "Cortex-A9"]
ARMCC_RANGE = (LooseVersion("5.06"), LooseVersion("5.07"))
ARMCC_VERSION_RE = re.compile("^Product: ARM Compiler ([.0-9]*)")
ARMCC_VERSION_RE = re.compile("^Product: ARM Compiler (\d+.\d+)")
@staticmethod
def check_executable():