diff --git a/arch/arm/src/nrf52/Kconfig b/arch/arm/src/nrf52/Kconfig index 59037539e2..6b44e4af40 100644 --- a/arch/arm/src/nrf52/Kconfig +++ b/arch/arm/src/nrf52/Kconfig @@ -465,6 +465,8 @@ endmenu # GPIO Interrupt Configuration menu "PWM configuration" +if NRF52_PWM + config NRF52_PWM_MULTICHAN bool "PWM Multiple Output Channels" default n @@ -613,6 +615,8 @@ config NRF52_PWM3_CHANNEL endif # !NRF52_PWM_MULTICHAN +endif # NRF52_PWM + endmenu # PWM configuration menu "SAADC Configuration" diff --git a/arch/arm/src/nrf53/Kconfig b/arch/arm/src/nrf53/Kconfig index c8a4853835..6250478dc6 100644 --- a/arch/arm/src/nrf53/Kconfig +++ b/arch/arm/src/nrf53/Kconfig @@ -457,6 +457,8 @@ config NRF53_PROGMEM menu "PWM configuration" +if NRF53_PWM + config NRF53_PWM_MULTICHAN bool "PWM Multiple Output Channels" default n @@ -571,6 +573,8 @@ config NRF53_PWM2_CHANNEL endif # !NRF53_PWM_MULTICHAN +endif # NRF53_PWM + endmenu # PWM configuration menu "SAADC Configuration"