2024-08-24 01:25:16 +00:00
|
|
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/cpp
|
|
|
|
{
|
|
|
|
"name": "Meshtastic Firmware Dev",
|
|
|
|
"build": {
|
|
|
|
"dockerfile": "Dockerfile"
|
|
|
|
},
|
|
|
|
"features": {
|
|
|
|
"ghcr.io/devcontainers/features/python:1": {
|
|
|
|
"installTools": true,
|
|
|
|
"version": "latest"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
2024-12-12 15:58:19 +00:00
|
|
|
"extensions": [
|
|
|
|
"ms-vscode.cpptools",
|
|
|
|
"platformio.platformio-ide",
|
|
|
|
"Trunk.io"
|
|
|
|
],
|
|
|
|
"unwantedRecommendations": ["ms-azuretools.vscode-docker"],
|
|
|
|
"settings": {
|
|
|
|
"extensions.ignoreRecommendations": true
|
|
|
|
}
|
2024-08-24 01:25:16 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
2024-09-25 21:18:45 +00:00
|
|
|
"forwardPorts": [4403],
|
2024-08-24 01:25:16 +00:00
|
|
|
|
2024-12-12 15:58:19 +00:00
|
|
|
// Use "--device=" to make a local device available inside the container.
|
|
|
|
// "runArgs": ["--device=/dev/ttyACM0"],
|
|
|
|
|
2024-08-24 01:25:16 +00:00
|
|
|
// Run commands to prepare the container for use
|
2024-09-25 21:18:45 +00:00
|
|
|
"postCreateCommand": ".devcontainer/setup.sh"
|
2024-08-24 01:25:16 +00:00
|
|
|
}
|