STM32CubeIDE 【编译报错】:error: macro names must be identifiers

mac2025-02-08  17

解决办法: 1.点击“project”中的“properties”选项; 2.选中“C/C++ Buide”下的“setting”,再点击“Tool Setting”、“MCU GCC Compiler”、“Preprocessor”,最后删除“Define symbols(-D)”下的最后一行(M1)。

最新回复(0)