Skip to content
  • Simon Glass's avatar
    tiny-printf: Support assert() · e2409139
    Simon Glass authored
    
    
    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: default avatarSimon Glass <sjg@chromium.org>
    e2409139