rusefi/firmware/global.h

29 lines
593 B
C

/*
* global.h
*
* @date May 27, 2013
* @author Andrey Belomutskiy, (c) 2012-2014
*/
#ifndef GLOBAL_H_
#define GLOBAL_H_
#include <ch.h>
#include <hal.h>
#include <time.h>
#include <string.h>
#include "rusefi_enums.h"
#include "obd_error_codes.h"
#include "error_handling.h"
/* definition to expand macro then apply to pragma message */
#define VALUE_TO_STRING(x) #x
#define VALUE(x) VALUE_TO_STRING(x)
#define VAR_NAME_VALUE(var) #var "=" VALUE(var)
// project-wide default thread stack size
#define UTILITY_THREAD_STACK_SIZE 384
#endif /* GLOBAL_H_ */