-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch: nxp_kinetis: initial import KW2XD SiP
Jira: ZEP-1471 Signed-off-by: Johann Fischer <[email protected]>
- Loading branch information
1 parent
24a4bc2
commit af1a8fc
Showing
8 changed files
with
812 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# Kconfig - Kinetis KW2xD SoC configuration options | ||
# | ||
# Copyright (c) 2017, Phytec Messtechnik GmbH | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
if SOC_MKW22D5 || SOC_MKW24D5 | ||
|
||
if SOC_MKW22D5 | ||
|
||
config SOC | ||
string | ||
default mkw22d5 | ||
|
||
endif # SOC_MKW22D5 | ||
|
||
if SOC_MKW24D5 | ||
|
||
config SOC | ||
string | ||
default mkw24d5 | ||
|
||
endif # SOC_MKW24D5 | ||
|
||
config NUM_IRQS | ||
int | ||
default 65 | ||
|
||
if ADC | ||
|
||
config ADC_MCUX_ADC16 | ||
def_bool y | ||
|
||
endif # ADC | ||
|
||
if PINMUX | ||
|
||
config PINMUX_MCUX | ||
def_bool y | ||
|
||
endif # PINMUX | ||
|
||
if GPIO | ||
|
||
config GPIO_MCUX | ||
def_bool y | ||
|
||
endif # GPIO | ||
|
||
if I2C | ||
|
||
config I2C_MCUX | ||
def_bool y | ||
|
||
endif # I2C | ||
|
||
config SPI | ||
def_bool y | ||
|
||
if PWM | ||
|
||
config PWM_MCUX_FTM | ||
def_bool y | ||
|
||
endif # PWM | ||
|
||
if SPI | ||
|
||
config SPI_MCUX_DSPI | ||
def_bool y | ||
|
||
endif # SPI | ||
|
||
if RANDOM_GENERATOR | ||
|
||
config RANDOM_MCUX_RNGA | ||
def_bool y | ||
|
||
endif # RANDOM_GENERATOR | ||
|
||
if FLASH | ||
|
||
config SOC_FLASH_MCUX | ||
def_bool y | ||
|
||
endif # FLASH | ||
|
||
if SERIAL | ||
|
||
config UART_MCUX | ||
def_bool y | ||
|
||
endif # SERIAL | ||
|
||
endif # SOC_MKW2xD512 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.