From 920bd8fed8e4428794480b7493a969898b435665 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Sat, 1 Jun 2024 11:13:53 +0200 Subject: [PATCH] industrial/foc: add dependences to Kconfig --- industry/foc/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/industry/foc/Kconfig b/industry/foc/Kconfig index 9031c751e..1bbe71ad0 100644 --- a/industry/foc/Kconfig +++ b/industry/foc/Kconfig @@ -7,6 +7,7 @@ config INDUSTRY_FOC bool "FOC Library" default n select LIBDSP + depends on MOTOR_FOC ---help--- Enable or disable the FOC Library @@ -27,6 +28,7 @@ config INDUSTRY_FOC_WARN config INDUSTRY_FOC_CORDIC bool "Enable CORDIC support" default n + depends on MATH_CORDIC ---help--- Enable support for CORDIC hardware acceleration