建立工程,成功创建两个虚拟串口
This commit is contained in:
27
source/OpenAMP/libmetal/lib/version.c
Normal file
27
source/OpenAMP/libmetal/lib/version.c
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (c) 2015, Xilinx Inc. and Contributors. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <metal/config.h>
|
||||
|
||||
int metal_ver_major(void)
|
||||
{
|
||||
return METAL_VER_MAJOR;
|
||||
}
|
||||
|
||||
int metal_ver_minor(void)
|
||||
{
|
||||
return METAL_VER_MINOR;
|
||||
}
|
||||
|
||||
int metal_ver_patch(void)
|
||||
{
|
||||
return METAL_VER_PATCH;
|
||||
}
|
||||
|
||||
const char *metal_ver(void)
|
||||
{
|
||||
return METAL_VER;
|
||||
}
|
Reference in New Issue
Block a user