Mod aaa-12 更新demo工程模板

RCA:
SOL:
修改人:huangxin
检视人:huangxin
This commit is contained in:
黄昕 2019-06-19 14:21:51 +08:00
parent 1cbcaf062c
commit 6ed6f48f81
4 changed files with 71 additions and 68 deletions

View File

@ -1,11 +1,11 @@
/* This file is auto generated,for vBRAS version info */
/* This file is auto generated,for sGATE version info */
/* Used readelf to get this information form driver of application */
/* "readelf --debug-dump=macro <filename>" */
#define vBRAS_COMPILE_DATE "2019-05-30"
#define vBRAS_COMPILE_TIME "14:14:26"
#define vBRAS_COMPILE_MAJOR "20190530"
#define vBRAS_COMPILE_SUB "141426"
#define vBRAS_COMPILE_BY "hx"
#define vBRAS_COMPILE_HOST "esgwdev01"
#define vBRAS_GIT_TAGS ""
#define vBRAS_GIT_VERS ""
#define sGATE_COMPILE_DATE "2019-06-19"
#define sGATE_COMPILE_TIME "14:18:13"
#define sGATE_COMPILE_MAJOR "20190619"
#define sGATE_COMPILE_SUB "141813"
#define sGATE_COMPILE_BY "hx"
#define sGATE_COMPILE_HOST "esgwdev01"
#define sGATE_GIT_TAGS "c0ad51e6f-dev"
#define sGATE_GIT_VERS "c0ad51e6f27589e51268ec92a14ee1cb701a2d5f"

10
Product/user/demo/main.c Executable file → Normal file
View File

@ -6,20 +6,18 @@
/**
* @brief
* @note
* @param argc:
* @param **argv:
* @retval 0
* @param argc
* @param argv
* @return 0
*/
int main(int argc, char **argv)
{
int c, optidx = 0;
opterr = 0;
static struct option long_opts[] = {
{ "help", 0, 0, 'h' },
{ "version", 0, 0, 'v' },
// TODO 添加其它需要处理的参数配置
{ 0, 0, 0, 0 }
{NULL, 0, 0, 0}
};
while((c = getopt_long(argc, argv, "hv", long_opts, &optidx)) != -1)

View File

@ -1,5 +1,10 @@
#include <stdio.h>
/**
* @brief Get the version object
*
* @return const char*
*/
const char* get_version(void)
{
return "0.0.0.2";