Files
firmware/.devcontainer/devcontainer.json

52 lines
1.5 KiB
JSON
Raw Permalink Normal View History

2025-01-31 13:12:04 +01: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/alpine
{
"name": "SD2PSX Ubuntu",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/devcontainers/features/python:1": {
"installTools": true,
"version": "latest"
}
},
"containerEnv": {
"PICO_SDK_PATH": "/opt/pico-sdk",
"PICO_TOOLCHAIN_PATH": "/usr/bin"
},
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
2025-05-01 14:20:51 +02:00
"postCreateCommand": "sudo bash .devcontainer/install-dependencies.sh",
2025-01-31 13:12:04 +01:00
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions":
2025-05-01 14:20:51 +02:00
["twxs.cmake",
2025-01-31 13:12:04 +01:00
"ms-vscode.cmake-tools",
"go2sh.cmake-integration-vscode",
"llvm-vs-code-extensions.vscode-clangd",
"xaver.clang-format",
"IBM.output-colorizer"
],
2025-05-01 14:20:51 +02:00
"settings": {"clangd.path": "/usr/bin/clangd",
2025-01-31 13:12:04 +01:00
"cmake.cmakePath": "cmake",
"clangd.arguments": ["--query-driver", "/usr/bin/arm-none-eabi-gcc"]}
},
2025-05-01 14:20:51 +02:00
2025-01-31 13:12:04 +01:00
},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
2025-05-01 14:20:51 +02:00
"remoteEnv": {
"PODMAN_USERNS": "keep-id"
},
"containerUser": "vscode"
2025-01-31 13:12:04 +01:00
}