摘要: #include "lwip/debug.h" #include "lwip/stats.h" #include "lwip/tcp.h" #include "usart.h" #if LWIP_TCP static struct tcp_pcb *tcp_echoserver_pcb; /* EC 阅读全文
posted @ 2020-10-17 15:07 流水江湖 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 在math.h中 加入#include "stm32f4xx_hal.h"#include "stdio.h"用于支持printf 及 一些 HAL 定义的 数据结构在uart.c 文件中加入如下代码,用于把printf输出到串口1 /* USER CODE BEGIN 0 */ int fputc 阅读全文
posted @ 2020-10-17 14:38 流水江湖 阅读(406) 评论(0) 推荐(0) 编辑