1# Copyright (c) 2024 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/comparator.h) 5 6zephyr_library() 7 8zephyr_library_sources_ifdef(CONFIG_USERSPACE comparator_handlers.c) 9zephyr_library_sources_ifdef(CONFIG_COMPARATOR_FAKE_COMP comparator_fake_comp.c) 10zephyr_library_sources_ifdef(CONFIG_COMPARATOR_MCUX_ACMP comparator_mcux_acmp.c) 11zephyr_library_sources_ifdef(CONFIG_COMPARATOR_NRF_COMP comparator_nrf_comp.c) 12zephyr_library_sources_ifdef(CONFIG_COMPARATOR_NRF_LPCOMP comparator_nrf_lpcomp.c) 13zephyr_library_sources_ifdef(CONFIG_COMPARATOR_SHELL comparator_shell.c) 14