Skip to content

Commit ad233cb

Browse files
author
oclyke
committed
Create am_sdk_version.h
1 parent c860d98 commit ad233cb

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
//*****************************************************************************
2+
//
3+
// am_sdk_version.h
4+
//! @file
5+
//!
6+
//! @brief Defines SDK version.
7+
//!
8+
//
9+
//*****************************************************************************
10+
11+
//*****************************************************************************
12+
//
13+
// Copyright (c) 2020, Ambiq Micro
14+
// All rights reserved.
15+
//
16+
// Redistribution and use in source and binary forms, with or without
17+
// modification, are permitted provided that the following conditions are met:
18+
//
19+
// 1. Redistributions of source code must retain the above copyright notice,
20+
// this list of conditions and the following disclaimer.
21+
//
22+
// 2. Redistributions in binary form must reproduce the above copyright
23+
// notice, this list of conditions and the following disclaimer in the
24+
// documentation and/or other materials provided with the distribution.
25+
//
26+
// 3. Neither the name of the copyright holder nor the names of its
27+
// contributors may be used to endorse or promote products derived from this
28+
// software without specific prior written permission.
29+
//
30+
// Third party software included in this distribution is subject to the
31+
// additional license terms as defined in the /docs/licenses directory.
32+
//
33+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
34+
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
35+
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
36+
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
37+
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
38+
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
39+
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
40+
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
41+
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
42+
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
43+
// POSSIBILITY OF SUCH DAMAGE.
44+
//
45+
// This is part of revision 2.4.2 of the AmbiqSuite Development Package.
46+
//
47+
//*****************************************************************************
48+
#ifndef AM_SDK_VERSION_H
49+
#define AM_SDK_VERSION_H
50+
51+
#ifdef __cplusplus
52+
extern "C"
53+
{
54+
#endif
55+
56+
//*****************************************************************************
57+
//
58+
// Macros to define HAL SDK version.
59+
//
60+
//*****************************************************************************
61+
//
62+
// Define the current HAL version.
63+
//
64+
#ifndef AM_HAL_VERSION_MAJ
65+
#define AM_HAL_VERSION_MAJ 2
66+
#define AM_HAL_VERSION_MIN 4
67+
#define AM_HAL_VERSION_REV 2
68+
#endif // AM_HAL_VERSION_MAJ
69+
70+
#ifdef __cplusplus
71+
}
72+
#endif
73+
74+
#endif // AM_SDK_VERSION_H

0 commit comments

Comments
 (0)