summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/kl/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/kl/Kconfig')
-rw-r--r--nuttx/arch/arm/src/kl/Kconfig12
1 files changed, 8 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/kl/Kconfig b/nuttx/arch/arm/src/kl/Kconfig
index 1b7f7cc3d..208cbe4ea 100644
--- a/nuttx/arch/arm/src/kl/Kconfig
+++ b/nuttx/arch/arm/src/kl/Kconfig
@@ -14,6 +14,10 @@ config ARCH_CHIP_MKL25Z128
bool "MKL25Z128"
select ARCH_FAMILY_KL2X
+config ARCH_CHIP_MKL26Z128
+ bool "MKL26Z128"
+ select ARCH_FAMILY_KL2X
+
endchoice
# Chip families
@@ -305,8 +309,8 @@ config KL_TPM1_PWM
config KL_TPM1_CHANNEL
int "TPM1 PWM Output Channel"
default 0
- range 0 1 if ARCH_CHIP_MKL25Z128
- range 0 5 if !ARCH_CHIP_MKL25Z128
+ range 0 1 if ARCH_CHIP_MKL25Z128 || ARCH_CHIP_MKL26Z128
+ range 0 5 if !ARCH_CHIP_MKL25Z128 && !ARCH_CHIP_MKL26Z128
depends on KL_TPM1_PWM
---help---
If TIM1 is enabled for PWM usage, you also need specifies the timer output
@@ -327,8 +331,8 @@ config KL_TPM2_PWM
config KL_TPM2_CHANNEL
int "TPM2 PWM Output Channel"
default 0
- range 0 1 if ARCH_CHIP_MKL25Z128
- range 0 5 if !ARCH_CHIP_MKL25Z128
+ range 0 1 if ARCH_CHIP_MKL25Z128 || ARCH_CHIP_MKL26Z128
+ range 0 5 if !ARCH_CHIP_MKL25Z128 && !ARCH_CHIP_MKL26Z128
depends on KL_TPM2_PWM
---help---
If TIM2 is enabled for PWM usage, you also need specifies the timer output