Add documentation about profiles to the toolcahins

pull/2852/head
Jimmy Brisson 2016-09-15 15:01:22 -05:00 committed by Anna Bridge
parent 3218ef9cc4
commit b88600105e
3 changed files with 9 additions and 0 deletions

View File

@ -31,6 +31,9 @@ class ARM(mbedToolchain):
DEP_PATTERN = re.compile('\S+:\s(?P<file>.+)\n') DEP_PATTERN = re.compile('\S+:\s(?P<file>.+)\n')
# ANY changes to these default flags is backwards incompatible and require
# an update to the mbed-sdk-tools and website that introduces a profile
# for the previous version of these flags
DEFAULT_FLAGS = { DEFAULT_FLAGS = {
'common': ["-c", "--gnu", 'common': ["-c", "--gnu",
"-Otime", "--split_sections", "--apcs=interwork", "-Otime", "--split_sections", "--apcs=interwork",

View File

@ -28,6 +28,9 @@ class GCC(mbedToolchain):
DIAGNOSTIC_PATTERN = re.compile('((?P<file>[^:]+):(?P<line>\d+):)(\d+:)? (?P<severity>warning|error): (?P<message>.+)') DIAGNOSTIC_PATTERN = re.compile('((?P<file>[^:]+):(?P<line>\d+):)(\d+:)? (?P<severity>warning|error): (?P<message>.+)')
INDEX_PATTERN = re.compile('(?P<col>\s*)\^') INDEX_PATTERN = re.compile('(?P<col>\s*)\^')
# ANY changes to these default flags is backwards incompatible and require
# an update to the mbed-sdk-tools and website that introduces a profile
# for the previous version of these flags
DEFAULT_FLAGS = { DEFAULT_FLAGS = {
'common': ["-c", "-Wall", "-Wextra", 'common': ["-c", "-Wall", "-Wextra",
"-Wno-unused-parameter", "-Wno-missing-field-initializers", "-Wno-unused-parameter", "-Wno-missing-field-initializers",

View File

@ -29,6 +29,9 @@ class IAR(mbedToolchain):
DIAGNOSTIC_PATTERN = re.compile('"(?P<file>[^"]+)",(?P<line>[\d]+)\s+(?P<severity>Warning|Error)(?P<message>.+)') DIAGNOSTIC_PATTERN = re.compile('"(?P<file>[^"]+)",(?P<line>[\d]+)\s+(?P<severity>Warning|Error)(?P<message>.+)')
INDEX_PATTERN = re.compile('(?P<col>\s*)\^') INDEX_PATTERN = re.compile('(?P<col>\s*)\^')
# ANY changes to these default flags is backwards incompatible and require
# an update to the mbed-sdk-tools and website that introduces a profile
# for the previous version of these flags
DEFAULT_FLAGS = { DEFAULT_FLAGS = {
'common': [ 'common': [
"--no_wrap_diagnostics", "--no_wrap_diagnostics",