I'm using an NXP LPC1768 and RTX 4.7.0.
I was using this code to store a large buffer in AHBSRAM0:
__attribute((section("AHBSRAM0"),aligned)) BufferStruct Buffer[BufferCount];
And I'd like to switch and use a Mailbox in RTX.
I'm wondering if it is possible to cause osMailAlloc to create mailbox items in specific RAM locations?
For example, if i have a scatter file with the sections below could i use IRAM2 for the mailbox?
RW_IRAM1 0x100000C8 0x7F38 { .ANY (+RW +ZI) } RW_IRAM2 0x2007C000 0x4000 { ; RW data for Mailbox .ANY (AHBSRAM0)