Hello,
I’m using VisualGDB and the included RTOS SDK with an ESP8266. Today I was playing around with #define configTICK_RATE_HZ, which should reflect the number of ticks per second that RTOS runs at.
However, changing it appears ineffective, as calling vTaskDelay(100) always delays for about 1 second, implying that the tick rate has remained at the default 100 Hz.
I’ve tried values of 10, 100, 200 and 1000.
The way I’ve tested this is very basic, just by starting a task and calling vTaskDelay(100) in a loop and then printf’ing.
According to the comment at the top of FreeRTOSConfig.h, where configTICK_RATE_HZ is define, the version is FreeRTOS V7.5.2.
This should be the version of the most recent VisualGDB ESP8266 toolchain, which I have kept up-to-date with newer versions.
Any idea why changing this #define isn’t having any effect?
Regards
-
This topic was modified 6 years, 6 months ago by TvdVen.
-
This topic was modified 6 years, 6 months ago by TvdVen.