Quality RTOS & Embedded Software

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




Loading

multithread support with IAR libraries

Posted by simonthome2000 on January 24, 2017

Can anyone assist me with the FreeRTOS implimentation of enabling thread safe support with IAR and their functions below please?

~~~ typedef void _iarRmtx; / Lock info object / void iarsystemMtxinit(iar_Rmtx *); / Initialize a system lock / void iarsystemMtxdst(iar_Rmtx *); /Destroy a system lock / void iarsystemMtxlock(iar_Rmtx *); / Lock a system lock / void iarsystemMtxunlock(iar_Rmtx *); / Unlock a system lock */ ~~~


multithread support with IAR libraries

Posted by richard_damon on January 24, 2017

I beleve that their is code in FreeRTOS to handle the newlib equivalent of these. bsically Mtxinit should create a mutex and store the handle into the the object passed to it. Mtxlock should take that mutex, and Mtxunlock should give it back, and Mtxdst should delete the mutex.


[ 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