打开STM32Cube 在工具栏中选择project->Properties 在C/C++ Build->Settings->MCU Post build outputs 勾选前两个 点击应用并关闭apply and close 即可