Adding freeRTOS files to my project

I use the STM32Cube platform in PlatformIO to program my STM32F1x microcontroller. I have downloaded the FreeRTOS libraries and added their C files and header files to the project. However, the FreeRTOS functions do not work well at all. For example, the vTaskDelay function stops the program execution forever, regardless of the input value (infinite delay) .
here is my platformio.ini file

platform = ststm32
board = genericSTM32F103C8
framework = stm32cube

I believe I ported the freeroots library to the project by mistake

Can you post your whole project files? This should work normally given the right build settings (example).