INT_SYS_InstallHandler

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

INT_SYS_InstallHandler

4,298件の閲覧回数
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 ?

ラベル(2)
タグ(1)
0 件の賞賛
返信
4 返答(返信)

3,735件の閲覧回数
Lanson
Contributor I

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

0 件の賞賛
返信

4,106件の閲覧回数
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 件の賞賛
返信

3,658件の閲覧回数
Lanson
Contributor I

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

0 件の賞賛
返信

4,106件の閲覧回数
dearwww2000
Contributor I

It is very nice of you! Thank you!

0 件の賞賛
返信