Other Parts Discussed in Thread: SYSCONFIG
Hi all,
I try to integrate Freertos into my project using sysconfig. (c2000device)
When I create a task the following code is created too:
StaticTask_t TaskTCBBuffer;
StackType_t TaskStackBuffer[redTask_STACK_SIZE];
#pragma DATA_SECTION(TaskStackBuffer, ".freertosStaticStack")
#pragma DATA_ALIGN ( TaskStackBuffer , portBYTE_ALIGNMENT )
does anyone knows why '#pragma DATA_ALIGN' is needed?
I think I can omit '#pragma DATA_SECTION' but I am not sure about the data_align.
Thank you!