counter: enable pit support for k8x series

enable PIT in k8x series

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
This commit is contained in:
Hake Huang 2020-07-07 22:03:52 +08:00 committed by Maureen Helm
commit f976de4767
3 changed files with 10 additions and 0 deletions

View file

@ -209,4 +209,9 @@ config HAS_MCUX_RDC
help
Set if the RDC module is present in the SoC.
config HAS_MCUX_PIT
bool
help
Set if the PIT module is present on the SoC.
endif # HAS_MCUX

View file

@ -76,6 +76,10 @@ config WDT_MCUX_WDOG
default y
depends on WATCHDOG
config COUNTER_MCUX_PIT
default y if HAS_MCUX_PIT
depends on COUNTER
source "soc/arm/nxp_kinetis/k8x/Kconfig.defconfig.mk*"
endif # SOC_SERIES_KINETIS_K8X

View file

@ -17,6 +17,7 @@ config SOC_SERIES_KINETIS_K8X
select HAS_MCUX_FTFX
select HAS_MCUX_FTM
select HAS_MCUX_LPUART
select HAS_MCUX_PIT
select HAS_MCUX_RTC
select HAS_MCUX_SIM
select HAS_MCUX_TRNG