Does Embos have an equivalent of the FreeRTOS message_buffer.h library for Multicore Messaging? I am evaluating Embos with the STM32H745 processor for a company project and would like to transfer messages between the 2 cores while using Embos. I came across an ST/FreeRTOS example called "FreeRTOS_AMP_Dual_RTOS" for the STM32H745 nucleo/discovery boards and would like this same functionality using Embos. Is this functionality available? If so, is there an example? If not, what steps do I need to do to implement dual core messaging using Embos?
yes, you can use embOS spinlocks to synchronize data messaging between two or more cores.
If you have an embOS instances running on each core you usually have a shared memory in which you can pass data from one core to the other.
This shared memory must be secured with a spinlock. That's a generic way which works with every core.
But most devices have device specific mechanism to communicate between the cores like triggering an interrupt on the other core.
It depends on you application and device what works best for you.
We will create a simple spinlock sample project for the STM32H745.
Btw. We are currently working on embOS SMP implementation. With it you have one embOS instance running on all cores and you can use all existing embOS API like mailbox and queues to share data between the cores. If you don't use an affinity mask for a specific task you even don't have to care about on which core the task is currently running and it simply works.
Thanks for the update. It would be really nice to use mailbox and queues between cores. Will the embOS SMP implementation be a separate product or will the features be integrated into embOS? If all goes well I am planning on purchasing Embedded Studio Pro Cortex M Edition so I am hoping that the new features would be included in that package.
Please be aware this is not a technical question only but also a license/sales decision.
I can't share any details about that now (since it's simply not yet decided) but I am pretty sure we'll find a solution which will work for you.