# stm32f103_template_vscode **Repository Path**: guo-lingran/stm32f103_template_vscode ## Basic Information - **Project Name**: stm32f103_template_vscode - **Description**: stm32_rtos_vscode_template - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-05-17 - **Last Updated**: 2023-07-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 模板说明 1. v1.0 2. STM32F103通用工程(本例程为ZET6,使用其他型号见Makefile),包含了基本的uart、systick、led,可以修改F103全系列。 3. 在基础模板增加了clangd (vscode插件:clangd,tasks.json)代码提示跳转功能。 4. vscode配置了快捷键,F7->build,编译,使用compiledb -n make、make命令,其一是生成compile_commands.json。 F7->Down,下载.hex到芯片。 F7->Clean,清除build目录。 5. 也可以使用终端,输入make编译工程,但不更新compile_commands.json(如果添加新的文件,该文件会有变化)。 输入make down,下载.hex到芯片。 输入make clean(终端为bash,如用powshell需要修改makefile),清除build目录。 6. vscode终端使用bash。 7. c_cpp_properties.json为用到。 8. .cache目录为clangd生成的。 # 作者 + 基于点灯大师的基础模板,拾贰二次修改 # 日期 + 2023-5-17