2024-10-30 4: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": []
        },
2024-11-06 12:40 AM
Hi @cvanbeek
do you have some more info please maybe the log would help to understand the issue
