Hi, everyone. I am developing my OMAPL138 board and trying to enable communication between ARM and DSP. However I don't quite understand in the relationship between the message's size and the heap that should be allocated to on the ARM side.
Let me make an example for it. If I want to send a message defined as below:
typedef struct {
MessageQ_MsgHeader reserved;
float my_data[9];
} App_Msg;
From the size of my message, how should I set the size and number of the heap which will be allocated to the message then?
That is to say. When I use the API:
HeapBufMP_Params_init(&heapParams);
Based on my message, how should I set the two parameters:
heapParams.blockSize
heapParams.numBlocks
Is there anyone having an idea? Please share with me. Thank you very much!