diff --git a/Source/portable/CCS4/MSP430X/data_model.h b/Source/portable/CCS4/MSP430X/data_model.h index 4cc526ef7..2f3ec5e5f 100644 --- a/Source/portable/CCS4/MSP430X/data_model.h +++ b/Source/portable/CCS4/MSP430X/data_model.h @@ -55,14 +55,12 @@ .define "push.a", push_x .define "pop.a", pop_x .define "mov.a", mov_x - .define "cmp.a", cmp_x .else .define "pushm.w", pushm_x .define "popm.w", popm_x .define "push.w", push_x .define "pop.w", pop_x .define "mov.w", mov_x - .define "cmp.w", cmp_x .endif .if $DEFINED( __LARGE_CODE_MODEL__ ) diff --git a/Source/portable/GCC/ARM_CM3/port.c b/Source/portable/GCC/ARM_CM3/port.c index 85d28c6ec..f601825c9 100644 --- a/Source/portable/GCC/ARM_CM3/port.c +++ b/Source/portable/GCC/ARM_CM3/port.c @@ -155,7 +155,7 @@ void vPortStartFirstTask( void ) " ldr r0, [r0] \n" " ldr r0, [r0] \n" " msr msp, r0 \n" /* Set the msp back to the start of the stack. */ - " cpsie i \n" + " cpsie i \n" /* Globally enable interrupts. */ " svc 0 \n" /* System call to start first task. */ " nop \n" ); diff --git a/Source/portable/RVDS/ARM_CM3/port.c b/Source/portable/RVDS/ARM_CM3/port.c index c864f821a..e0cd391c6 100644 --- a/Source/portable/RVDS/ARM_CM3/port.c +++ b/Source/portable/RVDS/ARM_CM3/port.c @@ -148,8 +148,9 @@ __asm void vPortStartFirstTask( void ) ldr r0, [r0] /* Set the msp back to the start of the stack. */ msr msp, r0 - /* Call SVC to start the first task. */ + /* Globally enable interrupts. */ cpsie i + /* Call SVC to start the first task. */ svc 0 nop }