From 685920fb8a9960b810c5154679d9cc4cd19a476e Mon Sep 17 00:00:00 2001 From: Angel Cascarino Date: Thu, 20 Jun 2024 18:38:54 +0100 Subject: [PATCH] Update test configs --- test/rtos_drivers/clock_control/src/FreeRTOSConfig.h | 5 +++++ test/rtos_drivers/hil/src/FreeRTOSConfig.h | 5 +++++ test/rtos_drivers/hil_add/src/FreeRTOSConfig.h | 5 +++++ test/rtos_drivers/usb/src/FreeRTOSConfig.h | 5 +++++ test/rtos_drivers/wifi/src/FreeRTOSConfig.h | 5 +++++ 5 files changed, 25 insertions(+) diff --git a/test/rtos_drivers/clock_control/src/FreeRTOSConfig.h b/test/rtos_drivers/clock_control/src/FreeRTOSConfig.h index 37f589ec..e8083f0e 100644 --- a/test/rtos_drivers/clock_control/src/FreeRTOSConfig.h +++ b/test/rtos_drivers/clock_control/src/FreeRTOSConfig.h @@ -16,8 +16,11 @@ your application. */ #define configTICK_RATE_HZ 1000 #define configMAX_PRIORITIES 32 #define configRUN_MULTIPLE_PRIORITIES 1 +#if (configNUMBER_OF_CORES != 1) #define configUSE_TASK_PREEMPTION_DISABLE 1 #define configUSE_CORE_AFFINITY 1 +#endif +#define configUSE_PASSIVE_IDLE_HOOK 0 #define configMINIMAL_STACK_SIZE ( configSTACK_DEPTH_TYPE ) 256 #define configMAX_TASK_NAME_LEN 32 #define configUSE_16_BIT_TICKS 0 @@ -58,7 +61,9 @@ your application. */ #else #define configUSE_TRACE_FACILITY 0 #endif +#if (configGENERATE_RUN_TIME_STATS || configUSE_TRACE_FACILITY) #define configUSE_STATS_FORMATTING_FUNCTIONS 2 /* Setting to 2 does not include in tasks.c */ +#endif /* Co-routine related definitions. */ #define configUSE_CO_ROUTINES 0 diff --git a/test/rtos_drivers/hil/src/FreeRTOSConfig.h b/test/rtos_drivers/hil/src/FreeRTOSConfig.h index b2fddb32..e93e480c 100644 --- a/test/rtos_drivers/hil/src/FreeRTOSConfig.h +++ b/test/rtos_drivers/hil/src/FreeRTOSConfig.h @@ -21,8 +21,11 @@ your application. */ #define configTICK_RATE_HZ 1000 #define configMAX_PRIORITIES 32 #define configRUN_MULTIPLE_PRIORITIES 1 +#if (configNUMBER_OF_CORES != 1) #define configUSE_TASK_PREEMPTION_DISABLE 1 #define configUSE_CORE_AFFINITY 1 +#endif +#define configUSE_PASSIVE_IDLE_HOOK 0 #define configMINIMAL_STACK_SIZE ( configSTACK_DEPTH_TYPE ) 256 #define configMAX_TASK_NAME_LEN 16 #define configUSE_16_BIT_TICKS 0 @@ -60,7 +63,9 @@ your application. */ /* Run time and task stats gathering related definitions. */ #define configGENERATE_RUN_TIME_STATS 1 #define configUSE_TRACE_FACILITY 1 +#if (configGENERATE_RUN_TIME_STATS || configUSE_TRACE_FACILITY) #define configUSE_STATS_FORMATTING_FUNCTIONS 2 /* Setting to 2 does not include in tasks.c */ +#endif /* Co-routine related definitions. */ #define configUSE_CO_ROUTINES 0 diff --git a/test/rtos_drivers/hil_add/src/FreeRTOSConfig.h b/test/rtos_drivers/hil_add/src/FreeRTOSConfig.h index b2fddb32..e93e480c 100644 --- a/test/rtos_drivers/hil_add/src/FreeRTOSConfig.h +++ b/test/rtos_drivers/hil_add/src/FreeRTOSConfig.h @@ -21,8 +21,11 @@ your application. */ #define configTICK_RATE_HZ 1000 #define configMAX_PRIORITIES 32 #define configRUN_MULTIPLE_PRIORITIES 1 +#if (configNUMBER_OF_CORES != 1) #define configUSE_TASK_PREEMPTION_DISABLE 1 #define configUSE_CORE_AFFINITY 1 +#endif +#define configUSE_PASSIVE_IDLE_HOOK 0 #define configMINIMAL_STACK_SIZE ( configSTACK_DEPTH_TYPE ) 256 #define configMAX_TASK_NAME_LEN 16 #define configUSE_16_BIT_TICKS 0 @@ -60,7 +63,9 @@ your application. */ /* Run time and task stats gathering related definitions. */ #define configGENERATE_RUN_TIME_STATS 1 #define configUSE_TRACE_FACILITY 1 +#if (configGENERATE_RUN_TIME_STATS || configUSE_TRACE_FACILITY) #define configUSE_STATS_FORMATTING_FUNCTIONS 2 /* Setting to 2 does not include in tasks.c */ +#endif /* Co-routine related definitions. */ #define configUSE_CO_ROUTINES 0 diff --git a/test/rtos_drivers/usb/src/FreeRTOSConfig.h b/test/rtos_drivers/usb/src/FreeRTOSConfig.h index b8a54c80..7fd83cc4 100644 --- a/test/rtos_drivers/usb/src/FreeRTOSConfig.h +++ b/test/rtos_drivers/usb/src/FreeRTOSConfig.h @@ -21,8 +21,11 @@ your application. */ #define configTICK_RATE_HZ 1000 #define configMAX_PRIORITIES 32 #define configRUN_MULTIPLE_PRIORITIES 1 +#if (configNUMBER_OF_CORES != 1) #define configUSE_TASK_PREEMPTION_DISABLE 1 #define configUSE_CORE_AFFINITY 1 +#endif +#define configUSE_PASSIVE_IDLE_HOOK 0 #define configMINIMAL_STACK_SIZE ( configSTACK_DEPTH_TYPE ) 256 #define configMAX_TASK_NAME_LEN 16 #define configUSE_16_BIT_TICKS 0 @@ -60,7 +63,9 @@ your application. */ /* Run time and task stats gathering related definitions. */ #define configGENERATE_RUN_TIME_STATS 1 #define configUSE_TRACE_FACILITY 1 +#if (configGENERATE_RUN_TIME_STATS || configUSE_TRACE_FACILITY) #define configUSE_STATS_FORMATTING_FUNCTIONS 2 /* Setting to 2 does not include in tasks.c */ +#endif /* Co-routine related definitions. */ #define configUSE_CO_ROUTINES 0 diff --git a/test/rtos_drivers/wifi/src/FreeRTOSConfig.h b/test/rtos_drivers/wifi/src/FreeRTOSConfig.h index b8a54c80..7fd83cc4 100644 --- a/test/rtos_drivers/wifi/src/FreeRTOSConfig.h +++ b/test/rtos_drivers/wifi/src/FreeRTOSConfig.h @@ -21,8 +21,11 @@ your application. */ #define configTICK_RATE_HZ 1000 #define configMAX_PRIORITIES 32 #define configRUN_MULTIPLE_PRIORITIES 1 +#if (configNUMBER_OF_CORES != 1) #define configUSE_TASK_PREEMPTION_DISABLE 1 #define configUSE_CORE_AFFINITY 1 +#endif +#define configUSE_PASSIVE_IDLE_HOOK 0 #define configMINIMAL_STACK_SIZE ( configSTACK_DEPTH_TYPE ) 256 #define configMAX_TASK_NAME_LEN 16 #define configUSE_16_BIT_TICKS 0 @@ -60,7 +63,9 @@ your application. */ /* Run time and task stats gathering related definitions. */ #define configGENERATE_RUN_TIME_STATS 1 #define configUSE_TRACE_FACILITY 1 +#if (configGENERATE_RUN_TIME_STATS || configUSE_TRACE_FACILITY) #define configUSE_STATS_FORMATTING_FUNCTIONS 2 /* Setting to 2 does not include in tasks.c */ +#endif /* Co-routine related definitions. */ #define configUSE_CO_ROUTINES 0