 |
S32 SDK
|
Go to the documentation of this file.
66 #if defined (CUSTOM_DEVASSERT)
68 #include CUSTOM_DEVASSERT
69 #elif defined (DEV_ERROR_DETECT)
71 static inline void DevAssert(
volatile bool x)
73 if(x) { }
else { __asm(
"BKPT #0\n\t");
for(;;) {} }
75 #define DEV_ASSERT(x) DevAssert(x)
78 #define DEV_ASSERT(x) ((void)0)