Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

vTaskDelay() doesn't recognise portTICK_PERIOD_MS

Posted by jirachi2 on 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 portTICKPERIODMS, but the program doesn't recognise portTICKPERIODMS. Why?


vTaskDelay() doesn't recognise portTICK_PERIOD_MS

Posted by rtel on May 27, 2014

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

http://www.freertos.org/upgrading-to-FreeRTOS-V8.html

Regards.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS