arch/{nrf52|nrf53}/Kconfig: hide PWM options if PWM not enabled
This commit is contained in:
parent
7c2930c3df
commit
a3b91bc183
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user