Add devcontainer configuration for ESP32-CAM RTSP development and update .gitignore

This commit is contained in:
2025-07-27 17:52:17 -05:00
parent 00635d03b7
commit ce3a12f422
2 changed files with 24 additions and 1 deletions

View File

@@ -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" }
}
}

3
.gitignore vendored
View File

@@ -1,4 +1,5 @@
.*/* .pio/*
.vscode/*
.*.* .*.*
__pycache__/ __pycache__/
*.log *.log