L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
Loading...
Searching...
No Matches
app_version.h
Go to the documentation of this file.
1/* USER CODE BEGIN Header */
2/**
3 ******************************************************************************
4 * @file app_version.h
5 * @author MCD Application Team
6 * @brief Definition the version of the application
7 ******************************************************************************
8 * @attention
9 *
10 * Copyright (c) 2026 STMicroelectronics.
11 * All rights reserved.
12 *
13 * This software is licensed under terms that can be found in the LICENSE file
14 * in the root directory of this software component.
15 * If no LICENSE file comes with this software, it is provided AS-IS.
16 *
17 ******************************************************************************
18 */
19/* USER CODE END Header */
20
21/* Define to prevent recursive inclusion -------------------------------------*/
22#ifndef __APP_VERSION_H__
23#define __APP_VERSION_H__
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29/* Includes ------------------------------------------------------------------*/
30
31/* USER CODE BEGIN Includes */
32
33/* USER CODE END Includes */
34
35/* Exported types ------------------------------------------------------------*/
36/* USER CODE BEGIN ET */
37
38/* USER CODE END ET */
39
40/* Exported constants --------------------------------------------------------*/
41#define APP_VERSION_MAIN (0x01U) /*!< [31:24] main version */
42#define APP_VERSION_SUB1 (0x04U) /*!< [23:16] sub1 version */
43#define APP_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
44#define APP_VERSION_RC (0x00U) /*!< [7:0] release candidate */
45
46#define APP_VERSION_MAIN_SHIFT 24 /*!< main byte shift */
47#define APP_VERSION_SUB1_SHIFT 16 /*!< sub1 byte shift */
48#define APP_VERSION_SUB2_SHIFT 8 /*!< sub2 byte shift */
49#define APP_VERSION_RC_SHIFT 0 /*!< release candidate byte shift */
50
51/* USER CODE BEGIN EC */
52
53/* USER CODE END EC */
54
55/* External variables --------------------------------------------------------*/
56/* USER CODE BEGIN EV */
57
58/* USER CODE END EV */
59
60/* Exported macros -----------------------------------------------------------*/
61/**
62 * @brief Application version
63 */
64#define APP_VERSION ((APP_VERSION_MAIN << APP_VERSION_MAIN_SHIFT)\
65 |(APP_VERSION_SUB1 << APP_VERSION_SUB1_SHIFT)\
66 |(APP_VERSION_SUB2 << APP_VERSION_SUB2_SHIFT)\
67 |(APP_VERSION_RC << APP_VERSION_RC_SHIFT))
68
69/* USER CODE BEGIN EM */
70
71/* USER CODE END EM */
72
73/* Exported functions prototypes ---------------------------------------------*/
74/* USER CODE BEGIN EFP */
75
76/* USER CODE END EFP */
77
78#ifdef __cplusplus
79}
80#endif
81
82#endif /*__APP_VERSION_H__*/