spe-ciellt / spe_printf Goto Github PK
View Code? Open in Web Editor NEWPrintf routines for micro controllers that do not use buffers for parsing.
License: MIT License
Printf routines for micro controllers that do not use buffers for parsing.
License: MIT License
"Though not part of the width field, a leading zero is interpreted as the zero-padding flag mentioned above,"
Quoted from https://en.wikipedia.org/wiki/Printf_format_string#Width_field
Please note that %08x
is the same as %8.8x
.
When installing CppUTest from (at least) Ubuntu package system, the Makefile needs to be updated to compile unit tests. Current setup is to compile local side installed version of CppUTest.
Add flags -Wcast-qual -Wsign-compare -Wconversion
and fix potential errors from that.
Instead of using base as an integer in print_ui()
and print_uil()
, replace it with an enum like DECIMAL
, HEX_UPPER_CASE
and HEX_LOWER_CASE
.
Make sure extern "C"
is used at appropriate places. It also does not like the macro used for setting up the file descriptors.
Add github actions step.
Check this link:
https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes
Both %u
and %x
takes the modifier l
(aka %lu
and %lx
). Check that this is correctly implemented in the library.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.