Go to the documentation of this file.
65 #if defined (CUSTOM_DEVASSERT)
67 #include CUSTOM_DEVASSERT
68 #elif defined (DEV_ERROR_DETECT)
70 static inline void DevAssert(
volatile bool x)
72 if(x) { }
else {
BKPT_ASM;
for(;;) {} }
74 #define DEV_ASSERT(x) DevAssert(x)
77 #define DEV_ASSERT(x) ((void)0)
#define BKPT_ASM
BKPT_ASM.