Hi,
I tried to send the data recieved from a sensor to the queue using xQueueSendToFrontFromISR Api , but it gets stuck at line# 947 queue.c : portASSERT_IF_INTERRUPT_PRIORITY_INVALID();
Following are the configurations: #define configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY (0x01)
Impossible to answer without knowing what target and eco system you use… interrupt priorites for MCU devices are assigned on the processor initialization level. That’s completly beyond the scope of FreeRTOS.
then check with the MCU documentation, find the place in your code where the processor gets initialized, and change the priority of that ISR to one below configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY. It is fairly unusual for configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY to be 1, though. You need to understand its meaning and then tailor your interrupt priorites accordingly.