commit | affe9ee568cec6945ac13655c6cf69d1b061e22f | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jul 04 11:58:13 2016 -0600 |
committer | Simon Glass <sjg@chromium.org> | Thu Jul 14 20:40:24 2016 -0600 |
tree | 21e3eee7ed96675e87c22bcfc93e0a686923def4 | |
parent | 0dbc72864993c903555dbb4bcb43b08e3e2aafc3 [diff] |
tiny-printf: Support assert() At present assert() is not supported with tiny-printf, so when DEBUG is enabled a build error is generated for each assert(). Add an __assert_fail() function to correct this. It prints a message and then hangs. Signed-off-by: Simon Glass <sjg@chromium.org>