From 8edce043e842306bf125db694459cfc73c21352d Mon Sep 17 00:00:00 2001 From: SnickerSun Date: Fri, 30 Aug 2024 20:56:19 +0800 Subject: [PATCH] =?utf8?q?=E6=9A=82=E6=97=B6=E5=8F=96=E6=B6=88=20norflash?= =?utf8?q?=5Ftrace=5F=20norflash=5Fexc=5F=E7=9A=84=E7=94=9F=E6=88=90?= =?utf8?q?=EF=BC=8C=E5=9B=A0=E4=B8=BA=E6=B5=B7=E6=80=9D=E4=B8=8D=E8=83=BD?= =?utf8?q?=E6=8F=90=E4=BE=9B=E5=88=86=E6=9E=90=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/middleware/chips/brandy/exception/exception_riscv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/sdk/middleware/chips/brandy/exception/exception_riscv.c b/code/sdk/middleware/chips/brandy/exception/exception_riscv.c index 0201d9f6d..3b53995d9 100755 --- a/code/sdk/middleware/chips/brandy/exception/exception_riscv.c +++ b/code/sdk/middleware/chips/brandy/exception/exception_riscv.c @@ -930,7 +930,9 @@ void do_hard_fault_handler(exc_context_t *exc_buf_addr) #if (CORE == MASTER_BY_ALL) && (CORE != WIFI) if (g_is_repeat_exc == false) { // if is first excepion write cpu trace to norflash + #if 0 write_trace(exc_buf_addr); + #endif } if (g_is_repeat_exc == true) { -- 2.17.1