This is an automated email from the ASF dual-hosted git repository.

jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new afe2a0eaf canutils/lely: add dependencies for Kconfig options
afe2a0eaf is described below

commit afe2a0eafc31bf2efbff13335119171b2aef4423
Author: raiden00pl <[email protected]>
AuthorDate: Sun Jul 5 10:09:18 2026 +0200

    canutils/lely: add dependencies for Kconfig options
    
    some options depends on others and not selecting them can cause compilation 
errors.
    
    Signed-off-by: raiden00pl <[email protected]>
---
 canutils/lely-canopen/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/canutils/lely-canopen/Kconfig b/canutils/lely-canopen/Kconfig
index 5718356e6..fe665a757 100644
--- a/canutils/lely-canopen/Kconfig
+++ b/canutils/lely-canopen/Kconfig
@@ -51,6 +51,7 @@ config CANUTILS_LELYCANOPEN_OBJUPLOAD
 config CANUTILS_LELYCANOPEN_SDEV
        bool "Lely CANopen enable static device description support"
        default n
+       depends on CANUTILS_LELYCANOPEN_OBJNAME
 
 config CANUTILS_LELYCANOPEN_CSDO
        bool "Lely CANopen enable Client-SDO support"
@@ -67,6 +68,7 @@ config CANUTILS_LELYCANOPEN_TPDO
 config CANUTILS_LELYCANOPEN_MPDO
        bool "Lely CANopen enable Multiplex PDO support"
        default n
+       depends on CANUTILS_LELYCANOPEN_TPDO
 
 config CANUTILS_LELYCANOPEN_SYNC
        bool "Lely CANopen enable SYNC support"
@@ -95,14 +97,17 @@ config CANUTILS_LELYCANOPEN_MASTER
 config CANUTILS_LELYCANOPEN_NG
        bool "Lely CANopen enable node guardian support"
        default n
+       depends on CANUTILS_LELYCANOPEN_EMCY
 
 config CANUTILS_LELYCANOPEN_NMTBOOT
        bool "Lely CANopen enable NMT boot slave support"
        default n
+       depends on CANUTILS_LELYCANOPEN_MASTER && CANUTILS_LELYCANOPEN_CSDO
 
 config CANUTILS_LELYCANOPEN_NMTCFG
        bool "Lely CANopen enable NMT configuration request support"
        default n
+       depends on CANUTILS_LELYCANOPEN_MASTER && CANUTILS_LELYCANOPEN_CSDO
 
 config CANUTILS_LELYCANOPEN_GW
        bool "Lely CANopen enable gateway support"

Reply via email to