FLEX-FORD-OBC-BM/Source/bsw/FblAsrStubs/v_cfg.h

100 lines
3.4 KiB
C
Raw Normal View History

2026-03-19 11:49:16 +01:00
/***********************************************************************************************************************
* FILE DESCRIPTION
* ------------------------------------------------------------------------------------------------------------------*/
/** \file
* \brief v_cfg stub for flash bootloader
*
* --------------------------------------------------------------------------------------------------------------------
* COPYRIGHT
* --------------------------------------------------------------------------------------------------------------------
* \par Copyright
* \verbatim
* Copyright (c) 2024 by Vector Informatik GmbH. All rights reserved.
*
* This software is copyright protected and proprietary to Vector Informatik GmbH.
* Vector Informatik GmbH grants to you only those rights as set out in the license conditions.
* All other rights remain with Vector Informatik GmbH.
* \endverbatim
*/
/**********************************************************************************************************************/
/**********************************************************************************************************************
* REVISION HISTORY
* -------------------------------------------------------------------------------------------------------------------
* Refer to the module's header file.
**********************************************************************************************************************/
#ifndef V_CFG_H
#define V_CFG_H
/***********************************************************************************************************************
* INCLUDES
**********************************************************************************************************************/
#include "Platform_Types.h"
/***********************************************************************************************************************
* DEFINES
**********************************************************************************************************************/
#ifndef V_GEN_GENERATOR_MSR
# define V_GEN_GENERATOR_MSR
#endif
#if defined( CPU_TYPE_64 )
# if (CPU_TYPE == CPU_TYPE_64)
# if !defined( C_CPUTYPE_64BIT )
# define C_CPUTYPE_64BIT
# endif
# endif
#endif
#if (CPU_TYPE == CPU_TYPE_32)
# if !defined( C_CPUTYPE_32BIT )
# define C_CPUTYPE_32BIT
# endif
#endif
#if (CPU_TYPE == CPU_TYPE_16)
# if !defined( C_CPUTYPE_16BIT )
# define C_CPUTYPE_16BIT
# endif
#endif
#if (CPU_TYPE == CPU_TYPE_8)
# if !defined( C_CPUTYPE_8BIT )
# define C_CPUTYPE_8BIT
# endif
#endif
#if (CPU_BIT_ORDER == LSB_FIRST)
# if !defined( C_CPUTYPE_BITORDER_LSB2MSB )
# define C_CPUTYPE_BITORDER_LSB2MSB
# endif
#endif
#if (CPU_BIT_ORDER == MSB_FIRST)
# if !defined( C_CPUTYPE_BITORDER_MSB2LSB )
# define C_CPUTYPE_BITORDER_MSB2LSB
# endif
#endif
#if (CPU_BYTE_ORDER == LOW_BYTE_FIRST)
# if !defined( C_CPUTYPE_LITTLEENDIAN )
# define C_CPUTYPE_LITTLEENDIAN
# endif
#endif
#if (CPU_BYTE_ORDER == HIGH_BYTE_FIRST)
# if !defined( C_CPUTYPE_BIGENDIAN )
# define C_CPUTYPE_BIGENDIAN
# endif
#endif
#endif /* V_CFG_H */
/***********************************************************************************************************************
* END OF FILE: V_CFG.H
**********************************************************************************************************************/