On the nRF54L15 platform, using SDK V3.2.4 and the sample routine tfm_psa_template, when selecting the board target as nrf54l15dk/nrf54l15/cpuapp/ns, the compilation failed.

The following log is a compilation error.Is there any way to correctly compile?

e:/nordic/ncs/toolchains/fd21892d0f/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(bootutil_find_key.c.obj): in function `bootutil_sha_init':
E:/Nordic/ncs/v3.2.4/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/sha.h:282: undefined reference to `bl_sha256_init'
e:/nordic/ncs/toolchains/fd21892d0f/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(bootutil_find_key.c.obj): in function `bootutil_sha_update':
E:/Nordic/ncs/v3.2.4/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/sha.h:294: undefined reference to `bl_sha256_update'
e:/nordic/ncs/toolchains/fd21892d0f/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(bootutil_find_key.c.obj): in function `bootutil_sha_finish':
E:/Nordic/ncs/v3.2.4/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/sha.h:300: undefined reference to `bl_sha256_finalize'
e:/nordic/ncs/toolchains/fd21892d0f/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(image_ecdsa.c.obj): in function `bootutil_ecdsa_verify':
E:/Nordic/ncs/v3.2.4/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/ecdsa.h:711: undefined reference to `bl_secp256r1_validate'
e:/nordic/ncs/toolchains/fd21892d0f/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(bootutil_img_hash.c.obj): in function `bootutil_sha_init':
E:/Nordic/ncs/v3.2.4/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/sha.h:282: undefined reference to `bl_sha256_init'
e:/nordic/ncs/toolchains/fd21892d0f/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(bootutil_img_hash.c.obj): in function `bootutil_sha_update':
E:/Nordic/ncs/v3.2.4/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/sha.h:294: undefined reference to `bl_sha256_update'
e:/nordic/ncs/toolchains/fd21892d0f/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(bootutil_img_hash.c.obj): in function `bootutil_sha_finish':
E:/Nordic/ncs/v3.2.4/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/sha.h:300: undefined reference to `bl_sha256_finalize'
e:/nordic/ncs/toolchains/fd21892d0f/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(bootutil_img_hash.c.obj): in function `bootutil_sha_update':
E:/Nordic/ncs/v3.2.4/bootloader/mcuboot/boot/bootutil/include/bootutil/crypto/sha.h:294: undefined reference to `bl_sha256_update'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Related