/************************************************************************** * * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file DGCommon.h * * @author (last) Sean Nash * @date (last) 04-Aug-2020 * * @author (original) Sean * @date (original) 27-Feb-2020 * ***************************************************************************/ #ifndef __DG_COMMON_H__ #define __DG_COMMON_H__ #include "hal_stdtypes.h" // ********** version ********** #define DG_VERSION_MAJOR 0 #define DG_VERSION_MINOR 4 #define DG_VERSION_MICRO 5 #define DG_VERSION_BUILD 15 // ********** build switches ********** #ifndef _RELEASE_ #ifndef _VECTORCAST_ // TODO: Removed debug build flags when release build is ready // #define RM46_EVAL_BOARD_TARGET 1 // #define SIMULATE_UI 1 // #define TASK_TIMING_OUTPUT_ENABLED 1 // re-purposes drain pump enable pin for task timing // #define DISABLE_HEATERS_AND_TEMPS 1 #define DISABLE_ACCELS 1 #define SKIP_POST 1 // #define ENABLE_DIP_SWITCHES 1 // #define EMC_TEST_BUILD 1 #define ALARMS_DEBUG 1 // #define HEATERS_DEBUG 1 // #define PRESSURES_DEBUG 1 #define DISABLE_DIALYSATE_CHECK 1 #include #include #endif #endif #include "Common.h" /** * @defgroup CommonDGHeader CommonDGHeader * @brief Provides commonly used definitions and macros for DG firmware. * * @addtogroup CommonDGHeader * @{ */ // **** Common Definitions **** // **** Common Macros **** /**@}*/ // **** VectorCAST Definitions **** #ifdef _VECTORCAST_ #endif #endif