blob: 39f30d12c72d26e3b08a9f881d84151260a1832a [file] [log] [blame]
/*
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <debug.h>
/*
* This is a basic implementation. This could be improved.
*/
void __assert (const char *function, const char *file, unsigned int line,
const char *assertion)
{
mp_printf("ASSERT: %s <%d> : %s\n", function, line, assertion);
while (1);
}