Skip to content

Commit 663fdb7

Browse files
authored
Merge pull request #2721 from theotherjimmy/profile-documentation
tools - Add documentation about profiles to the toolcahins
2 parents e6dace5 + 924d242 commit 663fdb7

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

tools/toolchains/arm.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ class ARM(mbedToolchain):
3131
DEP_PATTERN = re.compile('\S+:\s(?P<file>.+)\n')
3232

3333

34+
# ANY changes to these default flags is backwards incompatible and require
35+
# an update to the mbed-sdk-tools and website that introduces a profile
36+
# for the previous version of these flags
3437
DEFAULT_FLAGS = {
3538
'common': ["-c", "--gnu",
3639
"-Otime", "--split_sections", "--apcs=interwork",

tools/toolchains/gcc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ class GCC(mbedToolchain):
2828
DIAGNOSTIC_PATTERN = re.compile('((?P<file>[^:]+):(?P<line>\d+):)(\d+:)? (?P<severity>warning|error): (?P<message>.+)')
2929
INDEX_PATTERN = re.compile('(?P<col>\s*)\^')
3030

31+
# ANY changes to these default flags is backwards incompatible and require
32+
# an update to the mbed-sdk-tools and website that introduces a profile
33+
# for the previous version of these flags
3134
DEFAULT_FLAGS = {
3235
'common': ["-c", "-Wall", "-Wextra",
3336
"-Wno-unused-parameter", "-Wno-missing-field-initializers",

tools/toolchains/iar.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ class IAR(mbedToolchain):
2929
DIAGNOSTIC_PATTERN = re.compile('"(?P<file>[^"]+)",(?P<line>[\d]+)\s+(?P<severity>Warning|Error)(?P<message>.+)')
3030
INDEX_PATTERN = re.compile('(?P<col>\s*)\^')
3131

32+
# ANY changes to these default flags is backwards incompatible and require
33+
# an update to the mbed-sdk-tools and website that introduces a profile
34+
# for the previous version of these flags
3235
DEFAULT_FLAGS = {
3336
'common': [
3437
"--no_wrap_diagnostics",

0 commit comments

Comments
 (0)