This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Getting Compilation errors with SDK 17.0.0

Hi Team,

We have ported the code from SDK 16 to 17.0.0 version. While compiling we are getting error (attached the screenshot).

But the all required files are included like "nrf_nvic.h" , "nrf_error_soc.h" 

Regards,

Srinivas.V

Parents
  • Hi

    Okay, so you don't see this in the SDK v16.0.0 version? If you check out the nrf_nvic.h in the SDK v17.0.0 you can see that this is not included in SDK 17 which I assume is why you're seeing this error. In SDK v17.0.0 this is replaced with the sd_nvic_SystemReset() instead.

    /**@brief System Reset.
     * @note Corresponds to NVIC_SystemReset in CMSIS.
     *
     * @retval ::NRF_ERROR_SOC_NVIC_SHOULD_NOT_RETURN
     */
    uint32_t sd_nvic_SystemReset(void);

    Best regards,

    Simon

Reply
  • Hi

    Okay, so you don't see this in the SDK v16.0.0 version? If you check out the nrf_nvic.h in the SDK v17.0.0 you can see that this is not included in SDK 17 which I assume is why you're seeing this error. In SDK v17.0.0 this is replaced with the sd_nvic_SystemReset() instead.

    /**@brief System Reset.
     * @note Corresponds to NVIC_SystemReset in CMSIS.
     *
     * @retval ::NRF_ERROR_SOC_NVIC_SHOULD_NOT_RETURN
     */
    uint32_t sd_nvic_SystemReset(void);

    Best regards,

    Simon

Children
Related