-
Notifications
You must be signed in to change notification settings - Fork 3k
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
STM32 wrong MBED_ASSERT use #7775
Conversation
/morph build |
Build : SUCCESSBuild number : 2842 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 2470 |
Test : SUCCESSBuild number : 2594 |
/morph uvisor-test |
CI passed, but only one review @0xc0170 does this need another review or is it ready for merge? |
STM32 wrong MBED_ASSERT use
I don't know how we can send characters though UART if we have no clock... I think |
What is the difference? both print, so in the case of failures nothing is being reported for both or ? |
Yes you're right, even MBED_ASSERT(0) will do nothing as there is no clock at all running. Nothing can be done at this point I think... |
Description
In all SetSysClock functions, when system clock configuration is failing, we go into :
MBED_ASSERT(1)
which will actually never assert...
Code is then replaced by the error macro
Thx @mattbrown015
Pull request type