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

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


The following commit(s) were added to refs/heads/master by this push:
     new 12b0fa9ec3 arm/sama5: fix recursive dependency
12b0fa9ec3 is described below

commit 12b0fa9ec30ba064e9f6864bd59186a9fb4d8382
Author: chao an <anc...@xiaomi.com>
AuthorDate: Thu Dec 1 01:55:50 2022 +0800

    arm/sama5: fix recursive dependency
    
    arch/arm/src/sama5/Kconfig:819:error: recursive dependency detected!
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    arch/arm/src/sama5/Kconfig:819: choice <choice> contains symbol 
SAMA5_FLEXCOM0_USART
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    arch/arm/src/sama5/Kconfig:824: symbol SAMA5_FLEXCOM0_USART is part of 
choice SAMA5_FLEXCOM0_USART
    For a resolution refer to Documentation/kbuild/kconfig-language.txt
    subsection "Kconfig recursive dependency limitations"
    arch/arm/src/sama5/Kconfig:824: symbol SAMA5_FLEXCOM0_USART is part of 
choice <choice>
    
    Signed-off-by: chao an <anc...@xiaomi.com>
---
 arch/arm/src/sama5/Kconfig | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/arm/src/sama5/Kconfig b/arch/arm/src/sama5/Kconfig
index 435a647385..931b590ad9 100644
--- a/arch/arm/src/sama5/Kconfig
+++ b/arch/arm/src/sama5/Kconfig
@@ -823,7 +823,6 @@ choice
 
 config SAMA5_FLEXCOM0_USART
        bool "USART"
-       select SAMA5_FLEXCOM0_USART
        select SAMA5_FLEXCOM_USART
        select USART0_SERIALDRIVER
        select ARCH_HAVE_SERIAL_TERMIOS
@@ -845,7 +844,6 @@ choice
 
 config SAMA5_FLEXCOM1_USART
        bool "USART"
-       select SAMA5_FLEXCOM1_USART
        select SAMA5_FLEXCOM_USART
        select USART1_SERIALDRIVER
        select ARCH_HAVE_SERIAL_TERMIOS
@@ -867,7 +865,6 @@ choice
 
 config SAMA5_FLEXCOM2_USART
        bool "USART"
-       select SAMA5_FLEXCOM2_USART
        select SAMA5_FLEXCOM_USART
        select USART2_SERIALDRIVER
        select ARCH_HAVE_SERIAL_TERMIOS
@@ -889,7 +886,6 @@ choice
 
 config SAMA5_FLEXCOM3_USART
        bool "USART"
-       select SAMA5_FLEXCOM3_USART
        select SAMA5_FLEXCOM_USART
        select USART3_SERIALDRIVER
        select ARCH_HAVE_SERIAL_TERMIOS
@@ -911,7 +907,6 @@ choice
 
 config SAMA5_FLEXCOM4_USART
        bool "USART"
-       select SAMA5_FLEXCOM4_USART
        select SAMA5_FLEXCOM_USART
        select USART4_SERIALDRIVER
        select ARCH_HAVE_SERIAL_TERMIOS

Reply via email to