saving_flash_space

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
saving_flash_space [2014/10/12 22:20] – [assertions] adminsaving_flash_space [2019/12/04 15:06] (current) – [assertions] admin
Line 13: Line 13:
 ====== assertions ====== ====== assertions ======
   #define ASSERT(expr) \   #define ASSERT(expr) \
-  if (expr) \ +  if (expr)            
-      {}    +      {}               
-  else      \+  else                 \
       aFailed(F_NUM, __LINE__)        aFailed(F_NUM, __LINE__) 
                  
Line 30: Line 30:
 http://blog.frankvh.com/2011/12/07/cortex-m3-m4-hard-fault-handler/ http://blog.frankvh.com/2011/12/07/cortex-m3-m4-hard-fault-handler/
  
 +http://www.drdobbs.com/an-exception-or-a-bug/184401686
  
 +http://www.embedded.com/electronics-blogs/other/4023329/Assert-Yourself
  
 +https://interrupt.memfault.com/blog/asserts-in-embedded-systems
  • saving_flash_space.1413152420.txt.gz
  • Last modified: 12 years ago
  • by admin