Putchar Default #1089
Replies: 1 comment 2 replies
-
We patched the original printf implementation to make The workaround is to use a custom BSP of course, where you can define it however you want. Note that you can create your own IOStreams with a custom IODeviceWrapper and use the |
Beta Was this translation helpful? Give feedback.
-
I noticed in commit 93af956 that
putchar_()
function was included by default. That definition coincides with my current usage, but I do have plans to separate PRINTF serial port from the logging port down the road ( I suspect I would need to add another PRINTF function to accomplish this, such as here ).Can / should the built-in PUTCHAR_ function be made weak somehow, so it could be replaced if an application needs it?
EDIT: I also just realized that while PUTCHAR_ was added to the CPP file, it was not added to the HPP file. Was that intentional?
Beta Was this translation helpful? Give feedback.
All reactions