Ulf Magnusson | bd6e044 | 2019-11-01 13:45:29 +0100 | [diff] [blame^] | 1 | # Kinetis KL2x SoC configuration options |
| 2 | |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 3 | # Copyright (c) 2017, NXP |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 4 | # SPDX-License-Identifier: Apache-2.0 |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 5 | |
| 6 | if SOC_MKL25Z4 |
| 7 | |
| 8 | config SOC |
Ulf Magnusson | 3ac3216 | 2018-05-25 21:19:21 +0200 | [diff] [blame] | 9 | default "mkl25z4" |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 10 | |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 11 | config NUM_IRQS |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 12 | default 32 |
| 13 | |
Maureen Helm | db3891f | 2017-06-05 15:37:22 -0500 | [diff] [blame] | 14 | if ADC |
| 15 | |
| 16 | config ADC_MCUX_ADC16 |
Ulf Magnusson | 4638652 | 2018-11-13 17:15:49 +0100 | [diff] [blame] | 17 | default y |
Maureen Helm | db3891f | 2017-06-05 15:37:22 -0500 | [diff] [blame] | 18 | |
| 19 | endif # ADC |
| 20 | |
Maureen Helm | 6312b0e | 2017-08-26 09:22:55 -0500 | [diff] [blame] | 21 | if CLOCK_CONTROL |
| 22 | |
| 23 | config CLOCK_CONTROL_MCUX_SIM |
Ulf Magnusson | 4638652 | 2018-11-13 17:15:49 +0100 | [diff] [blame] | 24 | default y |
Maureen Helm | 6312b0e | 2017-08-26 09:22:55 -0500 | [diff] [blame] | 25 | |
| 26 | endif # CLOCK_CONTROL |
| 27 | |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 28 | if PINMUX |
| 29 | |
| 30 | config PINMUX_MCUX |
Ulf Magnusson | 4638652 | 2018-11-13 17:15:49 +0100 | [diff] [blame] | 31 | default y |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 32 | |
| 33 | endif # PINMUX |
| 34 | |
| 35 | if GPIO |
| 36 | |
| 37 | config GPIO_MCUX |
Ulf Magnusson | 4638652 | 2018-11-13 17:15:49 +0100 | [diff] [blame] | 38 | default y |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 39 | |
| 40 | endif # GPIO |
| 41 | |
| 42 | if SERIAL |
| 43 | |
Kumar Gala | 62d2d36 | 2017-04-26 10:08:23 -0500 | [diff] [blame] | 44 | config UART_MCUX_LPSCI |
Ulf Magnusson | 4638652 | 2018-11-13 17:15:49 +0100 | [diff] [blame] | 45 | default y |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 46 | |
| 47 | endif # SERIAL |
| 48 | |
| 49 | if I2C |
| 50 | |
| 51 | config I2C_MCUX |
Ulf Magnusson | 4638652 | 2018-11-13 17:15:49 +0100 | [diff] [blame] | 52 | default y |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 53 | |
| 54 | endif # I2C |
| 55 | |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 56 | if FLASH |
| 57 | |
| 58 | config SOC_FLASH_MCUX |
Ulf Magnusson | 4638652 | 2018-11-13 17:15:49 +0100 | [diff] [blame] | 59 | default y |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 60 | |
| 61 | endif # FLASH |
| 62 | |
Johann Fischer | 2055b84 | 2018-05-28 18:41:12 +0200 | [diff] [blame] | 63 | if USB |
| 64 | |
| 65 | config USB_KINETIS |
Ulf Magnusson | 4638652 | 2018-11-13 17:15:49 +0100 | [diff] [blame] | 66 | default y |
Johann Fischer | 2055b84 | 2018-05-28 18:41:12 +0200 | [diff] [blame] | 67 | |
| 68 | endif # USB |
| 69 | |
Gustavo Denardin | 32e1563 | 2017-03-31 20:07:45 -0300 | [diff] [blame] | 70 | endif # SOC_MKL25Z |