I'm trying to convert the 2480 Sensor software over from IAR
workbench to Code Composer. This has been a real learning experiance
for me in that it almost fully converted without issue, and I think I
have the problem area tracked down to these two lines.
--Original lines found in hal_board.h
#define HAL_ENABLE_INTERRUPTS() asm("eint")
#define HAL_DISABLE_INTERRUPTS() st( asm("dint"); asm("nop"); )
Code composer is OK with the "eint" line but it throws a fit on
the "dint" and "nop" line and will not link the program. I have
tried to change the lines to the code you see below. It does not
throw an error with these lines in place, but it also does not work.
#define HAL_ENABLE_INTERRUPTS() __enable_interrupt()
#define HAL_DISABLE_INTERRUPTS() st( __disable_interrupt();
__no_operation(); )
Does anyone have a suggestion of the asm equivilant that code
composer will be happy with?
Thanks
Joe J.
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )