Hi,
I have a question, is it possible to use FreeRTOS SMP for MPC5777C even though I'm using two elf (each core with it's own elf)?
i was already trying to do so but i was having problems passing the core id to the core 1 ISR as shown below:
the idea is the scheduler is triggering an interrupt on core1 (if it is free) and when i checked that when the interrupt is triggered core1 actually stops executing and goes to the ISR (below) but the priv parameter is a random value
void vPortSoftIrqISR(void *priv)
{
BaseType_t xCore = (BaseType_t)priv;
e_assert_void(xCore == portGET_CORE_ID());
softirq_clear(pxSoftIRQ[xCore]);
vTaskSwitchContext(xCore);
}