STM32CubeIDE 【編譯報錯】:error: macro names must be identifiers

解決辦法: 1.點擊「project」中的「properties」選項; 2.選中「C/C++ Buide」下的「setting」,再點擊「Tool Setting」、「MCU GCC Compiler」、「Preprocessor」,最後刪除「Define symbols(-D)」下的最後一行(M1)。web
相關文章
相關標籤/搜索