diff --git a/examples/sw/simple_system/common/link.ld b/examples/sw/simple_system/common/link.ld index 485cbaff..2b4d689b 100644 --- a/examples/sw/simple_system/common/link.ld +++ b/examples/sw/simple_system/common/link.ld @@ -16,12 +16,17 @@ _min_stack = 0x2000; /* 8K - minimum stack space to reserve */ _stack_len = LENGTH(stack); _stack_start = ORIGIN(stack) + LENGTH(stack); +_entry_point = _vectors_start + 0x80; +ENTRY(_entry_point) + SECTIONS { .vectors : { . = ALIGN(4); + _vectors_start = .; KEEP(*(.vectors)) + _vectors_end = .; } > ram .text : {