vTaskDelay() doesn't recognise portTICK_PERIOD_MS

jirachi2 wrote on Tuesday, May 27, 2014:

In my program I did exactly as instructed here: http://www.freertos.org/a00127.html
I include FreeRTOS.h and Task.h. I did #define INCLUDE_vTaskDelay 1 as well.

I want MS, and not ticks, so I have to use portTICK_PERIOD_MS, but the program doesn’t recognise portTICK_PERIOD_MS. Why?

rtel wrote on Tuesday, May 27, 2014:

Which version of FreeRTOS are you using? If it is a version prior to V8 then the macro is called portTICK_RATE_MS.