From db6573482086cf407f87c2f0e2d9b18718e8d63b Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Fri, 3 Feb 2017 11:21:40 -1000 Subject: [PATCH] Add Kinetis K66 to Kinetis Kconfig --- arch/arm/src/kinetis/Kconfig | 48 ++++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/kinetis/Kconfig b/arch/arm/src/kinetis/Kconfig index dfabf05dc5..6ac01b909d 100644 --- a/arch/arm/src/kinetis/Kconfig +++ b/arch/arm/src/kinetis/Kconfig @@ -168,6 +168,38 @@ config ARCH_CHIP_MK64FN1M0VMD12 select KINETIS_HAVE_I2C1 select KINETIS_HAVE_I2C2 +config ARCH_CHIP_MK66FX1M0VMD18 + bool "MK66FX1M0VMD18" + select ARCH_FAMILY_K66 + select KINETIS_HAVE_I2C1 + select KINETIS_HAVE_I2C2 + select KINETIS_HAVE_I2C3 + select KINETIS_HAVE_I2C4 + +config ARCH_CHIP_MK66FN2M0VMD18 + bool "MK66FN2M0VMD18" + select ARCH_FAMILY_K66 + select KINETIS_HAVE_I2C1 + select KINETIS_HAVE_I2C2 + select KINETIS_HAVE_I2C3 + select KINETIS_HAVE_I2C4 + +config ARCH_CHIP_MK66FX1M0VLQ18 + bool "MK66FX1M0VLQ18" + select ARCH_FAMILY_K66 + select KINETIS_HAVE_I2C1 + select KINETIS_HAVE_I2C2 + select KINETIS_HAVE_I2C3 + select KINETIS_HAVE_I2C4 + +config ARCH_CHIP_MK66FN2M0VLQ18 + bool "MK66FN2M0VLQ18" + select ARCH_FAMILY_K66 + select KINETIS_HAVE_I2C1 + select KINETIS_HAVE_I2C2 + select KINETIS_HAVE_I2C3 + select KINETIS_HAVE_I2C4 + endchoice # Chip families @@ -188,6 +220,10 @@ config ARCH_FAMILY_K64 bool default n +config ARCH_FAMILY_K66 + bool + default n + menu "Kinetis Peripheral Support" config KINETIS_HAVE_I2C1 @@ -198,6 +234,14 @@ config KINETIS_HAVE_I2C2 bool default n +config KINETIS_HAVE_I2C3 + bool + default n + +config KINETIS_HAVE_I2C4 + bool + default n + config KINETIS_TRACE bool "Trace" default n @@ -255,7 +299,7 @@ config KINETIS_UART5 config KINETIS_ENET bool "Ethernet" default n - depends on ARCH_FAMILY_K60 || ARCH_FAMILY_K64 + depends on ARCH_FAMILY_K60 || ARCH_FAMILY_K64 || ARCH_FAMILY_K66 select ARCH_HAVE_PHY select ARCH_HAVE_NETDEV_STATISTICS select NET @@ -266,7 +310,7 @@ config KINETIS_ENET config KINETIS_RNGB bool "Random number generator" default n - depends on ARCH_FAMILY_K60 || ARCH_FAMILY_K64 + depends on ARCH_FAMILY_K60 || ARCH_FAMILY_K64 || ARCH_FAMILY_K66 select ARCH_HAVE_RNG ---help--- Support the random number generator(K6x only)