6 years, 9 months ago.

Is it possible to specify where Mail Queue alloc() allocates memory?

Is it possible to specify where Mail Queue alloc() allocates memory?

For example, I currently use a circular buffer in AHBSRAM0 so I can make large arrays.

This is how I currently do it

__attribute((section("AHBSRAM0"),aligned)) Buffer LargeCircularBuffer[15000];

Is there a similar way to cause the mail queue to allocate messages in specific memory areas?

Be the first to answer this question.