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

sys_reboot(SYS_REBOOT_COLD) not working if CONFIG_SPM=n

If I set CONFIG_SPM=y I can flash merged.hex and successfully call sys_reboot(SYS_REBOOT_COLD) to reboot the system.

If I set CONFIG_SPM=n (and build/flash the SPM project separately), the call to sys_reboot(SYS_REBOOT_COLD) doesn't cause a reboot. It just hangs.

How can I reboot the system from a project having CONFIG_SPM=n?

Related