cancel
Showing results for 
Search instead for 
Did you mean: 

STM32VSCodeExtension.trustZoneNonSecureTarget is not set

cvanbeek
Associate III

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.

cvanbeek_0-1730330696843.png

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": []
        },

 

1 REPLY 1
Nawres GHARBI
ST Employee

Hi @cvanbeek 

do you have some more info please maybe the log would help to understand the issue