I tried the version at: Free RTOS running on Altera Cyclone V SoC ARM Cortex-A9 core but it appears to be out-of-date (doesn't compile with the intel/altera "baremetal" gcc, or the current Linaro gcc for Arm (9.2)).
Please refer to the link below
and use the pre-built binaries there and let us know the results.
Thanks and Regards
For more complete information about compiler optimizations, see our Optimization Notice.