STM32CubeIDE新建项目的一些注意事项
1. 生成代码后的warning: “No explicit project encoding”

Project->Properties->Resource->Text file encoding->Other


2. 文件路径
在 Paths and Symbols 中 Includes 和 Source Location 都要改。

3. 代码时功能区域的.c/.h拆分

4. 滴答定时器的中断
在stm32xxxx_it.c中添加:HAL_SYSTICK_IRQHandler();

浙公网安备 33010602011771号