Skip to main content
deckhard
Associate III
June 13, 2021
Question

LIBC Thread Safe support in IAR with FreeRTOS

  • June 13, 2021
  • 1 reply
  • 985 views

Hi

I'm looking for the implementation of these functions for enabling thread safe support in libc within IAR:

typedef void iar_Rmtx; /* Lock info object */

void __iar_system_Mtxinit(iar_Rmtx *); / Initialize a system

lock /

void iar_system_Mtxdst(iar_Rmtx *); /Destroy a system lock /

void iar_system_Mtxlock(iar_Rmtx *); / Lock a system lock /

void iar_system_Mtxunlock(iar_Rmtx *); / Unlock a system lock */

Thanks

This topic has been closed for replies.

1 reply

Piranha
Principal III
June 13, 2021

Those are trivial functions - just implement on your own based on your RTOS's mutex.