You can configure the Environmental module with the following Kconfig options:
- CONFIG_APP_ENVIRONMENTAL: Enables the Environmental module.
- CONFIG_APP_ENVIRONMENTAL_THREAD_STACK_SIZE: Size of the stack for the Environmental module's thread.
- CONFIG_APP_ENVIRONMENTAL_WATCHDOG_TIMEOUT_SECONDS: Defines the watchdog timeout for the Environmental module.
- CONFIG_APP_ENVIRONMENTAL_MSG_PROCESSING_TIMEOUT_SECONDS: Maximum time allowed for processing a single message.
- CONFIG_APP_ENVIRONMENTAL_LOG_LEVEL_INF, _ERR, _WRN, and _DBG: Control the logging level for the Environmental module.
For more information about the Kconfig options, see the Kconfig.environmental file in the module's directory.