mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
canbootloader clear pending systick interrupts
This commit is contained in:
committed by
David Sidrane
parent
3a3cc33d69
commit
60a083b662
@@ -936,6 +936,9 @@ static void application_run(size_t fw_image_size, bootloader_app_shared_t *commo
|
|||||||
|
|
||||||
/* kill the systick interrupt */
|
/* kill the systick interrupt */
|
||||||
putreg32(0, NVIC_SYSTICK_CTRL);
|
putreg32(0, NVIC_SYSTICK_CTRL);
|
||||||
|
__asm volatile("dsb");
|
||||||
|
__asm volatile("isb");
|
||||||
|
putreg32(NVIC_INTCTRL_PENDSTCLR, NVIC_INTCTRL);
|
||||||
|
|
||||||
/* and set a specific LED pattern */
|
/* and set a specific LED pattern */
|
||||||
board_indicate(jump_to_app);
|
board_indicate(jump_to_app);
|
||||||
|
|||||||
Reference in New Issue
Block a user