Error compiling peripheral_uart example in nRF Connect SDK

I've recently put nRF Connect on my new machine, v1.7.0.  I wanted to test the peripheral_uart sample application.  However when I go to compile the peripheral_uart example I get the following error:

‘build’ in configuration ‘Common’
Combining ‘modules/nrf/samples/spm_subimage-prefix/src/spm_subimage-stamp/spm_subimage-build’
opening dependency file modules\nrfxlib\nrfxlib\nrf_security\src\mbedtls\CMakeFiles\mbedcrypto_base_vanilla.dir\C_\Nordic_Development\ncs\mbedtls\library\psa_crypto_slot_management.c.obj.d: No such file or directory
opening dependency file modules\nrfxlib\nrfxlib\nrf_security\src\mbedtls\CMakeFiles\mbedcrypto_base_vanilla.dir\C_\Nordic_Development\ncs\mbedtls\library\psa_crypto_driver_wrappers.c.obj.d: No such file or directory
Build failed

Is there a step that I've missed?

Parents Reply
  • Hi Dave,

    Dave_couling said:
    Unfortunately, I need to stick with SES

    Fair enough, let us continue with Segger Embedded Studio then.

    I have some good news, I have found the reason for your error.

    Dave_couling said:
    Unfortunately that blog does not address my issue

    I thought you read through my blog, so I assumed that this was not the issue.

    However, I set up and replicated your problem.
    The build fail seems to be due to Step 3 from the blog here.

    Sigurd Hellesvik said:
    Could you try the steps listed in this blog post?

    The part where you need to set up Segger Embedded Studio specifically to work with nRF5340 for multi-image builds might still apply though.
    If you face problems with that later, please create a new post, to keep DevZone tidy.

    Regards,
    Sigurd Hellesvik

Children
No Data
Related