Skip to content

Commit 924d242

Browse files
committed
Add documentation about profiles to the toolcahins
1 parent da14bce commit 924d242

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
@@ -32,6 +32,9 @@ class ARM(mbedToolchain):
3232
DEP_PATTERN = re.compile('\S+:\s(?P<file>.+)\n')
3333

3434

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

tools/toolchains/gcc.py

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

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

0 commit comments

Comments
 (0)