FreeRTOS with STM32 and going into STOP mode

Agree - if that is the case, vTaskSteptick is not needed.