Snoring detection using thingy53

I have been working on snoring detection using thingy53 project which is there in https://www.electromaker.io/project/view/snoring-detection-using-nordic-thingy53-backup#:~:text=When%20it%20detected%20the%20snoring,ring%20buffer%20to%20make%20decision

The project is created on v2.0.0, it got build successfully but I am facing issues while flashing the code.

Getting, the below error related to jlink
-- west flash: using runner nrfjprog
-- runners.nrfjprog: mass erase requested
-- runners.nrfjprog: Flashing file: /opt/nordic/ncs/v2.0.0/zephyr/samples/basic/button/build/zephyr/zephyr.hex
[error] [SeggerBackend] - Error in dlopen: dlopen(/Applications/SEGGER/JLink/libjlinkarm.7.96.11.dylib, 0x0001): tried: '/Applications/SEGGER/JLink/libjlinkarm.7.96.11.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/SEGGER/JLink/libjlinkarm.7.96.11.dylib' (no such file), '/Applications/SEGGER/JLink/libjlinkarm.7.96.11.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Applications/SEGGER/JLink_V796k/libjlinkarm.7.96.11.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/SEGGER/JLink_V796k/libjlinkarm.7.96.11.dylib' (no such file), '/Applications/SEGGER/JLink_V796k/libjlinkarm.7.96.11.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
[error] [ Worker] - Dll failed to open.
[error] [ Client] - Encountered error -101: Command open executed for 22 milliseconds with result -101
ERROR: JLinkARM DLL load failed. Try again. If it keeps failing, please
ERROR: reinstall latest JLinkARM from Segger webpage.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 32: nrfjprog --program /opt/nordic/ncs/v2.0.0/zephyr/samples/basic/button/build/zephyr/zephyr.hex --chiperase --verify -f NRF53 --snr 1050088816 --coprocessor CP_APPLICATION

Parents Reply Children
  • For my case when I try to build the code on v2.5.2, I get errors related to dependency loop
    Attaching it for reference

     *  Executing task: nRF Connect: Build [pristine]: wifi_over_http/build (active) 
    
    Building wifi_over_http
    west build --build-dir /opt/nordic/nrf/samples/bluetooth/wifi_over_http/build /opt/nordic/nrf/samples/bluetooth/wifi_over_http --pristine --board nrf7002dk_nrf5340_cpuapp_ns --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=/opt/nordic/nrf/samples/bluetooth/wifi_over_http;/opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection;/opt/nordic/ncs/v2.5.2/zephyr/samples/drivers/led_ws2812;/opt/nordic/nrf/samples/bluetooth/nRF_tinaZ-master;/opt/nordic/nrf/samples/bluetooth/wifi_try -DCACHED_CONF_FILE=/opt/nordic/nrf/samples/bluetooth/wifi_over_http/prj.conf;/opt/nordic/nrf/samples/bluetooth/wifi_over_http/boards/nrf7002dk_nrf5340_cpuapp_ns.conf -DDTC_OVERLAY_FILE=/opt/nordic/nrf/samples/bluetooth/wifi_over_http/app.overlay;/opt/nordic/nrf/samples/bluetooth/wifi_over_http/boards/nrf7002dk_nrf5340_cpuapp_ns.overlay
    
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: /opt/nordic/nrf/samples/bluetooth/wifi_over_http
    -- CMake version: 3.20.5
    -- Found Python3: /opt/nordic/ncs/toolchains/20d68df7e5/opt/[email protected]/bin/python3.9 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: /Users/rakshitamundra/Library/Caches/zephyr
    -- Zephyr version: 3.4.99 (/opt/nordic/ncs/v2.5.2/zephyr)
    -- Found west (found suitable version "1.1.0", minimum required is "0.14.0")
    -- Board: nrf7002dk_nrf5340_cpuapp_ns
    -- Found host-tools: zephyr 0.16.1 (/opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.1 (/opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk)
    -- Found Dtc: /opt/nordic/ncs/toolchains/20d68df7e5/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: /opt/nordic/nrf/samples/bluetooth/wifi_over_http/boards/arm/nrf7002dk_nrf5340_cpuapp/nrf7002dk_nrf5340_cpuapp_ns.dts
    -- Found devicetree overlay: /opt/nordic/nrf/samples/bluetooth/wifi_over_http/app.overlay
    -- Found devicetree overlay: /opt/nordic/nrf/samples/bluetooth/wifi_over_http/boards/nrf7002dk_nrf5340_cpuapp_ns.overlay
    -- Generated zephyr.dts: /opt/nordic/nrf/samples/bluetooth/wifi_over_http/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /opt/nordic/nrf/samples/bluetooth/wifi_over_http/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /opt/nordic/nrf/samples/bluetooth/wifi_over_http/build/zephyr/dts.cmake
    
    warning: LOG_PRINTK (defined at subsys/logging/Kconfig.processing:8) was assigned the value 'n' but
    got the value 'y'. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_PRINTK and/or
    look up LOG_PRINTK in the menuconfig/guiconfig interface. The Application Development Primer,
    Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
    helpful too.
    
    
    warning: Experimental symbol TFM_EXPERIMENTAL is enabled.
    
    
    warning: Experimental symbol HTTP_CLIENT is enabled.
    
    
    warning: Experimental symbol NET_CONNECTION_MANAGER is enabled.
    
    Parsing /opt/nordic/ncs/v2.5.2/zephyr/Kconfig
    Loaded configuration '/opt/nordic/nrf/samples/bluetooth/wifi_over_http/boards/arm/nrf7002dk_nrf5340_cpuapp/nrf7002dk_nrf5340_cpuapp_ns_defconfig'
    Merged configuration '/opt/nordic/nrf/samples/bluetooth/wifi_over_http/prj.conf'
    Merged configuration '/opt/nordic/nrf/samples/bluetooth/wifi_over_http/boards/nrf7002dk_nrf5340_cpuapp_ns.conf'
    Configuration saved to '/opt/nordic/nrf/samples/bluetooth/wifi_over_http/build/zephyr/.config'
    Kconfig header saved to '/opt/nordic/nrf/samples/bluetooth/wifi_over_http/build/zephyr/include/generated/autoconf.h'
    -- Found GnuLd: /opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /opt/nordic/nrf/samples/bluetooth/wifi_over_http/build
    -- west build: building application
    [1/456] Preparing syscall dependency handling
    
    [8/456] Generating include/generated/version.h
    -- Zephyr version: 3.4.99 (/opt/nordic/ncs/v2.5.2/zephyr), build: 4b5ef270413a
    [9/456] Generating ../../tfm/CMakeCache.txt
    CMake Warning at cmake/version.cmake:22 (message):
      Actual TF-M version is not available from Git repository.  Settled to
      v1.8.0
    Call Stack (most recent call first):
      CMakeLists.txt:22 (include)
    
    
    -- Found Git: /opt/nordic/ncs/toolchains/20d68df7e5/bin/git (found version "2.37.3") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
    -- Found Python3: /opt/nordic/ncs/toolchains/20d68df7e5/opt/[email protected]/bin/python3.9 (found version "3.9.6") found components: Interpreter 
    CMake Deprecation Warning at /opt/nordic/ncs/v2.5.2/zephyr/cmake/modules/FindDeprecated.cmake:121 (message):
      'PYTHON_PREFER' variable is deprecated.  Please use Python3_EXECUTABLE
      instead.
    Call Stack (most recent call first):
      /opt/nordic/ncs/v2.5.2/zephyr/cmake/modules/python.cmake:16 (find_package)
      /opt/nordic/ncs/v2.5.2/zephyr/cmake/modules/user_cache.cmake:30 (include)
      /opt/nordic/ncs/v2.5.2/zephyr/cmake/modules/extensions.cmake:5 (include)
      /opt/nordic/ncs/v2.5.2/nrf/subsys/nrf_security/tfm/CMakeLists.txt:36 (include)
    
    
    -- Found Python3: /opt/nordic/ncs/toolchains/20d68df7e5/opt/[email protected]/bin/python3.9 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: /Users/rakshitamundra/Library/Caches/zephyr
    -- Configuring done
    -- Generating done
    [209/213] Linking C executable bin/tfm_s.axf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      114064 B       256 KB     43.51%
                 RAM:       55476 B        96 KB     56.43%
    [16/456] Performing install step for 'tfm'
    -- Install configuration: "MinSizeRel"
    [111/456] Building C object CMakeFiles/app.dir/src/main.c.obj
    ../src/main.c: In function 'nrf_cal_set_time':
    ../src/main.c:197:28: warning: unused variable 'difftime' [-Wunused-variable]
      197 |     time_t uncal_difftime, difftime, newtime;
          |                            ^~~~~~~~
    ../src/main.c:197:12: warning: unused variable 'uncal_difftime' [-Wunused-variable]
      197 |     time_t uncal_difftime, difftime, newtime;
          |            ^~~~~~~~~~~~~~
    ../src/main.c: In function 'uart_cb':
    ../src/main.c:279:25: warning: implicit declaration of function 'new_process_uart_data'; did you mean 'process_uart_data'? [-Wimplicit-function-declaration]
      279 |                         new_process_uart_data(buf->data);
          |                         ^~~~~~~~~~~~~~~~~~~~~
          |                         process_uart_data
    ../src/main.c: In function 'uart_init':
    ../src/main.c:393:29: warning: unused variable 'tx' [-Wunused-variable]
      393 |         struct uart_data_t *tx;
          |                             ^~
    ../src/main.c:391:13: warning: unused variable 'pos' [-Wunused-variable]
      391 |         int pos;
          |             ^~~
    ../src/main.c: At top level:
    ../src/main.c:761:6: warning: conflicting types for 'new_process_uart_data'; have 'void(const char *)'
      761 | void new_process_uart_data(const char *uart_data) {
          |      ^~~~~~~~~~~~~~~~~~~~~
    ../src/main.c:279:25: note: previous implicit declaration of 'new_process_uart_data' with type 'void(const char *)'
      279 |                         new_process_uart_data(buf->data);
          |                         ^~~~~~~~~~~~~~~~~~~~~
    ../src/main.c: In function 'new_process_uart_data':
    ../src/main.c:771:16: warning: 'return' with a value, in function returning void [-Wreturn-type]
      771 |         return 1;
          |                ^
    ../src/main.c:761:6: note: declared here
      761 | void new_process_uart_data(const char *uart_data) {
          |      ^~~~~~~~~~~~~~~~~~~~~
    ../src/main.c: In function 'storing_functionality_1':
    ../src/main.c:973:22: warning: implicit declaration of function 'is_sd_card_empty' [-Wimplicit-function-declaration]
      973 |                 if(!(is_sd_card_empty(filename)))                                                                       // if sd card is empty send the received data directly to cloud
          |                      ^~~~~~~~~~~~~~~~
    ../src/main.c: At top level:
    ../src/main.c:1396:12: warning: 'clear_file' defined but not used [-Wunused-function]
     1396 | static int clear_file(const char *filename)
          |            ^~~~~~~~~~
    ../src/main.c:169:29: warning: 'sw2_cb_data' defined but not used [-Wunused-variable]
      169 | static struct gpio_callback sw2_cb_data;
          |                             ^~~~~~~~~~~
    ../src/main.c:168:29: warning: 'sw1_cb_data' defined but not used [-Wunused-variable]
      168 | static struct gpio_callback sw1_cb_data;
          |                             ^~~~~~~~~~~
    ../src/main.c:113:16: warning: 'count_data' defined but not used [-Wunused-variable]
      113 | static uint8_t count_data = 0;
          |                ^~~~~~~~~~
    ../src/main.c:94:32: warning: 'server' defined but not used [-Wunused-variable]
       94 | static struct sockaddr_storage server;
          |                                ^~~~~~
    ../src/main.c:93:12: warning: 'sock' defined but not used [-Wunused-variable]
       93 | static int sock;
          |            ^~~~
    ../src/main.c:91:12: warning: 'counter' defined but not used [-Wunused-variable]
       91 | static int counter = 0;
          |            ^~~~~~~
    ../src/main.c:88:13: warning: 'client_id_buf' defined but not used [-Wunused-variable]
       88 | static char client_id_buf[CLIENT_ID_SIZE+2];
          |             ^~~~~~~~~~~~~
    ../src/main.c:87:13: warning: 'recv_buf' defined but not used [-Wunused-variable]
       87 | static char recv_buf[RECV_BUF_SIZE];
          |             ^~~~~~~~
    [454/456] Linking C executable zephyr/zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:      557404 B       704 KB     77.32%
                 RAM:      265836 B       352 KB     73.75%
            IDT_LIST:          0 GB         2 KB      0.00%
    [456/456] Generating zephyr/merged.hex
     *  Terminal will be reused by tasks, press any key to close it. 
    
     *  Executing task: nRF Connect: Build [pristine]: thingy53_snoring_detection/build (active) 
    
    Building thingy53_snoring_detection
    west build --build-dir /opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/build /opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection --pristine --board thingy53_nrf5340_cpuapp --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DBOARD_ROOT=/opt/nordic/nrf/samples/bluetooth/wifi_over_http;/opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection -Dhci_rpmsg_OVERLAY_CONFIG=/opt/nordic/ncs/v2.0.0/nrf/subsys/bootloader/image/secure_boot.conf;/opt/nordic/ncs/v2.0.0/nrf/subsys/partition_manager/partition_manager_enabled.conf -Dmcuboot_DTC_OVERLAY_FILE=/opt/nordic/ncs/v2.0.0/nrf/modules/mcuboot/flash_sim.overlay;/opt/nordic/ncs/v2.0.0/nrf/modules/mcuboot/usb.overlay -Dmcuboot_OVERLAY_CONFIG=/opt/nordic/ncs/v2.0.0/nrf/subsys/pcd/pcd.conf;/opt/nordic/ncs/v2.0.0/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf;/opt/nordic/ncs/v2.0.0/nrf/subsys/partition_manager/partition_manager_enabled.conf -DCACHED_CONF_FILE=/opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/prj.conf;/opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/boards/thingy53_nrf5340_cpuapp.conf -DDTC_OVERLAY_FILE=/opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/boards/thingy53_nrf5340_cpuapp.overlay
    
    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: /opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection
    -- CMake version: 3.20.5
    -- Found Python3: /opt/nordic/ncs/toolchains/20d68df7e5/opt/[email protected]/bin/python3.9 (found suitable version "3.9.6", minimum required is "3.8") found components: Interpreter 
    -- Cache files will be written to: /Users/rakshitamundra/Library/Caches/zephyr
    -- Zephyr version: 3.4.99 (/opt/nordic/ncs/v2.5.2/zephyr)
    -- Found west (found suitable version "1.1.0", minimum required is "0.14.0")
    -- Board: thingy53_nrf5340_cpuapp
    -- Found host-tools: zephyr 0.16.1 (/opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.16.1 (/opt/nordic/ncs/toolchains/20d68df7e5/opt/zephyr-sdk)
    -- Found Dtc: /opt/nordic/ncs/toolchains/20d68df7e5/bin/dtc (found suitable version "1.6.1", minimum required is "1.4.6") 
    -- Found BOARD.dts: /opt/nordic/ncs/v2.5.2/zephyr/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpuapp.dts
    -- Found devicetree overlay: /opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/boards/thingy53_nrf5340_cpuapp.overlay
    'label' is marked as deprecated in 'properties:' in /opt/nordic/ncs/v2.5.2/zephyr/dts/bindings/serial/zephyr,cdc-acm-uart.yaml for node /soc/peripheral@50000000/usbd@36000/cdc_acm_uart0.
    'label' is marked as deprecated in 'properties:' in /opt/nordic/ncs/v2.5.2/zephyr/dts/bindings/flash_controller/zephyr,sim-flash.yaml for node /soc/nordic_ram-flash-controller@0.
    'label' is marked as deprecated in 'properties:' in /opt/nordic/ncs/v2.5.2/zephyr/dts/bindings/mtd/soc-nv-flash.yaml for node /soc/nordic_ram-flash-controller@0/flash_sim@0.
    node '/soc/peripheral@50000000/i2c@9000/vm3011@60' compatible 'vesper,vm3011' has unknown vendor prefix 'vesper'
    -- Generated zephyr.dts: /opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/build/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: /opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/build/zephyr/include/generated/devicetree_generated.h
    -- Including generated dts.cmake file: /opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/build/zephyr/dts.cmake
    Parsing /opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/Kconfig
    /opt/nordic/ncs/v2.5.2/zephyr/scripts/kconfig/kconfig.py: Dependency loop
    ===============
    
    I2C (defined at boards/arm/thingy53_nrf5340/Kconfig.defconfig:95, drivers/i2c/Kconfig:9), with definition...
    
    config I2C
            bool
            default y
            depends on !TRUSTED_EXECUTION_SECURE && (BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS)
    
    menuconfig I2C
            bool "Inter-Integrated Circuit (I2C) bus drivers"
            help
              Enable I2C Driver Configuration
    
    (select-related dependencies: (ADC_ADS1X1X && (DT_HAS_TI_ADS1013_ENABLED || DT_HAS_TI_ADS1014_ENABLED || DT_HAS_TI_ADS1015_ENABLED || DT_HAS_TI_ADS1113_ENABLED || DT_HAS_TI_ADS1114_ENABLED || DT_HAS_TI_ADS1115_ENABLED || DT_HAS_TI_ADS1119_ENABLED) && ADC) || (ADC_ADS1112 && DT_HAS_TI_ADS1112_ENABLED && ADC) || (ADC_ADS1119 && DT_HAS_TI_ADS1119_ENABLED && ADC) || (ADC_TLA2021 && DT_HAS_TI_TLA2021_ENABLED && ADC) || (AUXDISPLAY_JHD1313 && DT_HAS_JHD_JHD1313_ENABLED && AUXDISPLAY) || (AUDIO_TLV320DAC && DT_HAS_TI_TLV320DAC_ENABLED && GPIO && AUDIO_CODEC && AUDIO) || (BBRAM_MICROCHIP_MCP7940N && DT_HAS_MICROCHIP_MCP7940N_ENABLED && BBRAM) || (COUNTER_MICROCHIP_MCP7940N && DT_HAS_MICROCHIP_MCP7940N_ENABLED && COUNTER) || (DAC_DACX3608 && (DT_HAS_TI_DAC43608_ENABLED || DT_HAS_TI_DAC53608_ENABLED) && DAC) || (DAC_MCP4725 && DT_HAS_MICROCHIP_MCP4725_ENABLED && DAC) || (DAC_MCP4728 && DT_HAS_MICROCHIP_MCP4728_ENABLED && DAC) || (EEPROM_AT24 && DT_HAS_ATMEL_AT24_ENABLED && EEPROM) || (EEPROM_MB85RCXX && DT_HAS_FUJITSU_MB85RCXX_ENABLED && EEPROM) || (MAX17048 && DT_HAS_MAXIM_MAX17048_ENABLED && FUEL_GAUGE) || (SBS_GAUGE_NEW_API && DT_HAS_SBS_SBS_GAUGE_NEW_API_ENABLED && FUEL_GAUGE) || (GPIO_AXP192 && DT_HAS_X_POWERS_AXP192_GPIO_ENABLED && DT_HAS_X_POWERS_AXP192_ENABLED && GPIO) || (GPIO_SX1509B && DT_HAS_SEMTECH_SX1509B_ENABLED && GPIO) || (GPIO_PCAL64XXA && (DT_HAS_NXP_PCAL6408A_ENABLED || DT_HAS_NXP_PCAL6416A_ENABLED) && GPIO) || (GPIO_PCA953X && DT_HAS_TI_TCA9538_ENABLED && GPIO) || (GPIO_PCF8574 && DT_HAS_NXP_PCF8574_ENABLED && GPIO) || (GPIO_NPM1300 && DT_HAS_NORDIC_NPM1300_GPIO_ENABLED && GPIO) || (GPIO_NPM6001 && DT_HAS_NORDIC_NPM6001_GPIO_ENABLED && GPIO) || (INPUT_CAP1203 && DT_HAS_MICROCHIP_CAP1203_ENABLED && INPUT) || (INPUT_CST816S && DT_HAS_HYNITRON_CST816S_ENABLED && INPUT) || (INPUT_FT5336 && DT_HAS_FOCALTECH_FT5336_ENABLED && INPUT) || (INPUT_GT911 && DT_HAS_GOODIX_GT911_ENABLED && INPUT) || (HT16K33 && DT_HAS_HOLTEK_HT16K33_ENABLED && LED) || (IS31FL3216A && DT_HAS_ISSI_IS31FL3216A_ENABLED && LED) || (LP3943 && DT_HAS_TI_LP3943_ENABLED && LED) || (LP50XX && (DT_HAS_TI_LP5009_ENABLED || DT_HAS_TI_LP5012_ENABLED || DT_HAS_TI_LP5018_ENABLED || DT_HAS_TI_LP5024_ENABLED || DT_HAS_TI_LP5030_ENABLED || DT_HAS_TI_LP5036_ENABLED) && LED) || (LP5562 && DT_HAS_TI_LP5562_ENABLED && LED) || (LP5569 && DT_HAS_TI_LP5569_ENABLED && LED) || (NCP5623 && DT_HAS_ONNN_NCP5623_ENABLED && LED) || (LED_NPM1300 && DT_HAS_NORDIC_NPM1300_LED_ENABLED && LED) || (PCA9633 && DT_HAS_NXP_PCA9633_ENABLED && LED) || (TLC59108 && DT_HAS_TI_TLC59108_ENABLED && LED) || (IS31FL3733 && DT_HAS_ISSI_IS31FL3733_ENABLED && LED) || (MFD_AXP192 && DT_HAS_X_POWERS_AXP192_ENABLED && MFD) || (MFD_NPM1300 && DT_HAS_NORDIC_NPM1300_ENABLED && MFD) || (MFD_NPM6001 && DT_HAS_NORDIC_NPM6001_ENABLED && MFD) || (PWM_PCA9685 && DT_HAS_NXP_PCA9685_PWM_ENABLED && PWM) || (PWM_MAX31790 && DT_HAS_MAXIM_MAX31790_ENABLED && PWM) || (REGULATOR_AXP192 && DT_HAS_X_POWERS_AXP192_REGULATOR_ENABLED && DT_HAS_X_POWERS_AXP192_ENABLED && REGULATOR) || (REGULATOR_ADP5360 && DT_HAS_ADI_ADP5360_REGULATOR_ENABLED && REGULATOR) || (REGULATOR_NPM1300 && DT_HAS_NORDIC_NPM1300_REGULATOR_ENABLED && REGULATOR) || (REGULATOR_NPM6001 && DT_HAS_NORDIC_NPM6001_REGULATOR_ENABLED && REGULATOR) || (REGULATOR_PCA9420 && DT_HAS_NXP_PCA9420_ENABLED && REGULATOR) || (RTC_PCF8523 && DT_HAS_NXP_PCF8523_ENABLED && RTC) || (RTC_PCF8563 && DT_HAS_NXP_PCF8563_ENABLED && RTC) || (ADT7420 && DT_HAS_ADI_ADT7420_ENABLED && SENSOR) || (AK8975 && DT_HAS_ASAHI_KASEI_AK8975_ENABLED && SENSOR) || (AKM09918C && DT_HAS_ASAHI_KASEI_AKM09918C_ENABLED && SENSOR) || (AMG88XX && DT_HAS_PANASONIC_AMG88XX_ENABLED && SENSOR) || (AMS_AS5600 && DT_HAS_AMS_AS5600_ENABLED && SENSOR) || (AMS_IAQ_CORE && DT_HAS_AMS_IAQCORE_ENABLED && SENSOR) || (APDS9960 && DT_HAS_AVAGO_APDS9960_ENABLED && SENSOR) || (BH1750 && DT_HAS_ROHM_BH1750_ENABLED && SENSOR) || (BMA280 && DT_HAS_BOSCH_BMA280_ENABLED && SENSOR) || (BMC150_MAGN && DT_HAS_BOSCH_BMC150_MAGN_ENABLED && SENSOR) || (BME680 && DT_HAS_BOSCH_BME680_ENABLED && SENSOR) || (BMG160 && DT_HAS_BOSCH_BMG160_ENABLED && SENSOR) || (BMI08X && (n || n) && (DT_HAS_BOSCH_BMI08X_ACCEL_ENABLED || DT_HAS_BOSCH_BMI08X_GYRO_ENABLED) && SENSOR) || (BMM150 && DT_HAS_BOSCH_BMM150_ENABLED && SENSOR) || (BQ274XX && DT_HAS_TI_BQ274XX_ENABLED && SENSOR) || (CCS811 && DT_HAS_AMS_CCS811_ENABLED && SENSOR) || (DPS310 && DT_HAS_INFINEON_DPS310_ENABLED && SENSOR) || (ENS210 && DT_HAS_AMS_ENS210_ENABLED && SENSOR) || (FDC2X1X && DT_HAS_TI_FDC2X1X_ENABLED && (NEWLIB_LIBC || EXTERNAL_LIBC) && SENSOR) || (HMC5883L && DT_HAS_HONEYWELL_HMC5883L_ENABLED && SENSOR) || (HP206C && DT_HAS_HOPERF_HP206C_ENABLED && SENSOR) || (ICP10125 && DT_HAS_INVENSENSE_ICP10125_ENABLED && SENSOR) || (INA219 && DT_HAS_TI_INA219_ENABLED && SENSOR) || (INA23X && (DT_HAS_TI_INA230_ENABLED || DT_HAS_TI_INA237_ENABLED) && SENSOR) || (INA3221 && DT_HAS_TI_INA3221_ENABLED && SENSOR) || (ISL29035 && DT_HAS_ISIL_ISL29035_ENABLED && SENSOR) || (IST8310 && DT_HAS_ISENTEK_IST8310_ENABLED && SENSOR) || (LIS3MDL && DT_HAS_ST_LIS3MDL_MAGN_ENABLED && SENSOR) || (LM75 && DT_HAS_LM75_ENABLED && SENSOR) || (LM77 && DT_HAS_LM77_ENABLED && SENSOR) || (LPS22HB && DT_HAS_ST_LPS22HB_PRESS_ENABLED && SENSOR) || (LPS25HB && DT_HAS_ST_LPS25HB_PRESS_ENABLED && SENSOR) || (LSM303DLHC_MAGN && DT_HAS_ST_LSM303DLHC_MAGN_ENABLED && SENSOR) || (LSM6DS0 && DT_HAS_ST_LSM6DS0_ENABLED && SENSOR) || (LSM9DS0_GYRO && DT_HAS_ST_LSM9DS0_GYRO_ENABLED && SENSOR) || (LSM9DS0_MFD && DT_HAS_ST_LSM9DS0_MFD_ENABLED && SENSOR) || (MAX17055 && DT_HAS_MAXIM_MAX17055_ENABLED && SENSOR) || (MAX17262 && DT_HAS_MAXIM_MAX17262_ENABLED && SENSOR) || (MAX30101 && DT_HAS_MAXIM_MAX30101_ENABLED && SENSOR) || (MAX31875 && DT_HAS_MAXIM_MAX31875_ENABLED && SENSOR) || (MAX44009 && DT_HAS_MAXIM_MAX44009_ENABLED && SENSOR) || (MCP9600 && DT_HAS_MICROCHIP_MCP9600_ENABLED && SENSOR) || (MCP9808 && DT_HAS_MICROCHIP_MCP9808_ENABLED && SENSOR) || (MPR && DT_HAS_HONEYWELL_MPR_ENABLED && SENSOR) || (MPU6050 && DT_HAS_INVENSENSE_MPU6050_ENABLED && SENSOR) || (MPU9250 && DT_HAS_INVENSENSE_MPU9250_ENABLED && SENSOR) || (MS5837 && DT_HAS_MEAS_MS5837_ENABLED && SENSOR) || (NPM1300_CHARGER && DT_HAS_NORDIC_NPM1300_CHARGER_ENABLED && SENSOR) || (OPT3001 && DT_HAS_TI_OPT3001_ENABLED && SENSOR) || (S11059 && DT_HAS_HAMAMATSU_S11059_ENABLED && SENSOR) || (SBS_GAUGE && DT_HAS_SBS_SBS_GAUGE_ENABLED && SENSOR) || (SGP40 && DT_HAS_SENSIRION_SGP40_ENABLED && SENSOR) || (SHT3XD && DT_HAS_SENSIRION_SHT3XD_ENABLED && SENSOR) || (SHT4X && DT_HAS_SENSIRION_SHT4X_ENABLED && SENSOR) || (SHTCX && DT_HAS_SENSIRION_SHTCX_ENABLED && SENSOR) || (SI7006 && DT_HAS_SILABS_SI7006_ENABLED && SENSOR) || (SI7055 && DT_HAS_SILABS_SI7055_ENABLED && SENSOR) || (SI7060 && DT_HAS_SILABS_SI7060_ENABLED && SENSOR) || (SI7210 && DT_HAS_SILABS_SI7210_ENABLED && SENSOR) || (STTS751 && DT_HAS_ST_STTS751_ENABLED && SENSOR) || (SX9500 && DT_HAS_SEMTECH_SX9500_ENABLED && SENSOR) || (TCN75A && DT_HAS_MICROCHIP_TCN75A_ENABLED && SENSOR) || (TCS3400 && DT_HAS_AMS_TCS3400_ENABLED && SENSOR) || (TH02 && DT_HAS_HOPERF_TH02_ENABLED && SENSOR) || (TI_HDC && DT_HAS_TI_HDC_ENABLED && SENSOR) || (TI_HDC20XX && (DT_HAS_TI_HDC2010_ENABLED || DT_HAS_TI_HDC2021_ENABLED || DT_HAS_TI_HDC2022_ENABLED || DT_HAS_TI_HDC2080_ENABLED) && SENSOR) || (TMD2620 && DT_HAS_AMS_TMD2620_ENABLED && SENSOR) || (TMP007 && DT_HAS_TI_TMP007_ENABLED && SENSOR) || (TMP108 && (DT_HAS_TI_TMP108_ENABLED || DT_HAS_AMS_AS6212_ENABLED) && SENSOR) || (TMP112 && DT_HAS_TI_TMP112_ENABLED && SENSOR) || (TMP116 && DT_HAS_TI_TMP116_ENABLED && SENSOR) || (VCNL4040 && DT_HAS_VISHAY_VCNL4040_ENABLED && SENSOR) || (VEML7700 && DT_HAS_VISHAY_VEML7700_ENABLED && SENSOR) || (VL53L0X && DT_HAS_ST_VL53L0X_ENABLED && SENSOR) || (VL53L1X && DT_HAS_ST_VL53L1X_ENABLED && SENSOR) || (ITDS && DT_HAS_WE_WSEN_ITDS_ENABLED && SENSOR) || (VIDEO_MT9M114 && DT_HAS_APTINA_MT9M114_ENABLED && VIDEO) || (VIDEO_OV7725 && DT_HAS_OVTI_OV7725_ENABLED && VIDEO) || (VIDEO_OV2640 && DT_HAS_OVTI_OV2640_ENABLED && VIDEO) || (W1_DS2482_800 && DT_HAS_MAXIM_DS2482_800_ENABLED && W1) || (W1_DS2484 && DT_HAS_MAXIM_DS2484_ENABLED && W1) || (W1_DS2485 && DT_HAS_MAXIM_DS2485_ENABLED && W1) || (WDT_NPM1300 && DT_HAS_NORDIC_NPM1300_WDT_ENABLED && WATCHDOG) || (WDT_NPM6001 && DT_HAS_NORDIC_NPM6001_WDT_ENABLED && WATCHDOG))
    
    ...depends on GPIO_PCAL64XXA (defined at drivers/gpio/Kconfig.pcal64xxa:7), with definition...
    
    menuconfig GPIO_PCAL64XXA
            bool "PCAL64XXA I2C GPIO chip"
            default y
            select I2C
            depends on (DT_HAS_NXP_PCAL6408A_ENABLED || DT_HAS_NXP_PCAL6416A_ENABLED) && GPIO
            help
              Enable driver for PCAL64XXA I2C GPIO chip.
    
    ...depends on GPIO (defined at soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:11, soc/arm/microchip_mec/mec172x/Kconfig.defconfig.mec172xnlj:11, soc/arm/microchip_mec/mec172x/Kconfig.defconfig.mec172xnsz:11, soc/arm/nordic_nrf/Kconfig.defconfig:39, soc/arm/nxp_imx/mcimx7_m4/Kconfig.defconfig.mcimx7_m4:14, soc/arm/nxp_imx/mimx8ml8_m7/Kconfig.defconfig.mimx8ml8_m7:16, soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1010:18, soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1015:17, soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1021:17, soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1024:17, soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1042:12, soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1052:14, soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1062:14, soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1064:14, soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1166_cm4:14, soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1166_cm7:14, soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1176_cm4:14, soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1176_cm7:14, soc/arm/nxp_kinetis/k2x/Kconfig.defconfig.mk22f12:11, soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.mk64f12:15, soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.mk66f18:15, soc/arm/nxp_kinetis/k8x/Kconfig.defconfig.series:22, soc/arm/nxp_kinetis/ke1xf/Kconfig.defconfig.series:36, soc/arm/nxp_kinetis/kv5x/Kconfig.defconfig.series:15, soc/arm/nxp_lpc/lpc54xxx/Kconfig.defconfig.lpc54114_m0:11, soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.lpc55S69_cpu1:11, drivers/gpio/Kconfig:6), with definition...
    
    config GPIO
            bool
            default y
            depends on SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X
    
    config GPIO
            bool
            default y
            depends on SOC_MEC172X_NLJ && SOC_SERIES_MEC172X
    
    config GPIO
            bool
            default y
            depends on SOC_MEC172X_NSZ && SOC_SERIES_MEC172X
    
    config GPIO
            bool
            default y
            depends on SPI && SOC_FAMILY_NRF
    
    config GPIO
            bool
            default y
            depends on SOC_MCIMX7_M4 && SOC_SERIES_IMX7_M4
    
    config GPIO
            bool
            default y
            depends on SOC_MIMX8ML8 && SOC_SERIES_IMX8ML_M7
    
    config GPIO
            bool
            default y
            depends on SOC_MIMXRT1011 && SOC_SERIES_IMX_RT
    
    config GPIO
            bool
            default y
            depends on SOC_MIMXRT1015 && SOC_SERIES_IMX_RT
    
    config GPIO
            bool
            default y
            depends on SOC_MIMXRT1021 && SOC_SERIES_IMX_RT
    
    config GPIO
            bool
            default y
            depends on SOC_MIMXRT1024 && SOC_SERIES_IMX_RT
    
    config GPIO
            bool
            default y
            depends on SOC_MIMXRT1042 && SOC_SERIES_IMX_RT
    
    config GPIO
            bool
            default y
            depends on SOC_MIMXRT1052 && SOC_SERIES_IMX_RT
    
    config GPIO
            bool
            default y
            depends on SOC_MIMXRT1062 && SOC_SERIES_IMX_RT
    
    config GPIO
            bool
            default y
            depends on SOC_MIMXRT1064 && SOC_SERIES_IMX_RT
    
    config GPIO
            bool
            default y
            depends on SOC_MIMXRT1166_CM4 && SOC_SERIES_IMX_RT
    
    config GPIO
            bool
            default y
            depends on SOC_MIMXRT1166_CM7 && SOC_SERIES_IMX_RT
    
    config GPIO
            bool
            default y
            depends on SOC_MIMXRT1176_CM4 && SOC_SERIES_IMX_RT
    
    config GPIO
            bool
            default y
            depends on SOC_MIMXRT1176_CM7 && SOC_SERIES_IMX_RT
    
    config GPIO
            bool
            default y
            depends on SOC_MK22F51212 && SOC_SERIES_KINETIS_K2X
    
    config GPIO
            bool
            default y
            depends on SOC_MK64F12 && SOC_SERIES_KINETIS_K6X
    
    config GPIO
            bool
            default y
            depends on SOC_MK66F18 && SOC_SERIES_KINETIS_K6X
    
    config GPIO
            bool
            default y
            depends on SOC_SERIES_KINETIS_K8X
    
    config GPIO
            bool
            default y
            depends on SOC_SERIES_KINETIS_KE1XF
    
    config GPIO
            bool
            default y
            depends on SOC_SERIES_KINETIS_KV5X
    
    config GPIO
            bool
            default n
            depends on SOC_LPC54114_M0 && SOC_SERIES_LPC54XXX
    
    config GPIO
            bool
            default y
            depends on SOC_LPC55S69_CPU1 && SOC_SERIES_LPC55XXX
    
    menuconfig GPIO
            bool "General-Purpose Input/Output (GPIO) drivers"
            help
              Include GPIO drivers in system config
    
    (select-related dependencies: (MPSL_FEM_NRF21540_GPIO && (n || n) && MPSL_FEM_NRF21540_GPIO_SUPPORT && <choice MPSL_FEM_CHOICE>) || (MPSL_FEM_NRF21540_GPIO_SPI && (n || n) && MPSL_FEM_NRF21540_GPIO_SPI_SUPPORT && <choice MPSL_FEM_CHOICE>) || (MPSL_CX_NRF700X && !MPSL_CX_PIN_FORWARDER && MPSL_CX_NRF700X_SUPPORT && <choice MPSL_CX_CHOICE>) || (MPSL_CX_THREAD && !MPSL_CX_PIN_FORWARDER && !BT && <choice MPSL_CX_CHOICE>) || (MPSL_CX_BT_1WIRE && SOC_SERIES_NRF52X && <choice MPSL_CX_CHOICE>) || DK_LIBRARY || NRF_SW_LPUART || (AUXDISPLAY_ITRON && DT_HAS_NORITAKE_ITRON_ENABLED && AUXDISPLAY) || (IEEE802154_RF2XX && DT_HAS_ATMEL_RF2XX_ENABLED && IEEE802154) || (REGULATOR_GPIO && DT_HAS_REGULATOR_GPIO_ENABLED && REGULATOR) || (SPI_SAM && DT_HAS_ATMEL_SAM_SPI_ENABLED && SPI) || (SPI_XMC4XXX && DT_HAS_INFINEON_XMC4XXX_SPI_ENABLED && SPI) || (WDT_NXP_FS26 && DT_HAS_NXP_FS26_WDOG_ENABLED && WATCHDOG) || (WIFI_ESWIFI && (DT_HAS_INVENTEK_ESWIFI_ENABLED || DT_HAS_INVENTEK_ESWIFI_UART_ENABLED) && WIFI))
    
    (imply-related dependencies: (MPSL_FEM_NRF21540_GPIO && (n || n) && MPSL_FEM_NRF21540_GPIO_SUPPORT && <choice MPSL_FEM_CHOICE>) || (MPSL_FEM_NRF21540_GPIO_SPI && (n || n) && MPSL_FEM_NRF21540_GPIO_SPI_SUPPORT && <choice MPSL_FEM_CHOICE>) || (MPSL_CX_NRF700X && !MPSL_CX_PIN_FORWARDER && MPSL_CX_NRF700X_SUPPORT && <choice MPSL_CX_CHOICE>) || (MPSL_CX_THREAD && !MPSL_CX_PIN_FORWARDER && !BT && <choice MPSL_CX_CHOICE>) || (MPSL_CX_BT_1WIRE && SOC_SERIES_NRF52X && <choice MPSL_CX_CHOICE>) || DK_LIBRARY || NRF_SW_LPUART || (AUXDISPLAY_ITRON && DT_HAS_NORITAKE_ITRON_ENABLED && AUXDISPLAY) || (IEEE802154_RF2XX && DT_HAS_ATMEL_RF2XX_ENABLED && IEEE802154) || (REGULATOR_GPIO && DT_HAS_REGULATOR_GPIO_ENABLED && REGULATOR) || (SPI_SAM && DT_HAS_ATMEL_SAM_SPI_ENABLED && SPI) || (SPI_XMC4XXX && DT_HAS_INFINEON_XMC4XXX_SPI_ENABLED && SPI) || (WDT_NXP_FS26 && DT_HAS_NXP_FS26_WDOG_ENABLED && WATCHDOG) || (WIFI_ESWIFI && (DT_HAS_INVENTEK_ESWIFI_ENABLED || DT_HAS_INVENTEK_ESWIFI_UART_ENABLED) && WIFI))
    
    ...depends on SPI_XMC4XXX (defined at drivers/spi/Kconfig.xmc4xxx:4), with definition...
    
    menuconfig SPI_XMC4XXX
            bool "XMC4XX SPI driver"
            default y
            select GPIO
            depends on DT_HAS_INFINEON_XMC4XXX_SPI_ENABLED && SPI
            help
              Enable XMC4XXX SPI driver.
    
    ...depends on SPI (defined at boards/shields/x_nucleo_idb05a1/Kconfig.defconfig:8, boards/arm/thingy53_nrf5340/Kconfig.defconfig:98, soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.mk64f12:18, soc/arm/nxp_kinetis/kwx/Kconfig.defconfig.mkw2xd512:19, drivers/spi/Kconfig:9), with definition...
    
    config SPI
            bool
            default y
            depends on BT && SHIELD_X_NUCLEO_IDB05A1
    
    config SPI
            bool
            default y
            depends on !TRUSTED_EXECUTION_SECURE && (BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS)
    
    config SPI
            bool
            default n
            depends on SOC_MK64F12 && SOC_SERIES_KINETIS_K6X
    
    config SPI
            bool
            default y
            depends on (SOC_MKW22D5 || SOC_MKW24D5) && SOC_SERIES_KINETIS_KWX
    
    menuconfig SPI
            bool "Serial Peripheral Interface (SPI) bus drivers"
            help
              Enable support for the SPI hardware bus.
    
    (select-related dependencies: (NRF700X_ON_SPI && WIFI_NRF700X && WIFI) || (ADC_LMP90XXX && (DT_HAS_TI_LMP90077_ENABLED || DT_HAS_TI_LMP90078_ENABLED || DT_HAS_TI_LMP90079_ENABLED || DT_HAS_TI_LMP90080_ENABLED || DT_HAS_TI_LMP90097_ENABLED || DT_HAS_TI_LMP90098_ENABLED || DT_HAS_TI_LMP90099_ENABLED || DT_HAS_TI_LMP90100_ENABLED) && ADC) || (ADC_MCP320X && (DT_HAS_MICROCHIP_MCP3204_ENABLED || DT_HAS_MICROCHIP_MCP3208_ENABLED) && ADC) || (ADC_ADS7052 && DT_HAS_TI_ADS7052_ENABLED && ADC) || (ADC_ADS114S0X && DT_HAS_TI_ADS114S08_ENABLED && ADC) || (ADC_MAX1125X && (DT_HAS_MAXIM_MAX11254_ENABLED || DT_HAS_MAXIM_MAX11253_ENABLED) && ADC) || (AUXDISPLAY_PT6314 && DT_HAS_PTC_PT6314_ENABLED && AUXDISPLAY) || (CAN_MCP2515 && DT_HAS_MICROCHIP_MCP2515_ENABLED && CAN) || (DAC_DACX0508 && (DT_HAS_TI_DAC60508_ENABLED || DT_HAS_TI_DAC70508_ENABLED || DT_HAS_TI_DAC80508_ENABLED) && DAC) || (DAC_LTC166X && (DT_HAS_LLTC_LTC1660_ENABLED || DT_HAS_LLTC_LTC1665_ENABLED) && DAC) || (ILI9340 && DT_HAS_ILITEK_ILI9340_ENABLED && DISPLAY) || (ILI9341 && DT_HAS_ILITEK_ILI9341_ENABLED && DISPLAY) || (ILI9342C && DT_HAS_ILITEK_ILI9342C_ENABLED && DISPLAY) || (ILI9488 && DT_HAS_ILITEK_ILI9488_ENABLED && DISPLAY) || (SSD16XX && (DT_HAS_SOLOMON_SSD1608_ENABLED || DT_HAS_SOLOMON_SSD1673_ENABLED || DT_HAS_SOLOMON_SSD1675A_ENABLED || DT_HAS_SOLOMON_SSD1680_ENABLED || DT_HAS_SOLOMON_SSD1681_ENABLED) && DISPLAY) || (ST7735R && DT_HAS_SITRONIX_ST7735R_ENABLED && DISPLAY) || (ST7789V && DT_HAS_SITRONIX_ST7789V_ENABLED && DISPLAY) || (UC81XX && (DT_HAS_ULTRACHIP_UC8176_ENABLED || DT_HAS_ULTRACHIP_UC8179_ENABLED) && DISPLAY) || (LS0XX && DT_HAS_SHARP_LS0XX_ENABLED && DISPLAY) || (MAX7219 && DT_HAS_MAXIM_MAX7219_ENABLED && DISPLAY) || (EEPROM_AT25 && DT_HAS_ATMEL_AT25_ENABLED && EEPROM) || (ETH_ENC28J60 && DT_HAS_MICROCHIP_ENC28J60_ENABLED && ETH_DRIVER) || (ETH_ENC424J600 && DT_HAS_MICROCHIP_ENC424J600_ENABLED && ETH_DRIVER) || (ETH_W5500 && DT_HAS_WIZNET_W5500_ENABLED && ETH_DRIVER) || (ETH_ADIN2111 && (DT_HAS_ADI_ADIN2111_ENABLED || DT_HAS_ADI_ADIN1110_ENABLED) && ETH_DRIVER) || (SPI_FLASH_AT45 && DT_HAS_ATMEL_AT45_ENABLED && FLASH) || (SPI_NOR && DT_HAS_JEDEC_SPI_NOR_ENABLED && FLASH) || (IEEE802154_MCR20A && DT_HAS_NXP_MCR20A_ENABLED && IEEE802154) || (IEEE802154_RF2XX && DT_HAS_ATMEL_RF2XX_ENABLED && IEEE802154) || (IEEE802154_DW1000 && DT_HAS_DECAWAVE_DW1000_ENABLED && IEEE802154) || (INPUT_XPT2046 && DT_HAS_XPTEK_XPT2046_ENABLED && INPUT) || (FT800 && DT_HAS_FTDI_FT800_ENABLED) || (SPI_SDHC && DT_HAS_ZEPHYR_SDHC_SPI_SLOT_ENABLED && SDHC) || (ADT7310 && DT_HAS_ADI_ADT7310_ENABLED && SENSOR) || (ADXL362 && DT_HAS_ADI_ADXL362_ENABLED && SENSOR) || (BMI08X && (n || n) && (DT_HAS_BOSCH_BMI08X_ACCEL_ENABLED || DT_HAS_BOSCH_BMI08X_GYRO_ENABLED) && SENSOR) || (I3G4250D && DT_HAS_ST_I3G4250D_ENABLED && SENSOR) || (ICM42605 && DT_HAS_INVENSENSE_ICM42605_ENABLED && SENSOR) || (ICM42670 && DT_HAS_INVENSENSE_ICM42670_ENABLED && SENSOR) || (ICM42688 && DT_HAS_INVENSENSE_ICM42688_ENABLED && SENSOR) || (IIS3DHHC && DT_HAS_ST_IIS3DHHC_ENABLED && SENSOR) || (MAX31855 && DT_HAS_MAXIM_MAX31855_ENABLED && SENSOR) || (MAX31865 && DT_HAS_MAXIM_MAX31865_ENABLED && SENSOR) || (MAX6675 && DT_HAS_MAXIM_MAX6675_ENABLED && SENSOR) || (UHC_MAX3421E && DT_HAS_MAXIM_MAX3421E_SPI_ENABLED && UHC_DRIVER) || (WDT_NXP_FS26 && DT_HAS_NXP_FS26_WDOG_ENABLED && WATCHDOG) || (WIFI_WINC1500 && DT_HAS_ATMEL_WINC1500_ENABLED && WIFI) || (WIFI_ESWIFI_BUS_SPI && <choice WIFI_ESWIFI_BUS>))
    
    ...depends on ADC_ADS7052 (defined at drivers/adc/Kconfig.ads7052:5), with definition...
    
    config ADC_ADS7052
            bool "Texas instruments ADS7052 SPI"
            default y
            select SPI
            select ADC_CONFIGURABLE_INPUTS
            depends on DT_HAS_TI_ADS7052_ENABLED && ADC
            help
              Enable the driver implementation for the ADS7052
    
    ...depends on ADC (defined at drivers/adc/Kconfig:9), with definition...
    
    menuconfig ADC
            bool "Analog-to-Digital Converter (ADC) drivers"
            help
              Enable ADC (Analog to Digital Converter) driver configuration.
    
    (select-related dependencies: (MCP970X && DT_HAS_MICROCHIP_MCP970X_ENABLED && SENSOR) || (NTC_THERMISTOR && (DT_HAS_NTC_THERMISTOR_GENERIC_ENABLED || DT_HAS_EPCOS_B57861S0103A039_ENABLED) && SENSOR) || (STM32_VREF && DT_HAS_ST_STM32_VREF_ENABLED && SENSOR))
    
    ...depends on SENSOR (defined at /opt/nordic/ncs/v2.5.2/nrf/drivers/sensor/Kconfig:7, drivers/sensor/Kconfig:6), with definition...
    
    menuconfig SENSOR
            bool "Sensor Drivers"
            help
              Include sensor drivers in config
    
    menuconfig SENSOR
            bool "Sensor drivers"
            help
              Include sensor drivers in system config
    
    (select-related dependencies: (BT_BAS && BT_CONN && BT_RPC_STACK) || (BT_BAS && BT_CONN && BT_CONN && BT_HCI_HOST && BT_RPC_STACK) || (NRF_802154_SL_OPENSOURCE && NRF_802154_TEMPERATURE_UPDATE && <choice NRF_802154_SL_TYPE>) || (VM3011 && I2C) || (NRF_802154_SL && NRF_802154_TEMPERATURE_UPDATE && !NRF_802154_SOURCE_HAL_NORDIC && <choice NRF_802154_SL_TYPE>) || (NRF_802154_SL_OPENSOURCE && NRF_802154_TEMPERATURE_UPDATE && <choice NRF_802154_SL_TYPE>) || (CLOCK_CONTROL_NRF_USES_TEMP_SENSOR && HAS_HW_NRF_TEMP && CLOCK_CONTROL_NRF_DRIVER_CALIBRATION && CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION && CLOCK_CONTROL_NRF && CLOCK_CONTROL) || (BT_BAS && BT_CONN && BT_CONN && BT_HCI_HOST && BT_HCI && BT))
    
    ...depends on VM3011 (defined at /opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/drivers/vm3011/Kconfig.vm3011:4), with definition...
    
    menuconfig VM3011
            bool "VM3011 dmic"
            select NRFX_PDM
            select SENSOR
            depends on I2C
            help
              Enable driver for VM3011 Digital MEMS Microphone.
    
    ...depends again on I2C (defined at boards/arm/thingy53_nrf5340/Kconfig.defconfig:95, drivers/i2c/Kconfig:9)
    CMake Error at /opt/nordic/ncs/v2.5.2/zephyr/cmake/modules/kconfig.cmake:348 (message):
      command failed with return code: 1
    Call Stack (most recent call first):
      /opt/nordic/ncs/v2.5.2/nrf/cmake/modules/kconfig.cmake:29 (include)
      /opt/nordic/ncs/v2.5.2/zephyr/cmake/modules/zephyr_default.cmake:129 (include)
      /opt/nordic/ncs/v2.5.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
      /opt/nordic/ncs/v2.5.2/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
      CMakeLists.txt:15 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/20d68df7e5/bin/cmake -DWEST_PYTHON=/opt/nordic/ncs/toolchains/20d68df7e5/opt/[email protected]/bin/python3.9 -B/opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/build -GNinja -DBOARD=thingy53_nrf5340_cpuapp -DNCS_TOOLCHAIN_VERSION=NONE '-DBOARD_ROOT=/opt/nordic/nrf/samples/bluetooth/wifi_over_http;/opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection' '-Dhci_rpmsg_OVERLAY_CONFIG=/opt/nordic/ncs/v2.0.0/nrf/subsys/bootloader/image/secure_boot.conf;/opt/nordic/ncs/v2.0.0/nrf/subsys/partition_manager/partition_manager_enabled.conf' '-Dmcuboot_DTC_OVERLAY_FILE=/opt/nordic/ncs/v2.0.0/nrf/modules/mcuboot/flash_sim.overlay;/opt/nordic/ncs/v2.0.0/nrf/modules/mcuboot/usb.overlay' '-Dmcuboot_OVERLAY_CONFIG=/opt/nordic/ncs/v2.0.0/nrf/subsys/pcd/pcd.conf;/opt/nordic/ncs/v2.0.0/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf;/opt/nordic/ncs/v2.0.0/nrf/subsys/partition_manager/partition_manager_enabled.conf' '-DCACHED_CONF_FILE=/opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/prj.conf;/opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/boards/thingy53_nrf5340_cpuapp.conf' -DDTC_OVERLAY_FILE=/opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection/boards/thingy53_nrf5340_cpuapp.overlay -S/opt/nordic/nrf/samples/bluetooth/thingy53_snoring_detection
    
     *  The terminal process terminated with exit code: 1. 
     *  Terminal will be reused by tasks, press any key to close it. 
    

  • Are you able to upload your project here or in a private ticket so I can try to figure out what is causing the kconfig dependency loop?

  • Thanks. You can fix the dependency loop by replacing "depends on" with "select" here: 

Related