File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/modm/platform/core/cortex Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,10 @@ MAIN_STACK_SIZE = {{ options[":platform:cortex-m:main_stack_size"] }};
217
217
KEEP(*(.assertion))
218
218
. = ALIGN(4);
219
219
__assertion_table_end = .;
220
+ } >{{memory}}
220
221
222
+ .build_id :
223
+ {
221
224
__build_id = .;
222
225
KEEP(*(.note.gnu.build-id))
223
226
} >{{memory}}
Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ def is_in_memory(name):
109
109
110
110
if is_in_memory ("rom" ):
111
111
totals ["rom" ] += s ["size" ]
112
- sections ["rom" ].append (s ["name" ])
112
+ if not ".build_id" in s ["name" ]:
113
+ sections ["rom" ].append (s ["name" ])
113
114
if is_in_memory ("ram" ):
114
115
totals ["static" ] += s ["size" ]
115
116
sections ["static" ].append (s ["name" ])
You can’t perform that action at this time.
0 commit comments