Description: support original vector base address

Reviewed-by: shenwei
This commit is contained in:
likailong 2021-01-11 11:04:40 +08:00
parent 5cee04fb0c
commit c766d49a4d
2 changed files with 5 additions and 2 deletions

View File

@ -118,8 +118,9 @@ extern "C" {
* @ingroup los_config
* 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
* modified by system. In arm, it should be noted that PendSV_Handler and SysTick_Handler will
* be redefined in this case because system depends these interrupt handlers to run normally.
* modified by system. In arm, it should be noted that PendSV_Handler and SysTick_Handler should
* 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
#define LOSCFG_USE_SYSTEM_DEFINED_INTERRUPT 1

View File

@ -1,3 +1,5 @@
#include "los_arch_interrupt.h"
#include "los_tick.h"
#include "stm324x9i_eval.h"
/**