-
Notifications
You must be signed in to change notification settings - Fork 3k
mts targets: fix debug() usage #5032
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
Conversation
@0xc0170 Can we also get rid of the macro in targets/TARGET_STM/TARGET_STM32L1/TARGET_XDOT_L151CC/xdot_low_power.c then please? |
Instead of using #if NDEBUG, we can directly invoke debug() function. Fixes ARMmbed#5013
7be8ad6
to
52f8481
Compare
Fixed |
cc @jeromecoutant quick review, as you have touched all these targets |
As @maciejbocianski noticed that will never print anything as |
It's part of the targets config (https://github.com/ARMmbed/mbed-os/blob/master/targets/targets.json#L61). We use this in couple of places at the moment (retarget, error, debug). It should be functional. |
retest uvisor |
Ah yes! it's |
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
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.
Approved by @jeromecoutant
Instead of using #if NDEBUG, we can directly invoke debug() function. Fixes #5013
@janjongboom @sg- @mfiore02