Hello,
I am using nRF Connect for VSCode (v2022.7.242) and discovered that the softreset option for a task has no effect.
Task:
{
"type": "nrf-connect-flash",
"config": "${workspaceFolder}/build",
"erase": false,
"recover": false,
"softreset": true,
"problemMatcher": [],
"label": "Flash Target",
"dependsOn": "Build Target"
},
Output:
Flashing build to undefined west flash -d /home/ee/proj/build --skip-rebuild -r nrfjprog --dev-id 821006534 -- west flash: using runner nrfjprog -- runners.nrfjprog: Flashing file: /home/ee/proj/build/zephyr/zephyr.hex Parsing image file. Verifying programming. Verified OK. Enabling pin reset. Applying pin reset. -- runners.nrfjprog: Board with serial number 821006534 flashed successfully. * Terminal will be reused by tasks, press any key to close it.
As you can see it is no adding the "--softreset" flag.
This is not the case when the softreset application setting is set to true and I use the nrf Connect Flash button. In this case it works correctly:
Flashing build to undefined west flash -d /home/ee/proj/build --skip-rebuild -r nrfjprog --dev-id 821006534 --softreset -- west flash: using runner nrfjprog -- runners.nrfjprog: Flashing file: /home/ee/proj/build/zephyr/zephyr.hex Parsing image file. Verifying programming. Verified OK. Applying system reset. Run. -- runners.nrfjprog: Board with serial number 821006534 flashed successfully. * Terminal will be reused by tasks, press any key to close it.
I assume this is a bug or have I configured something wrong?