Part Number: MSP430-IEC60730-SW-PACKAGE
Hi,
#ifdef __ICC430__
#pragma location="PC_TEST_SECTION_1"
void* IEC60730_PC_TEST_pcTestFunction1(void){
return((void *)IEC60730_PC_TEST_pcTestFunction1);
}
#else
#pragma CODE_SECTION(IEC60730_PC_TEST_pcTestFunction1,".pc_test_section_1")
void* IEC60730_PC_TEST_pcTestFunction1(void){
return(IEC60730_PC_TEST_pcTestFunction1);
}
#endif
This part of the code throws the following error
"error #821: badly formed pragma"
Pls help us in solving this.
Note: It is a .cpp project