1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-01 02:07:11 +01:00
Files
u-boot-megous/lib/tiny-printf.c
Simon Glass e24091398d 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>
2016-07-14 20:40:24 -06:00

3.2 KiB