Introducing an updated Sample set for Xiao nRF54L15 / and NRF CONNECT

Hi there,

ANd Yes, Welcome to Level 3… :grin: :vulcan_salute:

Happens when the Idea between the keyboard and the floor doesn’t make it to the silicon. :crossed_fingers:

SOFTBrick… Doesn’t hurt but does SUC.
You have some options to get it straight , keep reading. :+1:

HTH
GL :slight_smile: PJ :v:

I have been strugling to have my sd card being initialized. I am using xiao-nrf54l15 board. I have the sd card reader board. Wires are connected properly, but the console says that init is the problem. Any suggestions ?

Your have to use a specific overlay setup. Seeed wiki should have 3 different modes you can run the SD card samples in.

1 Like

Hi guys. I’ve been struggling for days now to get samples working. I’m a total noob so probably I have some lack of basic understanding. So “blink” example built and flashed just fine, worked as expected. But other samples I’ve tried through an error when building. For example “button” sample renders this after I click on “Generate and build”:

Building button
west build --build-dir c:/Github/Seeed-Xiao-nRF54L15/button/build c:/Github/Seeed-Xiao-nRF54L15/button --pristine --board xiao_nrf54l15/nrf54l15/cpuapp – -DCONFIG_DEBUG_THREAD_INFO=y -DCONF_FILE=“prj.conf”

– west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
– Found Python3: C:/ncs/toolchains/c1a76fddb2/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/v3.1.1/zephyr/.cache
– Found west (found suitable version “1.4.0”, minimum required is “0.14.0”)
– Board: xiao_nrf54l15, qualifiers: nrf54l15/cpuapp
Parsing C:/ncs/v3.1.1/zephyr/share/sysbuild/Kconfig
Loaded configuration ‘C:/Github/Seeed-Xiao-nRF54L15/button/build/_sysbuild/empty.conf’
Merged configuration ‘C:/Github/Seeed-Xiao-nRF54L15/button/build/_sysbuild/empty.conf’
Configuration saved to ‘C:/Github/Seeed-Xiao-nRF54L15/button/build/zephyr/.config’
Kconfig header saved to ‘C:/Github/Seeed-Xiao-nRF54L15/button/build/_sysbuild/autoconf.h’




Running CMake for button *




[0mLoading Zephyr default modules (Zephyr base).
– Application: C:/Github/Seeed-Xiao-nRF54L15/button
– CMake version: 3.21.0
– Found Python3: C:/ncs/toolchains/c1a76fddb2/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/v3.1.1/zephyr/.cache
– Zephyr version: 4.1.99 (C:/ncs/v3.1.1/zephyr)
– Found west (found suitable version “1.4.0”, minimum required is “0.14.0”)
– Board: xiao_nrf54l15, qualifiers: nrf54l15/cpuapp
– Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/c1a76fddb2/opt/zephyr-sdk)
– Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/c1a76fddb2/opt/zephyr-sdk)
– Found Dtc: C:/ncs/toolchains/c1a76fddb2/opt/bin/dtc.exe (found suitable version “1.4.7”, minimum required is “1.4.6”)
– Found BOARD.dts: C:/ncs/v3.1.1/zephyr/boards/arm/xiao_nrf54l15/xiao_nrf54l15_nrf54l15_cpuapp.dts
– Found devicetree overlay: C:/Github/Seeed-Xiao-nRF54L15/button/boards/xiao_nrf54l15_nrf54l15_cpuapp.overlay
devicetree error: C:/Github/Seeed-Xiao-nRF54L15/button/boards/xiao_nrf54l15_nrf54l15_cpuapp.overlay:25 (column 1): parse error: undefined node label ‘lsm6dso’
[31mCMake Error at C:/ncs/v3.1.1/zephyr/cmake/modules/dts.cmake:306 (execute_process):
execute_process failed command indexes:

1: "Child return code: 1"

Call Stack (most recent call first):
C:/ncs/v3.1.1/zephyr/cmake/modules/zephyr_default.cmake:131 (include)
C:/ncs/v3.1.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
C:/ncs/v3.1.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:4 (find_package)

– Configuring incomplete, errors occurred!
CMake Error at cmake/modules/sysbuild_extensions.cmake:530 (message):
CMake configure failed for Zephyr project: button

Location: C:/Github/Seeed-Xiao-nRF54L15/button
Call Stack (most recent call first):
cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
cmake/modules/sysbuild_default.cmake:21 (include)
C:/ncs/v3.1.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
C:/ncs/v3.1.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
C:/ncs/v3.1.1/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
template/CMakeLists.txt:10 (find_package)

– Configuring incomplete, errors occurred!
See also “C:/Github/Seeed-Xiao-nRF54L15/button/build/CMakeFiles/CMakeOutput.log”.
FATAL ERROR: command exited with status 1: ‘C:\ncs\toolchains\c1a76fddb2\opt\bin\cmake.EXE’ -DWEST_PYTHON=C:/ncs/toolchains/c1a76fddb2/opt/bin/python.exe ‘-Bc:\Github\Seeed-Xiao-nRF54L15\button\build’ -GNinja -DBOARD=xiao_nrf54l15/nrf54l15/cpuapp -DCONFIG_DEBUG_THREAD_INFO=y -DCONF_FILE=prj.conf ‘-SC:\ncs\v3.1.1\zephyr\share\sysbuild’ ‘-DAPP_DIR:PATH=c:\Github\Seeed-Xiao-nRF54L15\button’

I actually want to get the channel sounding samples to run, but I want to try with the simple ones. But when I open the folder “cs_distance_led\channel_sounding_ras_initiator_new”, in “sample.yaml” there is no “xiao_nrf54l15/nrf54l15/cpuapp” listed, but “nrf54l15dk/nrf54l15/cpuapp” is listed. So what do I pick in “board target”, do I pick the one nr54l15 one or I go to “all” and pick the “xiao_nrf54l15” one? The “nrf54l15dk” one throws errors when building:

Building channel_sounding_ras_initiator_new
west build --build-dir c:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build c:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new --pristine --board nrf54l15dk/nrf54l15/cpuapp -- -DCONFIG_DEBUG_THREAD_INFO=y -DCONF_FILE="prj.conf"

-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: C:/ncs/toolchains/c1a76fddb2/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/v3.1.1/zephyr/.cache
-- Found west (found suitable version "1.4.0", minimum required is "0.14.0")
-- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp
Parsing C:/ncs/v3.1.1/zephyr/share/sysbuild/Kconfig
Loaded configuration 'C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/_sysbuild/empty.conf'
Merged configuration 'C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/_sysbuild/empty.conf'
Configuration saved to 'C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/zephyr/.config'
Kconfig header saved to 'C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/_sysbuild/autoconf.h'
-- 
   ********************************************************
   * Running CMake for channel_sounding_ras_initiator_new *
   ********************************************************
[0mLoading Zephyr default modules (Zephyr base).
-- Application: C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new
-- CMake version: 3.21.0
-- Found Python3: C:/ncs/toolchains/c1a76fddb2/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/v3.1.1/zephyr/.cache
-- Zephyr version: 4.1.99 (C:/ncs/v3.1.1/zephyr)
-- Found west (found suitable version "1.4.0", minimum required is "0.14.0")
-- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp
-- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/c1a76fddb2/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/c1a76fddb2/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/c1a76fddb2/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
-- Found BOARD.dts: C:/ncs/v3.1.1/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts
-- Found devicetree overlay: C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/boards/nrf54l15dk_nrf54l15_cpuapp.overlay
-- Generated zephyr.dts: C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/zephyr.dts
-- Generated pickled edt: C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/edt.pickle
-- Generated devicetree_generated.h: C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/include/generated/zephyr/devicetree_generated.h

warning: Experimental symbol BT_CS_DE is enabled.


warning: Experimental symbol BT_CHANNEL_SOUNDING is enabled.

Parsing C:/ncs/v3.1.1/zephyr/Kconfig
Loaded configuration 'C:/ncs/v3.1.1/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp_defconfig'
Merged configuration 'C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/prj.conf'
Merged configuration 'C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/misc/generated/extra_kconfig_options.conf'
Merged configuration 'C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/.config.sysbuild'
Configuration saved to 'C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/.config'
Kconfig header saved to 'C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: c:/ncs/toolchains/c1a76fddb2/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (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: C:/ncs/toolchains/c1a76fddb2/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
[0m=========== Generating psa_crypto_config ===============
Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
Backup: CONFIG_MBEDTLS_THREADING_C: True
Backup: CONFIG_MBEDTLS_THREADING_ALT: True
=========== Checkpoint: backup ===============
[0mRestore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
Restore: CONFIG_MBEDTLS_THREADING_C: True
Restore: CONFIG_MBEDTLS_THREADING_ALT: True
=========== End psa_crypto_config ===============
=========== Generating psa_crypto_library_config ===============
Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
[0mBackup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
Backup: CONFIG_MBEDTLS_THREADING_C: True
Backup: CONFIG_MBEDTLS_THREADING_ALT: True
=========== Checkpoint: backup ===============
Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
Restore: CONFIG_MBEDTLS_THREADING_C: True
Restore: CONFIG_MBEDTLS_THREADING_ALT: True
=========== End psa_crypto_library_config ===============
-- Found gen_kobject_list: C:/ncs/v3.1.1/zephyr/scripts/build/gen_kobject_list.py
-- Configuring done
CMake Warning in C:/ncs/v3.1.1/zephyr/drivers/interrupt_controller/CMakeLists.txt:
  The object file directory

    C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/drivers/interrupt_controller/CMakeFiles/drivers__interrupt_controller.dir/./

  has 215 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    C_/ncs/v3.1.1/zephyr/misc/empty_file.c.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


[33mCMake Warning in C:/ncs/v3.1.1/nrf/subsys/bluetooth/controller/CMakeLists.txt:
  The object file directory

    C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/modules/nrf/subsys/bluetooth/controller/CMakeFiles/..__nrf__subsys__bluetooth__controller.dir/./

  has 228 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    hci_internal_wrappers.c.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


CMake Warning in C:/ncs/v3.1.1/nrf/subsys/nrf_security/src/CMakeLists.txt:
  The object file directory

    C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/./

  has 201 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    C_/ncs/v3.1.1/modules/crypto/mbedtls/library/constant_time.c.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


[33mCMake Warning in C:/ncs/v3.1.1/nrf/subsys/nrf_security/src/CMakeLists.txt:
  The object file directory

    C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/./

  has 196 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    C_/ncs/v3.1.1/modules/crypto/mbedtls/library/memory_buffer_alloc.c.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


CMake Warning in C:/ncs/v3.1.1/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeLists.txt:
  The object file directory

    C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/psa_core.dir/./

  has 210 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    C_/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/library/platform.c.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


[33mCMake Warning in C:/ncs/v3.1.1/nrf/subsys/nrf_security/src/drivers/cracen/CMakeLists.txt:
  The object file directory

    C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/modules/nrf/subsys/nrf_security/src/drivers/cracen/CMakeFiles/cracen_psa_driver.dir/./

  has 218 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    sxsymcrypt/src/platform/baremetal/cmdma_hw.c.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


[33mCMake Warning in C:/ncs/v3.1.1/zephyr/modules/cmsis-dsp/CMakeLists.txt:
  The object file directory

    C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/modules/cmsis-dsp/CMakeFiles/modules__cmsis-dsp.dir/./

  has 186 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    C_/ncs/v3.1.1/modules/lib/cmsis-dsp/Source/StatisticsFunctions/arm_logsumexp_dot_prod_f16.c.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


CMake Warning in C:/ncs/v3.1.1/zephyr/modules/hal_nordic/nrfx/CMakeLists.txt:
  The object file directory

    C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/modules/hal_nordic/modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/./

  has 218 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    C_/ncs/v3.1.1/modules/hal/nordic/nrfx/helpers/nrfx_ram_ctrl.c.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


-- Generating done
-- Build files have been written to: C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build
-- west build: building application
[4/555] Generating include/generated/zephyr/version.h
-- Zephyr version: 4.1.99 (C:/ncs/v3.1.1/zephyr), build: ncs-v3.1.1
[10/555] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v3.1.1/modules/crypto/mbedtls/library/bignum_core.c.obj
FAILED: modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v3.1.1/modules/crypto/mbedtls/library/bignum_core.c.obj 
C:\ncs\toolchains\c1a76fddb2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=512 -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-user-config.h\" -DNRF54L15_XXAA -DNRF_APPLICATION -DNRF_CONFIG_CPU_FREQ_MHZ=128 -DPICOLIBC_DOUBLE_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v3.1.1/nrf/drivers/mpsl/clock_control -IC:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/include/generated/zephyr -IC:/ncs/v3.1.1/zephyr/include -IC:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/include/generated -IC:/ncs/v3.1.1/zephyr/soc/nordic -IC:/ncs/v3.1.1/zephyr/lib/libc/common/include -IC:/ncs/v3.1.1/zephyr/soc/nordic/nrf54l/. -IC:/ncs/v3.1.1/zephyr/soc/nordic/common/. -IC:/ncs/v3.1.1/zephyr/subsys/bluetooth -IC:/ncs/v3.1.1/nrf/include -IC:/ncs/v3.1.1/nrf/lib/multithreading_lock/. -IC:/ncs/v3.1.1/nrf/subsys/bluetooth/controller/. -IC:/ncs/v3.1.1/nrf/tests/include -IC:/ncs/v3.1.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v3.1.1/modules/lib/cmsis-dsp/Include -IC:/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include -IC:/ncs/v3.1.1/zephyr/modules/cmsis_6/. -IC:/ncs/v3.1.1/nrf/modules/hal_nordic/. -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx/mdk -IC:/ncs/v3.1.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v3.1.1/nrfxlib/softdevice_controller/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/common/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/nrf21540_gpio/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/nrf21540_gpio_spi/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/nrf2220/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/nrf2240/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/nrf22xx/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/simple_gpio/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/include/protocol -IC:/ncs/v3.1.1/nrfxlib/mpsl/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/include/protocol -IC:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/generated/library_nrf_security_psa -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/include -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/oberon/drivers -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/threading/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/utils -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/drivers/cracen/common/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/drivers/cracen/sxsymcrypt/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/drivers/cracen/silexpk/target/baremetal_ba414e_with_ik -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/drivers/cracen/silexpk/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/drivers/cracen/cracenpsa/include -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/include -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/library -IC:/ncs/v3.1.1/modules/crypto/mbedtls/library -IC:/ncs/v3.1.1/modules/crypto/mbedtls/include -IC:/ncs/v3.1.1/modules/crypto/mbedtls/include/library -fno-strict-aliasing -Os -imacros C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/include/generated/zephyr/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mfp16-format=ieee -mtp=soft --sysroot=C:/ncs/toolchains/c1a76fddb2/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v3.1.1/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v3.1.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v3.1.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v3.1.1/modules/crypto/mbedtls/library/bignum_core.c.obj -MF modules\nrf\subsys\nrf_security\src\CMakeFiles\mbedcrypto_base.dir\C_\ncs\v3.1.1\modules\crypto\mbedtls\library\bignum_core.c.obj.d -o modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v3.1.1/modules/crypto/mbedtls/library/bignum_core.c.obj -c C:/ncs/v3.1.1/modules/crypto/mbedtls/library/bignum_core.c
C:/ncs/v3.1.1/modules/crypto/mbedtls/library/bignum_core.c:9: fatal error: opening dependency file modules\nrf\subsys\nrf_security\src\CMakeFiles\mbedcrypto_base.dir\C_\ncs\v3.1.1\modules\crypto\mbedtls\library\bignum_core.c.obj.d: No such file or directory
    9 | 
      | 
compilation terminated.
[12/555] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v3.1.1/modules/crypto/mbedtls/library/constant_time.c.obj
FAILED: modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v3.1.1/modules/crypto/mbedtls/library/constant_time.c.obj 
C:\ncs\toolchains\c1a76fddb2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=512 -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\"nrf-psa-crypto-config.h\" -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\"nrf-psa-crypto-user-config.h\" -DNRF54L15_XXAA -DNRF_APPLICATION -DNRF_CONFIG_CPU_FREQ_MHZ=128 -DPICOLIBC_DOUBLE_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v3.1.1/nrf/drivers/mpsl/clock_control -IC:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/include/generated/zephyr -IC:/ncs/v3.1.1/zephyr/include -IC:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/include/generated -IC:/ncs/v3.1.1/zephyr/soc/nordic -IC:/ncs/v3.1.1/zephyr/lib/libc/common/include -IC:/ncs/v3.1.1/zephyr/soc/nordic/nrf54l/. -IC:/ncs/v3.1.1/zephyr/soc/nordic/common/. -IC:/ncs/v3.1.1/zephyr/subsys/bluetooth -IC:/ncs/v3.1.1/nrf/include -IC:/ncs/v3.1.1/nrf/lib/multithreading_lock/. -IC:/ncs/v3.1.1/nrf/subsys/bluetooth/controller/. -IC:/ncs/v3.1.1/nrf/tests/include -IC:/ncs/v3.1.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v3.1.1/modules/lib/cmsis-dsp/Include -IC:/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include -IC:/ncs/v3.1.1/zephyr/modules/cmsis_6/. -IC:/ncs/v3.1.1/nrf/modules/hal_nordic/. -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx/mdk -IC:/ncs/v3.1.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v3.1.1/nrfxlib/softdevice_controller/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/common/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/nrf21540_gpio/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/nrf21540_gpio_spi/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/nrf2220/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/nrf2240/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/nrf22xx/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/simple_gpio/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/fem/include/protocol -IC:/ncs/v3.1.1/nrfxlib/mpsl/include -IC:/ncs/v3.1.1/nrfxlib/mpsl/include/protocol -IC:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/generated/library_nrf_security_psa -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/include -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/oberon/drivers -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/threading/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/utils -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/drivers/cracen/common/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/drivers/cracen/sxsymcrypt/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/drivers/cracen/silexpk/target/baremetal_ba414e_with_ik -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/drivers/cracen/silexpk/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/drivers/cracen/cracenpsa/include -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/include -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/library -IC:/ncs/v3.1.1/modules/crypto/mbedtls/library -IC:/ncs/v3.1.1/modules/crypto/mbedtls/include -IC:/ncs/v3.1.1/modules/crypto/mbedtls/include/library -fno-strict-aliasing -Os -imacros C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/channel_sounding_ras_initiator_new/zephyr/include/generated/zephyr/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mfp16-format=ieee -mtp=soft --sysroot=C:/ncs/toolchains/c1a76fddb2/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v3.1.1/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v3.1.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v3.1.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v3.1.1/modules/crypto/mbedtls/library/constant_time.c.obj -MF modules\nrf\subsys\nrf_security\src\CMakeFiles\mbedcrypto_base.dir\C_\ncs\v3.1.1\modules\crypto\mbedtls\library\constant_time.c.obj.d -o modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/C_/ncs/v3.1.1/modules/crypto/mbedtls/library/constant_time.c.obj -c C:/ncs/v3.1.1/modules/crypto/mbedtls/library/constant_time.c
C:/ncs/v3.1.1/modules/crypto/mbedtls/library/constant_time.c:228:1: fatal error: opening dependency file modules\nrf\subsys\nrf_security\src\CMakeFiles\mbedcrypto_base.dir\C_\ncs\v3.1.1\modules\crypto\mbedtls\library\constant_time.c.obj.d: No such file or directory
  228 | }
      | ^
compilation terminated.
[23/555] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto_base.dir/a8a9c8cc095e4118ccdca7f0d85f6e4e/oid.c.obj
ninja: build stopped: subcommand failed.
FAILED: _sysbuild/sysbuild/images/channel_sounding_ras_initiator_new-prefix/src/channel_sounding_ras_initiator_new-stamp/channel_sounding_ras_initiator_new-build C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build/_sysbuild/sysbuild/images/channel_sounding_ras_initiator_new-prefix/src/channel_sounding_ras_initiator_new-stamp/channel_sounding_ras_initiator_new-build 
cmd.exe /C "cd /D C:\Github\Seeed-Xiao-nRF54L15\bluetooth\cs_distance_led\channel_sounding_ras_initiator_new\build\channel_sounding_ras_initiator_new && C:\ncs\toolchains\c1a76fddb2\opt\bin\cmake.exe --build ."
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\c1a76fddb2\opt\bin\cmake.EXE' --build C:/Github/Seeed-Xiao-nRF54L15/bluetooth/cs_distance_led/channel_sounding_ras_initiator_new/build

I’m aware my questions might be very novice, but I’ve really tried hard for days to resolve without bothering you guys. Now I’m desparate.

It looks like you need to disable Max path length in Windows from the error logs

Unrefined label

: undefined node label ‘lsm6dso’

Your board overlay file needs to have a reference to the hardware for this accelerometer.

https://academy.nordicsemi.com/courses/nrf54l-series-express-course/

You need this free course it’ll really help

1 Like

HI there,

SO, the @toastee0 man , pointed you in the best direction and It’s FREE go join up and watch those :grin: :backhand_index_pointing_right: WEBinars you’ll be glad you did. So to answer your question, the “dk” version is the Nordic Dev board of the MCU , they always end in “DK” i.e. Development kit. SO when you build samples or demos, do a two step. Build for the "DK " target to quickly get a sense of what is working and what might be missing.
Nordic actually TESTS there sample and Demo’s for accuracy and correctness with the documentation. They LEAD the industry in ALL of IT! (quiet peanut gallery :shushing_face:)
With that method and some experience you’ll get up to speed fast.
You always have choices on the target just select the one without the DK in the name.
What dev environment are you using? I recommend the Nrf_SDK in Visual Basic studio. Easy to setup and get going, follows all the tutorials.
Open the terminal in the SDK and your all set to issue West build commands and it’s even easier. to rinse and repeat and really gain some traction.
I have some demo’s and examples of the setup and environment builds I use ,give them a look too.

there are others too. So be patient it’s a small learning curve, WE were all NOOBS at one time or another. that’s why WE are here… :wink: :+1:

HTH
GL :slight_smile: PJ :v:

build with the correct Targets, the first one is the Xiao, the second is the DK board.

1 Like

Hi everyone,

I’ve been running a channel sounding experiment using the XIAO nRF54L15 module with the onboard ceramic antenna.

In my setup, I’m observing a range of about 10–11 meters at a transmit power of +8 dBm.

I’m trying to understand whether this is expected under such conditions, so I had a few questions:

  • Has anyone here performed channel sounding or similar measurements with this module?

  • Is ~10–11 meters a typical range for the ceramic antenna at +8 dBm?

  • Could the channel sounding process itself be limiting the effective range?

  • Any recommendations for improving range or measurement reliability (antenna, configuration, environment, etc.)?

For context, I’m open to sharing more details about my setup if needed.

Thanks in advance!

That’s about what I got.
reading up on it, the channel sounding algo is adjustible, and experimental, so you can adapt it for longer ranges. nordic mentions it on their forums i just don’t remember where.