|
1 | | -// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: |
2 | | -// https://github.com/mwinters-stuff/vscode-devcontainer-raspberrypi-pico |
3 | 1 | { |
4 | | - "name": "C++ Raspberry Pi Pico", |
5 | | - "build": { |
6 | | - "dockerfile": "Dockerfile" |
7 | | - }, |
8 | | - "runArgs": [ |
9 | | - "--cap-add=SYS_PTRACE", |
10 | | - "--security-opt", |
11 | | - "seccomp=unconfined", |
12 | | - "--privileged", |
13 | | - "-v", "/dev/bus/usb:/dev/bus/usb", |
14 | | - "--device=/dev/bus/usb", |
15 | | - "--device=/dev/ttyACM0" |
16 | | - ], |
17 | | - |
18 | | - // Set *default* container specific settings.json values on container create. |
19 | | - "customizations": { |
20 | | - "vscode": { |
21 | | - "settings": { |
22 | | - "terminal.integrated.profiles.linux": { |
23 | | - "bash": { |
24 | | - "path": "/usr/bin/bash" |
25 | | - } |
26 | | - } |
27 | | - }, |
28 | | - |
29 | | - // Add the IDs of extensions you want installed when the container is created. |
30 | | - "extensions": [ |
31 | | - "ms-vscode.cpptools", |
32 | | - "marus25.cortex-debug", |
33 | | - "ms-vscode.cmake-tools", |
34 | | - "twxs.cmake", |
35 | | - "eamodio.gitlens", |
36 | | - "xaver.clang-format", |
37 | | - "chris-hock.pioasm", |
38 | | - "ms-vscode.cpptools-extension-pack" |
39 | | - ] |
40 | | - } |
41 | | - }, |
42 | | - |
43 | | - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
44 | | - // "forwardPorts": [], |
45 | | - |
46 | | - // Use 'postCreateCommand' to run commands after the container is created. |
47 | | - // "postCreateCommand": "gcc -v", |
48 | | - |
49 | | - // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
50 | | - "remoteUser": "vscode" |
| 2 | + "name": "PicoBoot build environment", |
| 3 | + "image": "ghcr.io/webhdx/PicoBoot:latest" |
51 | 4 | } |
0 commit comments