-
Notifications
You must be signed in to change notification settings - Fork 2k
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
msp430: add assert header #2440
Conversation
/** | ||
* @see http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/assert.h.html | ||
* | ||
* @todo implement behaviour for NDEBUG defined. |
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.
Reading the docs, you already implemented behaviour for NDEBUG defined?
Addressed comments |
ACK when squashed. |
/** | ||
* @see http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/assert.h.html | ||
* | ||
* @todo implement behaviour for NDEBUG not defined. |
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.
Why not implement the rest right now?
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.
Because I was not sure if abort()
is implemented on msp430
3bb8ab1
to
722a9e7
Compare
Added implementation. Decided to use |
* @def assert | ||
* @see http://pubs.opengroup.org/onlinepubs/9699919799/functions/assert.html | ||
* | ||
* @todo implement behaviour for NDEBUG not defined. |
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.
done?
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.
Yes. Removed this line
Addressed comments |
ACK when squashed. |
d0ed730
to
f00e532
Compare
Squashed. Waiting for travis |
f00e532
to
9077299
Compare
Addressed @LudwigOrtmann's post-ACK comment. Can we merge it now… |
ACK ACK |
|
The
assert()
macro is needed forutlist
(which is used in #2285 and #2404). Therefore we need an implementation ofassert()
.