Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit f1795e3

Browse files
author
Janne Kiiskila
committed
IOTCORE-389 - bring back legacy alignment for Arm C6
Quite a few of the scatter files are not (yet) aligned to 8-byte boundaries and therefore the removal of legacy alignment feature (which is under deprecation warning, but it actually not YET deprecated) broke quite a few builds to this error: Error: L6244E: Exec region RW_IRAM1 address (0x200001ac) not aligned on a 8 byte boundary. We must bring this option now back to fix the builds. This option to ld (--legacyalign) can only be removed once all of the scatter files have been fixed.
1 parent 0610629 commit f1795e3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tools/profiles/debug.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"asm": [],
2424
"c": ["-D__ASSERT_MSG", "-std=gnu99"],
2525
"cxx": ["-fno-rtti", "-std=gnu++98"],
26-
"ld": ["--verbose", "--remove", "--show_full_path"]
26+
"ld": ["--verbose", "--remove", "--show_full_path", "--legacyalign"]
2727
},
2828
"ARM": {
2929
"common": ["-c", "--gnu", "-Otime", "--split_sections",

tools/profiles/develop.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"asm": [],
2323
"c": ["-D__ASSERT_MSG", "-std=gnu99"],
2424
"cxx": ["-fno-rtti", "-std=gnu++98"],
25-
"ld": ["--show_full_path"]
25+
"ld": ["--show_full_path", "--legacyalign"]
2626
},
2727
"ARM": {
2828
"common": ["-c", "--gnu", "-Otime", "--split_sections",

tools/profiles/release.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"asm": [],
2323
"c": ["-D__ASSERT_MSG", "-std=gnu99"],
2424
"cxx": ["-fno-rtti", "-std=gnu++98"],
25-
"ld": ["--show_full_path"]
25+
"ld": ["--show_full_path", "--legacyalign"]
2626
},
2727
"ARM": {
2828
"common": ["-c", "--gnu", "-Ospace", "--split_sections",

0 commit comments

Comments
 (0)