rt_hw_cpu_reset: remove all other rt_weak

This commit is contained in:
Meco Man
2023-08-08 22:34:25 -04:00
parent 92859cc79e
commit cb810dfe75
23 changed files with 28 additions and 45 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
* this function will reset CPU
*
*/
rt_weak void rt_hw_cpu_reset()
void rt_hw_cpu_reset()
{
}
+1 -1
View File
@@ -20,7 +20,7 @@
* this function will reset CPU
*
*/
rt_weak void rt_hw_cpu_reset()
void rt_hw_cpu_reset()
{
}
+1 -1
View File
@@ -146,7 +146,7 @@ rt_base_t rt_hw_cpu_dcache_status()
* reset cpu by dog's time-out
*
*/
rt_weak void rt_hw_cpu_reset()
void rt_hw_cpu_reset()
{
rt_kprintf("Restarting system...\n");
+1 -1
View File
@@ -147,7 +147,7 @@ rt_base_t rt_hw_cpu_dcache_status()
* reset cpu by dog's time-out
*
*/
rt_weak void rt_hw_cpu_reset()
void rt_hw_cpu_reset()
{
rt_kprintf("Restarting system...\n");
+1 -1
View File
@@ -131,7 +131,7 @@ void rt_hw_hard_fault_exception(struct exception_stack_frame *contex)
/**
* reset CPU
*/
rt_weak void rt_hw_cpu_reset(void)
void rt_hw_cpu_reset(void)
{
SCB_AIRCR = SCB_RESET_VALUE;//((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |SCB_AIRCR_SYSRESETREQ_Msk);
}
+1 -1
View File
@@ -132,7 +132,7 @@ void rt_hw_hard_fault_exception(struct exception_stack_frame *contex)
/**
* reset CPU
*/
rt_weak void rt_hw_cpu_reset(void)
void rt_hw_cpu_reset(void)
{
SCB_AIRCR = SCB_RESET_VALUE;//((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |SCB_AIRCR_SYSRESETREQ_Msk);
}
+1 -1
View File
@@ -356,7 +356,7 @@ rt_weak void rt_hw_cpu_shutdown(void)
/**
* reset CPU
*/
rt_weak void rt_hw_cpu_reset(void)
void rt_hw_cpu_reset(void)
{
SCB_AIRCR = SCB_RESET_VALUE;
}
+1 -1
View File
@@ -498,7 +498,7 @@ rt_weak void rt_hw_cpu_shutdown(void)
/**
* reset CPU
*/
rt_weak void rt_hw_cpu_reset(void)
void rt_hw_cpu_reset(void)
{
SCB_AIRCR = SCB_RESET_VALUE;
}
+1 -1
View File
@@ -441,7 +441,7 @@ rt_weak void rt_hw_cpu_shutdown(void)
/**
* reset CPU
*/
rt_weak void rt_hw_cpu_reset(void)
void rt_hw_cpu_reset(void)
{
SCB_AIRCR = SCB_RESET_VALUE;
}
+1 -1
View File
@@ -440,7 +440,7 @@ rt_weak void rt_hw_cpu_shutdown(void)
/**
* reset CPU
*/
rt_weak void rt_hw_cpu_reset(void)
void rt_hw_cpu_reset(void)
{
SCB_AIRCR = SCB_RESET_VALUE;
}
+1 -1
View File
@@ -20,7 +20,7 @@
* this function will reset CPU
*
*/
rt_weak void rt_hw_cpu_reset()
void rt_hw_cpu_reset()
{
}
+1 -1
View File
@@ -145,7 +145,7 @@ rt_base_t rt_hw_cpu_dcache_status()
* reset cpu by dog's time-out
*
*/
rt_weak void rt_hw_cpu_reset()
void rt_hw_cpu_reset()
{
rt_kprintf("Restarting system...\n");
+1 -1
View File
@@ -163,7 +163,7 @@ rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
* this function will reset CPU
*
*/
rt_weak void rt_hw_cpu_reset(void)
void rt_hw_cpu_reset(void)
{
}
+1 -1
View File
@@ -20,7 +20,7 @@
* this function will reset CPU
*
*/
rt_weak void rt_hw_cpu_reset()
void rt_hw_cpu_reset()
{
}
+1 -1
View File
@@ -148,7 +148,7 @@ rt_base_t rt_hw_cpu_dcache_status()
* reset cpu by dog's time-out
*
*/
rt_weak void rt_hw_cpu_reset()
void rt_hw_cpu_reset()
{
/* Disable all interrupt except the WDT */
INTMSK = (~((rt_uint32_t)1 << INTWDT));
+1 -1
View File
@@ -100,7 +100,7 @@ rt_base_t rt_hw_cpu_dcache_status()
* this function will reset CPU
*
*/
rt_weak void rt_hw_cpu_reset()
void rt_hw_cpu_reset()
{
}
+1 -1
View File
@@ -152,7 +152,7 @@ rt_base_t rt_hw_cpu_dcache_status()
* reset cpu by dog's time-out
*
*/
rt_weak void rt_hw_cpu_reset()
void rt_hw_cpu_reset()
{
/* enable watchdog */