4 ms·
This libc is for Linux, so I guess you can't compile it for a bare-metal system like STM32.
by kbumsik 7y ago
This libc is for Linux, so I guess you can't compile it for a bare-metal system like STM32.
- alexhutcheson 7y agoFor microcontrollers the most popular open source option is newlib[1]. [1] http://sourceware.org/newlib/ http://sourceware.org/newlib/
- mlyle 7y agoKeith Packard maintains an excellent "picolibc" that I have used recently (and contributed to, a little). It was formerly called newlib-nano, and consists of newlib with the string functions replaced with cheaper (slower) versions from avrlibc and various other slimming changes (e.g. reduction of struct reent stuff, and some locale stuff, by default). https://github.com/keith-packard/picolibc https://github.com/keith-packard/picolibc