Quality RTOS & Embedded Software

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




Loading

Semaphore

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.

Regards.

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 ]    [ Sitemap ]    [ ]




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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