File tree 4 files changed +55
-4
lines changed
4 files changed +55
-4
lines changed Original file line number Diff line number Diff line change 9
9
! .vscode /* .md
10
10
! .vscode /* .svd
11
11
! .vscode /launch.json
12
- ! .vscode /tasks.json
12
+ ! .vscode /tasks.json
13
+ ! .vscode /extensions.json
Original file line number Diff line number Diff line change
1
+ {
2
+ // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3
+ // Extension identifier format: ${publisher }.${name}. Example: vscode.csharp
4
+
5
+ // List of extensions which should be recommended for users of this workspace.
6
+ "recommendations" : [
7
+ " rust-lang.rust" ,
8
+ " marus25.cortex-debug" ,
9
+ ],
10
+ // List of extensions recommended by VS Code that should not be recommended for users of this workspace.
11
+ "unwantedRecommendations" : [
12
+
13
+ ]
14
+ }
Original file line number Diff line number Diff line change 12
12
"name" : " Debug (QEMU)" ,
13
13
"servertype" : " qemu" ,
14
14
"cwd" : " ${workspaceRoot}" ,
15
- "preLaunchTask" : " build" ,
15
+ "preLaunchTask" : " cargo build" ,
16
16
"runToMain" : true ,
17
17
"executable" : " ./target/thumbv7m-none-eabi/debug/{{project-name}}" ,
18
18
/* Run `cargo build --example hello` and uncomment this line to run semi-hosting example */
27
27
"name" : " Debug (OpenOCD)" ,
28
28
"servertype" : " openocd" ,
29
29
"cwd" : " ${workspaceRoot}" ,
30
- "preLaunchTask" : " build" ,
30
+ "preLaunchTask" : " cargo build" ,
31
31
"runToMain" : true ,
32
32
"executable" : " ./target/thumbv7em-none-eabihf/debug/{{project-name}}" ,
33
33
/* Run `cargo build --example itm` and uncomment this line to run itm example */
Original file line number Diff line number Diff line change 9
9
* but we need to provide a label for it,
10
10
* so we can invoke it from the debug launcher.
11
11
*/
12
- "label" : " build" ,
12
+ "label" : " cargo build" ,
13
13
"type" : " cargo" ,
14
14
"subcommand" : " build" ,
15
15
"problemMatcher" : [
20
20
"isDefault" : true
21
21
}
22
22
},
23
+ {
24
+ "label" : " cargo build --release" ,
25
+ "type" : " process" ,
26
+ "command" : " cargo" ,
27
+ "args" : [" build" , " --release" ],
28
+ "problemMatcher" : [
29
+ " $rustc"
30
+ ],
31
+ "group" : " build"
32
+ },
33
+ {
34
+ "label" : " cargo build --examples" ,
35
+ "type" : " process" ,
36
+ "command" : " cargo" ,
37
+ "args" : [" build" ," --examples" ],
38
+ "problemMatcher" : [
39
+ " $rustc"
40
+ ],
41
+ "group" : " build"
42
+ },
43
+ {
44
+ "label" : " cargo build --examples --release" ,
45
+ "type" : " process" ,
46
+ "command" : " cargo" ,
47
+ "args" : [" build" ," --examples" , " --release" ],
48
+ "problemMatcher" : [
49
+ " $rustc"
50
+ ],
51
+ "group" : " build"
52
+ },
53
+ {
54
+ "label" : " cargo clean" ,
55
+ "type" : " cargo" ,
56
+ "subcommand" : " clean" ,
57
+ "group" : " build"
58
+ },
23
59
]
24
60
}
You can’t perform that action at this time.
0 commit comments