/** ****************************************************************************** * @file retarget.h * @brief Printf 重定向头文件 ****************************************************************************** */ #ifndef __RETARGET_H #define __RETARGET_H #ifdef __cplusplus extern "C" { #endif /** * @brief 初始化 ITM(用于 SWO/printf 输出) * @note 必须在使用 printf 之前调用 */ void ITM_Init(void); #ifdef __cplusplus } #endif #endif /* __RETARGET_H */