[Direct Test Mode] The failed compiled result for nRF54L15 via SDK v3.0.0

Hi Support team:

I am new for using the Nordic Design kit of nRF54L15-DK. 

And I would like to use the app "Direct Test Mode" v2.4.2 built-in the "nRF Connect for Desktop" v5.1.0 on my Windows OS.

But I followed up the instruction to install the SDK with v3.0.0 and find the application under the default dictionary.

C:\ncs\toolchains\v3.0.0\nrf\samples\bluetooth\direct_test_mode

Use the nRFutil with tool "West" to build the hex.

But I encountered the issue and don`t know which setting is not matched and lead the failure.

Can team help to guide me to fix the issue?

------------------------- Console log of the during the compilation -------------------------

(v3.0.0) C:\ncs\toolchains\v3.0.0\nrf\samples\bluetooth\direct_test_mode> west build -b nrf54l15dk/nrf54l15/cpuapp
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- 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: C:/ncs/toolchains/v3.0.0/zephyr/.cache
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp
Parsing C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/Kconfig.sysbuild
Loaded configuration 'C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/build/_sysbuild/empty.conf'
Merged configuration 'C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/sysbuild.conf'
Configuration saved to 'C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/build/zephyr/.config'
Kconfig header saved to 'C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/build/_sysbuild/autoconf.h'
--
**************************************
* Running CMake for direct_test_mode *
**************************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode
-- 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: C:/ncs/toolchains/v3.0.0/zephyr/.cache
-- Zephyr version: 4.0.99 (C:/ncs/toolchains/v3.0.0/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp
-- 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: C:/ncs/toolchains/v3.0.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts
-- Found devicetree overlay: C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/boards/nrf54l15dk_nrf54l15_cpuapp.overlay
-- Generated zephyr.dts: C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/build/direct_test_mode/zephyr/zephyr.dts
-- Generated pickled edt: C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/build/direct_test_mode/zephyr/edt.pickle
-- Generated zephyr.dts: C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/build/direct_test_mode/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/build/direct_test_mode/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/build/direct_test_mode/zephyr/dts.cmake
Parsing C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/Kconfig
Loaded configuration 'C:/ncs/toolchains/v3.0.0/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp_defconfig'
Merged configuration 'C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/prj.conf'
Merged configuration 'C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/boards/nrf54l15dk_nrf54l15_cpuapp.conf'
Merged configuration 'C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/build/direct_test_mode/zephyr/.config.sysbuild'
Configuration saved to 'C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/build/direct_test_mode/zephyr/.config'
Kconfig header saved to 'C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/build/direct_test_mode/zephyr/include/generated/zephyr/autoconf.h'
CMake Error at C:/ncs/toolchains/v3.0.0/zephyr/cmake/modules/extensions.cmake:2645 (message):
No such file or directory: LIBGCC_FILE_NAME: ''
Call Stack (most recent call first):
C:/ncs/toolchains/v3.0.0/zephyr/cmake/compiler/gcc/target.cmake:106 (assert_exists)
C:/ncs/toolchains/v3.0.0/zephyr/cmake/modules/FindTargetTools.cmake:103 (include)
C:/ncs/toolchains/v3.0.0/zephyr/cmake/modules/kernel.cmake:25 (find_package)
C:/ncs/toolchains/v3.0.0/zephyr/cmake/modules/zephyr_default.cmake:142 (include)
C:/ncs/toolchains/v3.0.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
C:/ncs/toolchains/v3.0.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:8 (find_package)


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

Location: C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode
Call Stack (most recent call first):
cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
cmake/modules/sysbuild_default.cmake:21 (include)
C:/ncs/toolchains/v3.0.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
C:/ncs/toolchains/v3.0.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
C:/ncs/toolchains/v3.0.0/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also "C:/ncs/toolchains/v3.0.0/nrf/samples/bluetooth/direct_test_mode/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:\ncs\toolchains\v3.0.0\nrf\samples\bluetooth\direct_test_mode\build' -GNinja -DBOARD=nrf54l15dk/nrf54l15/cpuapp '-SC:\ncs\toolchains\v3.0.0\zephyr\share\sysbuild' '-DAPP_DIR:PATH=C:\ncs\toolchains\v3.0.0\nrf\samples\bluetooth\direct_test_mode'

-----------------------------------------------------------------------------------------------------------------------------

Best Regards.
Paul Lin

Parents
  • Hello Paul,

    How have you installed the NCS V3.0.0.

    The error seems related to nrfutil toolchain installation. Try reinstalling and update your toolchain.

  • Hi Kaz:

    I studied the Nordic technical website and summarized the command line below.

    Use the nRFutil as nRF Connect SDK v3.0.0 as my understanding.

    ### 1.Open a terminal window. ####
    ### 2.Run the following command to install the nRF Util’s sdk-manager command: ###
    nrfutil install sdk-manager

    ### 3.Run the following command to list the available installations: ###
    nrfutil sdk-manager search

    ### 4.Run the following command to install the toolchain version for the SDK version of your choice: ###
    nrfutil sdk-manager toolchain install --ncs-version version

    For example:
    nrfutil sdk-manager toolchain install --ncs-version v3.0.0

    ### 5.On the command line, open the directory ncs. By default, this is one level up from the location where you installed the toolchain. This directory will hold all nRF Connect SDK repositories. ###
    C:\ncs\toolchains>nrfutil sdk-manager toolchain launch --ncs-version v3.0.0 --terminal
    ### 6. Specific release: To check out the v3.0.0 release, enter the following command: ###
    (v3.0.0) C:\ncs> west init -m github.com/.../sdk-nrf --mr v3.0.0 v3.0.0
    ### 7.Preview tag: To check out the v2.8.0-preview1 tag, enter the following command: ###
    (v3.0.0) C:\ncs> west init -m github.com/.../sdk-nrf --mr v2.8.0-preview1
    ### 8.Branch: To check out the main branch that includes the latest state of development, enter the following command: ###
    (v3.0.0) C:\ncs> west init -m github.com/.../sdk-nrf --mr main main
    ### 9.Enter the nRFConnectSDK_revision subdirectory and run the following command to clone the project repositories: ###
    (v3.0.0) C:\ncs\toolchains\v3.0.0> west update
    ### 10.Export a Zephyr CMake package. This allows CMake to automatically load the boilerplate code required for building nRF Connect SDK applications: ###
    (v3.0.0) C:\ncs\toolchains\v3.0.0> west zephyr-export

Reply
  • Hi Kaz:

    I studied the Nordic technical website and summarized the command line below.

    Use the nRFutil as nRF Connect SDK v3.0.0 as my understanding.

    ### 1.Open a terminal window. ####
    ### 2.Run the following command to install the nRF Util’s sdk-manager command: ###
    nrfutil install sdk-manager

    ### 3.Run the following command to list the available installations: ###
    nrfutil sdk-manager search

    ### 4.Run the following command to install the toolchain version for the SDK version of your choice: ###
    nrfutil sdk-manager toolchain install --ncs-version version

    For example:
    nrfutil sdk-manager toolchain install --ncs-version v3.0.0

    ### 5.On the command line, open the directory ncs. By default, this is one level up from the location where you installed the toolchain. This directory will hold all nRF Connect SDK repositories. ###
    C:\ncs\toolchains>nrfutil sdk-manager toolchain launch --ncs-version v3.0.0 --terminal
    ### 6. Specific release: To check out the v3.0.0 release, enter the following command: ###
    (v3.0.0) C:\ncs> west init -m github.com/.../sdk-nrf --mr v3.0.0 v3.0.0
    ### 7.Preview tag: To check out the v2.8.0-preview1 tag, enter the following command: ###
    (v3.0.0) C:\ncs> west init -m github.com/.../sdk-nrf --mr v2.8.0-preview1
    ### 8.Branch: To check out the main branch that includes the latest state of development, enter the following command: ###
    (v3.0.0) C:\ncs> west init -m github.com/.../sdk-nrf --mr main main
    ### 9.Enter the nRFConnectSDK_revision subdirectory and run the following command to clone the project repositories: ###
    (v3.0.0) C:\ncs\toolchains\v3.0.0> west update
    ### 10.Export a Zephyr CMake package. This allows CMake to automatically load the boilerplate code required for building nRF Connect SDK applications: ###
    (v3.0.0) C:\ncs\toolchains\v3.0.0> west zephyr-export

Children
No Data
Related