2024-10-30 04:26 PM
Today, my command expansion for both STM32VSCodeExtension.trustZoneNonSecureTarget and STM32VSCodeExtension.trustZoneSecureTarget stopped working in tasks.json and launch.json. I get an error that STM32VSCodeExtension.trustZoneNonSecureTarget is not set.
Here is the task that triggers this error:
{
"type": "shell",
"label": "CubeProg: Flash NonSecure",
"command": "STM32_Programmer_CLI",
"args": [
"--connect",
"port=swd",
"--download",
"${command:STM32VSCodeExtension.trustZoneNonSecureTarget}",
"-hardRst",
"-rst",
"--start"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},