Skip to content

Commit 25b475e

Browse files
authored
Containerise CFA (#154)
CRSF for Arduin is now developed in a Dev Container.
1 parent 0902150 commit 25b475e

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "CRSFforArduino development container",
3+
"image": "mcr.microsoft.com/devcontainers/python:3.11",
4+
"postCreateCommand": "pip install platformio",
5+
"postStartCommand": "sudo groupadd -g 986 uucp || true && sudo usermod -aG uucp vscode",
6+
"customizations": {
7+
"vscode": {
8+
"extensions": [
9+
"donjayamanne.githistory",
10+
"eamodio.gitlens",
11+
"github.vscode-github-actions",
12+
"GitHub.vscode-pull-request-github",
13+
"ms-vscode.cpptools",
14+
"ms-vscode.cpptools-extension-pack",
15+
"ms-vscode.cpptools-themes",
16+
"platformio.platformio-ide",
17+
"streetsidesoftware.code-spell-checker",
18+
"vivaxy.vscode-conventional-commits",
19+
"xaver.clang-format"
20+
]
21+
}
22+
},
23+
"runArgs": [
24+
"--device=/dev/ttyACM0",
25+
"--group-add=986"
26+
],
27+
"mounts": [
28+
"source=/dev/bus/usb,target=/dev/bus/usb,type=bind"
29+
]
30+
}

0 commit comments

Comments
 (0)