L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
Loading...
Searching...
No Matches
mysensors_def.h
Go to the documentation of this file.
1/*
2 * mysensors_def.h
3 * Compile-time feature flags: selects which sensors are included in the build
4 * and enables optional subsystems such as the logging facility.
5 *
6 * Disabling a sensor removes its driver and reduces the persistent data
7 * structure size; this requires a memory reset to avoid data corruption.
8 *
9 * Created on: 24. 2. 2026
10 * Author: Milan
11 */
12
13#ifndef INC_MYSENSORS_DEF_H_
14#define INC_MYSENSORS_DEF_H_
15
16/**
17 * @brief Enable the UART logging system.
18 * When defined, writeLog() and related macros emit debug messages
19 * over UART1. Comment out to suppress all log output and reduce
20 * code size.
21 */
22#define WRITELOG
23
24/**
25 * @defgroup SensorEnables Compile-time sensor enable flags
26 * @{
27 * Define the symbol to include the corresponding sensor driver.
28 * Commenting out a symbol removes the driver from the build AND changes
29 * the size of the persistent sensor data record stored in external flash.
30 * Any such change MUST be accompanied by a memory reset (clearFlash()).
31 */
32
33/** @brief Enable SHT45 temperature and humidity sensor driver. */
34#define SENSOR_SHT45
35
36/** @brief Enable TSL2591 ambient light sensor driver. */
37#define SENSOR_AMB_TSL2591
38
39/** @brief Enable ILPS22QS barometric pressure sensor driver. */
40#define SENSOR_BAR_ILS22QS
41
42/** @brief Enable BMP585 barometric pressure sensor driver. */
43#define SENSOR_BAR_BMP585
44
45/** @brief Enable SCD41 CO2 / temperature / humidity sensor driver. */
46#define SENSOR_SCD41
47
48/** @brief Enable SPS30 particulate matter sensor driver. */
49#define SENSOR_SPS30
50
51/** @} */
52
53#endif /* INC_MYSENSORS_DEF_H_ */