We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd5c70d commit f7fd916Copy full SHA for f7fd916
1 file changed
bsp/k230/board/board.c
@@ -17,7 +17,7 @@
17
18
#include "drv_uart.h"
19
20
-#include <sbi.h>
+#include "sysctl_boot.h"
21
22
#ifdef RT_USING_SMART
23
#include <mmu.h>
@@ -126,7 +126,7 @@ void rt_hw_board_init(void)
126
127
void rt_hw_cpu_reset(void)
128
{
129
- sbi_shutdown();
+ sysctl_boot_reset_soc();
130
while(1);
131
}
132
MSH_CMD_EXPORT_ALIAS(rt_hw_cpu_reset, reboot, reset machine);
0 commit comments