Hi, all
I need to implement a software reset function please, which API shall I call please?
I use v1.9.1 connect SDK and nrf52833.
Regards!
Ping
Hello
If you include CONFIG_REBOOT in your prj.conf file, and include sys/reboot.h in your source code, you should be able to use the sys_reboot() API in your application.
Best regards,
Einar
Hi, Einar
Thank for your reply, I tried , but it doesn't compile, it gives me a warning in pri.conf -
#allow soft reset CONFIG_REBOOT = y
"D:\WORK\ncs\MyProjects\central_multilink\prj.conf:16: warning: attempt to assign the value ' y' to the undefined symbol REBOOT
error: Aborting due to Kconfig warnings"
Any idea please?
Ping
Hi, Eidnar
Thanks for your reply, yes, I am able to remove it from pri.conf and still compiles and works.
I tried to add it in without space in between, and it works too, no compiling warning. Sorry, that was my fault. but does it mean it is y be default?
Thank you!
Ping