2020-09-16 10:07:54 -03:00
|
|
|
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
|
|
|
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.134.0/containers/cpp
|
|
|
|
{
|
|
|
|
"name": "px4-dev-nuttx",
|
2023-07-18 14:26:38 -03:00
|
|
|
"image": "px4io/px4-dev-nuttx-focal:2022-08-12",
|
2020-09-16 10:07:54 -03:00
|
|
|
|
|
|
|
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
|
|
|
|
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
|
|
"settings": {
|
|
|
|
"terminal.integrated.shell.linux": "/bin/bash"
|
|
|
|
},
|
|
|
|
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
|
|
"extensions": [
|
|
|
|
"chiehyu.vscode-astyle",
|
|
|
|
"dan-c-underwood.arm",
|
|
|
|
"fredericbonnet.cmake-test-adapter",
|
|
|
|
"github.vscode-pull-request-github",
|
|
|
|
"marus25.cortex-debug",
|
|
|
|
"ms-azuretools.vscode-docker",
|
|
|
|
"ms-iot.vscode-ros",
|
|
|
|
"ms-python.python",
|
|
|
|
"ms-vscode.cmake-tools",
|
|
|
|
"ms-vscode.cpptools",
|
|
|
|
"ms-vscode.cpptools-extension-pack",
|
|
|
|
"redhat.vscode-yaml",
|
|
|
|
"streetsidesoftware.code-spell-checker",
|
|
|
|
"twxs.cmake",
|
|
|
|
"uavcan.dsdl",
|
|
|
|
"wholroyd.jinja",
|
2023-09-25 11:49:54 -03:00
|
|
|
"zixuanwang.linkerscript",
|
|
|
|
"ms-vscode.makefile-tools"
|
2020-09-16 10:07:54 -03:00
|
|
|
],
|
|
|
|
|
|
|
|
"containerUser": "user",
|
|
|
|
"containerEnv": {
|
|
|
|
"LOCAL_USER_ID": "${localEnv:UID}"
|
|
|
|
},
|
|
|
|
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
|
|
"forwardPorts": [14556],
|
|
|
|
}
|