You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MBED_ASSERT() is available and will print the information you are looking for plus a bit of extra OS level information.
I looked into creating an assert() shell function for this, but it felt a bit like I was just creating unnecessary confusion since the MBED_ASSERT function is available.
I can't find much online about people using assert with arduino, and I don't think it is considered part of the standard API, so I think I will close this as is. Let me know if you think it deserves a re-open.
I am using the core v1 in its latest version. I cannot use the core v2 for my application, due to the problems mentioned in #347 and #349 .
I am trying to get some asserts to display some information when hitting a false condition. I try to follow the "usual" arduino way:
This aborts correctly (i.e.
this should not appear
is not printed), but I do not get any of the assert informations as described in__assert
.The text was updated successfully, but these errors were encountered: