zephyr/drivers/counter/Kconfig.maxim_ds3231
Anas Nashif a5bd666f4e lib: notify: build sys-notify conditionally.
Add a new Kconfig and build this code conditionally, so we do not end up
with this file being built for each zephyr app.

Partial fix for #50654

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-10-03 10:18:15 +02:00

15 lines
310 B
Plaintext

# Copyright (c) 2019 Peter Bigot Consulting, LLC
#
# SPDX-License-Identifier: Apache-2.0
#
config COUNTER_MAXIM_DS3231
bool "Maxim DS3231 RTC/TCXO"
default y
depends on DT_HAS_MAXIM_DS3231_ENABLED
depends on I2C
select POLL
select NOTIFY
help
Enable counter driver based on Maxim DS3231 I2C device.