Part Number: MSP430F6723
Tool/software: TI C/C++ Compiler
Hello everyone,
I am using MSP430F6723 micro and my IAR version is 7.10.3.
While compiling the source code, it throws error --> 'SD24BTRGOSR is undefined'. When i check for the definition, i see that this control register has not been defined in the msp430xx.h file.
Secondly, if let's say if i don't use the register to proceed with the compilation, i am facing another issue described below:
I have a function call having declare my local variables in it plus some process which goes something like this:
bool abc (arg1, arg2, arg3) {
long var1 = 0;
long var2 = 0;
var1 = x+ y;
//--
if else statements
--//
}
Whats happening is that var1 and var2 are not allocated any memory which is making them non-readable and further failing the checks in the if-else statements.
I wanted to understand if this memory allocation problem is because i commented out the use of SD24BTRGOSR register ? Or is it because my stack is overflowed?
Optimizations level is high for my C/C++ compiler with all the transformations checked.
Kindly let me know if any of you are aware or have faced this issue before. Any help would be just great! :)
Please also let me know if more information is required.
Thank you!!
Cheers,
Samarth