Add static qualifier to the function that starts the first task in GCC/ARM_CM3/port.c.

Added a _nop() after the _disable_interrupt() in CCS4/MSP430X/portmacro.h.
Added a NOP() after the disabling of interrupts in IAR/MSP430X/portmacro.h.
This commit is contained in:
Richard Barry 2012-03-11 20:14:50 +00:00
parent 1478402899
commit 4c8e9edc8d
4 changed files with 6 additions and 13 deletions

View file

@ -93,7 +93,7 @@
/*-----------------------------------------------------------*/
/* Interrupt control macros. */
#define portDISABLE_INTERRUPTS() _disable_interrupt()
#define portDISABLE_INTERRUPTS() _disable_interrupt(); _nop()
#define portENABLE_INTERRUPTS() _enable_interrupt()
/*-----------------------------------------------------------*/