blob: e45e18d603d9cb136f4e047a647b20fe0d202141 [file] [log] [blame]
Ben Tyner9ae5ca42020-02-28 13:13:50 -06001#pragma once
2
3/**
4 * @file hei_user_defines.hpp
5 * @brief The purpose of this file is to provide defines that are required by
6 * the hardware error isolator library (libhei)
7 */
8
9#include <assert.h>
10#include <inttypes.h>
11#include <stdio.h>
12
13#define HEI_INF(...) \
14 { \
15 printf("HWDIAGS I> " __VA_ARGS__); \
16 printf("\n"); \
17 }
18
19#define HEI_ERR(...) \
20 { \
21 printf("HWDIAGS E> " __VA_ARGS__); \
22 printf("\n"); \
23 }
24
25#define HEI_ASSERT(expression) assert(expression);