Hi,
Continuing the issue above, I’m trying to build the official edge-impulse app for thingy53 on zephyr 4.1.99 and ncs 3.1.0. I’m experiencing the errors below that I hope you can help me resolve:
neuberfran@neuberfran2204:~/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53$ west build -b thingy53/nrf5340/cpuapp
– west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
– Found Python3: /usr/bin/python3 (found suitable version “3.10.12”, minimum required is “3.10”) found components: Interpreter
– Cache files will be written to: /home/neuberfran/.cache/zephyr
– Found west (found suitable version “1.2.0”, minimum required is “0.14.0”)
– Board: thingy53, qualifiers: nrf5340/cpuapp
Parsing /home/neuberfran/zephyr_thingy53/ncs/zephyr/share/sysbuild/Kconfig
Loaded configuration ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/_sysbuild/empty.conf’
Merged configuration ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/_sysbuild/empty.conf’
Configuration saved to ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/zephyr/.config’
Kconfig header saved to ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/_sysbuild/autoconf.h’
- Running CMake for mcuboot *
Loading Zephyr default modules (Zephyr base).
– Application: /home/neuberfran/zephyr_thingy53/ncs/bootloader/mcuboot/boot/zephyr
– CMake version: 3.22.1
– Found Python3: /usr/bin/python (found suitable version “3.10.12”, minimum required is “3.10”) found components: Interpreter
– Cache files will be written to: /home/neuberfran/.cache/zephyr
– Zephyr version: 4.1.99 (/home/neuberfran/zephyr_thingy53/ncs/zephyr)
– Found west (found suitable version “1.2.0”, minimum required is “0.14.0”)
– Board: thingy53, qualifiers: nrf5340/cpuapp
– ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
– Found host-tools: zephyr 0.16.5 (/home/neuberfran/zephyr-sdk-0.16.5-1)
– Found toolchain: zephyr 0.16.5 (/home/neuberfran/zephyr-sdk-0.16.5-1)
– Found Dtc: /home/neuberfran/zephyr-sdk-0.16.5-1/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version “1.6.0”, minimum required is “1.4.6”)
– Found BOARD.dts: /home/neuberfran/zephyr_thingy53/ncs/zephyr/boards/nordic/thingy53/thingy53_nrf5340_cpuapp.dts
– Found devicetree overlay: /home/neuberfran/zephyr_thingy53/ncs/bootloader/mcuboot/boot/zephyr/app.overlay
– Found devicetree overlay: /home/neuberfran/zephyr_thingy53/ncs/nrf/modules/mcuboot/flash_sim.overlay
– Generated zephyr.dts: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/mcuboot/zephyr/zephyr.dts
– Generated pickled edt: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/mcuboot/zephyr/edt.pickle
– Generated devicetree_generated.h: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/mcuboot/zephyr/include/generated/zephyr/devicetree_generated.hwarning: MBEDTLS_CFG_FILE (defined at
/home/neuberfran/zephyr_thingy53/ncs/bootloader/mcuboot/boot/zephyr/Kconfig:490,
/home/neuberfran/zephyr_thingy53/ncs/nrf/subsys/nrf_security/Kconfig:67, modules/mbedtls/Kconfig:59,
modules/mbedtls/Kconfig:59) was assigned the value ‘mcuboot-mbedtls-cfg.h’ but got the valueand/or look up MBEDTLS_CFG_FILE 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: NCS_APPLICATION_BOOT_BANNER_STRING (defined at
/home/neuberfran/zephyr_thingy53/ncs/nrf/lib/boot_banner/Kconfig:18) was assigned the value
‘MCUboot’ but got the value ‘’. Check these unsatisfied dependencies: NCS_BOOT_BANNER (=n). Seelook up NCS_APPLICATION_BOOT_BANNER_STRING 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_DEFAULT_LEVEL (defined at subsys/logging/Kconfig.filtering:13) was assigned the value
‘0’ but got the value ‘’. Check these unsatisfied dependencies: LOG (=n). SeeLOG_DEFAULT_LEVEL 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 MCUBOOT_LOG_LEVEL_INF (defined at
subsys/logging/Kconfig.template.log_config:17) was selected (set =y), but no symbol ended up as theand/or look up MCUBOOT_LOG_LEVEL_INF 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_MODE_MINIMAL (defined at subsys/logging/Kconfig.mode:29) was selected
(set =y), but no symbol ended up as the choice selection. SeeLOG_MODE_MINIMAL 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.Parsing /home/neuberfran/zephyr_thingy53/ncs/bootloader/mcuboot/boot/zephyr/Kconfig
Loaded configuration ‘/home/neuberfran/zephyr_thingy53/ncs/zephyr/boards/nordic/thingy53/thingy53_nrf5340_cpuapp_defconfig’
Merged configuration ‘/home/neuberfran/zephyr_thingy53/ncs/bootloader/mcuboot/boot/zephyr/prj.conf’
Merged configuration ‘/home/neuberfran/zephyr_thingy53/ncs/bootloader/mcuboot/boot/zephyr/boards/thingy53_nrf5340_cpuapp.conf’
Merged configuration ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/subsys/partition_manager/ext_flash_mcuboot_secondary.conf’
Merged configuration ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/mcuboot/zephyr/.config.sysbuild’
Configuration saved to ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/mcuboot/zephyr/.config’
Kconfig header saved to ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/mcuboot/zephyr/include/generated/zephyr/autoconf.h’
– Found GnuLd: /home/neuberfran/zephyr-sdk-0.16.5-1/arm-zephyr-eabi/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: /home/neuberfran/zephyr-sdk-0.16.5-1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
– Using ccache: /usr/bin/ccache
– Found gen_kobject_list: /home/neuberfran/zephyr_thingy53/ncs/zephyr/scripts/build/gen_kobject_list.py
MCUBoot bootloader key file: /home/neuberfran/zephyr_thingy53/ncs/bootloader/mcuboot/root-rsa-2048.pem
CMake Warning at CMakeLists.txt:412 (message):
WARNING: Using default MCUboot signing key file, this file is for debug use
only and is not secure!– Configuring done
– Generating done
– Build files have been written to: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/mcuboot
- Running CMake for empty_net_core *
Loading Zephyr default modules (Zephyr base).
– Application: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/nrf5340/empty_net_core
– CMake version: 3.22.1
– Found Python3: /usr/bin/python (found suitable version “3.10.12”, minimum required is “3.10”) found components: Interpreter
– Cache files will be written to: /home/neuberfran/.cache/zephyr
– Zephyr version: 4.1.99 (/home/neuberfran/zephyr_thingy53/ncs/zephyr)
– Found west (found suitable version “1.2.0”, minimum required is “0.14.0”)
– Board: thingy53, qualifiers: nrf5340/cpunet
– ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
– Found host-tools: zephyr 0.16.5 (/home/neuberfran/zephyr-sdk-0.16.5-1)
– Found toolchain: zephyr 0.16.5 (/home/neuberfran/zephyr-sdk-0.16.5-1)
– Found Dtc: /home/neuberfran/zephyr-sdk-0.16.5-1/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version “1.6.0”, minimum required is “1.4.6”)
– Found BOARD.dts: /home/neuberfran/zephyr_thingy53/ncs/zephyr/boards/nordic/thingy53/thingy53_nrf5340_cpunet.dts
– Generated zephyr.dts: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/empty_net_core/zephyr/zephyr.dts
– Generated pickled edt: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/empty_net_core/zephyr/edt.pickle
– Generated devicetree_generated.h: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/empty_net_core/zephyr/include/generated/zephyr/devicetree_generated.h
Parsing /home/neuberfran/zephyr_thingy53/ncs/zephyr/Kconfig
Loaded configuration ‘/home/neuberfran/zephyr_thingy53/ncs/zephyr/boards/nordic/thingy53/thingy53_nrf5340_cpunet_defconfig’
Merged configuration ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/nrf5340/empty_net_core/prj.conf’
Merged configuration ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/empty_net_core/zephyr/.config.sysbuild’
Configuration saved to ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/empty_net_core/zephyr/.config’
Kconfig header saved to ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/empty_net_core/zephyr/include/generated/zephyr/autoconf.h’
– Found GnuLd: /home/neuberfran/zephyr-sdk-0.16.5-1/arm-zephyr-eabi/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: /home/neuberfran/zephyr-sdk-0.16.5-1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
– Using ccache: /usr/bin/ccache
– Found gen_kobject_list: /home/neuberfran/zephyr_thingy53/ncs/zephyr/scripts/build/gen_kobject_list.py
– Configuring done
– Generating done
– Build files have been written to: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/empty_net_core
- Running CMake for b0n *
Loading Zephyr default modules (Zephyr base).
– Application: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/nrf5340/netboot
– CMake version: 3.22.1
– Found Python3: /usr/bin/python (found suitable version “3.10.12”, minimum required is “3.10”) found components: Interpreter
– Cache files will be written to: /home/neuberfran/.cache/zephyr
– Zephyr version: 4.1.99 (/home/neuberfran/zephyr_thingy53/ncs/zephyr)
– Found west (found suitable version “1.2.0”, minimum required is “0.14.0”)
– Board: thingy53, qualifiers: nrf5340/cpunet
– ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
– Found host-tools: zephyr 0.16.5 (/home/neuberfran/zephyr-sdk-0.16.5-1)
– Found toolchain: zephyr 0.16.5 (/home/neuberfran/zephyr-sdk-0.16.5-1)
– Found Dtc: /home/neuberfran/zephyr-sdk-0.16.5-1/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version “1.6.0”, minimum required is “1.4.6”)
– Found BOARD.dts: /home/neuberfran/zephyr_thingy53/ncs/zephyr/boards/nordic/thingy53/thingy53_nrf5340_cpunet.dts
– Generated zephyr.dts: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/b0n/zephyr/zephyr.dts
– Generated pickled edt: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/b0n/zephyr/edt.pickle
– Generated devicetree_generated.h: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/b0n/zephyr/include/generated/zephyr/devicetree_generated.h
Parsing /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/nrf5340/netboot/Kconfig
Loaded configuration ‘/home/neuberfran/zephyr_thingy53/ncs/zephyr/boards/nordic/thingy53/thingy53_nrf5340_cpunet_defconfig’
Merged configuration ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/nrf5340/netboot/prj.conf’
Merged configuration ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/b0n/zephyr/.config.sysbuild’
Configuration saved to ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/b0n/zephyr/.config’
Kconfig header saved to ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/b0n/zephyr/include/generated/zephyr/autoconf.h’
– Found GnuLd: /home/neuberfran/zephyr-sdk-0.16.5-1/arm-zephyr-eabi/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: /home/neuberfran/zephyr-sdk-0.16.5-1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
– Using ccache: /usr/bin/ccache
– Found gen_kobject_list: /home/neuberfran/zephyr_thingy53/ncs/zephyr/scripts/build/gen_kobject_list.py
CMake Warning at /home/neuberfran/zephyr_thingy53/ncs/zephyr/CMakeLists.txt:2232 (message):
__ASSERT() statements are globally ENABLED– Configuring done
– Generating done
– Build files have been written to: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/b0n
- Running CMake for firmware-nordic-thingy53 *
Loading Zephyr default modules (Zephyr base).
– Application: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53
– CMake version: 3.22.1
– Found Python3: /usr/bin/python (found suitable version “3.10.12”, minimum required is “3.10”) found components: Interpreter
– Cache files will be written to: /home/neuberfran/.cache/zephyr
– Zephyr version: 4.1.99 (/home/neuberfran/zephyr_thingy53/ncs/zephyr)
– Found west (found suitable version “1.2.0”, minimum required is “0.14.0”)
– Board: thingy53, qualifiers: nrf5340/cpuapp
– ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
– Found host-tools: zephyr 0.16.5 (/home/neuberfran/zephyr-sdk-0.16.5-1)
– Found toolchain: zephyr 0.16.5 (/home/neuberfran/zephyr-sdk-0.16.5-1)
– Found Dtc: /home/neuberfran/zephyr-sdk-0.16.5-1/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version “1.6.0”, minimum required is “1.4.6”)
– Found BOARD.dts: /home/neuberfran/zephyr_thingy53/ncs/zephyr/boards/nordic/thingy53/thingy53_nrf5340_cpuapp.dts
– Found devicetree overlay: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/boards/thingy53_nrf5340_cpuapp.overlay
node ‘/soc/peripheral@50000000/i2c@9000/vm3011@60’ compatible ‘vesper,vm3011’ has unknown vendor prefix ‘vesper’
– Generated zephyr.dts: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/firmware-nordic-thingy53/zephyr/zephyr.dts
– Generated pickled edt: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/firmware-nordic-thingy53/zephyr/edt.pickle
– Generated devicetree_generated.h: /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/firmware-nordic-thingy53/zephyr/include/generated/zephyr/devicetree_generated.hwarning: Deprecated symbol BOARD_ENABLE_CPUNET is enabled.
/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/prj.conf:65: warning: attempt to assign the value ‘y’ to the undefined symbol BUILD_VERBOSE
Parsing /home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/Kconfig
Loaded configuration ‘/home/neuberfran/zephyr_thingy53/ncs/zephyr/boards/nordic/thingy53/thingy53_nrf5340_cpuapp_defconfig’
Merged configuration ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/prj.conf’
Merged configuration ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/boards/thingy53_nrf5340_cpuapp.conf’
Merged configuration ‘/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/firmware-nordic-thingy53/zephyr/.config.sysbuild’error: Aborting due to Kconfig warnings
CMake Error at /home/neuberfran/zephyr_thingy53/ncs/zephyr/cmake/modules/kconfig.cmake:377 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/neuberfran/zephyr_thingy53/ncs/nrf/cmake/modules/kconfig.cmake:83 (include)
/home/neuberfran/zephyr_thingy53/ncs/zephyr/cmake/modules/zephyr_default.cmake:131 (include)
/home/neuberfran/zephyr_thingy53/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/neuberfran/zephyr_thingy53/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:50 (find_package)– Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:530 (message):
CMake configure failed for Zephyr project: firmware-nordic-thingy53Location:
/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53
Call Stack (most recent call first):
cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
cmake/modules/sysbuild_default.cmake:21 (include)
/home/neuberfran/zephyr_thingy53/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
/home/neuberfran/zephyr_thingy53/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
/home/neuberfran/zephyr_thingy53/ncs/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)– Configuring incomplete, errors occurred!
See also “/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build/CMakeFiles/CMakeOutput.log”.
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53/build -GNinja -DBOARD=thingy53/nrf5340/cpuapp -S/home/neuberfran/zephyr_thingy53/ncs/zephyr/share/sysbuild -DAPP_DIR:PATH=/home/neuberfran/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53
neuberfran@neuberfran2204:~/zephyr_thingy53/ncs/nrf/samples/edge_impulse/firmware-nordic-thingy53$