Skip to content

Conversation

@MariuszSkamra
Copy link
Contributor

This adds M_CHECKIF macro that does runtime checks or, if compiled with OS_ASSERT_ON_ERRORS option runtime asserts.
OS_NO_RUNTIME_CHECKS option disables any runtime checks or asserts. The code has been copied from Zephyr and adjusted for MyNewt.

@MariuszSkamra
Copy link
Contributor Author

@kasjer ^^

This adds M_CHECKIF macro that does runtime checks or, if compiled
with OS_ASSERT_ON_ERRORS option runtime asserts.
OS_NO_RUNTIME_CHECKS option disables any runtime checks or asserts.
The code has been copied from Zephyr and adjusted for MyNewt.

Signed-off-by: MariuszSkamra <mariusz.skamra@codecoup.pl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants