Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| saving_flash_space [2014/10/12 21:56] – [assertions] admin | saving_flash_space [2019/12/04 15:06] (current) – [assertions] admin | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| ====== assertions ====== | ====== assertions ====== | ||
| #define ASSERT(expr) \ | #define ASSERT(expr) \ | ||
| - | | + | |
| - | {} \ | + | {} |
| - | else \ | + | else |
| - | aFailed(F_NUM, | + | aFailed(F_NUM, |
| | | ||
| + | trap() | ||
| + | { | ||
| + | #ifndef NDEBUG | ||
| + | #define _BKPT __ASM(“bkpt 0″) | ||
| + | while(1); | ||
| + | #endif | ||
| + | } | ||
| + | http:// | ||
| + | |||
| + | http:// | ||
| + | |||
| + | http:// | ||
| + | |||
| + | http:// | ||
| + | |||
| + | https:// | ||