Failed to build mcuboot_smp_custom_key sample code on ncs v2.4.2

Procedures to reproduce this issue is as follows.

1. git clone https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk

2. Copying all files under D:\samples_for_nrf_connect_sdk\bootloader_samples\keys_and_signatures\mcuboot_smp_custom_key folder to C:\ncs\v2.4.2\nrf\samples folder.

3. cd C:\ncs\v2.4.2\nrf\samples\mcuboot_smp_custom_key

4. west build -b nrf5340dk_nrf5340_cpuapp

c:/ncs/toolchains/31f4403e35/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(keys.c.obj):C:/ncs/v2.4.2/bootloader/mcuboot/boot/zephyr/keys.c:52: undefined reference to `rsa_pub_key'
c:/ncs/toolchains/31f4403e35/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(keys.c.obj):(.rodata.bootutil_keys+0x4): undefined reference to `rsa_pub_key_len'
collect2.exe: error: ld returned 1 exit status

Parents Reply Children
Related