@@ -114,6 +114,7 @@ async function generateVSCodeConfig(projectRoot: string): Promise<boolean> {
114114 options : {
115115 env : {
116116 PICOTOOL_PATH : `\${command:${ extensionName } .${ GetPicotoolPathCommand . id } }` ,
117+ CHIP : `\${command:${ extensionName } .${ GetChipCommand . id } }` ,
117118 } ,
118119 } ,
119120 } ,
@@ -135,6 +136,7 @@ async function generateVSCodeConfig(projectRoot: string): Promise<boolean> {
135136 options : {
136137 env : {
137138 PICOTOOL_PATH : `\${command:${ extensionName } .${ GetPicotoolPathCommand . id } }` ,
139+ CHIP : `\${command:${ extensionName } .${ GetChipCommand . id } }` ,
138140 } ,
139141 } ,
140142 } ,
@@ -1197,6 +1199,7 @@ rustflags = [
11971199#
11981200# Load an elf, skipping unchanged flash sectors, verify it, and execute it
11991201runner = "\${PICOTOOL_PATH} load -u -v -x -t elf"
1202+ #runner = "probe-rs run --chip \${CHIP} --protocol swd"
12001203
12011204# This is the hard-float ABI for Arm mode.
12021205#
@@ -1224,6 +1227,7 @@ rustflags = [
12241227#
12251228# Load an elf, skipping unchanged flash sectors, verify it, and execute it
12261229runner = "\${PICOTOOL_PATH} load -u -v -x -t elf"
1230+ #runner = "probe-rs run --chip \${CHIP} --protocol swd"
12271231
12281232# This is the soft-float ABI for RISC-V mode.
12291233#
@@ -1250,6 +1254,10 @@ rustflags = [
12501254#
12511255# Load an elf, skipping unchanged flash sectors, verify it, and execute it
12521256runner = "\${PICOTOOL_PATH} load -u -v -x -t elf"
1257+ #runner = "probe-rs run --chip \${CHIP} --protocol swd"
1258+
1259+ [env]
1260+ DEFMT_LOG = "debug"
12531261` ;
12541262
12551263 try {
0 commit comments