mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 06:53:52 +01:00
This packs the stdio implementation from [1] as alternative to what the used standard C lib provides with the intent to provide a thread-safe, smaller, and more feature-complete alternative on newlib targets. Compared to `newlib_nano` this reduces `.text` by a bit more than 200 B while adding support for standard format specifiers such as `RPIu8`, `PRIu16`, `PRIu64`, `%z`, and `%t`. Note that `newlib_nano`'s stdio can be thread-safe in reentrant mode at the cost of RAM (per thread) and latency. Especially the increase in latency can be prohibitive when real time requirements need to be met. [1]: https://github.com/mpaland/printf
11 lines
259 B
Makefile
11 lines
259 B
Makefile
PKG_NAME=mpaland-printf
|
|
PKG_URL=https://github.com/mpaland/printf
|
|
# 4.0.0
|
|
PKG_VERSION=0dd4b64bc778bf55229428cefccba4c0a81f384b
|
|
PKG_LICENSE=MIT
|
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|
|
|
|
all:
|
|
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTPKG)/$(PKG_NAME)/$(PKG_NAME).mk
|