I cannot get bme68x IAQ to work

Hi, this is a very broad issue that i am having, because i dont know the source of it. I am simply unable to use the bme68x IAQ library. i have downloaded the external bsec library with west as indicated, but it still doesnt find it in the drivers or libraries in prj.conf. I have looked on the internet for a good 5 hours and nothing is working. I can confirm that the bsec and bme68x libaries are present under nrf/modules/lib.

Loading Zephyr default modules (Zephyr base).
-- Application: C:/Users/Bonjour/gnss
-- CMake version: 3.21.0
-- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
-- Cache files will be written to: D:/ncss/zephyr/.cache
-- Zephyr version: 4.0.99 (D:/ncss/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf9151dk, qualifiers: nrf9151/ns
-- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/0b393f9e1b/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
-- Found BOARD.dts: D:/ncss/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns.dts
-- Found devicetree overlay: C:/Users/Bonjour/gnss/app.overlay
-- Generated zephyr.dts: C:/Users/Bonjour/gnss/build/gnss/zephyr/zephyr.dts
-- Generated pickled edt: C:/Users/Bonjour/gnss/build/gnss/zephyr/edt.pickle
-- Generated zephyr.dts: C:/Users/Bonjour/gnss/build/gnss/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/Users/Bonjour/gnss/build/gnss/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/Users/Bonjour/gnss/build/gnss/zephyr/dts.cmake

warning: USE_SEGGER_RTT (defined at modules\segger\Kconfig:12) was assigned the value 'y' but got
the value 'n'. Check these unsatisfied dependencies: HAS_SEGGER_RTT (=n), 0 (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_USE_SEGGER_RTT and/or look up
USE_SEGGER_RTT 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: SEGGER_RTT_BUFFER_SIZE_UP (defined at modules\segger\Kconfig:36) was assigned the value
'8192' but got the value ''. Check these unsatisfied dependencies: USE_SEGGER_RTT (=n), 0 (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_SEGGER_RTT_BUFFER_SIZE_UP and/or look up
SEGGER_RTT_BUFFER_SIZE_UP 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: SEGGER_RTT_BUFFER_SIZE_DOWN (defined at modules\segger\Kconfig:40) was assigned the value
'64' but got the value ''. Check these unsatisfied dependencies: USE_SEGGER_RTT (=n), 0 (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_SEGGER_RTT_BUFFER_SIZE_DOWN and/or look up
SEGGER_RTT_BUFFER_SIZE_DOWN 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: RTT_CONSOLE (defined at drivers/console/Kconfig:130) was assigned the value 'y' but got the
value 'n'. Check these unsatisfied dependencies: USE_SEGGER_RTT (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_RTT_CONSOLE and/or look up RTT_CONSOLE 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: STDOUT_CONSOLE (defined at lib/libc/Kconfig:136) was assigned the value 'y' but got the
value 'n'. Check these unsatisfied dependencies: CONSOLE_HAS_DRIVER (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_STDOUT_CONSOLE and/or look up
STDOUT_CONSOLE 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: LOG_BACKEND_RTT (defined at subsys/logging\backends\Kconfig.rtt:4) was assigned the value
'y' but got the value 'n'. Check these unsatisfied dependencies: USE_SEGGER_RTT (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_BACKEND_RTT and/or look up
LOG_BACKEND_RTT 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: The choice symbol LOG_BACKEND_RTT_MODE_BLOCK (defined at
subsys/logging\backends\Kconfig.rtt:31) was selected (set =y), but no symbol ended up as the choice
selection. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_BACKEND_RTT_MODE_BLOCK
and/or look up LOG_BACKEND_RTT_MODE_BLOCK 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.


C:/Users/Bonjour/gnss/prj.conf:13: warning: attempt to assign the value 'y' to the undefined symbol NRF_MODEM_LIB

C:/Users/Bonjour/gnss/prj.conf:16: warning: attempt to assign the value 'y' to the undefined symbol MODEM_INFO

C:/Users/Bonjour/gnss/prj.conf:19: warning: attempt to assign the value 'y' to the undefined symbol LTE_LINK_CONTROL

C:/Users/Bonjour/gnss/prj.conf:20: warning: attempt to assign the value 'y' to the undefined symbol LTE_NETWORK_MODE_LTE_M_GPS

C:/Users/Bonjour/gnss/prj.conf:83: warning: attempt to assign the value 'y' to the undefined symbol DK_LIBRARY

C:/Users/Bonjour/gnss/prj.conf:103: warning: attempt to assign the value 'y' to the undefined symbol NRF_MODEM_LIB

C:/Users/Bonjour/gnss/prj.conf:106: warning: attempt to assign the value 'y' to the undefined symbol LTE_LINK_CONTROL

C:/Users/Bonjour/gnss/prj.conf:108: warning: attempt to assign the value 'y' to the undefined symbol LTE_NETWORK_MODE_LTE_M_NBIOT_GPS

C:/Users/Bonjour/gnss/prj.conf:110: warning: attempt to assign the value 'y' to the undefined symbol MODEM_ANTENNA_GNSS_EXTERNAL

C:/Users/Bonjour/gnss/prj.conf:134: warning: attempt to assign the value 'y' to the undefined symbol BME68X

C:/Users/Bonjour/gnss/prj.conf:135: warning: attempt to assign the value 'y' to the undefined symbol BME68X_IAQ

C:/Users/Bonjour/gnss/build/gnss/zephyr/.config.sysbuild:2: warning: attempt to assign the value 'y' to the undefined symbol PARTITION_MANAGER_ENABLED

C:/Users/Bonjour/gnss/build/gnss/zephyr/.config.sysbuild:6: warning: attempt to assign the value 'n' to the undefined symbol CHIP

warning: HAS_CMSIS_CORE (defined at modules\cmsis\Kconfig:7) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
 - CPU_CORTEX_M (defined at D:/ncss/zephyr/arch/arm\core/Kconfig:6), with value y, direct dependencies ARM (value: y), and select condition ARM (value: y)

warning: CMSIS_CORE_HAS_SYSTEM_CORE_CLOCK (defined at D:/ncss/zephyr/soc/nxp/imxrt\imxrt6xx\Kconfig.defconfig:8, modules\cmsis\Kconfig:31) has direct dependencies (SOC_SERIES_IMXRT6XX && SOC_FAMILY_NXP_IMXRT) || (HAS_CMSIS_CORE && 0) with value n, but is currently being y-selected by the following symbols:
 - SOC_FAMILY_NORDIC_NRF (defined at D:/ncss/zephyr/soc/nordic/Kconfig.soc:19, D:/ncss/zephyr/soc/nordic/Kconfig:9), with value y, direct dependencies y (value: y), and select condition ARM (value: y)

warning: HAS_NRFX (defined at modules\hal_nordic\nrfx/Kconfig:4) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
 - SOC_SERIES_NRF91X (defined at D:/ncss/zephyr/soc/nordic/Kconfig.soc:54, D:/ncss/zephyr/soc/nordic\nrf91\Kconfig.soc:6, D:/ncss/zephyr/soc/nordic\nrf91\Kconfig:6), with value y, direct dependencies y (value: y), and select condition SOC_FAMILY_NORDIC_NRF (value: y)

warning: NRFX_CLOCK (defined at modules\hal_nordic\nrfx/Kconfig:16) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
 - CLOCK_CONTROL_NRF (defined at drivers/clock_control/Kconfig.nrf:13), with value y, direct dependencies DT_HAS_NORDIC_NRF_CLOCK_ENABLED && CLOCK_CONTROL (value: y), and select condition !CLOCK_CONTROL_NRF_FORCE_ALT && DT_HAS_NORDIC_NRF_CLOCK_ENABLED && CLOCK_CONTROL (value: y)

warning: NRFX_GPPI (defined at modules\hal_nordic\nrfx/Kconfig:209) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
 - UART_0_ENHANCED_POLL_OUT (defined at drivers/serial\Kconfig.nrfx_uart_instance:21), with value y, direct dependencies !n && HAS_HW_NRF_UARTE0 && (HAS_HW_NRF_PPI || HAS_HW_NRF_DPPIC) && (HAS_HW_NRF_UART0 || HAS_HW_NRF_UARTE0) && UART_NRFX && SERIAL (value: y), and select condition !n && HAS_HW_NRF_UARTE0 && (HAS_HW_NRF_PPI || HAS_HW_NRF_DPPIC) && (HAS_HW_NRF_UART0 || HAS_HW_NRF_UARTE0) && UART_NRFX && SERIAL (value: y)

warning: NRFX_GPIOTE1 (defined at modules\hal_nordic\nrfx/Kconfig:176) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
 - GPIO_NRFX (defined at drivers/gpio/Kconfig.nrfx:4), with value y, direct dependencies DT_HAS_NORDIC_NRF_GPIO_ENABLED && GPIO (value: y), and select condition HAS_HW_NRF_GPIOTE1 && DT_HAS_NORDIC_NRF_GPIO_ENABLED && GPIO (value: y)

warning: NRFX_NVMC (defined at modules\hal_nordic\nrfx/Kconfig:246) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
 - SOC_FLASH_NRF (defined at drivers/flash/Kconfig.nrf:10), with value y, direct dependencies (DT_HAS_NORDIC_NRF51_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF52_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF53_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF91_FLASH_CONTROLLER_ENABLED) && !FLASH_NRF_FORCE_ALT && FLASH (value: y), and select condition (DT_HAS_NORDIC_NRF51_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF52_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF53_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF91_FLASH_CONTROLLER_ENABLED) && !FLASH_NRF_FORCE_ALT && FLASH (value: y)
Parsing C:/Users/Bonjour/gnss/Kconfig
Loaded configuration 'D:/ncss/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns_defconfig'
Merged configuration 'C:/Users/Bonjour/gnss/prj.conf'
Merged configuration 'C:/Users/Bonjour/gnss/build/gnss/zephyr/.config.sysbuild'

warning: NRFX_PDM0 (defined at modules\hal_nordic\nrfx/Kconfig:253) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
 - AUDIO_DMIC_NRFX_PDM (defined at drivers/audio/Kconfig.dmic_pdm_nrfx:4), with value y, direct dependencies DT_HAS_NORDIC_NRF_PDM_ENABLED && AUDIO_DMIC && AUDIO (value: y), and select condition HAS_HW_NRF_PDM0 && DT_HAS_NORDIC_NRF_PDM_ENABLED && AUDIO_DMIC && AUDIO (value: y)

warning: NRFX_SPIM3 (defined at modules\hal_nordic\nrfx/Kconfig:507) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
 - SPI_NRFX_SPIM (defined at drivers/spi/Kconfig.nrfx:22), with value y, direct dependencies DT_HAS_NORDIC_NRF_SPIM_ENABLED && SPI_NRFX && SPI (value: y), and select condition HAS_HW_NRF_SPIM3 && DT_HAS_NORDIC_NRF_SPIM_ENABLED && SPI_NRFX && SPI (value: y)

warning: NRFX_TWIM2 (defined at modules\hal_nordic\nrfx/Kconfig:864) has direct dependencies HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
 - I2C_NRFX_TWIM (defined at drivers/i2c/Kconfig.nrfx:23), with value y, direct dependencies DT_HAS_NORDIC_NRF_TWIM_ENABLED && I2C_NRFX && I2C (value: y), and select condition HAS_HW_NRF_TWIM2 && DT_HAS_NORDIC_NRF_TWIM_ENABLED && I2C_NRFX && I2C (value: y)

warning: NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED (defined at modules\hal_nordic\nrfx/Kconfig:20) has direct dependencies NRFX_CLOCK && HAS_NRFX && 0 with value n, but is currently being y-selected by the following symbols:
 - CLOCK_CONTROL_NRF_K32SRC_XTAL (defined at drivers/clock_control/Kconfig.nrf:36), with value y, direct dependencies <choice CLOCK_CONTROL_NRF_SOURCE> (value: y), and select condition !SOC_SERIES_BSIM_NRFXX && !CLOCK_CONTROL_NRF_FORCE_ALT && <choice CLOCK_CONTROL_NRF_SOURCE> (value: y)

error: Aborting due to Kconfig warnings

CMake Error at D:/ncss/zephyr/cmake/modules/kconfig.cmake:396 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  D:/ncss/nrf/cmake/modules/kconfig.cmake:36 (include)
  D:/ncss/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  D:/ncss/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  D:/ncss/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:13 (find_package)


-- Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
  CMake configure failed for Zephyr project: gnss

  Location: C:/Users/Bonjour/gnss
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:21 (include)
  D:/ncss/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  D:/ncss/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  D:/ncss/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/Users/Bonjour/gnss/build/CMakeFiles/CMakeOutput.log".
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe '-Bc:\Users\Bonjour\gnss\build' -GNinja -DBOARD=nrf9151dk/nrf9151/ns '-SD:\ncss\zephyr\share\sysbuild' '-DAPP_DIR:PATH=c:\Users\Bonjour\gnss'

 7522.gnss.zip

Related