Skip to content

Commit 648dcba

Browse files
thedjnKlstnl
authored andcommitted
[nrf fromtree] 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]> (cherry picked from commit 4023752)
1 parent dc05376 commit 648dcba

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)