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:
@@ -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 -----------------*/
|
||||
|
@@ -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 -----------------*/
|
||||
|
@@ -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 -----------------*/
|
||||
|
Reference in New Issue
Block a user