Skip to main content
Associate III
Solved

Is the C library used by STM32 MCU based on glibc or musl?

I want to know what the C library in the GCC toolchain used by STM32 MCUs

This topic has been closed for replies.
Pavel A.
Pavel A.Best answer

It is newlib, in two variants: "standard" and nano (aka "reduced").

 

 

3 replies

waclawek.jan
Super User

I had to look up what's musl; it appears to be a linux-specific C standard library.

gcc for Cortex-M usually uses newlib-nano.

JW

ShiinaAuthor
Associate III

ok, thanks

Pavel A.
Pavel A.Best answer

It is newlib, in two variants: "standard" and nano (aka "reduced").