I am more than willing to listen to suggestions for improvements or corrections. Since I have not gotten past the __intrinsic functions situations yet, I can't actually test these changes yet, but they are not generating compile errors. The only compile errors I am getting relate to intrinsics.h

Step 2: Changing interrupt function signatures

files affected were:
driver/adc12.c
driver/ports.c
driver/radio.c
driver/timer.c


_driver/adc12.c_

//near line # 169
//wrapped the following to accommodate mspgcc compiler
#ifdef CC__MSPGCC  // CC__MSPGCC is defined in makefile
#include<signal.h>
interrupt (ADC12_VECTOR) ADC12ISR (void)
#else
#pragma vector=ADC12_VECTOR
__interrupt void ADC12ISR (void)
#endif



_driver/ports.c_

//near line 124
//wrapped to accommodate mspgcc compiler
#ifdef CC__MSPGCC  // CC__MSPGCC is defined in makefile
#include<signal.h>
interrupt (PORT2_VECTOR) PORT2_ISR(void)
#else
#pragma vector=PORT2_VECTOR
__interrupt void PORT2_ISR(void)
#endif



_driver/radio.c_

//near line # 169
//wrapped this section to accommodate the mspgcc compiler
#ifdef CC__MSPGCC  // CC__MSPGCC is defined in makefile
#include<signal.h>
interrupt (CC1101_VECTOR) radio_ISR(void)
#else
#pragma vector=CC1101_VECTOR
__interrupt void radio_ISR(void)
#endif



_driver/timer.c_

//near line #251
//wrapped to accommodate mspgcc compiler
#ifdef CC__MSPGCC  // CC__MSPGCC is defined in makefile
#include<signal.h>
interrupt (TIMER0_A1_VECTOR) TIMER0_A1_5_ISR(void)
#else
#pragma vector = TIMER0_A1_VECTOR
__interrupt void TIMER0_A1_5_ISR(void)
#endif

//near line 451
//wrapped to accommodate mspgcc compiler
#ifdef CC__MSPGCC  // CC__MSPGCC is defined in makefile
#include<signal.h>
interrupt (TIMER0_A1_VECTOR) TIMER0_A1_5_ISR(void)
#else
#pragma vector = TIMER0_A1_VECTOR
__interrupt void TIMER0_A1_5_ISR(void)
#endif

__

__


Reply via email to