# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2020 Linumiz
# Author: Parthiban Nallathambi <parthiban@linumiz.com>
config HAS_XMCLIB
bool
select HAS_CMSIS_CORE
depends on SOC_FAMILY_INFINEON_XMC
if HAS_XMCLIB
config HAS_XMCLIB_UART
help
Enable XMCLIB Universal asynchronous receiver transmitter (UART)
config HAS_XMCLIB_FLASH
Enable XMCLIB Flash
config HAS_XMCLIB_ERU
Enable XMCLIB Event Request Unit (ERU) for GPIO interrupt support
config HAS_XMCLIB_VADC
Enable XMCLIB VADC
config HAS_XMCLIB_DMA
Enable XMCLIB DMA
config HAS_XMCLIB_SPI
Enable XMCLIB SPI
config HAS_XMCLIB_I2C
Enable XMCLIB I2C
config HAS_XMCLIB_CCU
Enable XMCLIB CCU4/CCU8
config HAS_XMCLIB_WDT
Enable XMCLIB WDT
config HAS_XMCLIB_ETH
Enable XMCLIB Ethernet MAC
config HAS_XMCLIB_CAN
Enable XMCLIB CAN
config HAS_XMCLIB_RTC
Enable XMCLIB RTC
endif # HAS_XMCLIB