Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add %z and %x to printf backend (#5424)
* Add %z and %x to printf backend %z is a C99 format used for size_t and was not included in any printf. On the 8266 it's a no-op as size_t==int, so ignore it and things just work. %x lowercase support added back in (wasn't present in nano-printf). * Update to toolchain built newlib, fix link error Previous commit was a hand build and copy, this one used the full toolchain and should not include atexit().
- Loading branch information
f770d1a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
With last commits now I can't compile. I have this error in platformio:
'vsnprintf' was not declared in this scope
Output:
f770d1a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI did a platform.io build against the libs for all the examples, so I think it's just a matter of your libs and the git head not quite lining up. I unfortunately don't know how to make PIO pull in latest and greatest straight from GIT and not from a PIO repo redirector which will probably be updated once per day.
f770d1a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just copied all the repo as I did before having the latest files.
What I'm seeing is that the vsnprintf_P is not declared in pgmspace.h file
In commit 6280e98 the declarations in pgmspace.h file were deleted
f770d1a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see. Looks like you've ended up with dead files in your PIO repo. There is no
pgmspace.cpp
anymore., and it looks like your compile is failing on this (now non-existent) file.f770d1a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!!!! Thanks a lot. You solve my issue!!! 👍
f770d1a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is working very nice! Thanks 👍