Why xQueueCreateSet is PRIVILEGED_FUNCTION? what is its alternative?

Hi,
xQueueCreateSet was great functionality. why made it private. Now unable to use this functionality to wait on multiple. what is its alternative. I am not able to find any useful solution alternative to queue-set. How can i wait on multiple items using queue set alternative, if not available?

Which hardware and FreeRTOS port are you using? PRIVILEGED_FUNCTION macro is only applicable to FreeRTOS ports with Memory Protection Support (MPU) and it tags the function so that it can be placed in a separate section later at link time.

As I explained, this function is not private.

Can you elaborate on what you mean by “not able to use”?

unable to use this functionality to wait on multiple Item

I have create project using stm32cubeide for STM32L152VET6 microcontroller. I am getting error while calling to create queueset
as

QueueSetHandle_t queueSetHandle = xQueueCreateSet(10);

freertos/Debug/../Core/Src/freertos.c:243: undefined reference to `xQueueCreateSet

Note I am using FreeRTOS v10.0.1 installed with stm32CubeIDE

In previous versions of FreeRTOS, it was available without private function tag. it was not giving any error.

How can i resolve this issue of undefined.

Have you added the #define in FreeRTOSConfig.h to tell FreeRTOS to enable the QueueSet functionality?

Add the following to your FreeRTOSConfig.h:

#define configUSE_QUEUE_SETS 1

Thanks, It is working now. Thanks a lot @Gaurav Aggarwal