Hi,
I am using, TMS570LS20216 MCU. While coding Stack Initialization and to get the Stack size part, i got this warning message. I mentioned my code below. I don't know how to resolve this warning. This warning shows only for the statements present inside these two functions shown below.
void InitStack(void)
{
...code.....
__asm("g_TsInitStackPointerAddress_a: .field g_TsInitStackPointerAddress, 32 ");
__asm("STACK_PATTERN_A: .field stack_pattern, 32 ");
__asm("STACK_END_A: .field sys_stack_end, 32 ");
...code.....
}
UInt32 GetStackSize(void)
{
...code....
__asm("g_TsInitStackPointerAddress_a2: .field g_TsInitStackPointerAddress, 32");
__asm("STACK_PATTERN_A2: .field stack_pattern, 32 ");
__asm("STACK_END_A2: .field sys_stack_end, 32 ");
__asm("g_TsTmpStackSize_a:.field g_TsTmpStackSize,32 ");
...code....
}
Thanks and Regards
Gowdham Natarajan