Skip to content
Permalink
Browse files

soc: nxp:rt: Add HAS_MCUX_GPT flag

For RT SOCs with General Purporse Timer module(s) (GPT).

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
  • Loading branch information...
Loic Poulain authored and MaureenHelm committed Mar 21, 2019
1 parent 917890a commit 517ef0d68853c741eeb16b2d0cd7c93424fd7265
Showing with 12 additions and 0 deletions.
  1. +5 −0 ext/hal/nxp/mcux/Kconfig
  2. +7 −0 soc/arm/nxp_imx/rt/Kconfig.soc
@@ -90,6 +90,11 @@ config HAS_MCUX_LPUART
help
Set if the low power uart (LPUART) module is present in the SoC.

config HAS_MCUX_GPT
bool
help
Set if the general purpose timer (GPT) module is present in the SoC.

config HAS_MCUX_RNGA
bool
help
@@ -18,6 +18,7 @@ config SOC_MIMXRT1015
select HAS_MCUX_LPI2C
select HAS_MCUX_LPSPI
select HAS_MCUX_LPUART
select HAS_MCUX_GPT
select HAS_MCUX_TRNG
select CPU_HAS_FPU_DOUBLE_PRECISION
select CPU_HAS_ARM_MPU
@@ -36,6 +37,7 @@ config SOC_MIMXRT1021
select HAS_MCUX_LPI2C
select HAS_MCUX_LPSPI
select HAS_MCUX_LPUART
select HAS_MCUX_GPT
select HAS_MCUX_TRNG
select CPU_HAS_FPU_DOUBLE_PRECISION
select CPU_HAS_ARM_MPU
@@ -54,6 +56,7 @@ config SOC_MIMXRT1051
select HAS_MCUX_LPI2C
select HAS_MCUX_LPSPI
select HAS_MCUX_LPUART
select HAS_MCUX_GPT
select HAS_MCUX_TRNG
select CPU_HAS_FPU_DOUBLE_PRECISION
select CPU_HAS_ARM_MPU
@@ -73,6 +76,7 @@ config SOC_MIMXRT1052
select HAS_MCUX_LPI2C
select HAS_MCUX_LPSPI
select HAS_MCUX_LPUART
select HAS_MCUX_GPT
select HAS_MCUX_TRNG
select CPU_HAS_FPU_DOUBLE_PRECISION
select CPU_HAS_ARM_MPU
@@ -91,6 +95,7 @@ config SOC_MIMXRT1061
select HAS_MCUX_IGPIO
select HAS_MCUX_LPI2C
select HAS_MCUX_LPUART
select HAS_MCUX_GPT
select HAS_MCUX_TRNG
select CPU_HAS_FPU_DOUBLE_PRECISION
select CPU_HAS_ARM_MPU
@@ -109,6 +114,7 @@ config SOC_MIMXRT1062
select HAS_MCUX_IGPIO
select HAS_MCUX_LPI2C
select HAS_MCUX_LPUART
select HAS_MCUX_GPT
select HAS_MCUX_TRNG
select CPU_HAS_FPU_DOUBLE_PRECISION
select CPU_HAS_ARM_MPU
@@ -128,6 +134,7 @@ config SOC_MIMXRT1064
select HAS_MCUX_IGPIO
select HAS_MCUX_LPI2C
select HAS_MCUX_LPUART
select HAS_MCUX_GPT
select HAS_MCUX_TRNG
select CPU_HAS_FPU_DOUBLE_PRECISION
select CPU_HAS_ARM_MPU

0 comments on commit 517ef0d

Please sign in to comment.
You can’t perform that action at this time.