In FreeRTOS code, in files like fsl_tickless_rtc.c, fsl_tickless_systick.c, heap_4.c has lower version(9.0.0). while other files contain FreeRTOS kernel version 10.0.1
Where did you get this code?
fsl_tickless_rtc.c, fsl_tickless_systick.c
These are not distributed by us.
heap_4.c from version 10.0.1 has the correct version number - https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/V10.0.1/FreeRTOS/Source/portable/MemMang/heap_4.c#L2