|
@@ -66,20 +66,20 @@ 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 const char *rt_hw_cpu_arch(void)
|
|
|
+rt_weak void rt_hw_cpu_reset(void)
|
|
|
{
|
|
|
- return "unknown";
|
|
|
+ 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 void rt_hw_cpu_reset(void)
|
|
|
+rt_weak const char *rt_hw_cpu_arch(void)
|
|
|
{
|
|
|
- LOG_D("rt_hw_cpu_reset() doesn't support for this board."
|
|
|
- "Please consider implementing rt_hw_cpu_reset() in another file.");
|
|
|
- return ;
|
|
|
+ return "unknown";
|
|
|
}
|
|
|
|
|
|
static const char* rt_errno_strs[] =
|