summaryrefslogtreecommitdiff
path: root/libcpu/unicore32
diff options
context:
space:
mode:
authorthread-liu <[email protected]>2020-12-03 09:09:00 +0800
committerGitHub <[email protected]>2020-12-03 09:09:00 +0800
commitd97530e0ffc6e28a7a68f66dfcf775f02fc007e5 (patch)
tree523fdc8c8b15b4c68501ec7f09b29c26954a51db /libcpu/unicore32
parent73391c60fb7b26c5c05188b065196eea75d63145 (diff)
parentdf3d4b7bc9cab6dcc0aaf87cd32bd67bb1531036 (diff)
Merge branch 'master' into step4
Diffstat (limited to 'libcpu/unicore32')
-rw-r--r--libcpu/unicore32/sep6200/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/unicore32/sep6200/cpu.c b/libcpu/unicore32/sep6200/cpu.c
index ebea8750e1..9452b4e59d 100644
--- a/libcpu/unicore32/sep6200/cpu.c
+++ b/libcpu/unicore32/sep6200/cpu.c
@@ -259,7 +259,7 @@ static void sep6200_poweroff(void)
* reset cpu by dog's time-out
*
*/
-void rt_hw_cpu_reset()
+RT_WEAK void rt_hw_cpu_reset()
{
rt_kprintf("Soft reset, Restarting system...\n");
@@ -274,7 +274,7 @@ void rt_hw_cpu_reset()
* shutdown CPU
*
*/
-void rt_hw_cpu_shutdown()
+RT_WEAK void rt_hw_cpu_shutdown()
{
rt_uint32_t level;
rt_kprintf("shutdown...\n");