cancel
Showing results for 
Search instead for 
Did you mean: 

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

Shiina
Associate III

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

3 REPLIES 3
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

ok, thanks

Pavel A.
Super User

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