Hello,
I have already ported Freertos kernel file in my project, but after building the code showing error in configuration file. Please suggest someone.
The IMU (or any other device) neither knows nor cares whether you use an RTOS - let alone which RTOS it is.
So that shouldn't affect the code.
If you want tutorials on how to use FreeRTOS, go to https://www.freertos.org/