一 名词说明 SWO:Serial Wire Output,串行线输出 ITM:Instrumentation Trace Macrocell,仪器跟踪宏单元 二 使用软件 1 keil 2 JLinkSWOViewer 三 swo实现代码 #include "stm32f4xx_hal.h" #include "stdio.h" #include "core_cm4.h" //加入以下代码,支持printf函数,而不需要选择use MicroLIB