Skip to content

Commit 4023752

Browse files
thedjnKcfriedt
authored andcommitted
arch: riscv: core: vector_table: Fix local ISR generation
Fixes local ISR generation so that devices actually boot, also allows enabling LTO for these builds (tested working on nrf54l15 flpr device) Signed-off-by: Jamie McCrae <[email protected]>
1 parent ffd1403 commit 4023752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/core/vector_table.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
*/
66

77
#if LINKER_ZEPHYR_FINAL && defined(CONFIG_ISR_TABLES_LOCAL_DECLARATION)
8-
INCLUDE isr_tables_vt.ld
98
KEEP(*(.vectors.__start))
9+
INCLUDE isr_tables_vt.ld
1010
#else
1111
KEEP(*(.vectors.*))
1212
#endif

0 commit comments

Comments
 (0)