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();

 

posted on 2023-12-25 16:56  棕色的北极熊  阅读(1095)  评论(0编辑  收藏  举报