添加补丁解决trace无法用工具解析问题 209/1
authorSnickerSun <snickersun@163.com>
Fri, 31 May 2024 06:56:14 +0000 (14:56 +0800)
committerSnickerSun <snickersun@163.com>
Fri, 31 May 2024 09:07:51 +0000 (17:07 +0800)
code/sdk/middleware/chips/brandy/pm/pm_adapt/pm_core.c

index c32fc63..85a7c63 100644 (file)
@@ -256,6 +256,7 @@ void pm_core_resume(void)
     clocks_system_resume_clock();
     uapi_dma_init();
     uapi_dma_open();
+    cpu_trace_enable_mcpu_repeat();
     storage_device_resume();
 #if defined(ENABLE_UIKIT) || defined(ENABLE_LVGL)
     hal_pmu1_dig_pg_l2m_gmmu_pwr_en(true); // The GMMU memory is set to the normal state.