arch: arc: update the ARC port

* remove unused codes and definition

Signed-off-by: Jingru <jingru@synopsys.com>
This commit is contained in:
Jingru
2020-05-06 15:43:26 +08:00
parent 86375271fc
commit 204d269794
9 changed files with 10 additions and 109 deletions

View File

@@ -20,17 +20,7 @@
#if TOS_CFG_FAULT_BACKTRACE_EN > 0u
typedef int (*k_fault_log_writer_t)(const char *format, ...);
#define K_FAULT_STACK_DUMP_DEPTH 10u
#define K_FAULT_CALL_STACK_BACKTRACE_DEPTH 5u
__API__ void tos_fault_log_writer_set(k_fault_log_writer_t log_writer);
__KERNEL__ int fault_default_log_writer(const char *format, ...);
__KERNEL__ void fault_backtrace(cpu_addr_t lr, fault_exc_frame_t *frame);
#error "unsupport now"
#endif

View File

@@ -260,7 +260,3 @@ __KNL__ k_err_t cpu_task_stack_draught_depth(k_stack_t *stk_base, size_t stk_siz
}
#endif
#if TOS_CFG_FAULT_BACKTRACE_EN > 0u
#endif /* TOS_CFG_FAULT_BACKTRACE_EN */

View File

@@ -53,4 +53,4 @@ int main(void)
osThreadCreate(osThread(application_entry), NULL);
/* start kernel */
osKernelStart();
}
}