Skip to main content
Graduate II
October 30, 2024
Question

STM32VSCodeExtension.trustZoneNonSecureTarget is not set

  • October 30, 2024
  • 1 reply
  • 649 views

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

 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    November 6, 2024

    Hi @cvanbeek 

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