Description: support original vector base address
Reviewed-by: shenwei
This commit is contained in:
parent
5cee04fb0c
commit
c766d49a4d
|
@ -118,8 +118,9 @@ extern "C" {
|
||||||
* @ingroup los_config
|
* @ingroup los_config
|
||||||
* Configuration item for using system defined vector base address and interrupt handlers.
|
* Configuration item for using system defined vector base address and interrupt handlers.
|
||||||
* If LOSCFG_USE_SYSTEM_DEFINED_INTERRUPT is set to 0, vector base address will not be
|
* If LOSCFG_USE_SYSTEM_DEFINED_INTERRUPT is set to 0, vector base address will not be
|
||||||
* modified by system. In arm, it should be noted that PendSV_Handler and SysTick_Handler will
|
* modified by system. In arm, it should be noted that PendSV_Handler and SysTick_Handler should
|
||||||
* be redefined in this case because system depends these interrupt handlers to run normally.
|
* be redefined to HalPendSV and OsTickHandler respectly in this case, because system depends on
|
||||||
|
* these interrupt handlers to run normally. What's more, LOS_HwiCreate will not register handlers.
|
||||||
*/
|
*/
|
||||||
#ifndef LOSCFG_USE_SYSTEM_DEFINED_INTERRUPT
|
#ifndef LOSCFG_USE_SYSTEM_DEFINED_INTERRUPT
|
||||||
#define LOSCFG_USE_SYSTEM_DEFINED_INTERRUPT 1
|
#define LOSCFG_USE_SYSTEM_DEFINED_INTERRUPT 1
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#include "los_arch_interrupt.h"
|
||||||
|
#include "los_tick.h"
|
||||||
#include "stm324x9i_eval.h"
|
#include "stm324x9i_eval.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue