HWBTutorials/HWBTutorials.code-workspace

117 lines
3.6 KiB
Text

{
"folders": [
{
"name": "Solution Items",
"path": "."
},
{
"path": "./hwb1"
},
{
"name": "AES",
"path": "./aes"
},
{
"name": "TRNG Attack",
"path": "./TRNG_attack"
}
],
"tasks": {
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "List Applets",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/list.cmd",
"problemMatcher": []
},
{
"label": "Flash MyApplet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/flash.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "MyApplet",
"PARAMS": "31323334"
}
},
"problemMatcher": []
},
{
"label": "Flash SecretApplet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/flash.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "SecretApplet"
}
},
"problemMatcher": []
},
{
"label": "Test MyApplet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/test.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "MyApplet"
}
},
"problemMatcher": []
},
{
"label": "Test SecretApplet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/test.cmd",
"options": {
"env": {
"PACKAGE": "hwb1",
"APPLET": "SecretApplet"
}
},
"problemMatcher": []
},
{
"label": "Delete Applet",
"type": "shell",
"command": "${workspaceFolder:Solution Items}/scripts/delete.cmd",
"problemMatcher": []
},
{
"label": "Build AES Project",
"type": "shell",
"command": "make",
"options": {
"cwd": "${workspaceFolder:AES}"
},
"problemMatcher": []
}
]
},
"launch": {
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Launch AES Project",
"program": "${workspaceFolder:AES}/bin/aes",
"args": [],
"cwd": "${workspaceFolder:AES}",
"preLaunchTask": "Build AES Project"
}
],
"compounds": []
},
"settings": {
"cortex-debug.variableUseNaturalFormat": false
}
}