mcu_hi3321_watch/application/wearable/SystemView
2025-05-26 20:15:20 +08:00
..
Src/Sample/LiteOS frist commit 2025-05-26 20:15:20 +08:00
CMakeLists.txt frist commit 2025-05-26 20:15:20 +08:00
Readme.txt frist commit 2025-05-26 20:15:20 +08:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

启用systemview调试。 注意当前仅适配liteos版本。源代码需要用户获取SDK仅发布litesos适配部分建议使用v3.42版本。
1)在config.py对应target增加systemview组件。
2)在kernel/liteos/liteos_v207.1.0/Huawei_LiteOS/tools/build/config/brandy.config将LOSCFG_SYSTEM_VIEW配置为y
3)将systemview源代码放置application/wearable/SystemView/Src下其中Sample中sdk已发布了LiteOS适配。
4)SystemView/Src/Sample/LiteOS/Tooladapt下SYSVIEW_LiteOS.txt放置在PC端SYSTEMVIEW工具的Description文件夹下。


在线模式。
1.在SEGGER_SYSVIEW_ConfDefaults.h中将SEGGER_SYSVIEW_POST_MORTEM_MODE配置为0
2.在SEGGER_SYSVIEW_ConfDefaults.h中将SEGGER_SYSVIEW_RTT_BUFFER_SIZE修改为(16 * 1024)
3.通过application.lst中获取_SEGGER_RTT 变量地址。
4.通过工具的recorder configuration配置RTT的Detection地址然后启动采集。