nkjnm

Dependencies:   MAX44000 nexpaq_mdk

Fork of LED_Demo by Maxim nexpaq

Committer:
nitsshukla
Date:
Fri Nov 04 12:06:04 2016 +0000
Revision:
7:3a65ef12ba31
Parent:
1:55a6170b404f
kghj;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nexpaq 1:55a6170b404f 1 /*
nexpaq 1:55a6170b404f 2 * Version information
nexpaq 1:55a6170b404f 3 *
nexpaq 1:55a6170b404f 4 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
nexpaq 1:55a6170b404f 5 * SPDX-License-Identifier: Apache-2.0
nexpaq 1:55a6170b404f 6 *
nexpaq 1:55a6170b404f 7 * Licensed under the Apache License, Version 2.0 (the "License"); you may
nexpaq 1:55a6170b404f 8 * not use this file except in compliance with the License.
nexpaq 1:55a6170b404f 9 * You may obtain a copy of the License at
nexpaq 1:55a6170b404f 10 *
nexpaq 1:55a6170b404f 11 * http://www.apache.org/licenses/LICENSE-2.0
nexpaq 1:55a6170b404f 12 *
nexpaq 1:55a6170b404f 13 * Unless required by applicable law or agreed to in writing, software
nexpaq 1:55a6170b404f 14 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
nexpaq 1:55a6170b404f 15 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
nexpaq 1:55a6170b404f 16 * See the License for the specific language governing permissions and
nexpaq 1:55a6170b404f 17 * limitations under the License.
nexpaq 1:55a6170b404f 18 *
nexpaq 1:55a6170b404f 19 * This file is part of mbed TLS (https://tls.mbed.org)
nexpaq 1:55a6170b404f 20 */
nexpaq 1:55a6170b404f 21
nexpaq 1:55a6170b404f 22 #if !defined(MBEDTLS_CONFIG_FILE)
nexpaq 1:55a6170b404f 23 #include "mbedtls/config.h"
nexpaq 1:55a6170b404f 24 #else
nexpaq 1:55a6170b404f 25 #include MBEDTLS_CONFIG_FILE
nexpaq 1:55a6170b404f 26 #endif
nexpaq 1:55a6170b404f 27
nexpaq 1:55a6170b404f 28 #if defined(MBEDTLS_VERSION_C)
nexpaq 1:55a6170b404f 29
nexpaq 1:55a6170b404f 30 #include "mbedtls/version.h"
nexpaq 1:55a6170b404f 31 #include <string.h>
nexpaq 1:55a6170b404f 32
nexpaq 1:55a6170b404f 33 unsigned int mbedtls_version_get_number()
nexpaq 1:55a6170b404f 34 {
nexpaq 1:55a6170b404f 35 return( MBEDTLS_VERSION_NUMBER );
nexpaq 1:55a6170b404f 36 }
nexpaq 1:55a6170b404f 37
nexpaq 1:55a6170b404f 38 void mbedtls_version_get_string( char *string )
nexpaq 1:55a6170b404f 39 {
nexpaq 1:55a6170b404f 40 memcpy( string, MBEDTLS_VERSION_STRING,
nexpaq 1:55a6170b404f 41 sizeof( MBEDTLS_VERSION_STRING ) );
nexpaq 1:55a6170b404f 42 }
nexpaq 1:55a6170b404f 43
nexpaq 1:55a6170b404f 44 void mbedtls_version_get_string_full( char *string )
nexpaq 1:55a6170b404f 45 {
nexpaq 1:55a6170b404f 46 memcpy( string, MBEDTLS_VERSION_STRING_FULL,
nexpaq 1:55a6170b404f 47 sizeof( MBEDTLS_VERSION_STRING_FULL ) );
nexpaq 1:55a6170b404f 48 }
nexpaq 1:55a6170b404f 49
nexpaq 1:55a6170b404f 50 #endif /* MBEDTLS_VERSION_C */