mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-19 17:35:21 +00:00
Update ALERT active level in all devicetree files. Capture GPIO flags in static configuration. Add internal API to enable and disable interrupt, to release the handlers when an alert occurs, and to re-enable the signal when the handler completes. Check for alerts received during periods when the interrupt was disabled. Extend the example to handle both above and below range triggers and alerts that are present on startup. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
14 lines
244 B
Plaintext
14 lines
244 B
Plaintext
#
|
|
# Copyright (c) 2019 Peter Bigot Consulting, LLC
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
CONFIG_STDOUT_CONSOLE=y
|
|
CONFIG_I2C=y
|
|
CONFIG_SENSOR=y
|
|
CONFIG_SHT3XD=y
|
|
CONFIG_LOG=y
|
|
CONFIG_SENSOR_LOG_LEVEL_DBG=y
|
|
CONFIG_SHT3XD_TRIGGER_GLOBAL_THREAD=y
|