Skip to content

Commit 70cf09c

Browse files
committed
devcontainer: Add some fixes and updates
This commit adds the following: * Add the needed python packages for the GDB debugger to work. * Update the GUI option to match the one in `tools/scripts/run.sh`. Signed-off-by: Ahmed Ismail <[email protected]>
1 parent eda00d5 commit 70cf09c

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.devcontainer/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ RUN pip3 install \
9393
# This is needed to define where the libclang shared object is located
9494
ENV LD_LIBRARY_PATH="/usr/lib/llvm-14/lib:${LD_LIBRARY_PATH}"
9595

96+
# This is needed for the GDB debugger to work
97+
RUN sudo add-apt-repository -y ppa:deadsnakes/ppa && \
98+
sudo apt-get update && \
99+
sudo apt-get -y install python3.8 libpython3.8 libpython3.8-dev
100+
96101
# Create the user
97102
RUN groupadd --gid $USER_GID $USERNAME \
98103
&& useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \

.vscode/tasks.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021-2024 Arm Limited and/or its affiliates
1+
// Copyright 2021-2025 Arm Limited and/or its affiliates
22
33
// SPDX-License-Identifier: MIT
44

@@ -40,7 +40,7 @@
4040
"${input:FRITarget}",
4141
"${input:FRICameraFramesPath}",
4242
"${input:FRIBuildDirectory}",
43-
"${input:FRIDisplay}"
43+
"${input:FRIHdLcdGui}"
4444
],
4545
"options": {
4646
"cwd": "${workspaceFolder}"
@@ -65,7 +65,7 @@
6565
"${input:FRIBuildDirectory}",
6666
"${input:FRICameraFramesPath}",
6767
"${input:FRIGdbDebuggerPlugin}",
68-
"${input:FRIDisplay}"
68+
"${input:FRIHdLcdGui}"
6969
],
7070
"options": {
7171
"cwd": "${workspaceFolder}"
@@ -161,13 +161,13 @@
161161
},
162162
{
163163
"type": "pickString",
164-
"id": "FRIDisplay",
165-
"description": "Is display (GUI) available?",
164+
"id": "FRIHdLcdGui",
165+
"description": "Is HDLCD GUI available?",
166166
"options": [
167-
"-Dtrue",
168-
"-Dfalse"
167+
"-Gtrue",
168+
"-Gfalse"
169169
],
170-
"default": "-Dfalse"
170+
"default": "-Gfalse"
171171
},
172172
]
173173
}

0 commit comments

Comments
 (0)