O7/Core/Inc/sys_conf.h

113 lines
3.1 KiB
C

/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file sys_conf.h
* @author MCD Application Team
* @brief Applicative configuration, e.g. : debug, trace, low power, sensors
******************************************************************************
* @attention
*
* Copyright (c) 2021 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* USER CODE END Header */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __SYS_CONF_H__
#define __SYS_CONF_H__
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
/* Exported types ------------------------------------------------------------*/
/* USER CODE BEGIN ET */
/* USER CODE END ET */
/* Exported constants --------------------------------------------------------*/
/**
* @brief Temperature and pressure values are retrieved from sensors shield
* (instead of sending dummy values). It requires MEMS IKS shield
*/
#define SENSOR_ENABLED 0
/**
* @brief Verbose level for all trace logs
* #define VLEVEL_L 1 just essential traces
* #define VLEVEL_M 2 functional traces
* #define VLEVEL_H 3 all traces
*/
#define VERBOSE_LEVEL VLEVEL_L
/**
* @brief Enable trace logs
*/
#define APP_LOG_ENABLED 1
/**
* @brief Activate monitoring (probes) of some internal RF signals for debug purpose
*/
#define DEBUG_SUBGHZSPI_MONITORING_ENABLED 0
#define DEBUG_RF_NRESET_ENABLED 0
#define DEBUG_RF_HSE32RDY_ENABLED 0
#define DEBUG_RF_SMPSRDY_ENABLED 0
#define DEBUG_RF_LDORDY_ENABLED 0
#define DEBUG_RF_DTB1_ENABLED 0
#define DEBUG_RF_BUSY_ENABLED 0
/**
* @brief Enable/Disable MCU Debugger pins (dbg serial wires)
* @note by HW serial wires are ON by default, need to put them OFF to save power
*/
#define DEBUGGER_ENABLED 0
/**
* @brief Disable Low Power mode
* @note 0: LowPowerMode enabled. MCU enters stop2 mode, 1: LowPowerMode disabled. MCU enters sleep mode only
*/
#define LOW_POWER_DISABLE 1
/* USER CODE BEGIN EC */
/* USER CODE END EC */
/* External variables --------------------------------------------------------*/
/* USER CODE BEGIN EV */
/* USER CODE END EV */
/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */
/* USER CODE END EM */
/* Exported functions prototypes ---------------------------------------------*/
/* USER CODE BEGIN EFP */
/* USER CODE END EFP */
#ifdef __cplusplus
}
#endif
#endif /* __SYS_CONF_H__ */