Skip to content

Commit

Permalink
Add event group and stream buffer config option in template (FreeRTOS…
Browse files Browse the repository at this point in the history
…#1026)

* Add config descriptions in template configuration file

---------

Co-authored-by: GitHub Action <action@github.com>
  • Loading branch information
kar-rahul-aws and actions-user authored Apr 9, 2024
1 parent 6270e2a commit 030c1aa
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion examples/template_configuration/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. *************************************/
/******************************************************************************/
Expand Down Expand Up @@ -431,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. */
Expand Down

0 comments on commit 030c1aa

Please sign in to comment.