i was working on nRF52840 and nRF9160 with NCS v1.8.0.
i'd like to find an API to reboot system. so i tried to call NVIC_SystemReset(). it works in my nRF9160 project.
however, when i call it in my nRF52840 project it reports errors during building project. it reports several errors like "undefined reference to '_vector_start'" and '_ramfunc_start' and so on.
should i enable any CONFIG_ ? or is there any other proper way to reboot 52840?