blob: e45e18d603d9cb136f4e047a647b20fe0d202141 [file] [log] [blame]
#pragma once
/**
* @file hei_user_defines.hpp
* @brief The purpose of this file is to provide defines that are required by
* the hardware error isolator library (libhei)
*/
#include <assert.h>
#include <inttypes.h>
#include <stdio.h>
#define HEI_INF(...) \
{ \
printf("HWDIAGS I> " __VA_ARGS__); \
printf("\n"); \
}
#define HEI_ERR(...) \
{ \
printf("HWDIAGS E> " __VA_ARGS__); \
printf("\n"); \
}
#define HEI_ASSERT(expression) assert(expression);