This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Kconfig MEMFAULT errors while building direction_finding_connectionless_rx sample

Hi!

I am running zephyr/samples/bluetooth/direction_finding_connectionless_rx sample application with minor modifications. I had no problem building application. I then discovered that channel index was reporting false value in CTE callback function. While searching for error I found this thread: https://devzone.nordicsemi.com/f/nordic-q-a/74927/aoa-aod/314072#314072. In this thread Piotr explained that there was a bug and that it has been fixed.

So I updated my local zephyr project repository (to get rid of mentioned bug). Now my application won't build because of some Kconfig warning.

Here is the complete console output from Eclipse IDE after calling west build -b nrf52833dk_nrf52833:

west build -b nrf52833dk_nrf52833
-- west build: generating a build system
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Including boilerplate (Zephyr base (cached)): PROJECT_PATH/zephyr/cmake/app/boilerplate.cmake
-- Application: PROJECT_PATH
-- Zephyr version: 2.6.99 (PROJECT_PATH/zephyr), build: zephyr-v2.6.0-1198-g244f69d1df7f
-- Found west (found suitable version "0.10.1", minimum required is "0.7.1")
-- Board: nrf52833dk_nrf52833
-- Cache files will be written to: HOME_PATH/.cache/zephyr
-- Found dtc: /usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (GNU_ARM_EMBEDDED_TOOLCHAIN_PATH/gcc-arm-none-eabi-8-2019-q3-update-linux/gcc-arm-none-eabi-8-2019-q3-update)
-- Found BOARD.dts: PROJECT_PATH/zephyr/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833.dts
-- Found devicetree overlay: PROJECT_PATH/boards/nrf52833dk_nrf52833.overlay
-- Generated zephyr.dts: PROJECT_PATH/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: PROJECT_PATH/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: PROJECT_PATH/build/zephyr/include/generated/device_extern.h
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Parsing PROJECT_PATH/zephyr/Kconfig
Loaded configuration 'PROJECT_PATH/zephyr/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833_defconfig'
Merged configuration 'PROJECT_PATH/prj.conf'
Merged configuration 'PROJECT_PATH/boards/nrf52833dk_nrf52833.conf'

warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at PROJECT_PATH/nrf/modules/memfault/Kconfig:160) defined with type unknown

warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at PROJECT_PATH/nrf/modules/memfault/Kconfig:160) defined without a prompt

warning: the default selection MEMFAULT_HTTP_PERIODIC_UPLOAD_USE_DEDICATED_WORKQUEUE (undefined) of <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at PROJECT_PATH/nrf/modules/memfault/Kconfig:160) is not contained in the choice

error: Aborting due to Kconfig warnings

CMake Error at zephyr/cmake/kconfig.cmake:268 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  zephyr/cmake/app/boilerplate.cmake:572 (include)
-- Configuring incomplete, errors occurred!
  zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
  CMakeLists.txt:8 (find_package)


FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/build -S/PROJECT_PATH -GNinja
"west build -b nrf52833dk_nrf52833" terminated with exit code 1. Build might be incomplete.

18:41:52 Build Finished. 0 errors, 0 warnings. (took 2s.790ms)

I have tried with fresh sample application with no modifications and I got the same error.

Does anyone have any clue what is going on?

Related