feat: Updated devcontainer to allow flashing

This commit is contained in:
2026-04-06 10:47:14 +00:00
parent f9ba471be4
commit c6ff129d7b

View File

@@ -7,7 +7,7 @@
"context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerfile": "../Dockerfile"
}
},
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
@@ -23,4 +23,14 @@
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "devcontainer"
"mounts": [
"type=bind,source=/dev/bus/usb,target=/dev/bus/usb",
"type=bind,source=/dev,target=/dev"
],
"runArgs": [
"--cap-add=SYS_RAWIO",
"--device-cgroup-rule=c 189:* rmw"
]
}