mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 13:45:00 -05:00
Add configUSE_STREAM_BUFFERS in source files
This commit is contained in:
parent
f74cc70de0
commit
57d6dbac67
3 changed files with 82 additions and 66 deletions
|
|
@ -322,6 +322,10 @@
|
|||
#define configUSE_EVENT_GROUPS 1
|
||||
#endif
|
||||
|
||||
#ifndef configUSE_STREAM_BUFFERS
|
||||
#define configUSE_STREAM_BUFFERS 1
|
||||
#endif
|
||||
|
||||
#ifndef configUSE_COUNTING_SEMAPHORES
|
||||
#define configUSE_COUNTING_SEMAPHORES 0
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -52,6 +52,12 @@
|
|||
* correct privileged Vs unprivileged linkage and placement. */
|
||||
#undef MPU_WRAPPERS_INCLUDED_FROM_API_FILE
|
||||
|
||||
/* This entire source file will be skipped if the application is not configured
|
||||
* to include stream buffer functionality. This #if is closed at the very bottom
|
||||
* of this file. If you want to include stream buffers then ensure
|
||||
* configUSE_STREAM_BUFFERS is set to 1 in FreeRTOSConfig.h. */
|
||||
#if ( configUSE_STREAM_BUFFERS == 1 )
|
||||
|
||||
/* If the user has not provided application specific Rx notification macros,
|
||||
* or #defined the notification macros away, then provide default implementations
|
||||
* that uses task notifications. */
|
||||
|
|
@ -1606,3 +1612,9 @@ void vStreamBufferSetStreamBufferNotificationIndex( StreamBufferHandle_t xStream
|
|||
|
||||
#endif /* configUSE_TRACE_FACILITY */
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/* This entire source file will be skipped if the application is not configured
|
||||
* to include stream buffer functionality. This #if is closed at the very bottom
|
||||
* of this file. If you want to include stream buffers then ensure
|
||||
* configUSE_STREAM_BUFFERS is set to 1 in FreeRTOSConfig.h. */
|
||||
#endif /* configUSE_STREAM_BUFFERS == 1 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue