Skip to content

Commit 9ffda95

Browse files
committed
Simplify interrupt vector handling
1 parent 203f2cb commit 9ffda95

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

ref_app/target/micros/bl602_sifive_e24_riscv/Code/Startup/boot.s

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
1616
******************************************************************************************/
1717

18+
.extern InterruptVectorTable
19+
1820
/*******************************************************************************************
1921
\brief
2022

ref_app/target/micros/bl602_sifive_e24_riscv/Code/Startup/intvect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ typedef void (*InterruptHandler)(void);
5454
//=====================================================================================================
5555
// Interrupt vector table
5656
//=====================================================================================================
57-
const InterruptHandler __attribute__((aligned(64),section(".text.vivt"))) InterruptVectorTable[] =
57+
const InterruptHandler __attribute__((aligned(64))) InterruptVectorTable[] =
5858
{
5959
(InterruptHandler)&UndefinedHandler, /* IRQ 00 Reserved */
6060
(InterruptHandler)&UndefinedHandler, /* IRQ 01 Reserved */

0 commit comments

Comments
 (0)