rt_hw_cpu_reset: remove all other rt_weak

This commit is contained in:
Meco Man
2023-08-08 22:34:25 -04:00
parent 92859cc79e
commit cb810dfe75
23 changed files with 28 additions and 45 deletions
+8 -8
View File
@@ -66,22 +66,22 @@ static rt_device_t _console_device = RT_NULL;
rt_weak void rt_hw_us_delay(rt_uint32_t us)
{
(void) us;
LOG_D("rt_hw_us_delay() doesn't support for this board."
LOG_W("rt_hw_us_delay() doesn't support for this board."
"Please consider implementing rt_hw_us_delay() in another file.");
}
rt_weak void rt_hw_cpu_reset(void)
{
LOG_W("rt_hw_cpu_reset() doesn't support for this board."
"Please consider implementing rt_hw_cpu_reset() in another file.");
return;
}
rt_weak const char *rt_hw_cpu_arch(void)
{
return "unknown";
}
rt_weak void rt_hw_cpu_reset(void)
{
LOG_D("rt_hw_cpu_reset() doesn't support for this board."
"Please consider implementing rt_hw_cpu_reset() in another file.");
return ;
}
static const char* rt_errno_strs[] =
{
"OK",