From 525fee8aef5725cd4519740fe732b528fe6ad9d4 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 9 Jan 2017 22:12:37 +0700 Subject: [PATCH] increase rtos tick to 10000 (10x) --- cores/nRF5/freertos/config/FreeRTOSConfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cores/nRF5/freertos/config/FreeRTOSConfig.h b/cores/nRF5/freertos/config/FreeRTOSConfig.h index e665d2a4..f0d6c97e 100644 --- a/cores/nRF5/freertos/config/FreeRTOSConfig.h +++ b/cores/nRF5/freertos/config/FreeRTOSConfig.h @@ -95,11 +95,11 @@ #define configUSE_PORT_OPTIMISED_TASK_SELECTION 0 #define configUSE_TICKLESS_IDLE 0 #define configCPU_CLOCK_HZ ( SystemCoreClock ) -#define configTICK_RATE_HZ 1000 +#define configTICK_RATE_HZ 10000 #define configMAX_PRIORITIES ( 5 ) #define configMINIMAL_STACK_SIZE ( 60 ) #define configTOTAL_HEAP_SIZE ( 4096 ) /* not used since we use malloc */ -#define configMAX_TASK_NAME_LEN ( 4 ) +#define configMAX_TASK_NAME_LEN ( 8 ) #define configUSE_16_BIT_TICKS 0 #define configIDLE_SHOULD_YIELD 1 #define configUSE_MUTEXES 1