From ed543197e0eb082fb110b1156a8aadd3990e40e2 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Sun, 6 Apr 2008 14:41:04 +0000 Subject: [PATCH] Ensure the first task starts with interrupts enabled. --- 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 65522b5b24..14df393c2b 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