Files
LFP_48V_mBMS_FW/mBMS_APP_V3117/APP/app_ver.h

47 lines
1.6 KiB
C

/*
*********************************************************************************************************
* EXAMPLE CODE
*
* (c) Copyright 2003-2007; Micrium, Inc.; Weston, FL
*
* All rights reserved. Protected by international copyright laws.
* Knowledge of the source code may NOT be used to develop a similar product.
* Please help us continue to provide the Embedded community with the finest
* software available. Your honesty is greatly appreciated.
*********************************************************************************************************
*/
/*
*********************************************************************************************************
*
* APPLICATION CONFIGURATION
*
* ST Microelectronics STM32
* with the
* IAR STM32-SK Evaluation Board
*
* Filename : app_cfg.h
* Version : V1.00
* Programmer(s) : FT
*********************************************************************************************************
*/
#ifndef __APP_VER_H__
#define __APP_VER_H__
#include <stm32f4xx.h>
#define BD_MODEL "mBMS\0"
#define DEV_SECRET_SIG 0x57 // 'W'
#define DEV_HW_TYPE 0x11 // 0x11: V1 (STM32F407 + PL455), 0x22: V2, 0x33: V3
#define DEV_BUILD_REV 0x02 // R402
void GetAppVersion(u8 *ver);
void APPVerDisplay(void);
void GET_BUILD_DATETIME(u8 *datetime);
u16 GetAppVersionStr(u8 *vStr);
#endif