with FreeRTOS V8.x the macro portTICK_RATE_MS is replaced by portTICK_PERIOD_MS.
No problem so far, just use search&replace.
Finally you will get some source like:
Wich is correct for the source point of view, but not from mathematic. What you want is 15*portTICK_PERIOD_MS
It’s not a big thing, if you know about that. Some people may have trouble with it.
An other thing is:
portTICK_PERIOD_MS is defined as ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
If you are using a really fast microcontroller and set your SysTick to 2kHz, you will get the macro
( ( TickType_t ) 1000 / 2000 ) TickType_t is a type of integer so the result is 0 ! And all your vTaskDelay will cause a warning due to a division by zero.
My suggestion is a macro like
//#define MAKETIME_MS(A) ( ( TickType_t ) A * configTICK_RATE_HZ / 1000 )
With this way you can avoid the unlucky x/portTICK_PERIOD_MS definition and have a SysTick higher than 1kHz.