diff --git a/kernel/include/los_config.h b/kernel/include/los_config.h index f87e5983..35123c90 100644 --- a/kernel/include/los_config.h +++ b/kernel/include/los_config.h @@ -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 diff --git a/targets/cortex-m4_stm32f429ig_fire-challenger_iar/board/iar_stm32f429ig_fire-challenger.c b/targets/cortex-m4_stm32f429ig_fire-challenger_iar/board/iar_stm32f429ig_fire-challenger.c index 2ba89930..2927fe5d 100644 --- a/targets/cortex-m4_stm32f429ig_fire-challenger_iar/board/iar_stm32f429ig_fire-challenger.c +++ b/targets/cortex-m4_stm32f429ig_fire-challenger_iar/board/iar_stm32f429ig_fire-challenger.c @@ -1,3 +1,5 @@ +#include "los_arch_interrupt.h" +#include "los_tick.h" #include "stm324x9i_eval.h" /**