From 19c9ed2066b1b5371b86856ef90ce1d76aa6dbd2 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 6 Apr 2008 14:41:04 +0000 Subject: [PATCH] Ensure the first task starts with interrupts enabled. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@298 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/portable/IAR/ARM_CM3/portasm.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/portable/IAR/ARM_CM3/portasm.s b/Source/portable/IAR/ARM_CM3/portasm.s index 65522b5b2..14df393c2 100644 --- a/Source/portable/IAR/ARM_CM3/portasm.s +++ b/Source/portable/IAR/ARM_CM3/portasm.s @@ -148,6 +148,8 @@ vPortSVCHandler; ldr r2, =uxCriticalNesting str r1, [r2] msr psp, r0 + mov r0, #0 + msr basepri, r0 orr r14, r14, #13 bx r14 -- 2.39.5