提交 916cd899 编写于 作者: lymzzyh's avatar lymzzyh

[BSP][K210]Add interface reboot

上级 437b0da9
......@@ -117,3 +117,10 @@ void rt_hw_board_init(void)
rt_components_board_init();
#endif
}
void rt_hw_cpu_reset(void)
{
sysctl->soft_reset.soft_reset = 1;
while(1);
}
MSH_CMD_EXPORT_ALIAS(rt_hw_cpu_reset, reboot, reset machine);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册