»
(008) CubeIDE Implementation of USB Peripherals*
(018) C99 pointer*
(019) C99 With only value assignment*
(022) POSIX pthread multi-threads mutex*
(023) POSIX pthread multi-threads programming*
(027) C99 time and wait*
(028) High-precision calculation with GMP*
(029) Web Service Lib*
(030) International Components for Unicode (ICU)*
(031) Performance of C is higher than C++, because...*
🕹️(037) Reason of can not ping board
学习知识点: 使用STM32CubeMX生成FreeRTOS+LWIP代码,编译后主机IWDG导致死机的原因: 默认任务的栈128个空间太小,需要放大到至少1024个栈空间。 原文:https://blog.csdn.net/qq_53402930/article/details/136834656 LWIP 2.1.2版本,板子不响应ping的解决方案: https://www.bilibili.com/video/av113550966130997/?vd_source=5ddf57c485e62cac13148f0b7be9ee41&spm_id_from=333.788.videopod.sections(2、解决H7+LWIP的ping一下不ping问) 总结: 一、IWDG与多线程、与LwIP并存的FreeRTOS配置重点: 1、扩大LwIP的MEM_SIZE👍为16000Bytes。解决LwIP内存不足锁死、导致启动1秒时间后IWDG死机问题。 2、FreeRTOS的默认任务defaultTask的栈128个空间太小,需要放大到至少1024个栈空间。解决任务栈太小问题。 3、具有振荡电路的外设,上电初始化需要Delay。 二、在LwIP的2.1.2版本中,要使得H7系列的ICMP可用,参考: https://www.bilibili.com/video/av113550966130997/?vd_source=5ddf57c485e62cac13148f0b7be9ee41&spm_id_from=333.788.videopod.sections(2、解决H7+LWIP的ping一下不ping问) 三、怀疑当前板子的硬件问题,换更可靠的开发板,比如:模组星球 (模组星球的开发板做得不错) 参考内容: https://blog.csdn.net/qq_53402930/article/details/136834656 https://blog.csdn.net/violet089/article/details/113105771 https://www.bilibili.com/video/av113550966130997/?vd_source=5ddf57c485e62cac13148f0b7be9ee41&spm_id_from=333.788.videopod.sections(2、解决H7+LWIP的ping一下不ping问)