Skip to content

release-v1.7.0

Choose a tag to compare

@IFX-GH-Admin IFX-GH-Admin released this 25 Sep 21:11
· 2 commits to master since this release

CLib Support Library Release Notes

The CLib Support Library provides the necessary hooks to make C library functions such as malloc and free thread safe for FreeRTOS and ThreadX.

What's Included?

  • Thread safety hooks for GCC Newlib
  • Thread safety hooks for ARM C library
  • Thread safety hooks for IAR C library
  • Thread safety hooks for LLVM ARM picolibc library
  • Thread safety hooks for C++
  • Hook for the system time() function

What Changed?

v1.7.0

  • Add support for LLVM ARM Compiler (FreeRTOS only)

v1.6.0

  • Add support for HAL API version 3

v1.5.0

  • Fix _sbrk() in decrement memory allocated
  • Add support for ThreadX (ARM Compiler)
  • CAT5 support

v1.4.2

  • Fix MISRA violations
  • Fix runtime errors with IAR toolchain

v1.4.0

  • Add support for ThreadX with IAR Toolchain

v1.3.0

  • Improve type consistency to fix compilation warnings

v1.2.0

  • Add support for ThreadX (GCC Compiler only)
  • Add support for Cortex-R devices (GCC Compiler only)

v1.1.0

  • Add support for using RTC to support time()

v1.0.2

  • Minor update to work with a wider range of MCUs

v1.0.1

  • Minor update for documentation & branding

v1.0.0

  • Initial release

Supported Software and Tools

This version of the CLib FreeRTOS Support Library was validated for compatibility with the following Software and Tools:

Software and Tools Version
ModusToolbox™ Software Environment 3.0.0
GCC Compiler 10.3.1
IAR Compiler 9.40.2
ARM Compiler 6.16
LLVM ARM Compiler 18.1.3

Minimum required ModusToolbox™ Software Environment: v2.0

LLVM ARM Compiler and printf

The LLVM ARM toolchain utilizes the picolibc library.

Because of the implementation in which picolibc handles printf calls, in the context of RTOS applications, it is up to the application to provide thread safety for printf statements when multiple threads share the same stream.

More information

Use the following links for more information, as needed:


© Cypress Semiconductor Corporation (an Infineon company) or an affiliate of Cypress Semiconductor Corporation, 2020-2023.