I don’t understand interrupt declaration in FreeRtos.
In the Pic32 demo for example :
interupt prototype handler is declare with ipl set to 1 :
void __attribute__( (interrupt(ipl1), vector(_UART2_VECTOR))) vU2InterruptWrapper( void );
But Uart2 interrupt priority is set to 2 (as configKERNEL_INTERRUPT_PRIORITY is set to 1) :
ConfigIntUART2( ( configKERNEL_INTERRUPT_PRIORITY + 1 ) | UART_INT_SUB_PR0 | UART_TX_INT_EN | UART_RX_INT_EN );
So, what is the good setting ?
Thanks for your help.