C Microkernel Realtime eXecutive
Realtime Operating System for Cortex-M based microcontrollers
 
Loading...
Searching...
No Matches
assert.h
1#pragma once
2
3#ifndef NDEBUG
4# define ASSERT(cond) \
5if (!(cond)) \
6{\
7 asm volatile("BKPT 0xFF\n\t");\
8 __builtin_unreachable();\
9}
10#else
11# define ASSERT(cond)
12#endif
13