From ef9dca01081e308ff9bae26fc4f7fafc3238f6cc Mon Sep 17 00:00:00 2001 From: dylad Date: Sat, 8 Jul 2023 16:50:30 +0200 Subject: [PATCH] drivers/servo: update build dependencies for Nordic families Signed-off-by: dylad --- drivers/servo/Kconfig | 1 + drivers/servo/Makefile.dep | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/servo/Kconfig b/drivers/servo/Kconfig index 744c7de1b5..21ce76e1d7 100644 --- a/drivers/servo/Kconfig +++ b/drivers/servo/Kconfig @@ -26,6 +26,7 @@ config MODULE_SERVO_PWM # PWM prescaler on nRF5x MCUs cannot generate a 50 Hz signal depends on !HAS_CPU_NRF51 depends on !HAS_CPU_NRF52 + depends on !HAS_CPU_NRF53 depends on !HAS_CPU_NRF9160 select MODULE_PERIPH_PWM select SERVO_DRIVER_BACKEND diff --git a/drivers/servo/Makefile.dep b/drivers/servo/Makefile.dep index 318c71dde8..e19816ce7e 100644 --- a/drivers/servo/Makefile.dep +++ b/drivers/servo/Makefile.dep @@ -5,7 +5,7 @@ endif # if no servo driver implementation is chosen, we pick one ifeq (,$(filter servo_pwm servo_timer,$(USEMODULE))) # choose servo_pwm except for MCUs known to be incompatible - ifneq (,$(filter nrf5%, $(CPU_FAM))) + ifneq (,$(filter nrf5% nrf9160, $(CPU_FAM))) USEMODULE += servo_timer else USEMODULE += servo_pwm