summaryrefslogtreecommitdiff
path: root/components/drivers/core
diff options
context:
space:
mode:
authorRbb666 <[email protected]>2026-07-31 15:07:36 +0800
committerRbb666 <[email protected]>2026-08-12 12:54:50 +0800
commit6b4f34204ed2da80b7c37b912612c65cebc30ce3 (patch)
tree9451c2d5b1b08de290ecc4eddb5a3aed3487e273 /components/drivers/core
parent9a12b2a7b991df7b72a7f6d0d9cc74a3ba5f7c93 (diff)
feat(dm): support OFW on Cortex-M targets
Add the ARM NVIC PIC driver, no-MMU I/O mapping, built-in FDT support, and Cortex-M CPU hooks required by the native RT-Thread device model.
Diffstat (limited to 'components/drivers/core')
-rw-r--r--components/drivers/core/power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/core/power.c b/components/drivers/core/power.c
index 038e37c507..43eaad4b25 100644
--- a/components/drivers/core/power.c
+++ b/components/drivers/core/power.c
@@ -243,7 +243,7 @@ void rt_hw_cpu_shutdown(void)
}
MSH_CMD_EXPORT_ALIAS(rt_hw_cpu_shutdown, shutdown, shutdown machine);
-void rt_hw_cpu_reset(void)
+rt_weak void rt_hw_cpu_reset(void)
{
register rt_ubase_t level;