mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-20 17:44:20 +08:00
rt_hw_cpu_reset: remove all other rt_weak
This commit is contained in:
+8
-8
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user