Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem



Posted by Breno Pinheiro on January 25, 2008
Hi, firstly sorry all for posting so many questions but I'm complete novice!!!

I'trying to use the example aboute "mutexes" but the commpiler return:

undefined reference to xSemaphoreCreateMutex; I include the headres file : semphr.h and queue.h.

The example posted on web page is: http://www.freertos.org/a00122.html

Thanks for all!!!!

RE: Semaphore

Posted by Richard on January 25, 2008
Have you set configUSE_MUTEXES to 1 in FreeRTOSConfig.h? You might need to add the definition in, if it is omitted it will get defaulted to 0.


RE: Semaphore

Posted by Breno Pinheiro on January 25, 2008
Thank you for yuor support. Actually my config file didn't even have this line. I added it but it's still returnig that error.

Thank's again!!!

[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Version 10.1.0 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner