-
Notifications
You must be signed in to change notification settings - Fork 23
Add ~default vscode and devcontainer configs #577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| ARG DOCKER_TAG=release-v5.5.1 | ||
| FROM espressif/idf:${DOCKER_TAG} | ||
|
|
||
| ENV LC_ALL=C.UTF-8 | ||
| ENV LANG=C.UTF-8 | ||
|
|
||
| RUN apt-get update -y && apt-get install udev -y | ||
|
|
||
| RUN echo "source /opt/esp/idf/export.sh > /dev/null 2>&1" >> ~/.bashrc | ||
|
|
||
| ENTRYPOINT [ "/opt/esp/entrypoint.sh" ] | ||
|
|
||
| CMD ["/bin/bash", "-c"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "name": "ESP-IDF QEMU", | ||
| "build": { | ||
| "dockerfile": "Dockerfile" | ||
| }, | ||
| "customizations": { | ||
| "vscode": { | ||
| "settings": { | ||
| "terminal.integrated.defaultProfile.linux": "bash", | ||
| "idf.espIdfPath": "/opt/esp/idf", | ||
| "idf.toolsPath": "/opt/esp", | ||
| "idf.gitPath": "/usr/bin/git" | ||
| }, | ||
| "extensions": [ | ||
| "espressif.esp-idf-extension", | ||
| "espressif.esp-idf-web", | ||
| "ms-vscode.cpptools" | ||
| ] | ||
| } | ||
| }, | ||
| "runArgs": ["--privileged"] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| { | ||
| "configurations": [ | ||
| { | ||
| "name": "ESP-IDF", | ||
| "compilerPath": "${config:idf.toolsPath}/tools/riscv32-esp-elf/esp-14.2.0_20250730/riscv32-esp-elf/bin/riscv32-esp-elf-gcc", | ||
| "compileCommands": "${config:idf.buildPath}/compile_commands.json", | ||
| "includePath": [ | ||
| "${config:idf.espIdfPath}/components/**", | ||
| "${config:idf.espIdfPathWin}/components/**", | ||
| "${workspaceFolder}/**" | ||
| ], | ||
| "browse": { | ||
| "path": [ | ||
| "${config:idf.espIdfPath}/components", | ||
| "${config:idf.espIdfPathWin}/components", | ||
| "${workspaceFolder}" | ||
| ], | ||
| "limitSymbolsToIncludedHeaders": true | ||
| } | ||
| } | ||
| ], | ||
| "version": 4 | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "type": "gdbtarget", | ||
| "request": "attach", | ||
| "name": "Eclipse CDT GDB Adapter" | ||
| }, | ||
| { | ||
| "type": "espidf", | ||
| "name": "Launch", | ||
| "request": "launch" | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "C_Cpp.intelliSenseEngine": "default", | ||
| "idf.pythonInstallPath": "/opt/esp/python_env/idf5.5_py3.12_env/bin/python", | ||
| "idf.port": "/dev/ttyACM0", | ||
| "idf.flashType": "UART" | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The apt-get command should include '&& apt-get clean && rm -rf /var/lib/apt/lists/*' at the end to reduce the Docker image size by removing package cache files.