Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

lwprintf

> 编程语言
Open source

Lightweight printf library optimized for embedded systems

344 stars0 likes1 views
WebsiteGitHub

About

Lightweight printf library optimized for embedded systems

Lightweight printf stdio manager

LwPRINTF is a lightweight stdio manager optimized for embedded systems. It includes implementation of standard output functions such as printf, vprintf, snprintf, sprintf and vsnprintf in an embedded-systems optimized way.

Open documentation

Features

  • Written in C (C11), compatible with size_t and uintmax_t types for some specifiers
  • Implements output functions compatible with printf, vprintf, snprintf, sprintf and vsnprintf
  • Low-memory footprint, suitable for embedded systems
  • Reentrant access to all API functions
  • Ships with CMSIS-OS, pthread, ThreadX and Win32 system ports
  • Requires single output function to be implemented by user for printf-like API calls
  • Optional functions for operating systems to protect multiple threads printing to the same output stream
  • Allows multiple output stream functions (unlike standard printf which supports only one) to separate parts of application
  • Added additional specifiers vs standard library, including %k for hex byte-array output and engineering notation for floats
  • Optional config to fully replace standard library printf, sprintf and other functions with its own implementation
  • Release-stripped lwprintf_debug and lwprintf_debug_cond macros for debug printouts
  • User friendly MIT license

Contribute

Fresh contributions are always welcome. Simple instructions to proceed:

  1. Fork Github repository
  2. Follow C style & coding rules and use clang-format to format the code
  3. Create a pull request to develop branch with new features or bug fixes

Alternatively you may:

  1. Report a bug
  2. Ask for a feature request

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Cembeddedembedded-systemshardwarelibrary

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言