mirror of https://github.com/ARMmbed/mbed-os.git
Add documentation about profiles to the toolcahins
parent
3218ef9cc4
commit
b88600105e
|
@ -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",
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue