From c6ff129d7be7f654f5c330ecfa88233035faeb92 Mon Sep 17 00:00:00 2001 From: Diogo Diniz Date: Mon, 6 Apr 2026 10:47:14 +0000 Subject: [PATCH] feat: Updated devcontainer to allow flashing --- .devcontainer/devcontainer.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8d96444..e8ec593 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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" + ] }