]> granicus.if.org Git - esp-idf/commitdiff
FreeRTOS KConfig: Limit tick rate to 1000Hz
authorAngus Gratton <angus@espressif.com>
Wed, 5 Oct 2016 23:06:01 +0000 (10:06 +1100)
committerAngus Gratton <angus@espressif.com>
Mon, 10 Oct 2016 20:56:08 +0000 (07:56 +1100)
>1000Hz breaks portTICK_PERIOD_MS (see gitlab 4)

A working >1000Hz tick rate is possible with some changes, but beyond a
certain point it's dimishing returns to preempt tasks this often.

components/freertos/Kconfig

index 7e0245e92d8cb76096dc501d0faa1755901f2e08..1a65e1eeb7eb52834867504f29d458d2444a8a7c 100644 (file)
@@ -39,7 +39,7 @@ endchoice
 
 config FREERTOS_HZ
     int "Tick rate (Hz)"
-    range 1 10000
+    range 1 1000
     default 100
     help
         Select the tick rate at which FreeRTOS does pre-emptive context switching.