Ubiquitous/RT-Thread_Fusion_XiUOS/: add reboot function

This commit is contained in:
chunyexixiaoyu 2022-04-29 16:26:49 +08:00
parent f3d7e7e3d4
commit 3c69cb8d14
1 changed files with 7 additions and 0 deletions

View File

@ -1093,3 +1093,10 @@ void rt_hw_us_delay(rt_uint32_t usec)
{
;
}
static int reboot(void)
{
NVIC_SystemReset();
return 0;
}
MSH_CMD_EXPORT(reboot, reboot system);