diff options
| author | 张世争 <[email protected]> | 2020-11-20 08:49:51 +0800 |
|---|---|---|
| committer | 张世争 <[email protected]> | 2020-11-20 08:49:51 +0800 |
| commit | 355f8dd95cddcf784eb60bfea0a8d6ebf130fdf3 (patch) | |
| tree | a901cfdc41cc8dc3df0ebd3c96e97725051f679f /libcpu/arm/cortex-m7 | |
| parent | 9dc0bbb814dff797eabb1cbcc133410c75471cd0 (diff) | |
[libcpu][update]重启与关机函数:rt_hw_cpu_shutdown、rt_hw_cpu_reset,补充WEAK属性
Diffstat (limited to 'libcpu/arm/cortex-m7')
| -rw-r--r-- | libcpu/arm/cortex-m7/cpuport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/cortex-m7/cpuport.c b/libcpu/arm/cortex-m7/cpuport.c index e701a52307..aeb9f14ac5 100644 --- a/libcpu/arm/cortex-m7/cpuport.c +++ b/libcpu/arm/cortex-m7/cpuport.c @@ -428,7 +428,7 @@ void rt_hw_hard_fault_exception(struct exception_info *exception_info) /** * shutdown CPU */ -void rt_hw_cpu_shutdown(void) +RT_WEAK void rt_hw_cpu_shutdown(void) { rt_kprintf("shutdown...\n"); |
