Unable to Compile and Build SDK (2.9.1) BLE Channel Sounding Example

Dear Experts,

I am currently working on verifying the BLE 6.0 Channel Sounding functionality on the NRF54L15DK. However, I encountered issues when trying to compile two examples: channel_sounding_ras_initiator and channel_sounding_ras_reflector. Both attempts failed. I have saved the terminal output from VS Code as a .txt file for reference.

Below is some additional information that may help in diagnosing the issue:

  1. Other examples work fine, so the hardware on the 54L15DK should not be the problem: For instance, I successfully compiled and ran the peripheral_bluetooth_uart and blink LED examples.

  2. Issue with the operating system language (Chinese): My operating system is in Chinese, which causes an error when trying to compile examples in nRF Connect SDK v2.9.1. Specifically, the system cannot find the board files unless I modify line 229 of zephyr/scripts/list_boards.py as follows:

    with board_yml.open('r', encoding='utf-8') as f:
    

    After making this modification, the two examples mentioned above can be compiled and used without further issues.

  3. No other modifications: I did not make any additional changes apart from the one mentioned above.

Finally, I would like to know if there are any other examples available for testing the Channel Sounding functionality. Where can I find these test cases?

I sincerely appreciate any feedback or suggestions you can provide. Thank you very much!


 *  正在执行任务: nRF Connect: Build [pristine]: channel_sounding_ras_reflector/build 

Building channel_sounding_ras_reflector
C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build c:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector --pristine --board nrf54l15dk/nrf54l15/cpuapp -- -DNCS_TOOLCHAIN_VERSION=NONE"

-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp
Parsing C:/ncs/v2.9.1/zephyr/share/sysbuild/Kconfig
Loaded configuration 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/_sysbuild/empty.conf'
Merged configuration 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/_sysbuild/empty.conf'
Configuration saved to 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/zephyr/.config'
Kconfig header saved to 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/_sysbuild/autoconf.h'
-- 
   ****************************************************
   * Running CMake for channel_sounding_ras_reflector *
   ****************************************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector
-- CMake version: 3.21.0
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache
-- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/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/b620d30767/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
-- Found BOARD.dts: C:/ncs/v2.9.1/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts
unit address and first address in 'reg' (0x5004c000) don't match for /soc/peripheral@50000000/vpr@4c000/mailbox@1
-- Generated zephyr.dts: C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/zephyr/dts.cmake

warning: Experimental symbol BT_CTLR_CHANNEL_SOUNDING is enabled.


warning: Experimental symbol BT_RAS is enabled.


warning: Experimental symbol BT_RAS_RRSP is enabled.


warning: Experimental symbol BT_CHANNEL_SOUNDING is enabled.

Parsing C:/ncs/v2.9.1/zephyr/Kconfig
Loaded configuration 'C:/ncs/v2.9.1/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp_defconfig'
Merged configuration 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/prj.conf'
Merged configuration 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/zephyr/.config.sysbuild'
Configuration saved to 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/zephyr/.config'
Kconfig header saved to 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: c:/ncs/toolchains/b620d30767/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/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
=========== 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: False
Backup: CONFIG_MBEDTLS_THREADING_ALT: True
=========== Checkpoint: backup ===============
Restore: 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: False
Restore: CONFIG_MBEDTLS_THREADING_ALT: True
=========== End psa_crypto_config ===============
=========== Generating psa_crypto_library_config ===============
Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
Backup: 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: False
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: False
Restore: CONFIG_MBEDTLS_THREADING_ALT: True
=========== End psa_crypto_library_config ===============
-- Setting build type to 'MinSizeRel' as none was specified.
CMake Warning at C:/ncs/v2.9.1/zephyr/CMakeLists.txt:2133 (message):
  __ASSERT() statements are globally ENABLED


-- Configuring done
CMake Warning in C:/ncs/v2.9.1/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeLists.txt:
  The object file directory

    C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/./

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

    C_/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c.obj

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


-- Generating done
-- Build files have been written to: C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector
-- Configuring done
-- Generating done
-- Build files have been written to: C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build
-- west build: building application
[4/309] Generating include/generated/zephyr/version.h
-- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr), build: v3.7.99-ncs2-1
[55/309] Building C object modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.c.obj
FAILED: modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.c.obj 
C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -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_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.1/nrf/drivers/mpsl/clock_control -IC:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/zephyr/include/generated/zephyr -IC:/ncs/v2.9.1/zephyr/include -IC:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/zephyr/include/generated -IC:/ncs/v2.9.1/zephyr/soc/nordic -IC:/ncs/v2.9.1/zephyr/lib/libc/common/include -IC:/ncs/v2.9.1/zephyr/soc/nordic/nrf54l/. -IC:/ncs/v2.9.1/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.1/zephyr/subsys/bluetooth -IC:/ncs/v2.9.1/nrf/include -IC:/ncs/v2.9.1/nrf/lib/multithreading_lock/. -IC:/ncs/v2.9.1/nrf/subsys/bluetooth/controller/. -IC:/ncs/v2.9.1/nrf/tests/include -IC:/ncs/v2.9.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.1/zephyr/modules/cmsis/. -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.1/modules/crypto/tinycrypt/lib/include -IC:/ncs/v2.9.1/nrfxlib/softdevice_controller/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/common/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf21540_gpio/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf21540_gpio_spi/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf2220/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf2240/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf22xx/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/simple_gpio/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/include/protocol -IC:/ncs/v2.9.1/nrfxlib/mpsl/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/include/protocol -IC:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/generated/library_nrf_security_psa -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/threading/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/utils -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/common/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/sxsymcrypt/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/silexpk/target/baremetal_ba414e_with_ik -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/silexpk/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/sicrypto/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/cracenpsa/include -IC:/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/include -IC:/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library -IC:/ncs/v2.9.1/modules/crypto/mbedtls/library -IC:/ncs/v2.9.1/modules/crypto/mbedtls/include -IC:/ncs/v2.9.1/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.1/nrfxlib/crypto/nrf_oberon/include -Os -DNDEBUG -Wno-stringop-overflow -Wno-stringop-overread -Wno-strict-aliasing -fno-strict-aliasing -Os -imacros C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.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:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.c.obj -MF modules\nrf\subsys\nrf_security\src\core\nrf_oberon\CMakeFiles\oberon_psa_core.dir\C_\ncs\v2.9.1\modules\crypto\oberon-psa-crypto\library\psa_crypto_slot_management.c.obj.d -o modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.c.obj -c C:/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.c
C:/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.c:683:1: fatal error: opening dependency file modules\nrf\subsys\nrf_security\src\core\nrf_oberon\CMakeFiles\oberon_psa_core.dir\C_\ncs\v2.9.1\modules\crypto\oberon-psa-crypto\library\psa_crypto_slot_management.c.obj.d: No such file or directory
  683 | }
      | ^
compilation terminated.
[56/309] Building C object modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c.obj
FAILED: modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c.obj 
C:\ncs\toolchains\b620d30767\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=0 -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_LONG_LONG_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v2.9.1/nrf/drivers/mpsl/clock_control -IC:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/zephyr/include/generated/zephyr -IC:/ncs/v2.9.1/zephyr/include -IC:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/zephyr/include/generated -IC:/ncs/v2.9.1/zephyr/soc/nordic -IC:/ncs/v2.9.1/zephyr/lib/libc/common/include -IC:/ncs/v2.9.1/zephyr/soc/nordic/nrf54l/. -IC:/ncs/v2.9.1/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.1/zephyr/subsys/bluetooth -IC:/ncs/v2.9.1/nrf/include -IC:/ncs/v2.9.1/nrf/lib/multithreading_lock/. -IC:/ncs/v2.9.1/nrf/subsys/bluetooth/controller/. -IC:/ncs/v2.9.1/nrf/tests/include -IC:/ncs/v2.9.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.1/zephyr/modules/cmsis/. -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.1/modules/crypto/tinycrypt/lib/include -IC:/ncs/v2.9.1/nrfxlib/softdevice_controller/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/common/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf21540_gpio/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf21540_gpio_spi/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf2220/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf2240/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf22xx/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/simple_gpio/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/include/protocol -IC:/ncs/v2.9.1/nrfxlib/mpsl/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/include/protocol -IC:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/generated/library_nrf_security_psa -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/threading/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/utils -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/common/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/sxsymcrypt/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/silexpk/target/baremetal_ba414e_with_ik -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/silexpk/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/sicrypto/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/cracenpsa/include -IC:/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/include -IC:/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library -IC:/ncs/v2.9.1/modules/crypto/mbedtls/library -IC:/ncs/v2.9.1/modules/crypto/mbedtls/include -IC:/ncs/v2.9.1/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.1/nrfxlib/crypto/nrf_oberon/include -Os -DNDEBUG -Wno-stringop-overflow -Wno-stringop-overread -Wno-strict-aliasing -fno-strict-aliasing -Os -imacros C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/channel_sounding_ras_reflector/zephyr/include/generated/zephyr/autoconf.h -fno-printf-return-value -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=C:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.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:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c.obj -MF modules\nrf\subsys\nrf_security\src\core\nrf_oberon\CMakeFiles\oberon_psa_core.dir\C_\ncs\v2.9.1\nrf\subsys\nrf_security\src\psa_crypto_driver_wrappers.c.obj.d -o modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c.obj -c C:/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c
C:/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c:2894:1: fatal error: opening dependency file modules\nrf\subsys\nrf_security\src\core\nrf_oberon\CMakeFiles\oberon_psa_core.dir\C_\ncs\v2.9.1\nrf\subsys\nrf_security\src\psa_crypto_driver_wrappers.c.obj.d: No such file or directory
 2894 | }
      | ^
compilation terminated.
[80/309] Building C object modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/c94a6cfe2c41eaa059c0b34523857ec5/library/psa_crypto.c.obj
ninja: build stopped: subcommand failed.
FAILED: _sysbuild/sysbuild/images/channel_sounding_ras_reflector-prefix/src/channel_sounding_ras_reflector-stamp/channel_sounding_ras_reflector-build C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build/_sysbuild/sysbuild/images/channel_sounding_ras_reflector-prefix/src/channel_sounding_ras_reflector-stamp/channel_sounding_ras_reflector-build 
cmd.exe /C "cd /D C:\ncs\v2.9.1\nrf\samples\bluetooth\channel_sounding_ras_reflector\build\channel_sounding_ras_reflector && C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe --build ."
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' --build C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_reflector/build

 *  终端进程已终止,退出代码: 1。 
 *  终端将被任务重用,按任意键关闭。 
 *  正在执行任务: nRF Connect: Build [pristine]: channel_sounding_ras_initiator/build_1 

Building channel_sounding_ras_initiator
C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1 c:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator --pristine --board nrf54l15dk/nrf54l15/cpuapp -- -DNCS_TOOLCHAIN_VERSION=NONE"

-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp
Parsing C:/ncs/v2.9.1/zephyr/share/sysbuild/Kconfig
Loaded configuration 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/_sysbuild/empty.conf'
Merged configuration 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/_sysbuild/empty.conf'
Configuration saved to 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/zephyr/.config'
Kconfig header saved to 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/_sysbuild/autoconf.h'
-- 
   ****************************************************
   * Running CMake for channel_sounding_ras_initiator *
   ****************************************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator
-- CMake version: 3.21.0
-- Found Python3: C:/ncs/toolchains/b620d30767/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.8") found components: Interpreter 
-- Cache files will be written to: C:/ncs/v2.9.1/zephyr/.cache
-- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/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/b620d30767/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/b620d30767/opt/zephyr-sdk)
-- Found Dtc: C:/ncs/toolchains/b620d30767/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
-- Found BOARD.dts: C:/ncs/v2.9.1/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts
unit address and first address in 'reg' (0x5004c000) don't match for /soc/peripheral@50000000/vpr@4c000/mailbox@1
-- Generated zephyr.dts: C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/zephyr/dts.cmake

warning: Experimental symbol BT_CTLR_CHANNEL_SOUNDING is enabled.


warning: Experimental symbol BT_RAS is enabled.


warning: Experimental symbol BT_RAS_RREQ is enabled.


warning: Experimental symbol BT_CHANNEL_SOUNDING is enabled.

Parsing C:/ncs/v2.9.1/zephyr/Kconfig
Loaded configuration 'C:/ncs/v2.9.1/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp_defconfig'
Merged configuration 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/prj.conf'
Merged configuration 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/zephyr/.config.sysbuild'
Configuration saved to 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/zephyr/.config'
Kconfig header saved to 'C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: c:/ncs/toolchains/b620d30767/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/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
=========== 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: False
Backup: CONFIG_MBEDTLS_THREADING_ALT: True
=========== Checkpoint: backup ===============
Restore: 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: False
Restore: CONFIG_MBEDTLS_THREADING_ALT: True
=========== End psa_crypto_config ===============
=========== Generating psa_crypto_library_config ===============
Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
Backup: 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: False
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: False
Restore: CONFIG_MBEDTLS_THREADING_ALT: True
=========== End psa_crypto_library_config ===============
-- Setting build type to 'MinSizeRel' as none was specified.
CMake Warning at C:/ncs/v2.9.1/zephyr/CMakeLists.txt:2133 (message):
  __ASSERT() statements are globally ENABLED


-- Configuring done
CMake Warning in C:/ncs/v2.9.1/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeLists.txt:
  The object file directory

    C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/./

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

    C_/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c.obj

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


-- Generating done
-- Build files have been written to: C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator
-- Configuring done
-- Generating done
-- Build files have been written to: C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1
-- west build: building application
[4/311] Generating include/generated/zephyr/version.h
-- Zephyr version: 3.7.99 (C:/ncs/v2.9.1/zephyr), build: v3.7.99-ncs2-1
[54/311] Building C object modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c.obj
FAILED: modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c.obj 
C:\ncs\toolchains\b620d30767\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/v2.9.1/nrf/drivers/mpsl/clock_control -IC:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/zephyr/include/generated/zephyr -IC:/ncs/v2.9.1/zephyr/include -IC:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/zephyr/include/generated -IC:/ncs/v2.9.1/zephyr/soc/nordic -IC:/ncs/v2.9.1/zephyr/lib/libc/common/include -IC:/ncs/v2.9.1/zephyr/soc/nordic/nrf54l/. -IC:/ncs/v2.9.1/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.1/zephyr/subsys/bluetooth -IC:/ncs/v2.9.1/nrf/include -IC:/ncs/v2.9.1/nrf/lib/multithreading_lock/. -IC:/ncs/v2.9.1/nrf/subsys/bluetooth/controller/. -IC:/ncs/v2.9.1/nrf/tests/include -IC:/ncs/v2.9.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.1/zephyr/modules/cmsis/. -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.1/modules/crypto/tinycrypt/lib/include -IC:/ncs/v2.9.1/nrfxlib/softdevice_controller/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/common/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf21540_gpio/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf21540_gpio_spi/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf2220/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf2240/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf22xx/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/simple_gpio/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/include/protocol -IC:/ncs/v2.9.1/nrfxlib/mpsl/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/include/protocol -IC:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/generated/library_nrf_security_psa -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/threading/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/utils -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/common/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/sxsymcrypt/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/silexpk/target/baremetal_ba414e_with_ik -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/silexpk/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/sicrypto/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/cracenpsa/include -IC:/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/include -IC:/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library -IC:/ncs/v2.9.1/modules/crypto/mbedtls/library -IC:/ncs/v2.9.1/modules/crypto/mbedtls/include -IC:/ncs/v2.9.1/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.1/nrfxlib/crypto/nrf_oberon/include -Os -DNDEBUG -Wno-stringop-overflow -Wno-stringop-overread -Wno-strict-aliasing -fno-strict-aliasing -Os -imacros C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/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/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.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:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c.obj -MF modules\nrf\subsys\nrf_security\src\core\nrf_oberon\CMakeFiles\oberon_psa_core.dir\C_\ncs\v2.9.1\nrf\subsys\nrf_security\src\psa_crypto_driver_wrappers.c.obj.d -o modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c.obj -c C:/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c
C:/ncs/v2.9.1/nrf/subsys/nrf_security/src/psa_crypto_driver_wrappers.c:2894:1: fatal error: opening dependency file modules\nrf\subsys\nrf_security\src\core\nrf_oberon\CMakeFiles\oberon_psa_core.dir\C_\ncs\v2.9.1\nrf\subsys\nrf_security\src\psa_crypto_driver_wrappers.c.obj.d: No such file or directory
 2894 | }
      | ^
compilation terminated.
[62/311] Building C object modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.c.obj
FAILED: modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.c.obj 
C:\ncs\toolchains\b620d30767\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/v2.9.1/nrf/drivers/mpsl/clock_control -IC:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/zephyr/include/generated/zephyr -IC:/ncs/v2.9.1/zephyr/include -IC:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/zephyr/include/generated -IC:/ncs/v2.9.1/zephyr/soc/nordic -IC:/ncs/v2.9.1/zephyr/lib/libc/common/include -IC:/ncs/v2.9.1/zephyr/soc/nordic/nrf54l/. -IC:/ncs/v2.9.1/zephyr/soc/nordic/common/. -IC:/ncs/v2.9.1/zephyr/subsys/bluetooth -IC:/ncs/v2.9.1/nrf/include -IC:/ncs/v2.9.1/nrf/lib/multithreading_lock/. -IC:/ncs/v2.9.1/nrf/subsys/bluetooth/controller/. -IC:/ncs/v2.9.1/nrf/tests/include -IC:/ncs/v2.9.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v2.9.1/zephyr/modules/cmsis/. -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v2.9.1/modules/hal/nordic/nrfx/mdk -IC:/ncs/v2.9.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v2.9.1/modules/crypto/tinycrypt/lib/include -IC:/ncs/v2.9.1/nrfxlib/softdevice_controller/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/common/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf21540_gpio/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf21540_gpio_spi/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf2220/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf2240/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/nrf22xx/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/simple_gpio/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/fem/include/protocol -IC:/ncs/v2.9.1/nrfxlib/mpsl/include -IC:/ncs/v2.9.1/nrfxlib/mpsl/include/protocol -IC:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/generated/library_nrf_security_psa -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/threading/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/utils -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/common/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/sxsymcrypt/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/silexpk/target/baremetal_ba414e_with_ik -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/silexpk/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/sicrypto/include -IC:/ncs/v2.9.1/nrf/subsys/nrf_security/src/drivers/cracen/cracenpsa/include -IC:/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/include -IC:/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library -IC:/ncs/v2.9.1/modules/crypto/mbedtls/library -IC:/ncs/v2.9.1/modules/crypto/mbedtls/include -IC:/ncs/v2.9.1/modules/crypto/mbedtls/include/library -IC:/ncs/v2.9.1/nrfxlib/crypto/nrf_oberon/include -Os -DNDEBUG -Wno-stringop-overflow -Wno-stringop-overread -Wno-strict-aliasing -fno-strict-aliasing -Os -imacros C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/channel_sounding_ras_initiator/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/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v2.9.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:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v2.9.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v2.9.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -std=c99 -MD -MT modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.c.obj -MF modules\nrf\subsys\nrf_security\src\core\nrf_oberon\CMakeFiles\oberon_psa_core.dir\C_\ncs\v2.9.1\modules\crypto\oberon-psa-crypto\library\psa_crypto_slot_management.c.obj.d -o modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/C_/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.c.obj -c C:/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.c
C:/ncs/v2.9.1/modules/crypto/oberon-psa-crypto/library/psa_crypto_slot_management.c:683:1: fatal error: opening dependency file modules\nrf\subsys\nrf_security\src\core\nrf_oberon\CMakeFiles\oberon_psa_core.dir\C_\ncs\v2.9.1\modules\crypto\oberon-psa-crypto\library\psa_crypto_slot_management.c.obj.d: No such file or directory
  683 | }
      | ^
compilation terminated.
[79/311] Building C object modules/nrf/subsys/nrf_security/src/core/nrf_oberon/CMakeFiles/oberon_psa_core.dir/c94a6cfe2c41eaa059c0b34523857ec5/library/psa_crypto.c.obj
ninja: build stopped: subcommand failed.
FAILED: _sysbuild/sysbuild/images/channel_sounding_ras_initiator-prefix/src/channel_sounding_ras_initiator-stamp/channel_sounding_ras_initiator-build C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1/_sysbuild/sysbuild/images/channel_sounding_ras_initiator-prefix/src/channel_sounding_ras_initiator-stamp/channel_sounding_ras_initiator-build 
cmd.exe /C "cd /D C:\ncs\v2.9.1\nrf\samples\bluetooth\channel_sounding_ras_initiator\build_1\channel_sounding_ras_initiator && C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe --build ."
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' --build C:/ncs/v2.9.1/nrf/samples/bluetooth/channel_sounding_ras_initiator/build_1

 *  终端进程已终止,退出代码: 1。 
 *  终端将被任务重用,按任意键关闭。 


Parents
  • Hello! 

    I had the same problem. The problem, is that you are trying to build a project in a folder with sample project, which have long pathname. The solution was by coping the sample in separate project:
    1. NRF Connect, Create New Application
    2. Copy A Sample
    3. Choose your SDK version
    4. Search for initatior project
    5. Write a new project folder (like "C:\Projects\NRF\cs_initiator", for example)
    6. Try to build

Reply
  • Hello! 

    I had the same problem. The problem, is that you are trying to build a project in a folder with sample project, which have long pathname. The solution was by coping the sample in separate project:
    1. NRF Connect, Create New Application
    2. Copy A Sample
    3. Choose your SDK version
    4. Search for initatior project
    5. Write a new project folder (like "C:\Projects\NRF\cs_initiator", for example)
    6. Try to build

Children
  • Hi,

    Thank you for your suggestion! I’ve confirmed that your method works. In addition to your solution, I also found that installing the SDK in the root directory can resolve the issue as well.

    However, I believe your method is better because installing the SDK directly in the root directory can lead to some issues, such as the toolchain manager being unable to load the SDK list. Adding too many files to the root directory can also cause clutter.

    Thank you again for your helpful response!

Related