1、 设置Keil选择软件模拟仿真调试 2、通过串口打印验证代码运行 1. 编写验证代码 2. 重新fpuct函数 extern UART_HandleTypeDef huart1; int fputc(int ch, FILE *f) { HAL_UART_Transmit(&