canbootloader clear pending systick interrupts

This commit is contained in:
Peter van der Perk
2021-05-17 10:07:06 +02:00
committed by David Sidrane
parent 3a3cc33d69
commit 60a083b662

View File

@@ -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);