fix cortex m0/m0+ fault backtrace in armcc

1. no support for mrseq for cortex m0/m0+ cpu instructions set
This commit is contained in:
daishengdong
2020-06-03 17:26:37 +08:00
parent 479dc02d79
commit f7195c79a7
11 changed files with 49 additions and 29 deletions

View File

@@ -95,7 +95,7 @@ __PORT__ void port_standby_mode_enter(void)
#if TOS_CFG_FAULT_BACKTRACE_EN > 0u
__PORT__ void port_fault_diagnosis(void)
{
k_fault_log_writer("fault diagnosis does not supported in CORTEX M0\n");
k_fault_log_writer("fault diagnosis is not supported in CORTEX M23\n");
}
/*------------------ RealView Compiler -----------------*/

View File

@@ -16,7 +16,7 @@
*---------------------------------------------------------------------------*/
#include "tos_k.h"
#include "core_cm0plus.h"
#include "core_cm23.h"
__PORT__ void port_cpu_reset(void)
{
@@ -95,7 +95,7 @@ __PORT__ void port_standby_mode_enter(void)
#if TOS_CFG_FAULT_BACKTRACE_EN > 0u
__PORT__ void port_fault_diagnosis(void)
{
k_fault_log_writer("fault diagnosis does not supported in CORTEX M0\n");
k_fault_log_writer("fault diagnosis is not supported in CORTEX M23\n");
}
/*------------------ RealView Compiler -----------------*/

View File

@@ -16,7 +16,7 @@
*---------------------------------------------------------------------------*/
#include "tos_k.h"
#include "core_cm0plus.h"
#include "core_cm23.h"
__PORT__ void port_cpu_reset(void)
{
@@ -95,7 +95,7 @@ __PORT__ void port_standby_mode_enter(void)
#if TOS_CFG_FAULT_BACKTRACE_EN > 0u
__PORT__ void port_fault_diagnosis(void)
{
k_fault_log_writer("fault diagnosis does not supported in CORTEX M0\n");
k_fault_log_writer("fault diagnosis is not supported in CORTEX M23\n");
}
/*------------------ RealView Compiler -----------------*/