Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 10 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?