Compilation due

The 'avr' in that message indicates that the FreeRtos that you use is for the AVR line of Arduinos (Uno, Leonardo, Mega).

Try to find one for the Due.