集成开发环境-GCC.ARM(#04)快捷任务
- tasks.json
通过 makefile 我们将海量的指令精简至一条 make+ 指令,但是我比较懒,一条指令都不想敲。😎
1. 在工程目录下的 .vscode 目录中新建 tasks.json 文件并填入以下内容:
{ |
2. 找到菜单栏依次点击 Terminal -> RunTask 然后选择:
- 编译(build)
- 清除(clean)
- 烧录(write)
- 烧录(write.openocd)
通过 makefile 我们将海量的指令精简至一条 make+ 指令,但是我比较懒,一条指令都不想敲。😎
1. 在工程目录下的 .vscode 目录中新建 tasks.json 文件并填入以下内容:
{ |
在 cmd 中使用 “|” 连接两条指令,在 powershell 中使用 “;” 连接两条指令。
2. 找到菜单栏依次点击 Terminal -> RunTask 然后选择: