1# SPDX-License-Identifier: Apache-2.0
2#
3# Copyright (c) 2020 Linumiz
4# Author: Parthiban Nallathambi <parthiban@linumiz.com>
5
6config HAS_XMCLIB
7	bool
8	select HAS_CMSIS_CORE
9	depends on SOC_FAMILY_INFINEON_XMC
10
11if HAS_XMCLIB
12
13config HAS_XMCLIB_UART
14	bool
15	help
16	  Enable XMCLIB Universal asynchronous receiver transmitter (UART)
17
18config HAS_XMCLIB_FLASH
19	bool
20	help
21	  Enable XMCLIB Flash
22
23config HAS_XMCLIB_ERU
24	bool
25	help
26	  Enable XMCLIB Event Request Unit (ERU) for GPIO interrupt support
27
28config HAS_XMCLIB_VADC
29	bool
30	help
31	  Enable XMCLIB VADC
32
33config HAS_XMCLIB_DMA
34	bool
35	help
36	  Enable XMCLIB DMA
37
38config HAS_XMCLIB_SPI
39	bool
40	help
41	  Enable XMCLIB SPI
42
43config HAS_XMCLIB_I2C
44	bool
45	help
46	  Enable XMCLIB I2C
47
48config HAS_XMCLIB_CCU
49	bool
50	help
51	  Enable XMCLIB CCU4/CCU8
52
53config HAS_XMCLIB_WDT
54	bool
55	help
56	  Enable XMCLIB WDT
57
58config HAS_XMCLIB_ETH
59	bool
60	help
61	  Enable XMCLIB Ethernet MAC
62
63config HAS_XMCLIB_CAN
64	bool
65	help
66	  Enable XMCLIB CAN
67
68endif # HAS_XMCLIB
69