Skip to content

Commit

Permalink
drivers/servo: update build dependencies for Nordic families
Browse files Browse the repository at this point in the history
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
  • Loading branch information
dylad committed Jul 8, 2023
1 parent fb297a9 commit ac54040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions drivers/servo/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion drivers/servo/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac54040

Please sign in to comment.