Hi Michael,
I have done simple test and and modify stack section in linker file. The code is following:
.stack (NOLOAD) : ALIGN(16)
{
__HEAP = . ;
_end = . ;
end = . ;
. += __HEAP_SIZE ;
__HEAP_END = . ;
_stack_end = . ;
. += __STACK_SIZE ;
_stack_addr = . ;
__SP_INIT = . ;
. += 4;
ASSERT (1, "Error: No room left for the stack");
} > m_data
This is possible to compile without error.
Regards,
Martin
Hi Michael,
I have done simple test and and modify stack section in linker file. The code is following:
.stack (NOLOAD) : ALIGN(16)
{
__HEAP = . ;
_end = . ;
end = . ;
. += __HEAP_SIZE ;
__HEAP_END = . ;
_stack_end = . ;
. += __STACK_SIZE ;
_stack_addr = . ;
__SP_INIT = . ;
. += 4;
ASSERT (1, "Error: No room left for the stack");
} > m_data
This is possible to compile without error.
Regards,
Martin