Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
bb61410d5This file is pinned to the selected release. Download the original to open it in your design tool.
/* 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 VERBOSE_LEVEL VLEVEL_M
/**
* @brief Enable trace logs
*/
#define APP_LOG_ENABLED 0
/**
* @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 0
/* USER CODE BEGIN EC */
/* SCD41 sensor support -----------------------------------------------------*/
#ifndef SCD41_ENABLED
#define SCD41_ENABLED 1
#endif
/* I2C2 bus configuration is generated by CubeMX in Core/Src/i2c.c */
#define SCD41_I2C_TIMEOUT_MS 100U
/* Single-shot timing from SCD41 datasheet */
#define SCD41_WAKEUP_DELAY_MS 30U
#define SCD41_SINGLE_SHOT_WAIT_MS 5000U
#define SCD41_SINGLE_SHOT_RHT_WAIT_MS 50U
/* SCD41 runtime configuration */
#define SCD41_TEMPERATURE_OFFSET_C_X100 0U
#define SCD41_SENSOR_ALTITUDE_M 0U
#define SCD41_AMBIENT_PRESSURE_MBAR 0U
#define SCD41_ASC_ENABLED 0U
#define SCD41_PERSIST_SETTINGS 0U
/* 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__ */