error when add Onomondo softsim to location project

Hi

I have a project base on Nordic sample code "v2.5.0/nrf/samples/cellular/Location" and it fully work with SIM card

now I need to use Onomondo softsim to replace SIM card, after some test, it success connect to network when using sample project "softsim_extern_profile"

now I need to merge 2 project and make it work, I follow the instruction and try to build the code wirh command "west build -b nrf9160dk_nrf9160_ns -- "-DOVERLAY_CONFIG=C:\ncs\v2.5.0\modules\lib\onomondo-softsim\overlay-softsim.conf"

and build error, below the error and please help to fix

//--------------------------------------------------------------------------------------------------------------------------------------------------------------

c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: secure_fw/partitions/crypto/libtfm_psa_rot_partition_crypto.a(crypto_init.o): in function `tfm_crypto_engine_init':
C:/ncs/v2.5.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/crypto/crypto_init.c:258: undefined reference to `tfm_plat_crypto_provision_entropy_seed'
c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: secure_fw/partitions/platform/libtfm_psa_rot_partition_platform.a(platform_sp.o): in function `platform_sp_nv_read_psa_api':
C:/ncs/v2.5.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform/platform_sp.c:119: undefined reference to `tfm_plat_read_nv_counter'
c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: secure_fw/partitions/platform/libtfm_psa_rot_partition_platform.a(platform_sp.o): in function `platform_sp_nv_increment_psa_api':
C:/ncs/v2.5.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform/platform_sp.c:167: undefined reference to `tfm_plat_increment_nv_counter'
c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.exe: secure_fw/partitions/platform/libtfm_psa_rot_partition_platform.a(platform_sp.o): in function `platform_sp_init':
C:/ncs/v2.5.0/modules/tee/tf-m/trusted-firmware-m/secure_fw/partitions/platform/platform_sp.c:268: undefined reference to `tfm_plat_init_nv_counter'

//--------------------------------------------------------------------------------------------------------------------------------------------------------------

Best Regards

Dannis

Related