New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: How to reinitialise UART for mbed_debug? #12351
Comments
Or, is there an object I can use instead of the |
Internal Jira reference: https://jira.arm.com/browse/MBOTRIAGE-2530 |
Hi @amitchone, you may want to check out mbed-os/platform/mbed_retarget.h Lines 115 to 181 in 5863415
It looks like Let me know if you have any other questions. |
Thanks @AGlass0fMilk for the help. I'll close this as this is a question (use forum please). |
Thanks @AGlass0fMilk, |
Description of defect
Hi there,
I am using the
debug()
function to print a bunch of info/error messages when using the debug build profile. Under specific circumstances I instantiate aUARTSerial
object in the follow way, where the TX/RX pins are the same as used for thembed_debug
UART:My question is a simple one. Is there an explicit function call I can make to re-instantiate the UART used by
mbed_debug
after deleting my_serial
object?Thanks,
Adam
Target(s) affected by this defect ?
N/A
Toolchain(s) (name and version) displaying this defect ?
N/A
What version of Mbed-os are you using (tag or sha) ?
5.15.0 - 64853b3
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
ARM Compiler 6.13
Clangd 8.0.1
Mbed Studio 0.8.1
How is this defect reproduced ?
N/A
The text was updated successfully, but these errors were encountered: