INT_SYS_InstallHandler

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

INT_SYS_InstallHandler

2,806 Views
dearwww2000
Contributor I

example "wdg_pal_interrupt_s32k118" , there are two "INT_SYS_InstallHandler":

/* Install IRQ handlers for WDOG and SysTick interrupts */

INT_SYS_InstallHandler(WDOG_IRQn, wdg_pal_Handler, (isr_t *)0);

INT_SYS_InstallHandler(SysTick_IRQn, SysTick_Handler, (isr_t *)0);

 

But the project no "flash_vector_table " define.

If we need to define "flash_vector_table ", where we need put it ?

Labels (2)
Tags (1)
0 Kudos
4 Replies

2,243 Views
Lanson
Contributor I

i have put "flash_vector_table" where you describe,but it doesn't work,why?

0 Kudos

2,614 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

by default is vector table copied from FLASH to RAM. This allows you to add new interrupt handler in runtime by INT_SYS_InstallHandler() function. 

When the vector table is only in the FLASH, you can't use INT_SYS_InstallHandler() SDK function. 

If you need only FLASH vector table - just define this symbol in preprocessor settings: 

pastedImage_1.png

Jiri

0 Kudos

2,166 Views
Lanson
Contributor I

i have put "flash_vector_table" where you describe,but it doesn't work,why?

0 Kudos

2,614 Views
dearwww2000
Contributor I

It is very nice of you! Thank you!

0 Kudos