L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
Loading...
Searching...
No Matches
sys_conf.h
Go to the documentation of this file.
1/* USER CODE BEGIN Header */
2/**
3 ******************************************************************************
4 * @file sys_conf.h
5 * @author MCD Application Team
6 * @brief Applicative configuration, e.g. : debug, trace, low power, sensors
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 __SYS_CONF_H__
23#define __SYS_CONF_H__
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29/* Includes ------------------------------------------------------------------*/
30/* USER CODE BEGIN Includes */
31
32/* USER CODE END Includes */
33
34/* Exported types ------------------------------------------------------------*/
35/* USER CODE BEGIN ET */
36
37/* USER CODE END ET */
38
39/* Exported constants --------------------------------------------------------*/
40
41/**
42 * @brief Temperature and pressure values are retrieved from sensors shield
43 * (instead of sending dummy values). It requires MEMS IKS shield
44 */
45#define SENSOR_ENABLED 0
46
47/**
48 * @brief Verbose level for all trace logs
49 */
50#define VERBOSE_LEVEL VLEVEL_M
51
52/**
53 * @brief Enable trace logs
54 */
55#define APP_LOG_ENABLED 0
56
57/**
58 * @brief Activate monitoring (probes) of some internal RF signals for debug purpose
59 */
60#define DEBUG_SUBGHZSPI_MONITORING_ENABLED 0
61
62#define DEBUG_RF_NRESET_ENABLED 0
63
64#define DEBUG_RF_HSE32RDY_ENABLED 0
65
66#define DEBUG_RF_SMPSRDY_ENABLED 0
67
68#define DEBUG_RF_LDORDY_ENABLED 0
69
70#define DEBUG_RF_DTB1_ENABLED 0
71
72#define DEBUG_RF_BUSY_ENABLED 0
73
74/**
75 * @brief Enable/Disable MCU Debugger pins (dbg serial wires)
76 * @note by HW serial wires are ON by default, need to put them OFF to save power
77 */
78#define DEBUGGER_ENABLED 1
79
80/**
81 * @brief Disable Low Power mode
82 * @note 0: LowPowerMode enabled. MCU enters stop2 mode, 1: LowPowerMode disabled. MCU enters sleep mode only
83 */
84#define LOW_POWER_DISABLE 0
85
86/* USER CODE BEGIN EC */
87
88/* USER CODE END EC */
89
90/* External variables --------------------------------------------------------*/
91/* USER CODE BEGIN EV */
92
93/* USER CODE END EV */
94
95/* Exported macro ------------------------------------------------------------*/
96/* USER CODE BEGIN EM */
97
98/* USER CODE END EM */
99
100/* Exported functions prototypes ---------------------------------------------*/
101/* USER CODE BEGIN EFP */
102
103/* USER CODE END EFP */
104
105#ifdef __cplusplus
106}
107#endif
108
109#endif /* __SYS_CONF_H__ */