1{
2  "image": "mcr.microsoft.com/devcontainers/universal:2",
3  "features": {
4    "ghcr.io/ebaskoro/devcontainer-features/emscripten:1": {}
5  },
6  "postCreateCommand": "chmod +x /workspace/lvgl_app/lvgl/.devcontainer/setup.sh; /workspace/lvgl_app/lvgl/.devcontainer/setup.sh",
7  "postStartCommand": ". /usr/local/emsdk/emsdk_env.sh;",
8
9  // Configure tool-specific properties.
10  "customizations": {
11    // Configure properties specific to VS Code.
12    "vscode": {
13      // Add the IDs of extensions you want installed when the container is created.
14      "extensions": [
15        //"searKing.preview-vscode"
16        "analytic-signal.preview-html"
17      ]
18    }
19  },
20
21  "hostRequirements": {
22   "cpus": 4
23  },
24
25  "workspaceMount": "source=${localWorkspaceFolder},target=/workspace/lvgl_app/lvgl,type=bind",
26  "workspaceFolder": "/workspace/lvgl_app"
27
28}
29