- is a trivial piece of code that you can randomly drop into your project an expect it to ''just work''! You need to spend time studying the FreeRTOS documentation and learning how to properly configure it for your particular platofrm, and how to properly configure & integrate it with your tools, and how to properly build a project using it.
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.