Skip to content

Commit

Permalink
Update launch.json properties and add dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Aug 5, 2022
1 parent bfe1498 commit 24d269c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG ESP_IDF_VERSION=v4.4.1
ARG ESP_BOARD=esp32c3

RUN apt-get update \
&& apt-get install -y git curl ninja-build clang libudev-dev \
&& apt-get install -y git curl ninja-build clang libudev-dev libpython2.7 \
python3 python3-pip libusb-1.0-0 libssl-dev pkg-config libtinfo5 \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/* /tmp/library-scripts
Expand Down
13 changes: 7 additions & 6 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
"type": "gdb",
"request": "attach",
"name": "Wokwi Debug",
"executable":"${workspaceFolder}/target/riscv32imc-esp-espidf/debug/esp_tra",
// TODO Update executable path to the project to be debugged
"executable":"${workspaceFolder}/intro/hardware-check/target/riscv32imc-esp-espidf/debug/hardware-check",
"target": "localhost:9333",
"remote": true,
"gdbpath":"/home/${input:user}/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch3-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-gdb",
"gdbpath":"${input:user}/.espressif/tools/riscv32-esp-elf/esp-2021r2-patch3-8.4.0/riscv32-esp-elf/bin/riscv32-esp-elf-gdb",
"cwd": "${workspaceRoot}",
"stopAtConnect": true,
"valuesFormatting": "parseText"
Expand All @@ -18,12 +19,12 @@
{
"type": "pickString",
"id": "user",
"description": "Select the user: esp for VsCode and Codespaces and gitpod for Gitpod:",
"description": "Select the user: /root for VsCode and GH Codespaces and /home/gitpod for Gitpod:",
"options": [
"esp",
"gitpod"
"/root",
"/home/gitpod"
],
"default": "esp"
}
]
}
}

0 comments on commit 24d269c

Please sign in to comment.