mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -04:00
Add xQueueCreateSetStatic method for static allocation of Queue Sets (#1228)
Add xQueueCreateSetStatic method for static allocation of Queue Sets This commit introduces the xQueueCreateSetStatic function, which allows for the static allocation of Queue Sets in FreeRTOS when both configUSE_QUEUE_SETS and configSUPPORT_STATIC_ALLOCATION are enabled.
This commit is contained in:
parent
b5d1b972cc
commit
1b8f5965d3
7 changed files with 164 additions and 8 deletions
|
@ -1484,6 +1484,14 @@
|
|||
#define traceRETURN_xQueueCreateSet( pxQueue )
|
||||
#endif
|
||||
|
||||
#ifndef traceENTER_xQueueCreateSetStatic
|
||||
#define traceENTER_xQueueCreateSetStatic( uxEventQueueLength )
|
||||
#endif
|
||||
|
||||
#ifndef traceRETURN_xQueueCreateSetStatic
|
||||
#define traceRETURN_xQueueCreateSetStatic( pxQueue )
|
||||
#endif
|
||||
|
||||
#ifndef traceENTER_xQueueAddToSet
|
||||
#define traceENTER_xQueueAddToSet( xQueueOrSemaphore, xQueueSet )
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue