2018-09-16 20:10:06 -07:00
|
|
|
/*
|
|
|
|
* @file common_headers.h
|
|
|
|
*
|
2018-12-25 13:06:24 -08:00
|
|
|
* Header file shared between firmware, simulator and unit_tests
|
|
|
|
*
|
2018-09-16 20:10:06 -07:00
|
|
|
* @date Sep 16, 2018
|
2020-01-13 18:57:43 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
2018-09-16 20:10:06 -07:00
|
|
|
*/
|
|
|
|
|
2020-03-28 16:49:36 -07:00
|
|
|
#pragma once
|
2018-09-16 20:10:06 -07:00
|
|
|
|
2019-04-04 20:03:32 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
#define EXTERNC extern "C"
|
|
|
|
#else
|
|
|
|
#define EXTERNC
|
|
|
|
#endif
|
|
|
|
|
2018-09-16 20:10:06 -07:00
|
|
|
#include "efifeatures.h"
|
2018-12-08 13:06:14 -08:00
|
|
|
#include "rusefi_types.h"
|
2018-09-16 20:10:06 -07:00
|
|
|
|
|
|
|
#include <math.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include "auto_generated_enums.h"
|
2021-07-12 18:21:43 -07:00
|
|
|
#include "auto_generated_commonenum.h"
|
2021-10-23 19:07:07 -07:00
|
|
|
#include "auto_generated_enginetypes.h"
|
2018-09-16 20:10:06 -07:00
|
|
|
#include "efilib.h"
|
|
|
|
#include "efitime.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#include "datalogging.h"
|
2019-09-18 18:38:45 -07:00
|
|
|
#include "cli_registry.h"
|
2018-09-16 20:10:06 -07:00
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2020-05-22 13:36:37 -07:00
|
|
|
#ifndef FIRMWARE_ID
|
|
|
|
#define FIRMWARE_ID "source"
|
|
|
|
#endif
|