1# SPDX-License-Identifier: Apache-2.0
2#
3# Copyright (c) 2020 Linumiz
4# Author: Saravanan Sekar <saravanan@linumiz.com>
5
6config HAS_NUMICRO_HAL
7	bool
8	select HAS_CMSIS_CORE
9	depends on SOC_FAMILY_NUMICRO
10
11menu "Nuvoton drivers"
12	depends on HAS_NUMICRO_HAL
13
14config HAS_NUMICRO_UART
15	bool "NuMicro UART"
16	help
17	  Enable Nuvoton Universal asynchronous receiver transmitter HAL
18	  module driver
19
20endmenu
21
22config HAS_NUMAKER_HAL
23	bool
24	select HAS_CMSIS_CORE
25	depends on SOC_FAMILY_NUMAKER
26
27menu "Nuvoton NuMaker drivers"
28	depends on HAS_NUMAKER_HAL
29	config HAS_NUMAKER_UART
30		bool "NuMaker UART"
31		help
32		  Enable Nuvoton Universal asynchronous receiver transmitter HAL
33		  module driver
34	config HAS_NUMAKER_GPIO
35		bool "NuMaker GPIO"
36		help
37		  Enable Nuvoton gpio HAL module driver
38	config HAS_NUMAKER_FMC
39		bool "NuMaker FMC"
40		help
41		  Enable Nuvoton FMC HAL module driver
42	config HAS_NUMAKER_I2C
43		bool "NuMaker I2C"
44		help
45		  Enable Nuvoton I2C HAL module driver
46	config HAS_NUMAKER_SPI
47		bool "NuMaker SPI"
48		help
49		  Enable Nuvoton SPI HAL module driver
50	config HAS_NUMAKER_PWM
51		bool "NuMaker PWM"
52		help
53		  Enable Nuvoton PWM HAL module driver
54	config HAS_NUMAKER_USBD
55		bool "NuMaker USB 1.1 device controller"
56		help
57		  Enable Nuvoton USB 1.1 device controller HAL module driver
58	config HAS_NUMAKER_HSUSBD
59		bool "NuMaker high-speed USB 2.0 device controller"
60		help
61		  Enable Nuvoton high-speed USB 2.0 device controller HAL module driver
62	config HAS_NUMAKER_ETH
63		bool "NuMaker ETH"
64		help
65		  Enable Nuvoton ETH EMAC HAL module driver
66	config HAS_NUMAKER_CANFD
67		bool "NuMaker CAN FD"
68		help
69		  Enable Nuvoton CAN FD HAL module driver
70	config HAS_NUMAKER_ADC
71		bool "NuMaker ADC"
72		help
73		  Enable Nuvoton ADC HAL module driver
74	config HAS_NUMAKER_RMC
75		bool "NuMaker RMC"
76		help
77		  Enable Nuvoton RMC HAL module driver
78	config HAS_NUMAKER_RTC
79		bool "NuMaker RTC"
80		help
81		  Enable Nuvoton RTC HAL module driver
82	config HAS_NUMAKER_TMR
83		bool "NuMaker Timer"
84		help
85		  Enable Nuvoton Timer HAL module driver
86endmenu
87