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
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
Hi,
I am using IAR EWARM 8.50.4 and I just ran into this issue when upgrading from SDK 16.0.0 to 17.0.0. The file nrf_nvic.h in SDK v16.0.0 is identical to SDK v17.0.0 and contains this:
/**@brief System Reset.
* @note Corresponds to NVIC_SystemReset in CMSIS.
*
* @retval ::NRF_ERROR_SOC_NVIC_SHOULD_NOT_RETURN
*/
__STATIC_INLINE uint32_t sd_nvic_SystemReset(void);
__STATIC_INLINE uint32_t sd_nvic_SystemReset(void)
{
NVIC_SystemReset();
return NRF_ERROR_SOC_NVIC_SHOULD_NOT_RETURN;
}Hi
Do you see the same error return in the build window as Srinivas posted below, gnf?
Best regards,
Simon
Yes. A lot of these:
app_scheduler.c Warning[Pe111]: statement is unreachable nRF5_SDK\components\softdevice\s132\headers\nrf_nvic.h 440

Hi
Please check out the SDK v17.0.0 release notes. There is a section dedicated to IAR 8 users that describes what you need to do to run a project using IAR 8.
Best regards,
Simon
I have done this, as well as for SDK v16.0.0 but no success. Still, changing SDK from v16.0.0 to v17.0.0 will produce these warnings.