If your application includes an RTOS, you will need to update compiler and linker settings in IAR Embedded Workbench. This is needed to make the C/C++ library implementation thread safe. This process is described in the

IAR C/C++ Development Guide

  1. Open

    Project > Options > General Options > Library Configuration

    .

  2. In the

    Library

    menu, select "Full".

  3. Select the

    Enable thread support in library

    check box.

  4. Click

    OK

    .

Once enabled, this will require implementations of functions that perform the locking that are provided by the clib-support library that we provide.

https://github.com/Infineon/clib-support/blob/master/README.md



Note:

This is not specific to Infineon devices but more about how the IAR compiler/linker and C library implementation work. All compilers have similar enabling needed