@@ -114,6 +114,7 @@ async function generateVSCodeConfig(projectRoot: string): Promise<boolean> {
114
114
options : {
115
115
env : {
116
116
PICOTOOL_PATH : `\${command:${ extensionName } .${ GetPicotoolPathCommand . id } }` ,
117
+ CHIP : `\${command:${ extensionName } .${ GetChipCommand . id } }` ,
117
118
} ,
118
119
} ,
119
120
} ,
@@ -135,6 +136,7 @@ async function generateVSCodeConfig(projectRoot: string): Promise<boolean> {
135
136
options : {
136
137
env : {
137
138
PICOTOOL_PATH : `\${command:${ extensionName } .${ GetPicotoolPathCommand . id } }` ,
139
+ CHIP : `\${command:${ extensionName } .${ GetChipCommand . id } }` ,
138
140
} ,
139
141
} ,
140
142
} ,
@@ -1197,6 +1199,7 @@ rustflags = [
1197
1199
#
1198
1200
# Load an elf, skipping unchanged flash sectors, verify it, and execute it
1199
1201
runner = "\${PICOTOOL_PATH} load -u -v -x -t elf"
1202
+ #runner = "probe-rs run --chip \${CHIP} --protocol swd"
1200
1203
1201
1204
# This is the hard-float ABI for Arm mode.
1202
1205
#
@@ -1224,6 +1227,7 @@ rustflags = [
1224
1227
#
1225
1228
# Load an elf, skipping unchanged flash sectors, verify it, and execute it
1226
1229
runner = "\${PICOTOOL_PATH} load -u -v -x -t elf"
1230
+ #runner = "probe-rs run --chip \${CHIP} --protocol swd"
1227
1231
1228
1232
# This is the soft-float ABI for RISC-V mode.
1229
1233
#
@@ -1250,6 +1254,10 @@ rustflags = [
1250
1254
#
1251
1255
# Load an elf, skipping unchanged flash sectors, verify it, and execute it
1252
1256
runner = "\${PICOTOOL_PATH} load -u -v -x -t elf"
1257
+ #runner = "probe-rs run --chip \${CHIP} --protocol swd"
1258
+
1259
+ [env]
1260
+ DEFMT_LOG = "debug"
1253
1261
` ;
1254
1262
1255
1263
try {
0 commit comments