Add a simple driver for the HC-SR04 ultrasonic distance sensor. Signed-off-by: Adrien Leravat <adrien.leravat@gmail.com>
13 lines
299 B
Plaintext
13 lines
299 B
Plaintext
# HC-SR04 Ultrasound sensor configuration options
|
|
|
|
# Copyright (c) 2024 Adrien Leravat
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config HC_SR04
|
|
bool "HC-SR04 Ultrasound distance sensor"
|
|
default y
|
|
depends on DT_HAS_HC_SR04_ENABLED
|
|
depends on GPIO
|
|
help
|
|
Enable driver for HC-SR04 distance sensor.
|