Skip to content

Instantly share code, notes, and snippets.

@jhordyess
Last active December 12, 2023 16:57
Show Gist options
  • Save jhordyess/07f126d2017bb99bcfca9cffc62162bc to your computer and use it in GitHub Desktop.
Save jhordyess/07f126d2017bb99bcfca9cffc62162bc to your computer and use it in GitHub Desktop.
Setting project folder for PlatformIO as dev container in VS Code
{
"name": "PlatformIO",
"image": "jhordyess/platformio",
"shutdownAction": "none",
"customizations": {
"vscode": {
"settings": {
"C_Cpp.clang_format_fallbackStyle": "{BasedOnStyle: LLVM, ColumnLimit: 0, SortIncludes: false}",
"C_Cpp.updateChannel": "Insiders",
"terminal.integrated.defaultProfile.linux": "zsh",
"remote.autoForwardPorts": false,
"platformio-ide.pioHomeServerHttpHost": "0.0.0.0",
"platformio-ide.pioHomeServerHttpPort": 8010
},
"extensions": [
"ms-vscode.cpptools",
"platformio.platformio-ide",
"attilathedud.data-converter"
]
}
},
"forwardPorts": [8010],
"runArgs": ["--privileged"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment