I am a student and I am working on a project using FreeRTOS v6.1.1 on a NXP LPC1769 Cortex M3 with LPCExpresso IDE but I am quite new in the RTOS world. =)
My problem is that I want to pend on multiple semaphore at the same time. I know that in the new version of FreeRTOS, there are queue sets that would allow me to do that.
I'm currently using FreeRTOS v6.1.1 Library given with the examples from the document "Using the FreeRTOS Real Time Kernel - A Practical Guide".
My question is:
- Is there some demo(s) implementing these queue sets or at least the new version of FreeRTOS (more than 7.4 I think) ? I didn't manage to find any of them on the web site.
- Or is there other solutions to pend on multiple semaphore at the same time ?
From http://www.freertos.org/History.txt it looks like you are going to need to update to at least V7.4.0. You could copy the functionality into your v6 code, but I would not recommend that. Just update the code in FreeRTOS/source to the latest version.
Thank you for your answer.
As you said, I update the code in FreeRTOS/source to the latest version. I kept the FreeRTOSConfig.h file and I add the line:
define configUSEQUEUESETS 1
to be able to use the queue sets related fonctions.
It seems to work know, so thank you !
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.