Hi, everyone. I have posted one similar question before, However there is still something unclear in the relationship between the message and the allocated heap.
Let me take 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;
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);
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!