summaryrefslogtreecommitdiff
path: root/libcpu/arm/lpc214x
diff options
context:
space:
mode:
authoryangjie11 <[email protected]>2020-11-25 14:36:54 +0800
committeryangjie11 <[email protected]>2020-11-25 14:36:54 +0800
commit6e46b3fec02cd5212402e036bac77622008094dc (patch)
treecd992dad68f2da070123d80770877dd1499693b6 /libcpu/arm/lpc214x
parentd79802b942e77389e1f885d9fe27a62434c652f9 (diff)
parent58e9e022a7aa657a8e666025cd2a587a27e911e3 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into malloc
Diffstat (limited to 'libcpu/arm/lpc214x')
-rw-r--r--libcpu/arm/lpc214x/cpuport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/arm/lpc214x/cpuport.c b/libcpu/arm/lpc214x/cpuport.c
index 2543a5e0a9..54e7e9b0c8 100644
--- a/libcpu/arm/lpc214x/cpuport.c
+++ b/libcpu/arm/lpc214x/cpuport.c
@@ -163,7 +163,7 @@ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
* this function will reset CPU
*
*/
-void rt_hw_cpu_reset(void)
+RT_WEAK void rt_hw_cpu_reset(void)
{
}
@@ -171,7 +171,7 @@ void rt_hw_cpu_reset(void)
* this function will shutdown CPU
*
*/
-void rt_hw_cpu_shutdown()
+RT_WEAK void rt_hw_cpu_shutdown()
{
rt_kprintf("shutdown...\n");