rt_hw_cpu_shutdown: implement default weak function

and remvoe duplicated default functions in each cpu/bsp level
This commit is contained in:
Meco Man
2023-08-07 12:42:10 -04:00
parent cb810dfe75
commit c6a2f5b7bd
41 changed files with 25 additions and 394 deletions

View File

@@ -428,16 +428,6 @@ void rt_hw_hard_fault_exception(struct exception_info *exception_info)
while (1);
}
/**
* shutdown CPU
*/
rt_weak void rt_hw_cpu_shutdown(void)
{
rt_kprintf("shutdown...\n");
RT_ASSERT(0);
}
/**
* reset CPU
*/