I have a LPCXpresso54S018 card. I have code that use the MCAN driver that comes with the SDK. I am also using FreeRTOS.
When the driver gets an interrupt, it invokes a callback function that calls xSemaphoreGiveFromISR. Within this function there is a check that ensures that the priority of the interrupt is greater than or equal to configMAX_SYSCALL_INTERRUPT_PRIORITY. I am failing this check and crashing the program.
I see documentation in various locations that indicate that the priority of an interrupt has to be changed when using FreeRTOS on the LPCXpresso54S018 card. However, I see no documentation telling you how. In particular, how can I change the priority of the CAN0 and CAN1 interrupts on my board? Is there an SDK function call or something in the MCAN driver?