From 1bae606ccce4f6925f33726a14067c0624db37f5 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 6 Oct 2016 10:06:01 +1100 Subject: [PATCH] FreeRTOS KConfig: Limit tick rate to 1000Hz >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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/freertos/Kconfig b/components/freertos/Kconfig index 7e0245e92d..1a65e1eeb7 100644 --- a/components/freertos/Kconfig +++ b/components/freertos/Kconfig @@ -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.