Skip to content

Commit 030c1aa

Browse files
Add event group and stream buffer config option in template (#1026)
* Add config descriptions in template configuration file --------- Co-authored-by: GitHub Action <action@github.com>
1 parent 6270e2a commit 030c1aa

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

examples/template_configuration/FreeRTOSConfig.h

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,28 @@
236236
* if configUSE_TIMERS is set to 1. */
237237
#define configTIMER_QUEUE_LENGTH 10
238238

239+
/******************************************************************************/
240+
/* Event Group related definitions. *******************************************/
241+
/******************************************************************************/
242+
243+
/* Set configUSE_EVENT_GROUPS to 1 to include event group functionality in the
244+
* build. Set to 0 to exclude event group functionality from the build. The
245+
* FreeRTOS/source/event_groups.c source file must be included in the build if
246+
* configUSE_EVENT_GROUPS is set to 1. Defaults to 1 if left undefined. */
247+
248+
#define configUSE_EVENT_GROUPS 1
249+
250+
/******************************************************************************/
251+
/* Stream Buffer related definitions. *****************************************/
252+
/******************************************************************************/
253+
254+
/* Set configUSE_STREAM_BUFFERS to 1 to include stream buffer functionality in
255+
* the build. Set to 0 to exclude event group functionality from the build. The
256+
* FreeRTOS/source/stream_buffer.c source file must be included in the build if
257+
* configUSE_STREAM_BUFFERS is set to 1. Defaults to 1 if left undefined. */
258+
259+
#define configUSE_STREAM_BUFFERS 1
260+
239261
/******************************************************************************/
240262
/* Memory allocation related definitions. *************************************/
241263
/******************************************************************************/
@@ -431,7 +453,7 @@
431453
#define configENFORCE_SYSTEM_CALLS_FROM_KERNEL_ONLY 1
432454

433455
/* Set configALLOW_UNPRIVILEGED_CRITICAL_SECTIONS to 1 to allow unprivileged
434-
* tasks enter critical sections (effectively mask interrupts). Set to 0 to
456+
* tasks enter critical sections (effectively mask interrupts). Set to 0 to
435457
* prevent unprivileged tasks entering critical sections. Defaults to 1 if left
436458
* undefined. Only used by the FreeRTOS Cortex-M MPU ports, not the standard
437459
* ARMv7-M Cortex-M port. */

0 commit comments

Comments
 (0)