From ce3a12f422e414ab7d5aa078f9b5e81fb62d61e8 Mon Sep 17 00:00:00 2001 From: Ryan Hamilton Date: Sun, 27 Jul 2025 17:52:17 -0500 Subject: [PATCH] Add devcontainer configuration for ESP32-CAM RTSP development and update .gitignore --- .devcontainer/devcontainer.json | 22 ++++++++++++++++++++++ .gitignore | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..2f09914 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,22 @@ +{ + "name": "ESP32-CAM RTSP Development", + "image": "platformio/platformio-core", + "customizations": { + "vscode": { + "extensions": [ + "platformio.platformio-ide", + "ms-vscode.cpptools", + "ms-vscode.cmake-tools" + ] + } + }, + "mounts": ["source=/dev,target=/dev,type=bind"], + "runArgs": ["--privileged", "--device-cgroup-rule=c 166:* rmw"], + "postCreateCommand": "pio pkg update -g -p espressif32", + "remoteUser": "root", + "forwardPorts": [80, 554], + "portsAttributes": { + "80": { "label": "Web Interface" }, + "554": { "label": "RTSP Stream" } + } +} diff --git a/.gitignore b/.gitignore index 63cac60..c8784ae 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ -.*/* +.pio/* +.vscode/* .*.* __pycache__/ *.log