Added .vscode
This commit is contained in:
parent
b2f48def26
commit
3ef368ae5a
30
.vscode/launch.json
vendored
Normal file
30
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
// 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": [
|
||||||
|
{
|
||||||
|
"name": "Cortex Debug stm32wb55",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"executable": "${workspaceRoot}/BMLite_examples/out/embedded_app/stm32wb55/embedded_app",
|
||||||
|
"request": "launch",
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"device": "STM32WB55xx",
|
||||||
|
"interface": "swd",
|
||||||
|
"runToMain": true,
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"name": "Cortex Debug nRF52840",
|
||||||
|
"cwd": "${workspaceRoot}",
|
||||||
|
"executable": "${workspaceRoot}/BMLite_examples/out/embedded_app/nRF52840/embedded_app",
|
||||||
|
"request": "launch",
|
||||||
|
"type": "cortex-debug",
|
||||||
|
"servertype": "jlink",
|
||||||
|
"device": "nRF52840_xxAA",
|
||||||
|
"interface": "swd",
|
||||||
|
"runToMain": true,
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
83
.vscode/tasks.json
vendored
Normal file
83
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
{
|
||||||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||||
|
// for the documentation about the tasks.json format
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"label": "wb55 make",
|
||||||
|
"command": "make",
|
||||||
|
"args": ["-j4", "-C", "BMLite_examples", "PLATFORM=stm32wb55", "APP=embedded_app", "DEBUG=y"],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
"problemMatcher": {
|
||||||
|
"base": "$gcc",
|
||||||
|
"fileLocation": ["relative", "${workspaceFolder}"]
|
||||||
|
},
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"label": "wb55 make clean",
|
||||||
|
"command": "make",
|
||||||
|
"args": ["-C", "BMLite_examples", "PLATFORM=stm32wb55", "APP=embedded_app", "clean"],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
"problemMatcher": {
|
||||||
|
"base": "$gcc",
|
||||||
|
"fileLocation": ["relative", "${workspaceFolder}", "absolute"]
|
||||||
|
},
|
||||||
|
"group": "build"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"label": "nRF52840 make",
|
||||||
|
"command": "make",
|
||||||
|
"args": ["-j4", "-C", "BMLite_examples", "PLATFORM=nRF52840", "APP=embedded_app", "DEBUG=y"],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
"problemMatcher": {
|
||||||
|
"base": "$gcc",
|
||||||
|
"fileLocation": ["relative", "${workspaceFolder}"]
|
||||||
|
},
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"label": "nRF52840 make clean",
|
||||||
|
"command": "make",
|
||||||
|
"args": ["-C", "BMLite_examples", "PLATFORM=nRF52840", "APP=embedded_app", "clean"],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
"problemMatcher": {
|
||||||
|
"base": "$gcc",
|
||||||
|
"fileLocation": ["relative", "${workspaceFolder}", "absolute"]
|
||||||
|
},
|
||||||
|
"group": "build"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "shell",
|
||||||
|
"label": "make clean",
|
||||||
|
"command": "make",
|
||||||
|
"args": ["-C", "BMLite_examples", "clean_all"],
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
},
|
||||||
|
"problemMatcher": {
|
||||||
|
"base": "$gcc",
|
||||||
|
"fileLocation": ["relative", "${workspaceFolder}", "absolute"]
|
||||||
|
},
|
||||||
|
"group": "build"
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user