Compare commits
9 Commits
51f132a6b8
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 3b5005195c | |||
| a4bb72fb64 | |||
| 758d047627 | |||
| 4693946d60 | |||
| db69358a67 | |||
| 3dcb30f0f4 | |||
| 5ace864d00 | |||
| ff3bf49924 | |||
| 8f616063ad |
17
.devcontainer/DockerFile
Normal file
17
.devcontainer/DockerFile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM espressif/idf:release-v5.5
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
udev \
|
||||
nodejs \
|
||||
containerd \
|
||||
ripgrep \
|
||||
fd-find \
|
||||
git \
|
||||
curl \
|
||||
zsh && \
|
||||
usermod -aG dialout ubuntu && \
|
||||
chsh -s /bin/zsh ubuntu
|
||||
# check the default user for this in the future
|
||||
|
||||
USER ubuntu
|
||||
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended && echo "source /opt/esp/entrypoint.sh" | tee -a /home/ubuntu/.zshrc
|
||||
@@ -1,28 +1,35 @@
|
||||
{
|
||||
"name": "ESP-IDF Dev Environment",
|
||||
"image": "espressif/idf:release-v5.5.2", // Actualizado
|
||||
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
"terminal.integrated.defaultProfile.linux": "bash",
|
||||
"idf.espIdfPath": "/opt/esp/idf",
|
||||
"idf.toolsPath": "/opt/esp",
|
||||
"idf.gitPath": "/usr/bin/git",
|
||||
// TRUCO: Usar python directamente desde el path global del contenedor
|
||||
// En la imagen oficial, el python correcto ya está en el PATH.
|
||||
// Si la extensión pide ruta absoluta, usa esta genérica:
|
||||
"idf.pythonBinPath": "/usr/bin/python3"
|
||||
},
|
||||
"extensions": [
|
||||
"ms-vscode.cpptools",
|
||||
"espressif.esp-idf-extension"
|
||||
]
|
||||
}
|
||||
},
|
||||
"runArgs": [
|
||||
"--privileged",
|
||||
"-v", "/dev:/dev"
|
||||
],
|
||||
"remoteUser": "root"
|
||||
"name": "ESP-IDF Dev Environment",
|
||||
"build": {
|
||||
"dockerfile": "DockerFile"
|
||||
},
|
||||
"remoteUser": "ubuntu",
|
||||
"features": {
|
||||
"ghcr.io/duduribeiro/devcontainer-features/neovim:1": {
|
||||
"version": "stable"
|
||||
}
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
"idf.espIdfPath": "/opt/esp/idf",
|
||||
"idf.toolsPath": "/opt/esp",
|
||||
"idf.gitPath": "/usr/bin/git",
|
||||
"idf.pythonBinPath": "/usr/bin/python3"
|
||||
},
|
||||
"extensions": [
|
||||
"ms-vscode.cpptools",
|
||||
"espressif.esp-idf-extension",
|
||||
"ms-vscode.cpptools-extension-pack"
|
||||
]
|
||||
}
|
||||
},
|
||||
"mounts": [
|
||||
"source=${env:HOME}/.config/nvim,target=/home/ubuntu/.config/nvim,type=bind"
|
||||
],
|
||||
"runArgs": [
|
||||
"--privileged",
|
||||
"-v",
|
||||
"/dev:/dev"
|
||||
]
|
||||
}
|
||||
6
.gitignore
vendored
6
.gitignore
vendored
@@ -6,6 +6,12 @@
|
||||
# Directory metadata
|
||||
.directory
|
||||
|
||||
# removed vscode files from :
|
||||
.vscode/c_cpp_properties.json
|
||||
.vscode/settings.json
|
||||
.vscode/launch.json
|
||||
build/
|
||||
|
||||
# Temporary files
|
||||
*~
|
||||
*.swp
|
||||
|
||||
23
.vscode/c_cpp_properties.json
vendored
23
.vscode/c_cpp_properties.json
vendored
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "ESP-IDF",
|
||||
"compilerPath": "${config:idf.toolsPath}/tools/xtensa-esp-elf/esp-14.2.0_20251107/xtensa-esp-elf/bin/xtensa-esp32-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
|
||||
}
|
||||
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"C_Cpp.intelliSenseEngine": "default",
|
||||
"idf.espIdfPath": "/home/unai/.esp/v5.5.2/esp-idf",
|
||||
"idf.pythonInstallPath": "/usr/bin/python",
|
||||
"idf.espIdfPath": "/opt/esp/idf",
|
||||
"idf.pythonInstallPath": "/usr/bin/python3",
|
||||
"idf.openOcdConfigs": [
|
||||
"board/esp32c6-builtin.cfg"
|
||||
],
|
||||
"idf.port": "detect",
|
||||
"idf.toolsPath": "/home/unai/.espressif",
|
||||
"idf.toolsPath": "/opt/esp",
|
||||
"idf.customExtraVars": {
|
||||
"IDF_TARGET": "esp32c6"
|
||||
},
|
||||
|
||||
0
tests/.gitkeep
Normal file
0
tests/.gitkeep
Normal file
Reference in New Issue
Block a user