feat: Updated devcontainer to allow flashing
This commit is contained in:
@@ -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"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user