Getting compilation error on Visual studio22 for my application using the Freertosv202112.00

error LNK2001: unresolved external symbol _vPortFree
error LNK2001: unresolved external symbol _pvPortMalloc

Compile one of the FreeRTOS heaps - FreeRTOS-Kernel/portable/MemMang at main · FreeRTOS/FreeRTOS-Kernel · GitHub

error LNK2001: unresolved external symbol _vAssertCalled

I think you are calling this function in your configASSERT definition. Either add a definition of function or change your definition of configASSERT to something like the following - FreeRTOS/FreeRTOSConfig.h at main · FreeRTOS/FreeRTOS · GitHub

error LNK2019: unresolved external symbol _ulGetRunTimeCounterValue
error LNK2019: unresolved external symbol _vConfigureTimerForRunTimeStats

If you need run time stats, you need to supply these functions - FreeRTOS Run Time Stats. If you do not need, you can set configGENERATE_RUN_TIME_STATS to 0 in your FreeRTOSConfig.h

error LNK2019: unresolved external symbol _vApplicationGetIdleTaskMemory 
error LNK2019: unresolved external symbol _vApplicationGetTimerTaskMemory 

You need to supply these 2 functions. You can look at the following for reference -