From deb9b1c8d4f1b3b4dae7ce6972d10e621f683130 Mon Sep 17 00:00:00 2001 From: kar-rahul-aws Date: Tue, 9 Apr 2024 13:09:54 +0530 Subject: [PATCH 1/4] Add config descriptions in template configuration file --- .../template_configuration/FreeRTOSConfig.h | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/examples/template_configuration/FreeRTOSConfig.h b/examples/template_configuration/FreeRTOSConfig.h index ed3a430f19..c051f7d1a6 100644 --- a/examples/template_configuration/FreeRTOSConfig.h +++ b/examples/template_configuration/FreeRTOSConfig.h @@ -236,6 +236,28 @@ * if configUSE_TIMERS is set to 1. */ #define configTIMER_QUEUE_LENGTH 10 +/******************************************************************************/ +/* Event Group related definitions. *******************************************/ +/******************************************************************************/ + +/* Set configUSE_EVENT_GROUPS to 1 to include event group functionality in the + * build. Set to 0 to exclude event group functionality from the build. The + * FreeRTOS/source/event_groups.c source file must be included in the build if + * configUSE_EVENT_GROUPS is set to 1. Defaults to 1 if left undefined. */ + +#define configUSE_EVENT_GROUPS 1 + +/******************************************************************************/ +/* Stream Buffer related definitions. *****************************************/ +/******************************************************************************/ + +/* Set configUSE_STREAM_BUFFERS to 1 to include stream buffer functionality in + * the build. Set to 0 to exclude event group functionality from the build. The + * FreeRTOS/source/stream_buffer.c source file must be included in the build if + * configUSE_STREAM_BUFFERS is set to 1. Defaults to 1 if left undefined. */ + +#define configUSE_STREAM_BUFFERS 1 + /******************************************************************************/ /* Memory allocation related definitions. *************************************/ /******************************************************************************/ From b8973c76fcc884b4b6fd705a077fe42368cde416 Mon Sep 17 00:00:00 2001 From: kar-rahul-aws Date: Tue, 9 Apr 2024 13:11:38 +0530 Subject: [PATCH 2/4] Formatting changes --- examples/template_configuration/FreeRTOSConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/template_configuration/FreeRTOSConfig.h b/examples/template_configuration/FreeRTOSConfig.h index c051f7d1a6..c7ae1b3e5f 100644 --- a/examples/template_configuration/FreeRTOSConfig.h +++ b/examples/template_configuration/FreeRTOSConfig.h @@ -241,7 +241,7 @@ /******************************************************************************/ /* Set configUSE_EVENT_GROUPS to 1 to include event group functionality in the - * build. Set to 0 to exclude event group functionality from the build. The + * build. Set to 0 to exclude event group functionality from the build. The * FreeRTOS/source/event_groups.c source file must be included in the build if * configUSE_EVENT_GROUPS is set to 1. Defaults to 1 if left undefined. */ From 0106ee87761ea660223d79bff738225dd5848e7b Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 9 Apr 2024 07:46:04 +0000 Subject: [PATCH 3/4] Uncrustify: triggered by comment. --- examples/template_configuration/FreeRTOSConfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/template_configuration/FreeRTOSConfig.h b/examples/template_configuration/FreeRTOSConfig.h index c7ae1b3e5f..8a71476065 100644 --- a/examples/template_configuration/FreeRTOSConfig.h +++ b/examples/template_configuration/FreeRTOSConfig.h @@ -245,7 +245,7 @@ * FreeRTOS/source/event_groups.c source file must be included in the build if * configUSE_EVENT_GROUPS is set to 1. Defaults to 1 if left undefined. */ -#define configUSE_EVENT_GROUPS 1 +#define configUSE_EVENT_GROUPS 1 /******************************************************************************/ /* Stream Buffer related definitions. *****************************************/ @@ -256,7 +256,7 @@ * FreeRTOS/source/stream_buffer.c source file must be included in the build if * configUSE_STREAM_BUFFERS is set to 1. Defaults to 1 if left undefined. */ -#define configUSE_STREAM_BUFFERS 1 +#define configUSE_STREAM_BUFFERS 1 /******************************************************************************/ /* Memory allocation related definitions. *************************************/ From f540570e7297a04b3a7701dec2e6d22e791e6445 Mon Sep 17 00:00:00 2001 From: kar-rahul-aws Date: Tue, 9 Apr 2024 15:07:20 +0530 Subject: [PATCH 4/4] Start CI checks --- examples/template_configuration/FreeRTOSConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/template_configuration/FreeRTOSConfig.h b/examples/template_configuration/FreeRTOSConfig.h index 8a71476065..c1c05966a2 100644 --- a/examples/template_configuration/FreeRTOSConfig.h +++ b/examples/template_configuration/FreeRTOSConfig.h @@ -453,7 +453,7 @@ #define configENFORCE_SYSTEM_CALLS_FROM_KERNEL_ONLY 1 /* Set configALLOW_UNPRIVILEGED_CRITICAL_SECTIONS to 1 to allow unprivileged - * tasks enter critical sections (effectively mask interrupts). Set to 0 to + * tasks enter critical sections (effectively mask interrupts). Set to 0 to * prevent unprivileged tasks entering critical sections. Defaults to 1 if left * undefined. Only used by the FreeRTOS Cortex-M MPU ports, not the standard * ARMv7-M Cortex-M port. */