devcontainer.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
  2. // https://github.com/microsoft/vscode-dev-containers/tree/v0.183.0/containers/ubuntu
  3. {
  4. "name": "ESP-IDF QEMU",
  5. "build": {
  6. "dockerfile": "Dockerfile"
  7. },
  8. // Add the IDs of extensions you want installed when the container is created
  9. "workspaceMount": "source=${localWorkspaceFolder},target=${localWorkspaceFolder},type=bind",
  10. /* the path of workspace folder to be opened after container is running
  11. */
  12. "workspaceFolder": "${localWorkspaceFolder}",
  13. "mounts": [
  14. "source=extensionCache,target=/root/.vscode-server/extensions,type=volume"
  15. ],
  16. "customizations": {
  17. "vscode": {
  18. "settings": {
  19. "terminal.integrated.defaultProfile.linux": "bash",
  20. "idf.espIdfPath": "/opt/esp/idf",
  21. "idf.customExtraPaths": "",
  22. "idf.pythonBinPath": "/opt/esp/python_env/idf5.1_py3.8_env/bin/python",
  23. "idf.toolsPath": "/opt/esp",
  24. "idf.gitPath": "/usr/bin/git"
  25. },
  26. "extensions": [
  27. "ms-vscode.cpptools",
  28. "espressif.esp-idf-extension"
  29. ],
  30. },
  31. "codespaces": {
  32. "settings": {
  33. "terminal.integrated.defaultProfile.linux": "bash",
  34. "idf.espIdfPath": "/opt/esp/idf",
  35. "idf.customExtraPaths": "",
  36. "idf.pythonBinPath": "/opt/esp/python_env/idf5.1_py3.8_env/bin/python",
  37. "idf.toolsPath": "/opt/esp",
  38. "idf.gitPath": "/usr/bin/git"
  39. },
  40. "extensions": [
  41. "ms-vscode.cpptools",
  42. "espressif.esp-idf-extension"
  43. ],
  44. }
  45. },
  46. "runArgs": ["--privileged"]
  47. }