summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorxqyjlj <[email protected]>2023-03-27 17:09:37 +0800
committerguo <[email protected]>2023-03-31 10:56:37 +0800
commit157dc0959c30ef0296cfa582d9ae8e610a0f0709 (patch)
tree3ab3c6d42667abbb9cf796c5071dd43ee6f97611 /src
parentc3b08d4288e4f61b300217d4eeb327aa1d3be04a (diff)
✨ feat(components): add uname support
Diffstat (limited to 'src')
-rw-r--r--src/kservice.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kservice.c b/src/kservice.c
index e522a649cf..1c1d8da848 100644
--- a/src/kservice.c
+++ b/src/kservice.c
@@ -62,6 +62,11 @@ rt_weak void rt_hw_us_delay(rt_uint32_t us)
"Please consider implementing rt_hw_us_delay() in another file.\n"));
}
+rt_weak const char *rt_hw_cpu_arch(void)
+{
+ return "unknown";
+}
+
static const char* rt_errno_strs[] =
{
"OK",