Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

nRF5 SDK nrf_svci uses missing NRF_SECTION_VARS_ADD macro

I'm working with nRF51 series hardware right now, so I have to use nRF5 SDK v12.3.0.

In this version, I've encountered an issue while trying to use the nrf_crypto library. It uses the nrf_svci library, which in turn includes section_vars.h, and calls NRF_SECTION_VARS_ADD. This macro does not seem to be defined anywhere in section_vars.h, or anywhere else in this version of the nRF5 SDK.

Is there some additional configuration that needs to be done to make this macro available for the svc library?

  • Hello,

    Are you trying to implement this in your application or bootloader? In that case, it you should not need to use the SVC interface. The SCV interface can be used to make calls to an external application, like when the application SoftDevice SVCs to interface with the SoftDevice. However, as far as I remember, we never ended up using this interface for crypto. Instead, we opted to make a size-optimized crypto backend to be used in the bootloader code.

    The nrf_crypto.c file in SDK 12.3.0 implemented crypto services needed to verify the signature for secure DFU. Feature wise it does not compare to the nRF Crypto libary which was introduced in nRF5 SDK 15.0.0 ()

    Best regards,

    Vidar

Related